Language

ContextLengthSource Struct

Definition

Where a context length was resolved from.

public readonly struct ContextLengthSource : IEquatable<Azure.ResourceManager.AIInfraOptimization.Models.ContextLengthSource>
type ContextLengthSource = struct
Public Structure ContextLengthSource
Implements IEquatable(Of ContextLengthSource)
Inheritance
ContextLengthSource
Implements

Constructors

Name Description
ContextLengthSource(String)

Initializes a new instance of ContextLengthSource.

Properties

Name Description
Default

No token budget was supplied, so the service default context length was used.

Request

The context length is the sum of the request's workload.tokenBudget.promptTokens and maxOutputTokens.

Methods

Name Description
Equals(ContextLengthSource)

Indicates whether the current object is equal to another object of the same type.

ToString()

Returns the fully qualified type name of this instance.

Operators

Name Description
Equality(ContextLengthSource, ContextLengthSource)

Determines if two ContextLengthSource values are the same.

Implicit(String to ContextLengthSource)

Converts a string to a ContextLengthSource.

Implicit(String to Nullable<ContextLengthSource>)
Inequality(ContextLengthSource, ContextLengthSource)

Determines if two ContextLengthSource values are not the same.

Applies to