3 ms·
It's only been added to the OpenAI interface. Function calling is really useful when used with agents. To include that to agents would require some redesign as
by gawi 3y ago
It's only been added to the OpenAI interface. Function calling is really useful when used with agents. To include that to agents would require some redesign as the tool instructions should be removed from the prompt templates in favor of function definitions in the API request. The response parsing code would also be affected.
I just hope they won't come up with yet another agent type.
- neuronexmachina 3y agoLike this? https://github.com/hwchase17/langchain/blob/master/langchain/agents/openai_functions_agent/base.py https://github.com/hwchase17/langchain/blob/master/langchain...
- gawi 3y agoLangChain is a perpetual hackathon.