MistralClient.Models.Model (mistralex_ai v0.1.0)

View Source

Represents model information.

Summary

Functions

Create a model from a map.

Types

t()

@type t() :: %MistralClient.Models.Model{
  created: integer(),
  id: String.t(),
  object: String.t(),
  owned_by: String.t(),
  parent: String.t() | nil,
  permission: [ModelPermission.t()] | nil,
  root: String.t() | nil
}

Functions

from_map(data)

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

Create a model from a map.