Class MistralAiBatchJob

java.lang.Object
dev.langchain4j.model.mistralai.internal.api.MistralAiBatchJob

public class MistralAiBatchJob extends Object
Metadata for a batch job returned by the Mistral Batch API (create, retrieve, cancel, and each entry of the list endpoint).

status is one of QUEUED, RUNNING, SUCCESS, FAILED, TIMEOUT_EXCEEDED, CANCELLATION_REQUESTED, or CANCELLED. Per-request outcomes are not carried here; once the job has completed they are fetched from the file referenced by outputFile (and, for provider-level failures, errorFile) via the Files API.

Only the fields consumed by MistralAiBatchChatModel are declared; the remaining response fields are ignored via JsonIgnoreProperties.

  • Field Details

    • id

      public String id
    • status

      public String status
    • outputFile

      public String outputFile
    • errorFile

      public String errorFile
  • Constructor Details

    • MistralAiBatchJob

      public MistralAiBatchJob()