NEW GPT-4 Function Calling Model!
OpenAI have introduced "Functions" for GPT-4 and GPT-3.5-turbo. The new feature allows these chatbot LLMs to read a list of Python (or any other programming language) functions and use them as tools. This function calling feature is available only in the latest releases of GPT-4 and GPT-3.5-Turbo (0613). 📌 Notebook Link: https://github.com/aurelio-labs/cookbook/blob/main/gen-ai/openai/gpt4/gpt-4-functions.ipynb 👋🏼 NLP + LLM Consulting: https://aurelio.ai 🎙️ Support me on Patreon: https://patreon.com/JamesBriggs 👾 Discord: https://discord.gg/c5QtDB9RAP Twitter: https://twitter.com/jamescalam LinkedIn: https://www.linkedin.com/in/jamescalam/ Instagram: https://www.instagram.com/jamescalam/ 00:00 New GPT-4 and ChatGPT Functions 01:13 Function Calling in OpenAI Docs 01:43 Implementation in Python 03:25 Creating a Function for GPT 4 04:37 Function Calling Instructions 06:11 Calling ChatCompletion with Functions 07:41 Using GPT 4 to Run Functions 09:25 Creating Image Generation Pipeline 11:02 Adding Image Generation to Function 13:43 Creating Product Pages with Images 15:16 Final Thoughts on OpenAI Function Calling 2023-06-19T23:02:14Z1280 https://www.youtube.com/embed/7oZKIwz2wk8