Add a new search engine that:
- Retrieves the top-k most relevant entities, similarly to
LocalSearchEngine.
- Collects the communities associated with those entities, including all entities and relations contained within those communities.
- Retrieves all source chunks from which the collected entities and relations were extracted.
- Reranks the gathered context using either heuristic-based ranking or a reranker model, similarly to
LocalSearchEngine.
- Uses the selected context to generate the final answer to the query.
Add a new search engine that:
LocalSearchEngine.LocalSearchEngine.