Class TruncationStrategy
[Serializable]
public class TruncationStrategy
- Inheritance
-
objectTruncationStrategy
Fields
Auto
public static readonly TruncationStrategy Auto
Field Value
Disabled
public static readonly TruncationStrategy Disabled
Field Value
LastMessage
The number of most recent messages from the Thread when constructing the context for the Run.
public SerializableNullable<int> LastMessage
Field Value
- SerializableNullable<int>
RetentionRatio
Required. Fraction of post-instruction conversation tokens to retain (0.0 - 1.0) when the conversation exceeds the input token limit.
public float RetentionRatio
Field Value
- float
Type
public string Type
Field Value
- string