Class KnowledgeContextProjection
- Namespace
- Oscova.Agents.Memory
- Assembly
- Oscova.Agents.dll
Bounds knowledge text loaded into every run and tells the model which tool reads what was left out.
public static class KnowledgeContextProjectionInheritance
Inherited Members
Remarks
Cuts happen only between lines, so no character is ever split. A line larger than the remaining room is dropped whole.
Fields
- MaxSectionBytes
-
Maximum UTF-8 bytes of one injected index or daily-log section, including its omission line.
Methods
- Fits(string)
-
Reports whether the text is injected unchanged.
- KeepHead(string)
-
Keeps an index's leading lines in index order and ends with the number of omitted entries.
- KeepTail(string)
-
Keeps a log's trailing lines, its newest entries, behind a line saying earlier entries were omitted.