GenAI.Provider.Mistral.MessageProtocol protocol (Noizu Labs, GenAI Wrapper v0.0.1)
This protocol defines how to transform GenAI message structs into a format compatible with the Mistral chat API.
Link to this section Summary
Functions
Transforms a GenAI message struct into a Mistral message 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
message(message)
Transforms a GenAI message struct into a Mistral message format.