Class TruncationStrategy
- Namespace
- OpenAI.
Object Models. Shared Models
- Assembly
- AntRunnerLib.dll
- Inheritance
-
System.
Object TruncationStrategy
- Inherited Members
-
System.
Object. Equals(System. Object) System.Object. Equals(System. Object, System. Object) System.Object. Get Hash Code() System.Object. Get Type() System.Object. Memberwise Clone() System.Object. Reference Equals(System. Object, System. Object) System.Object. To String()
Properties
LastMessages
The number of most recent messages from the thread when constructing the context for the run.
Property Value
- System.
Nullable <System.Int32 >
Type
The truncation strategy to use for the thread. The default is "auto". If set to "last_messages", the thread will be truncated to the n most recent messages in the thread. When set to "auto", messages in the middle of the thread will be dropped to fit the context length of the model, max_prompt_tokens.
Property Value
- System.
String