你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
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.Projects.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. |