mirror of
https://github.com/qdrant/landing_page.git
synced 2026-10-04 10:28:29 +02:00
[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:
@@ -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/)
|
||||
|
||||
Reference in New Issue
Block a user