- Introduced a new TODO.md file to outline the implementation plan and progress for the search module. - Updated DESIGN.md to reflect changes in the directory structure and clarify the roles of various components, including the new Handler + Registry pattern for reranking and keyword extraction. - Refactored the Searcher struct to utilize a direct reference to the rerank package, enhancing modularity and clarity in the search process. - Modified the Search and SearchMultiple methods to include context parameters, improving flexibility for agent mode operations. - Revised the Reranker interface to require context for Agent and MCP modes, ensuring compatibility with different reranking strategies. - Enhanced documentation to provide comprehensive guidance on the updated search architecture and its components. |
||
|---|---|---|
| .. | ||
| defaults | ||
| handlers | ||
| interfaces | ||
| nlp/keyword | ||
| rerank | ||
| types | ||
| citation.go | ||
| DESIGN.md | ||
| jsapi.go | ||
| reference.go | ||
| registry.go | ||
| search.go | ||