[fix: cognee.md] include vector_dataset_database_handler information (#2065)

* include vector_dataset_database_handler information

* docs: Updated cognee.md

---------

Co-authored-by: Anush <anushshetty90@gmail.com>
This commit is contained in:
Tarun Jain
2026-01-08 13:47:34 +05:30
committed by GitHub
co-authored by Anush
parent c2b216ed59
commit 59cfe8f890
@@ -51,6 +51,7 @@ async def main():
config.set_relational_db_config({"db_provider": "sqlite"})
config.set_vector_db_config({
"vector_db_provider": "qdrant",
"vector_dataset_database_handler": "qdrant",
"vector_db_url": os.getenv("QDRANT_API_URL", "http://localhost:6333"),
"vector_db_key": os.getenv("QDRANT_API_KEY", ""),
})
@@ -68,6 +69,18 @@ if __name__ == "__main__":
asyncio.run(main())
```
> Note: You can specify `vector_dataset_database_handler` in the config if it is not defined in the `.env` file.
Example `.env` usage file for Cognee with Qdrant adapter
```bash
LLM_API_KEY=your-openai-api-key
VECTOR_DB_PROVIDER=qdrant
VECTOR_DB_URL=http://localhost:6333
VECTOR_DB_KEY=
VECTOR_DATASET_DATABASE_HANDLER=qdrant
```
## How It Works
Cognee's memory pipelines move content through extraction → embedding → graph construction → retrieval, with consistent configuration across laptops, distributed jobs, and hosted runs. The graph-aware semantic layer is where retrieval becomes reasoning.
@@ -91,4 +104,4 @@ If you prefer not to run infrastructure, Cognee's hosted option — [cogwit](htt
- [Cognee Documentation](https://docs.Cognee.ai/getting-started/introduction)
- [Cognee Source](https://github.com/topoteretes/Cognee)
- [Cognee Website](https://www.cognee.ai/)
- [Cognee Website](https://www.cognee.ai/)