GenAI.Provider.Groq.MessageProtocol protocol (Noizu Labs, GenAI Wrapper v0.1.0)

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

Link to this section Summary

Types

t()

All the types that implement this protocol.

Functions

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