How to use function calling of openai in langchain?

Hello, everyone.
I’m going to create a chatbot using langchain. But I’m not sure how to create a bot using OpenAI function calling.

I’d really appreciate if anyone helps me.

Hello, you can read more about this here.

What I want is “in langchain”.
Can you give me any sample code for it?

Oh, sorry here is documentation for langchain OpenAI functions.

1 Like

What I want is “Function Calling” of openai.

The last reply from @grandell1234 appears to be exactly what you are looking for: Open AI models with function calling when using langchain.
You can either mark this topic as solved or clarify what you mean instead.

1 Like

Thank you.
I’ll reference it to make perfect.