Initialize indexes all documents from the given paths.
(ctx context.Context, docPaths []string, chunking ChunkingConfig)
| 11 | type Strategy interface { |
| 12 | // Initialize indexes all documents from the given paths. |
| 13 | Initialize(ctx context.Context, docPaths []string, chunking ChunkingConfig) error |
| 14 | |
| 15 | // Query searches for relevant documents using the strategy's retrieval method. |
| 16 | // numResults is the maximum number of candidates to retrieve (before fusion). |
no outgoing calls