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

View Source

Represents an AI agent with specific instructions and capabilities.

Summary

Functions

Create an Agent struct from a map response.

Types

t()

@type t() :: %MistralClient.Models.Beta.Agent{
  completion_args: map() | nil,
  created_at: DateTime.t(),
  description: String.t() | nil,
  handoffs: [String.t()] | nil,
  id: String.t(),
  instructions: String.t() | nil,
  model: String.t(),
  name: String.t(),
  object: String.t(),
  tools: [map()] | nil,
  updated_at: DateTime.t(),
  version: integer()
}

Functions

from_map(data)

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

Create an Agent struct from a map response.

parse_datetime(datetime_string)