LangChain + OpenAI Function Calling - Create powerful chains with tools and functions

preview_player
Показать описание
In this Video I will show you how you can make use of the new OpenAI Function Calling Capabilities. I will show you how it works and also how you can integrate it with Langchain:

Timestamps:
0:00 Function calling Vanilla
7:38 Function calling with LangChain
10:59 LangChain Tools to functions
15:10 OpenAI function Agents

#chatgpt #gpt4 #langchain
Рекомендации по теме
Комментарии
Автор

Hi Markus,

Is Function calling now deprecated? I see openai has now introduced tools to address API Assistants. Should function calling still work or tools should be adopted.

saurabhjain
Автор

Great videos! Thank you! Would you be able to help with an example where the Open AI functions agent uses a tool to access vector db, has conversational buffer memory and is customised with a prompt template (e.g. you are a useful X etc.)? I’ve tried but langchain docs are hard to parse 😂😅

izaac__
Автор

@codingcrashcourses8533 how can you use the Functions Agent with FastAPI streaming? I'm using some previous FastAPI tutorials that were previously working fine for streaming, but no longer work with the Functions Agent. Im not sure why???

hiranga
Автор

in your first example, given that the 'functions' list was about pizza, how was it able to return information about the capital of France?

wryltxw
Автор

How is OpenAI function different from lang chain StructureTool?

RunForPeace-hkcu
Автор

Hmm langchain feels like a hack now a days :/

kasvith
Автор

Please be careful with your API key and showing it, someone may take it and abuse it, I advise changing your key now that you have made it public

registeel