4 ms·
Langchain added support for `function_call` args yesterday: * https://github.com/hwchase17/langchain/pull/6099/files https://github.com/hwchase17/langchain/pul
by neuronexmachina 3y ago
Langchain added support for `function_call` args yesterday:
* https://github.com/hwchase17/langchain/pull/6099/files https://github.com/hwchase17/langchain/pull/6099/files
* https://github.com/hwchase17/langchain/issues/6104 https://github.com/hwchase17/langchain/issues/6104
IMHO, this should make Langchain much easier and less chaotic to use.
- gawi 3y agoIt'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.