You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In the past, only OpenAI provided support for function calling.
Today, many Language Model providers/libraries support this feature, using Tools specification or similar.
Also in the context of the upcoming work for Agents, we should:
review/update the ChatMessage abstraction to support Tools
make function calling work in a unified way for different Generators, based on the ChatMessage abstraction
It will also be cool if we could use like a response parser component that worked with any generator and enriched responses, for example to use function calling or to extract keywords or something. This way we could both support OpenAIs models but also open source ones that may have different ways of function calling.
Specially as making the model say, for example:
Thought: $ Some text $
Action: $ Tool key $
Action Input: $ Input to the tool $
as in the ReAct Paper might be beneficial for model generation as it is more natural than writing json objects or similar. This way everyone can customize the parsing to their specific use case and model, asi if I am writting now an example to implement Chameleon on haystack and the Parser might be really different from the one at a normal React or with OpenAI functions.
In the past, only OpenAI provided support for function calling.
Today, many Language Model providers/libraries support this feature, using Tools specification or similar.
Also in the context of the upcoming work for Agents, we should:
ChatMessage
abstraction to support ToolsResources:
@vblagoje @julian-risch @mrm1001
The text was updated successfully, but these errors were encountered: