GenAI.Provider.LocalLLama.ToolProtocol protocol (GenAI local model extension v0.1.0)
This protocol defines how to transform GenAI tool function structs into a format compatible with the LocalLLama nif.
Link to this section Summary
Functions
Transforms a GenAI tool function struct into a Groq 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 Groq tool format.