Class AnthropicBatch
java.lang.Object
dev.langchain4j.model.anthropic.internal.api.AnthropicBatch
Metadata for a batch job returned by the Anthropic Message Batches API
(create, retrieve, cancel, and each entry of the list endpoint).
processingStatus is one of in_progress, canceling, or ended. A canceled
batch also ends as ended, so cancelInitiatedAt is what distinguishes a canceled batch from
one that ran to completion. Per-request outcomes are not carried here; they are fetched separately from the
batch's results endpoint once the batch has ended.
Only the fields consumed by AnthropicBatchChatModel are declared; the remaining
response fields are ignored via JsonIgnoreProperties.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
id
-
processingStatus
-
cancelInitiatedAt
-
-
Constructor Details
-
AnthropicBatch
public AnthropicBatch()
-