Interface: FuzzyToken
Defined in: packages/agentos/src/cognition/rag/search/FuzzyIndex.ts:29
A word of a text and where it stands in it.
Properties
end
end:
number
Defined in: packages/agentos/src/cognition/rag/search/FuzzyIndex.ts:35
Where the word ends, one past its last unit.
start
start:
number
Defined in: packages/agentos/src/cognition/rag/search/FuzzyIndex.ts:33
Where the word starts in the text, in UTF-16 units.
word
word:
string
Defined in: packages/agentos/src/cognition/rag/search/FuzzyIndex.ts:31
The word as it is compared, before the index folds its case and accents.