Commit graph

3132 commits

Author SHA1 Message Date
Daulet Amirkhanov
e4e0512856 feat: add reusable GitHub Action to set up Neo4j with Graph Data Science for testing 2025-08-15 13:29:54 +01:00
Daulet Amirkhanov
5f7598d59d test: use neo4j_metrics_test in descriptive tests instead of networkx 2025-08-15 13:13:15 +01:00
Daulet Amirkhanov
761bb1b523 test: deprecate networkx_metrics_test.py 2025-08-15 12:59:49 +01:00
Igor Ilic
99a517d356
chore: Update Cognee version (#1258)
<!-- .github/pull_request_template.md -->

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

## 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.
2025-08-15 13:52:47 +02:00
Igor Ilic
86e51350a4 chore: Update Cognee version 2025-08-15 13:42:48 +02:00
Vasilije
271e7e9cf4
feature: Introduces new error handling (4 base errors + specified hierarchical exception handling) (#1242)
<!-- .github/pull_request_template.md -->

## Description
Introduces new error handling (4 base errors + specified hierarchical
exception handling)

## 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.
2025-08-15 13:30:30 +02:00
Vasilije
1e57ac9f19
fix: Return distributed as part of Cognee build (#1257)
<!-- .github/pull_request_template.md -->

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

## 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.
2025-08-15 13:12:50 +02:00
Igor Ilic
1ee697b000 fix: Return distributed as part of Cognee build 2025-08-15 12:27:03 +02:00
Daulet Amirkhanov
8825aaad9f format: ruff format 2025-08-15 11:01:08 +01:00
Daulet Amirkhanov
8d045b942e chore: forgot to remove NetworkX check in NLPRetriever 2025-08-15 10:56:19 +01:00
Daulet Amirkhanov
50ebcedf37 fix: natural_language_retriever.py 2025-08-15 10:54:11 +01:00
Daulet Amirkhanov
85c7f11eb8 Keep networkx as core dependency 2025-08-15 10:28:56 +01:00
misselvexu
81a17580a6 Remove NetworkX from cognee core. 2025-08-15 10:28:56 +01:00
Vasilije
216ffd2706
Refactor CI workflows to replace Poetry with uv (#1250)
<!-- .github/pull_request_template.md -->

## Description
This PR migrates all CI/CD workflows to use `uv` instead of `poetry`

## 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.
2025-08-15 11:05:58 +02:00
Daulet Amirkhanov
4312508cf3 undo: keep poetry-uv change limited to CI/CD fo now 2025-08-15 09:48:23 +01:00
Daulet Amirkhanov
3941e469e5 chore: add step to rebuild uv lockfile in CI workflow 2025-08-15 09:48:23 +01:00
Daulet Amirkhanov
bcdbadc468 fix: unintentionally uninstall required deps when "uv sync" 2025-08-15 09:48:23 +01:00
Daulet Amirkhanov
1ab332828f fix: uv uninstalls rest of packages in some workflows 2025-08-15 09:48:23 +01:00
Daulet Amirkhanov
a1edfc98c2 docs: update README.md with new supported python versions 2025-08-15 09:48:23 +01:00
Daulet Amirkhanov
cb5590b655 Update installation instructions and replace Poetry with uv across documentation and scripts 2025-08-15 09:48:23 +01:00
Daulet Amirkhanov
c60627306f Refactor CI workflows to replace Poetry with uv for dependency management and execution 2025-08-15 09:48:23 +01:00
Raj2604
f5eecbacf7 feat: add top_k-input and send it to backend 2025-08-15 14:17:17 +05:30
hajdul88
d884cc46e9
Merge branch 'dev' into feature/cog-2717-add-better-error-management-to-cognee 2025-08-15 08:15:05 +02:00
Vasilije
dee212cdb5
Cognee v0.2.2 Release (#1256)
<!-- .github/pull_request_template.md -->

## Description
Cognee v0.2.2 Release

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

---------

Signed-off-by: EricXiao <taoiaox@gmail.com>
Signed-off-by: Andrew Carbonetto <andrew.carbonetto@improving.com>
Signed-off-by: Andy Kwok <andy.kwok@improving.com>
Signed-off-by: Raj2604 <rajmandhare26@gmail.com>
Signed-off-by: Emmanuel Ferdman <emmanuelferdman@gmail.com>
Co-authored-by: Boris Arzentar <borisarzentar@gmail.com>
Co-authored-by: Boris <boris@topoteretes.com>
Co-authored-by: hajdul88 <52442977+hajdul88@users.noreply.github.com>
Co-authored-by: Vasilije <8619304+Vasilije1990@users.noreply.github.com>
Co-authored-by: EricXiao <7250816+EricXiao95@users.noreply.github.com>
Co-authored-by: vasilije <vas.markovic@gmail.com>
Co-authored-by: Andrew Carbonetto <andrew.carbonetto@improving.com>
Co-authored-by: Andy Kwok <andy.kwok@improving.com>
Co-authored-by: Daulet Amirkhanov <damirkhanov01@gmail.com>
Co-authored-by: Hande <159312713+hande-k@users.noreply.github.com>
Co-authored-by: Matea Pesic <80577904+matea16@users.noreply.github.com>
Co-authored-by: github-actions[bot] <github-actions@users.noreply.github.com>
Co-authored-by: Raj Mandhare <96978537+Raj2604@users.noreply.github.com>
Co-authored-by: Pedro Thompson <thompsonp17@hotmail.com>
Co-authored-by: Pedro Henrique Thompson Furtado <pedrothompson@petrobras.com.br>
Co-authored-by: sssaha1989 <150610036+sssaha1989@users.noreply.github.com>
Co-authored-by: lxobr <122801072+lxobr@users.noreply.github.com>
Co-authored-by: Pavan Chilukuri <23178099+chilupa@users.noreply.github.com>
Co-authored-by: Pavel Zorin <pazonec@yandex.ru>
Co-authored-by: Emmanuel Ferdman <emmanuelferdman@gmail.com>
Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com>
2025-08-14 22:19:15 +02:00
Igor Ilic
91d0d38e43
chore: Update cognee version (#1255)
<!-- .github/pull_request_template.md -->

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

## 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.
2025-08-14 22:06:16 +02:00
Igor Ilic
dd7c5de9ff chore: Update cognee version 2025-08-14 22:04:03 +02:00
Igor Ilic
0859390eaf
feat: Change cognee version (#1254)
<!-- .github/pull_request_template.md -->

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

## 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.
2025-08-14 22:00:22 +02:00
Igor Ilic
3175e5aa04
Main merge vol5 (#1253)
<!-- .github/pull_request_template.md -->

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

## 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.
2025-08-14 21:54:46 +02:00
Igor Ilic
70c81f6db9
Merge branch 'dev' into main-merge-vol5 2025-08-14 21:52:39 +02:00
Igor Ilic
1b076bce1e
Loader separation migration (#1251)
<!-- .github/pull_request_template.md -->

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

## 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.
2025-08-14 15:50:36 -04:00
Igor Ilic
741188f788
Main merge vol5 (#1252)
<!-- .github/pull_request_template.md -->

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

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

---------

Signed-off-by: Emmanuel Ferdman <emmanuelferdman@gmail.com>
Co-authored-by: Pavel Zorin <pazonec@yandex.ru>
Co-authored-by: Emmanuel Ferdman <emmanuelferdman@gmail.com>
Co-authored-by: Vasilije <8619304+Vasilije1990@users.noreply.github.com>
Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com>
2025-08-14 21:17:17 +02:00
Igor Ilic
ac1ecf4067 chore: added lock files 2025-08-14 21:11:30 +02:00
Igor Ilic
b9bcda0343 Merge branch 'main' into main-merge-vol5 2025-08-14 21:05:09 +02:00
Igor Ilic
4543890a70
Loader separation (#1240)
<!-- .github/pull_request_template.md -->

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

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

---------

Co-authored-by: vasilije <vas.markovic@gmail.com>
2025-08-14 19:55:39 +02:00
hajdul88
dd6e26fe41 Merge remote-tracking branch 'origin/dev' into feature/cog-2717-add-better-error-management-to-cognee 2025-08-14 16:17:36 +02:00
Daulet Amirkhanov
b297289060
Fix/add async lock to all vector databases (#1244)
<!-- .github/pull_request_template.md -->

## Description
1. Cleans up VectorDB adapters that have been migrated to
`cognee-community` repo
2. Adds async lock protection create_collection method in remaining
VectorDB - ChromaDB

See #1222

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

---------

Co-authored-by: Igor Ilic <30923996+dexters1@users.noreply.github.com>
2025-08-14 15:57:34 +02:00
hajdul88
a7d7e12d4c ruff fix 2025-08-14 14:48:35 +02:00
hajdul88
affbc557d2 chore: ruff formatting 2025-08-14 14:17:35 +02:00
hajdul88
63d071f0d8 feat: adds input checks for add datapoints and summarization tasks 2025-08-14 14:17:13 +02:00
hajdul88
9f965c44b4 feat: adds input checks for extract graph from data 2025-08-14 13:53:39 +02:00
hajdul88
df3a3df117 feat: adds errors to classify, and chunking top level 2025-08-14 13:12:08 +02:00
hajdul88
c99b453d96 feat: adds WrongDataDocumentError to classify documents 2025-08-14 10:57:16 +02:00
hajdul88
c75f017eb9
Merge branch 'dev' into feature/cog-2717-add-better-error-management-to-cognee 2025-08-14 10:53:31 +02:00
vasilije
0ed6f255c2 added fix 2025-08-14 10:52:39 +02:00
hajdul88
ca21122edb
Merge branch 'dev' into feature/cog-2717-add-better-error-management-to-cognee 2025-08-14 10:09:40 +02:00
Pavan Chilukuri
1ea632d0fa
Add health checks (#1184)
<!-- .github/pull_request_template.md -->

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

Replaces basic /health endpoint with production-ready health monitoring
system that checks all critical backend components (databases, storage,
LLM providers) for container orchestration and monitoring.

Changes
New: cognee/api/health.py - Core health check system with structured
monitoring

Enhanced: cognee/api/client.py - Three new health endpoints

Added: examples/health_check_example.py - Testing utilities

New Endpoints
GET /health - Liveness probe (HTTP 200/503)
<img width="480" height="351" alt="Screenshot 2025-08-12 at 10 15 45 AM"
src="https://github.com/user-attachments/assets/53279b53-51bf-45a1-b3b9-4546e7bb6730"
/>

GET /health/detailed - Complete component status with metrics
<img width="1012" height="244" alt="Screenshot 2025-08-12 at 10 17
12 AM"
src="https://github.com/user-attachments/assets/ad3ac9cd-1135-490f-9641-726c4ea4e724"
/>


Components Monitored
Critical (failure = 503): Relational DB, Vector DB, Graph DB, File
Storage
Non-critical (failure = degraded): LLM Provider, Embedding Service


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

---------

Co-authored-by: Daulet Amirkhanov <damirkhanov01@gmail.com>
Co-authored-by: Vasilije <8619304+Vasilije1990@users.noreply.github.com>
2025-08-13 20:41:36 +02:00
hajdul88
dbb967fda8 chore: updates neptune exception base + ruff 2025-08-13 16:28:05 +02:00
hajdul88
748e9fad86 feat: adds s3 file system not found error to ingestion 2025-08-13 16:17:58 +02:00
hajdul88
d14d31adbe chore: updating delete_by_id test 2025-08-13 15:39:11 +02:00
hajdul88
8bd2416bc7 chore: fixing delete exception import in dataset router 2025-08-13 15:36:17 +02:00