GenAI.Provider.LocalLLama.ToolProtocol protocol (Noizu Labs, GenAI Wrapper v0.0.3)
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.