MistralClient.Models.FIMCompletionChoice (mistralex_ai v0.1.0)

View Source

Represents a choice in a FIM completion response.

Summary

Functions

Create a FIM completion choice from a map.

Types

t()

@type t() :: %MistralClient.Models.FIMCompletionChoice{
  delta: map() | nil,
  finish_reason: String.t() | nil,
  index: integer(),
  message: FIMCompletionMessage.t()
}

Functions

from_map(data)

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

Create a FIM completion choice from a map.