Table of Contents

Class TruncationStrategy

Namespace
Glitch9.AIDevKit
[Serializable]
public class TruncationStrategy
Inheritance
object
TruncationStrategy

Fields

Auto

public static readonly TruncationStrategy Auto

Field Value

TruncationStrategy

Disabled

public static readonly TruncationStrategy Disabled

Field Value

TruncationStrategy

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