TruncationStrategy Struct
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.
Possible truncation strategies for the thread.
public readonly struct TruncationStrategy : IEquatable<Azure.AI.Agents.Persistent.TruncationStrategy>
type TruncationStrategy = struct
Public Structure TruncationStrategy
Implements IEquatable(Of TruncationStrategy)
- Inheritance
-
TruncationStrategy
- Implements
Constructors
| TruncationStrategy(String) |
Initializes a new instance of TruncationStrategy. |
Properties
| Auto |
Default value. Messages in the middle of the thread will be dropped to fit the context length of the model. |
| LastMessages |
The thread will truncate to the |
Methods
| Equals(TruncationStrategy) |
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
| Equality(TruncationStrategy, TruncationStrategy) |
Determines if two TruncationStrategy values are the same. |
| Implicit(String to TruncationStrategy) |
Converts a String to a TruncationStrategy. |
| Inequality(TruncationStrategy, TruncationStrategy) |
Determines if two TruncationStrategy values are not the same. |