Class AnthropicBatchResult

java.lang.Object
dev.langchain4j.model.anthropic.internal.api.AnthropicBatchResult

public class AnthropicBatchResult extends Object
A single line of the JSONL document served from a batch's results_url.

customId correlates the outcome with the originating request. Results are returned in arbitrary order, so callers must key on custom_id rather than position. result.type is one of succeeded, errored, canceled, or expired; AnthropicBatchResult.Result.message is populated only for succeeded.

  • Field Details

  • Constructor Details

    • AnthropicBatchResult

      public AnthropicBatchResult()