GenAI.Provider.LocalLLama.MessageProtocol protocol (GenAI local model extension v0.1.0)

This protocol defines how to transform GenAI message structs into a format compatible with the LocalLLama nif.

Link to this section Summary

Types

t()

All the types that implement this protocol.

Functions

Transforms a GenAI message struct into a LocalLLama 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 LocalLLama message format.