GenAI.Provider.Mistral.ToolProtocol protocol (Noizu Labs, GenAI Wrapper v0.0.2)
This protocol defines how to transform GenAI tool function structs into a format compatible with the Mistral tool API.
Link to this section Summary
Functions
Transforms a GenAI tool function struct into a Mistral tool format.
Link to this section Types
@type t() :: term()
All the types that implement this protocol.
Link to this section Functions
Link to this function
tool(subject)
Transforms a GenAI tool function struct into a Mistral tool format.