search-documents
Find relevant document chunks using the BM25 algorithm by inputting keyword arrays, optional domain filters, and top result limits for targeted knowledge retrieval.
Instructions
Search documents using BM25 algorithm. Takes keyword arrays and returns relevant document chunks.
Input Schema
Name | Required | Description | Default |
---|---|---|---|
domain | No | Domain to search in (optional, e.g., "company", "customer") | |
keywords | Yes | Array of keywords to search for (e.g., ["payment", "API", "authentication"]) | |
topN | No | Maximum number of results to return (default: 10) |