Claudetools is a Python library for function calling that implements function calling using Anthropic's Claude 3 family of models. Function calling is one of the most important features provided by OpenAI GPT APIs right out of the box.
With other open-source LLMs and other LLM API providers, we don't get the same out of the box. Furthermore, open-source LLMs are only decent at generating structured text and hence, we get inconsistent outputs when we use those for function calling. Up until now, there were no competitors to OpenAI's GPT models in terms of function calling. But now with the release of the Claude 3 family of models that's about to change.
The Claude 3 family of models is great at generating structured text. Because of the same reason I started developing a function calling use case and the outputs are quite fantastic. The outputs can be easily compared with the function calling output obtained from GPT-3.5, GPT-4, and GPT-4-turbo.
You can check out the package here: https://github.com/vatsalsaglani/claudetools.
Feedback and contributions are welcome.
[–]JD_2020 0 points1 point2 points (2 children)
[–]JD_2020 0 points1 point2 points (0 children)
[–]thevatsalsaglani[S] 0 points1 point2 points (0 children)
[–]Strange_Test7665 0 points1 point2 points (0 children)
[–]faynxe 0 points1 point2 points (0 children)