Full ChatGPT API Tutorial: https://www.mlexpert.io/machine-learning/prompt-engineering/chatgpt-api
Full Prompt Engineering Tutorial: https://www.mlexpert.io/machine-learning/prompt-engineering
In this video, you'll get through the process of creating a simple request using the ChatGPT API. From there, we'll dive into creating a conversation and explore more advanced options like multiple completions, adjusting the temperature, and using the tiktoken library to count tokens. So, whether you're new to the ChatGPT API or looking to expand your knowledge, this video has something for everyone!
00:00 - ChatGPT API
01:37 - Comparing with ChatGPT Web App
03:08 - Get API Key
03:49 - Google Colab Setup
04:18 - First Request
04:42 - Recreate the Web Prompts
13:38 - Maximum Tokens
16:23 - Count Tokens with tiktoken
17:57 - Generate Multiple Completions
20:05 - Temperature
26:04 - Conclusion
#chatgpt #chatgptapi #chatgpttutorial #python #deeplearning