Tool calling makes LLMs smarter.
LLMs use tool calling to interact with the outside world. Mistral.rs has OpenAI compatible support for tool calling in all APIs, HTTP, Python, and Rust.
OpenAI docs: https://cookbook.openai.com/examples/how_to_call_functions_with_chat_models
Please see our example here.
OpenAI docs: https://platform.openai.com/docs/api-reference/chat/create?lang=curl
Please see our example here.
Please see our notebook here.