MistralClient.Models.Beta.ConversationHistory (mistralex_ai v0.1.0)

View Source

Represents the history of a conversation with all entries.

Summary

Functions

Create a ConversationHistory struct from a map response.

Types

t()

@type t() :: %MistralClient.Models.Beta.ConversationHistory{
  conversation_id: String.t(),
  entries: [MistralClient.Models.Beta.ConversationEntry.t()] | nil,
  messages: [MistralClient.Models.Beta.ConversationEntry.t()] | nil,
  object: String.t()
}

Functions

from_map(data)

@spec from_map(map()) :: t()

Create a ConversationHistory struct from a map response.