Skip to content

Latest commit

 

History

History
18 lines (11 loc) · 655 Bytes

TOOL_CALLING.md

File metadata and controls

18 lines (11 loc) · 655 Bytes

Tool calling

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

OpenAI compatible HTTP example

Please see our example here.

OpenAI docs: https://platform.openai.com/docs/api-reference/chat/create?lang=curl

Rust example

Please see our example here.

Python example

Please see our notebook here.