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

View Source

Represents the response from conversation operations.

Summary

Functions

Create a ConversationResponse struct from a map response.

Types

t()

@type t() :: %MistralClient.Models.Beta.ConversationResponse{
  conversation_id: String.t(),
  object: String.t(),
  outputs: [MistralClient.Models.Beta.ConversationEntry.t()],
  usage: map() | nil
}

Functions

from_map(data)

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

Create a ConversationResponse struct from a map response.