Building Chatbot Agents from Scratch with OpenAI Functions!
Let's build a conversational chatbot agent with OpenAI's new Function Calling for GPT-4 and GPT-3.5-Turbo! We'll see how to create an agent from scratch that has conversational memory, internal thoughts, can use tools, and more! We achieve this with OpenAI functions available in gpt-4-0613 and gpt-3.5-turbo-0613. Check out the Funkagent repo at https://github.com/aurelio-labs/funkagent or just pip install with: pip install funkagent 👋🏼 AI 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 OpenAI Functions Agent 00:26 Recap of OpenAI Function Calling 02:34 How OpenAI Functions Agent Works 05:42 Answering Questions Without Tools 09:50 Generating Function Instructions 13:13 Agent Code 15:13 Giving an Agent Conversational Memory 17:25 Agent Internal Thoughts 23:29 Agent Overview