Commit graph

1261 commits

Author SHA1 Message Date
Daulet Amirkhanov
9d41bc9573
Merge branch 'dev' into feature/kuzu-s3-migration 2025-08-19 11:53:49 +01:00
Daulet Amirkhanov
50a9fb91f2
Apply suggestion from @daukadolt 2025-08-19 11:47:49 +01:00
Daulet Amirkhanov
4cbaa6502d
Apply suggestion from @daukadolt 2025-08-19 11:47:40 +01:00
Daulet Amirkhanov
330c6fe2ed
Apply suggestion from @daukadolt 2025-08-19 11:47:30 +01:00
Daulet Amirkhanov
e23175507e
Apply suggestion from @daukadolt 2025-08-19 11:47:20 +01:00
vasilije
1bd40f1401 renamed max tokens 2025-08-17 12:39:51 +02:00
Vasilije
c4ec6799a6
Merge branch 'dev' into move_to_gpt5 2025-08-17 12:20:57 +02:00
vasilije
b0e3f89340 move to gpt5 2025-08-17 12:19:34 +02:00
Vasilije
73e1aa768c
Merge branch 'dev' into issues/1183 2025-08-15 15:05:00 +02:00
Daulet Amirkhanov
761bb1b523 test: deprecate networkx_metrics_test.py 2025-08-15 12:59:49 +01: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
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
hajdul88
d884cc46e9
Merge branch 'dev' into feature/cog-2717-add-better-error-management-to-cognee 2025-08-15 08:15:05 +02: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
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
hajdul88
66d2c75128 chore: changing docstring 2025-08-13 15:20:24 +02:00
hajdul88
7af4775c56 chore: changed pypdf error base class 2025-08-13 15:17:01 +02:00
hajdul88
da40365932 ruff formatting 2025-08-13 15:15:39 +02:00
hajdul88
68327d3ab9 chore: Changing base classes for exceptions that were already defined 2025-08-13 15:14:43 +02:00
hajdul88
59c9204a74 Update exceptions.py 2025-08-13 15:03:44 +02:00
hajdul88
fabbd638a4 chore: renaming error 2025-08-13 15:03:12 +02:00
hajdul88
d1bfeaa0f2 fix: fixes search unit test error expectation 2025-08-13 15:00:25 +02:00
hajdul88
885f7c3f99 chore: fixing graph elements tests 2025-08-13 14:58:56 +02:00
hajdul88
544e08930b feat: removing invalidValueErrors 2025-08-13 14:42:57 +02:00
hajdul88
38329da0e8
Merge branch 'dev' into feature/cog-2717-add-better-error-management-to-cognee 2025-08-13 14:11:56 +02:00
hajdul88
bed523a36b feat: api error handling restruct 2025-08-13 13:59:12 +02:00
Igor Ilic
beea2f5e0a
Incremental loading migration (#1238)
<!-- .github/pull_request_template.md -->

## Description
Add relational db migration for incremental loading, change incremental
loading to work document per document instead of async together

## 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-13 07:58:09 -04:00
hajdul88
32996aa0d0 feat: adds new error classes to llm and databases + introduces loglevel and logging from child error 2025-08-13 13:40:50 +02:00
hajdul88
6dcd59c73c feat: Adds changes to cognee graph part 2025-08-13 13:07:04 +02:00