cognee/cognee/shared
Igor Ilic 46ddd4fd12
feat: add dataset database handler logic and neo4j/lancedb/kuzu handlers (#1776)
<!-- .github/pull_request_template.md -->

## Description
Add ability to use multi tenant multi user mode with Neo4j

## Type of Change
<!-- Please check the relevant option -->
- [ ] Bug fix (non-breaking change that fixes an issue)
- [ ] New feature (non-breaking change that adds functionality)
- [ ] Breaking change (fix or feature that would cause existing
functionality to change)
- [ ] Documentation update
- [ ] Code refactoring
- [ ] Performance improvement
- [ ] Other (please specify):

## Screenshots/Videos (if applicable)
<!-- Add screenshots or videos to help explain your changes -->

## Pre-submission Checklist
<!-- Please check all boxes that apply before submitting your PR -->
- [ ] **I have tested my changes thoroughly before submitting this PR**
- [ ] **This PR contains minimal changes necessary to address the
issue/feature**
- [ ] My code follows the project's coding standards and style
guidelines
- [ ] I have added tests that prove my fix is effective or that my
feature works
- [ ] I have added necessary documentation (if applicable)
- [ ] All new and existing tests pass
- [ ] I have searched existing PRs to ensure this change hasn't been
submitted already
- [ ] I have linked any relevant issues in the description
- [ ] My commits have clear and descriptive messages

## 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

## Release Notes

* **New Features**
* Multi-user support with per-dataset database isolation enabled by
default, allowing backend access control for secure data separation.
* Configurable database handlers via environment variables
(GRAPH_DATASET_DATABASE_HANDLER, VECTOR_DATASET_DATABASE_HANDLER) for
flexible deployment options.

* **Chores**
* Database schema migration to support per-user dataset database
configurations.

<sub>✏️ Tip: You can customize this high-level summary in your review
settings.</sub>
<!-- end of auto-generated comment: release notes by coderabbit.ai -->
2025-12-11 14:15:20 +01:00
..
exceptions Update deprecated Exception status codes 2025-10-22 17:38:41 +01:00
__init__.py Change data models for gemini (#600) 2025-03-04 14:09:28 +01:00
cache.py feat: add welcome tutorial notebook for new users (#1425) 2025-09-18 18:07:05 +02:00
CodeGraphEntities.py Extend CodeGraph pipeline for multi-language support (closes #1160) 2025-08-11 13:48:37 +05:30
data_models.py refactor: Remove falkordb adapter from main repo, since we have it on community 2025-09-17 12:09:57 +02:00
encode_uuid.py ruff format 2025-01-05 19:09:08 +01:00
GithubClassification.py ruff format 2025-01-05 19:09:08 +01:00
GithubTopology.py ruff format 2025-01-05 19:09:08 +01:00
logging_utils.py refactor: Add better handling of configuration for dataset to database handler 2025-11-25 15:41:01 +01:00
rate_limiting.py feat: Add RPM control 2025-12-05 15:40:24 +01:00
SourceCodeGraph.py fix: custom model pipeline (#508) 2025-02-08 02:00:15 +01:00
utils.py refactor: Handle read-only file systems 2025-10-28 17:52:54 +01:00