diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 9028e2dd1..6d8071b56 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -12,6 +12,7 @@ This guide will help you get started and ensure your contributions can be effici - [Code of Conduct](CODE_OF_CONDUCT.md) - [Discord Community](https://discord.gg/bcy8xFAtfd) - [Issue Tracker](https://github.com/topoteretes/cognee/issues) +- [Cognee Docs](https://docs.cognee.ai) ## 1. 🚀 Ways to Contribute @@ -69,6 +70,13 @@ Looking for a place to start? Try filtering for [good first issues](https://gith git clone https://github.com//cognee.git cd cognee ``` +In case you are working on Vector and Graph Adapters +1. Fork the [**cognee**](https://github.com/topoteretes/cognee-community) repository +2. Clone your fork: +```shell +git clone https://github.com//cognee-community.git +cd cognee-community +``` ### Create a Branch diff --git a/cognee/modules/retrieval/utils/brute_force_triplet_search.py b/cognee/modules/retrieval/utils/brute_force_triplet_search.py index 381520737..4667f4738 100644 --- a/cognee/modules/retrieval/utils/brute_force_triplet_search.py +++ b/cognee/modules/retrieval/utils/brute_force_triplet_search.py @@ -155,12 +155,14 @@ async def brute_force_search( logger.error("Failed to initialize vector engine: %s", e) raise RuntimeError("Initialization error") from e + query_vector = (await vector_engine.embedding_engine.embed_text([query]))[0] + send_telemetry("cognee.brute_force_triplet_search EXECUTION STARTED", user.id) async def search_in_collection(collection_name: str): try: return await vector_engine.search( - collection_name=collection_name, query_text=query, limit=0 + collection_name=collection_name, query_vector=query_vector, limit=0 ) except CollectionNotFoundError: return []