How do we use OpenAI functions with the new long chain expression language?
So in this very simple example, we are using OpenAI functions in the classic way.
And remember that the key point was to describe the function in the proper way.
And then with a the create OpenAI function chain, we can a create the chain that has the functions
that we have described.
So the new way in that Lansing is proposing is a using pipes to create the the chain.
And right now we are using the dot bind and we are including two things.
First, the function, the name of the function and that we have described, and then the name of the
variable where we have included all the function descriptions.
Okay.
So we are using the language model dot bind.
And then we have a function call with the name of the function we want to use.
And then the name of the variable that A includes all the function and descriptions.
Remember that a.
You have more information about this new way of working with line chain.
In the line chain documentation where you can find a more cases and more ideas to experiment.