Rag.Agent.Tools.SearchRepos (rag v0.3.4)
View SourceTool for semantic search across repositories.
Uses the vector store to find relevant code snippets and documentation based on semantic similarity to the query.
Context Requirements
:search_fn- Function to perform search:(query, opts) -> {:ok, results} | {:error, reason}
If no search_fn is provided, returns empty results.