Войти
  • 7179Просмотров
  • 1 год назадОпубликованоSerpApi, LLC

OpenAI Function Calling - Connect AI to the Internet

What is function calling by OpenAI? in this video, we'll learn how to connect OpenAI API to external API with function calling. Let's connect our AI model to the internet! One of the struggles many developers face is inconsistent output, which is not suitable for programmatic use. OpenAI introduced a solution for this. It's called function calling. Code sample: Blog post: What's the benefit of using function calling? You can have a consistent output schema You can define the type of the output You can have multiple functions Chapters 00:00 Intro 00:11 What is function calling? 00:25 Project setup 2:13 Chat completion with function calling 4:00 Call an external API 6:18 Human language response 8:04 Summary If you're interested in the no-code solution, I suggest trying custom GPTS by OpenAI. Learn how to connect custom GPT to the internet here: