Skip to main content

Interface: ChunkTurnsOptions

Defined in: packages/agentos/src/cognition/library/chunkTurns.ts:38

How to cut.

Properties​

maxChars?​

optional maxChars: number

Defined in: packages/agentos/src/cognition/library/chunkTurns.ts:40

The most characters a passage holds, unless one turn alone is longer.

Default​

1200

overlapTurns?​

optional overlapTurns: number

Defined in: packages/agentos/src/cognition/library/chunkTurns.ts:45

At most how many turns from the end of a passage open the next one, never its first turn: only as many as fit within maxChars together with the next new turn.

Default​

1