Commit graph

24 commits

Author SHA1 Message Date
Dmitrii Galkin
e147fa5bde
feat: Add support for ChromaDB (#622)
<!-- .github/pull_request_template.md -->

## Description
<!-- Provide a clear description of the changes in this PR -->

# Add Support for ChromaDB

## Summary
This PR adds support for ChromaDB as a vector database option in the
Cognee application. ChromaDB is a modern, open-source embedding database
designed for AI applications.

## Changes
- Created a new ChromaDBAdapter implementation for vector database
operations
- Added comprehensive test suite for ChromaDB functionality
- Updated docker-compose.yml to include ChromaDB service
- Modified environment configuration to support ChromaDB settings
- Updated vector engine creation logic to support ChromaDB as an option

## Technical Details
- Implemented `ChromaDBAdapter.py` (347 lines) with full CRUD operations
for vector data
- Created test suite (`test_chromadb.py`) with 171 lines of test
coverage
- Updated vector engine creation process to dynamically select ChromaDB
when configured
- Modified settings router to accommodate new database option
- Updated environment template with ChromaDB configuration options

## Docker Changes
- Added ChromaDB service to docker-compose.yml with appropriate
configuration

This PR enhances Cognee's flexibility by providing an alternative vector
database option, allowing users to choose the most appropriate database
for their specific use case.



## DCO Affirmation
I affirm that all code in every commit of this pull request conforms to
the terms of the Topoteretes Developer Certificate of Origin

Tested with UI + tests.


<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->
## Summary by CodeRabbit

- **New Features**
- Expanded vector database integration by adding support for Chromadb,
enabling enhanced data management and search functionalities.
- **Tests**
- Added automated tests to validate the Chromadb integration and related
operations.
- **Chores**
- Updated configuration guidance and dependency management to include
Chromadb.
  - Provided an optional container deployment template for Chromadb.
- Added a new entry to ignore the `.chromadb_data/` directory in version
control.
- Introduced a new GitHub Actions workflow for testing Chromadb
integration.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->

---------

Co-authored-by: hajdul88 <52442977+hajdul88@users.noreply.github.com>
Co-authored-by: Vasilije <8619304+Vasilije1990@users.noreply.github.com>
2025-03-13 15:13:04 +01:00
SJ
55a50153c6
Comment out the postgres configuration from docker-compose.yml (#504)
<!-- .github/pull_request_template.md -->

## Description
Comment out the postgres configuration from docker-compose.yml. I think
leaving postgres details commented is better than removing them
entirely. This keeps simple optionality visible for newcomers.

## DCO Affirmation
I affirm that all code in every commit of this pull request conforms to
the terms of the Topoteretes Developer Certificate of Origin


<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->

## Summary by CodeRabbit

- Chores  
- Improved service configuration by standardizing resource allocation
settings.
- Temporarily deactivated a non-essential database service along with
its related storage setup, while keeping reactivation instructions for
future needs.

<!-- end of auto-generated comment: release notes by coderabbit.ai -->

Co-authored-by: Vasilije <8619304+Vasilije1990@users.noreply.github.com>
2025-02-10 13:45:45 +01:00
hajdul88
676cdfcc84 Merge remote-tracking branch 'origin/main' into feature/cog-537-implement-retrieval-algorithm-from-research-paper 2024-11-21 17:07:16 +01:00
hajdul88
f2c0fddeb2 feat: Adds graph-data-science to neo4j docker image 2024-11-19 16:29:52 +01:00
Boris
5f144a0f92
fix: make all checks green (#1) 2024-11-19 15:30:09 +01:00
Igor Ilic
d68a3be32e feat: Add config support for pgvector
Added config support for using pgvector

Feature #COG-170
2024-10-11 13:23:11 +02:00
Boris Arzentar
401167bb0f fix: enable sqlalchemy adapter 2024-08-04 22:23:28 +02:00
Vasilije
e785b30117 Initial functional user auth 2024-07-22 23:59:16 +02:00
Boris
14555a25d0
feat: pipelines and tasks (#119)
* feat: simple graph pipeline

* feat: implement incremental graph generation

* fix: various bug fixes

* fix: upgrade weaviate-client

---------

Co-authored-by: Vasilije <8619304+Vasilije1990@users.noreply.github.com>
2024-07-20 16:49:00 +02:00
Boris Arzentar
e23faccb6a fix: run frontend in a container 2024-06-23 13:24:58 +02:00
Boris Arzentar
cb64ab14fa chore: add vanilla docker config 2024-06-23 00:36:34 +02:00
Boris Arzentar
84c0c8cab5 feat: add llm config 2024-05-22 22:36:30 +02:00
Boris Arzentar
9bb30bc43a Merge remote-tracking branch 'origin/feat/code-knowledge-graph' into feature/cognee-frontend 2024-05-22 10:17:33 +02:00
Vasilije
8ef23731a3 Updated evals, added falkordb 2024-05-20 14:41:08 +02:00
Vasilije
d1fa826aeb test with a simple file 2024-05-18 18:44:18 +02:00
Vasilije
aa2d6e97f0 fix docker compose 2024-05-18 08:12:04 +02:00
Vasilije
62efa27c5d Add local env 2024-05-17 20:36:28 +02:00
Vasilije
7a7a857fdc Added docker setup 2024-05-17 20:35:03 +02:00
Vasilije
f236bd0c87 Fixes to database manager 2024-02-20 09:29:09 +01:00
Boris Arzentar
f2832fa6cd fix: add python module resolution root and remove loading of env variables 2024-02-19 18:43:55 +01:00
Boris Arzentar
47c3463406 chore: add debugpy and update readme 2024-02-15 10:13:19 +01:00
Vasilije
54772d038a Rename the build package name and refactored the local runner 2024-01-25 16:46:39 +01:00
Vasilije
2321c7ebdd Rename the build package name and refactored the local runner 2024-01-25 12:30:39 +01:00
Vasilije
dfb13a2181 Build the docker and push 2023-12-16 15:25:32 +01:00
Renamed from level_4/docker-compose.yml (Browse further)