Skip to main content

@wildix/wim-knowledge-base-client > SearchKnowledgeBaseInput > searchStrategy

SearchKnowledgeBaseInput.searchStrategy property

Search algorithm strategy: 'bm25' (full-text keyword search), 'vector' (semantic similarity search using embeddings), 'hybrid' (combines both methods for best results). Defaults to 'hybrid' if not specified

Signature:

searchStrategy?: SearchStrategy | undefined;