Table of Contents

Class ContextTextBudget

Namespace
Oscova.Agents.Utils
Assembly
Oscova.Agents.dll

Truncates prompt context text to a small approximate token budget.

public static class ContextTextBudget

Inheritance

Inherited Members

Methods

Truncate(string, int)

Keeps leading lines until the approximate token budget is exhausted.