Share via


InferenceDetails interface

Details for an inference call matching C# implementation

Properties

finishReasons

Array of finish reasons

inputTokens

Number of input tokens used

model

The model name/identifier

operationName

The operation name/type for the inference

outputTokens

Number of output tokens generated

providerName

The provider name (e.g., openai, azure, anthropic)

responseId

Response ID from the model provider

Property Details

finishReasons

Array of finish reasons

finishReasons?: string[]

Property Value

string[]

inputTokens

Number of input tokens used

inputTokens?: number

Property Value

number

model

The model name/identifier

model: string

Property Value

string

operationName

The operation name/type for the inference

operationName: InferenceOperationType

Property Value

outputTokens

Number of output tokens generated

outputTokens?: number

Property Value

number

providerName

The provider name (e.g., openai, azure, anthropic)

providerName?: string

Property Value

string

responseId

Response ID from the model provider

responseId?: string

Property Value

string