GenAI.Provider.Mistral.MessageProtocol protocol (Noizu Labs, GenAI Wrapper v0.0.3)

This protocol defines how to transform GenAI message structs into a format compatible with the Mistral chat API.

Link to this section Summary

Types

t()

All the types that implement this protocol.

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.