MistralClient.Models.FIMCompletionResponse (mistralex_ai v0.1.0)

View Source

Represents a FIM completion response.

Summary

Functions

Create a FIM completion response from a map.

Types

t()

@type t() :: %MistralClient.Models.FIMCompletionResponse{
  choices: [FIMCompletionChoice.t()],
  created: integer(),
  id: String.t(),
  model: String.t(),
  object: String.t(),
  usage: MistralClient.Models.Usage.t() | nil
}

Functions

from_map(data)

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

Create a FIM completion response from a map.