AnthropicBatchCounts
Namespace: Vercel.AI.Anthropic
public sealed class AnthropicBatchCountsRequest counts derived from an Anthropic message batch.
Inheritance: object
Constructors
Section titled “Constructors”AnthropicBatchCounts(int, int, int, int)
Section titled “AnthropicBatchCounts(int, int, int, int)”public AnthropicBatchCounts(int total, int pending, int completed, int failed)Creates counts.
Parameters
| Name | Type | Description |
|---|---|---|
total |
int | |
pending |
int | |
completed |
int | |
failed |
int |
Properties
Section titled “Properties”Completed
Section titled “Completed”public int Completed { get; }Succeeded requests.
Value: int
Failed
Section titled “Failed”public int Failed { get; }errored + canceled + expired.
Value: int
Pending
Section titled “Pending”public int Pending { get; }Requests still processing.
Value: int
public int Total { get; }processing + succeeded + errored + canceled + expired.
Value: int
Apache-2.0 · Copyright 2023 Vercel, Inc. · unofficial community port, not an official Vercel product