GenAI.Message (GenAI Core v0.1.1)

Struct for representing a chat message.

Link to this section Summary

Link to this section Types

@type t() :: %GenAI.Message{
  content: String.t() | list(),
  role: :user | :assistant | :system | any(),
  vsn: float()
}

Link to this section Functions

Link to this function

image(resource, options \\ nil)

Load image resource.