InferenceCallDetails Constructor
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Initializes a new instance of the InferenceCallDetails class.
public InferenceCallDetails(Microsoft.Agents.A365.Observability.Runtime.Tracing.Contracts.InferenceOperationType operationName, string model, string providerName, int? inputTokens = default, int? outputTokens = default, string[]? finishReasons = default, string? responseId = default);
new Microsoft.Agents.A365.Observability.Runtime.Tracing.Contracts.InferenceCallDetails : Microsoft.Agents.A365.Observability.Runtime.Tracing.Contracts.InferenceOperationType * string * string * Nullable<int> * Nullable<int> * string[] * string -> Microsoft.Agents.A365.Observability.Runtime.Tracing.Contracts.InferenceCallDetails
Public Sub New (operationName As InferenceOperationType, model As String, providerName As String, Optional inputTokens As Nullable(Of Integer) = Nothing, Optional outputTokens As Nullable(Of Integer) = Nothing, Optional finishReasons As String() = Nothing, Optional responseId As String = Nothing)
Parameters
- operationName
- InferenceOperationType
Telemetry identifier for the inference operation.
- model
- String
Model name used to satisfy the inference request.
- providerName
- String
Provider responsible for the inference call.
- finishReasons
- String[]
Optional set of finish reasons supplied by the model.
- responseId
- String
Optional identifier for the model response.