MistralClient.Models.BatchError (mistralex_ai v0.1.0)

View Source

Represents an error in a batch job.

Summary

Functions

Create a batch error from a map.

Convert a batch error to a map.

Types

t()

@type t() :: %MistralClient.Models.BatchError{message: String.t()}

Functions

from_map(data)

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

Create a batch error from a map.

to_map(error)

@spec to_map(t()) :: map()

Convert a batch error to a map.