Interface: FuzzySearchOptions
Defined in: packages/agentos/src/cognition/rag/search/FuzzyIndex.ts:58
How a search matches, and how many hits it answers.
Properties
match?
optionalmatch:"all"|"any"
Defined in: packages/agentos/src/cognition/rag/search/FuzzyIndex.ts:62
'all' keeps the documents in which every query word matches; 'any' those in which at least one does.
Default
'all'
topK?
optionaltopK:number
Defined in: packages/agentos/src/cognition/rag/search/FuzzyIndex.ts:60
The most hits answered: a whole number, 0 or more, or Infinity for every hit.
Default
10