Freigeben über


InferenceCallDetails.Deconstruct Method

Definition

Deconstructs this instance into individual components.

public void Deconstruct(out Microsoft.Agents.A365.Observability.Runtime.Tracing.Contracts.InferenceOperationType operationName, out string model, out string providerName, out int? inputTokens, out int? outputTokens, out string[]? finishReasons, out string? responseId);
member this.Deconstruct : InferenceOperationType * string * string * Nullable * Nullable * String[] * string -> unit
Public Sub Deconstruct (ByRef operationName As InferenceOperationType, ByRef model As String, ByRef providerName As String, ByRef inputTokens As Nullable(Of Integer), ByRef outputTokens As Nullable(Of Integer), ByRef finishReasons As String(), ByRef responseId As String)

Parameters

operationName
InferenceOperationType

Receives the operation name.

model
String

Receives the model name.

providerName
String

Receives the provider name.

inputTokens
Nullable<Int32>

Receives the input token count.

outputTokens
Nullable<Int32>

Receives the output token count.

finishReasons
String[]

Receives the finish reasons.

responseId
String

Receives the response identifier.

Applies to