Mistral AI - Adopt ToolCallingManager API
- Update MistralAiChatModel to use the new ToolCallingManager API, while ensuring full API backward compatibility. - Introduce Builder to instantiate a new MistralAiChatModel since the number of overloaded constructors is growing too big. - Update documentation about tool calling and Mistral AI support for that. - Add extra validation to ensure the uniqueness of tool names when aggregated from different sources. Signed-off-by: Thomas Vitale <ThomasVitale@users.noreply.github.com>
This commit is contained in:
committed by
Christian Tzolov
parent
b936a9c429
commit
6c3a2c39fc
@@ -1,4 +1,6 @@
|
||||
= Mistral AI Function Calling
|
||||
= Mistral AI Function Calling (Deprecated)
|
||||
|
||||
WARNING: This page describes the previous version of the Function Calling API, which has been deprecated and marked for remove in the next release. The current version is available at xref:api/tools.adoc[Tool Calling]. See the xref:api/tools-migration.adoc[Migration Guide] for more information.
|
||||
|
||||
You can register custom Java functions with the `MistralAiChatModel` and have the Mistral AI models intelligently choose to output a JSON object containing arguments to call one or many of the registered functions.
|
||||
This allows you to connect the LLM capabilities with external tools and APIs.
|
||||
|
||||
Reference in New Issue
Block a user