Query searches for relevant documents using the strategy's retrieval method. numResults is the maximum number of candidates to retrieve (before fusion).
(ctx context.Context, query string, numResults int, threshold float64)
| 15 | // Query searches for relevant documents using the strategy's retrieval method. |
| 16 | // numResults is the maximum number of candidates to retrieve (before fusion). |
| 17 | Query(ctx context.Context, query string, numResults int, threshold float64) ([]database.SearchResult, error) |
| 18 | |
| 19 | // CheckAndReindexChangedFiles checks for file changes and re-indexes if needed. |
| 20 | CheckAndReindexChangedFiles(ctx context.Context, docPaths []string, chunking ChunkingConfig) error |
no outgoing calls