GenAI.Message.ContentProtocol protocol (GenAI Core v0.1.1)

A protocol for handling different types of content in messages.

Link to this section Summary

Types

t()

All the types that implement this protocol.

Functions

Return content of a message component.

Link to this section Types

@type t() :: term()

All the types that implement this protocol.

Link to this section Functions

Link to this function

content(message)

Return content of a message component.