InferenceCallDetails Class
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.
Details of an inference call for generative AI operations.
public sealed class InferenceCallDetails : IEquatable<Microsoft.Agents.A365.Observability.Runtime.Tracing.Contracts.InferenceCallDetails>
type InferenceCallDetails = class
interface IEquatable<InferenceCallDetails>
Public NotInheritable Class InferenceCallDetails
Implements IEquatable(Of InferenceCallDetails)
- Inheritance
-
InferenceCallDetails
- Implements
Constructors
| Name | Description |
|---|---|
| InferenceCallDetails(InferenceOperationType, String, String, Nullable<Int32>, Nullable<Int32>, String[], String) |
Initializes a new instance of the InferenceCallDetails class. |
Properties
| Name | Description |
|---|---|
| FinishReasons |
Gets the model-provided finish reasons, when provided. |
| InputTokens |
Gets the number of input tokens, when available. |
| Model |
Gets the language model name used by the call. |
| OperationName |
Gets the operation name associated with the inference call. |
| OutputTokens |
Gets the number of output tokens, when available. |
| ProviderName |
Gets the provider responsible for servicing the inference request. |
| ResponseId |
Gets the identifier associated with the model's response payload. |
Methods
| Name | Description |
|---|---|
| Deconstruct(InferenceOperationType, String, String, Nullable<Int32>, Nullable<Int32>, String[], String) |
Deconstructs this instance into individual components. |
| Equals(InferenceCallDetails) | Indicates whether the current object is equal to another object of the same type. |
| Equals(Object) | Determines whether the specified object is equal to the current object. |
| GetHashCode() | Serves as the default hash function. |