graphrag icon indicating copy to clipboard operation
graphrag copied to clipboard

[Issue]: <title>

Open 1linS opened this issue 1 year ago • 2 comments

Is there an existing issue for this?

  • [ ] I have searched the existing issues
  • [ ] I have checked #657 to validate if my issue is covered by community support

Describe the issue

When using local search to obtain entities based on a query, the map_query_to_entities function utilizes the text_embedding_vectorstore.similarity_search_by_text to calculate similarity. Is this function calculating the similarity between the query and the description_embedding? Can it be replaced with the similarity calculation of the entities' embeddings?

Steps to reproduce

No response

GraphRAG Config Used

# Paste your config here

Logs and screenshots

No response

Additional Information

  • GraphRAG Version:
  • Operating System:
  • Python Version:
  • Related Issues:

1linS avatar Jul 29 '24 09:07 1linS