Vigyata.AI
Is this your channel?

OpenAI API: How to Make Your First API Call | Complete Tutorial (Part 2/5)

9.2K viewsΒ· 147 likesΒ· 16:54Β· Nov 2, 2024

πŸ›οΈ Products Mentioned (4)

πŸ”₯ OpenAI API Masterclass: Learn how to make your first OpenAI API call in this beginner-friendly tutorial. In this video, you'll learn: - How to get and use your API key - Making API calls using fetch - Using the OpenAI library - Understanding API responses Perfect for developers making their first OpenAI API call! πŸ‘‰ Join my community: https://www.skool.com/become-an-ai-operator-8092 πŸ“‹ Take This Quick Survey: https://forms.gle/otAr1xUamgyYZE5y7 πŸ› οΈ Hire me: bart@supportlaunchpad.com πŸ‘‰ LinkedIn: https://www.linkedin.com/in/bartlomiejslodyczka πŸ”— Resources: - OpenAI Documentation: https://platform.openai.com - Full Course Code: No code yet, will update when available πŸ“Ί Full Series Playlist: https://www.youtube.com/playlist?list=PLi7jtY2ZZqRZ_8uawO4GUx_yi_7-Psejl Learn AI & Coding: Try Scrimba's AI Engineer course (20% off Pro plan with my link): https://v2.scrimba.com/the-ai-engineer-path-c02v?via=BartSlodyczka Note: Affiliate links support this channel through commissions. #openaiapi Timestamps 00:00 Intro 01:07 OpenAI Documentation 03:53 Cursor AI: System Prompt 04:55 Writing Axios Based API Call 07:00 Creating a .env File for our API Key 07:24 Generating The OpenAI Api Key 09:35 Looking At Token Costs 11:01 Writing OpenAI Based API Call 14:30 Comparing the OpenAI Call to the Axios Call 16:27 Outro

🎬 More from Bart Slodyczka