Commit graph

1691 commits

Author SHA1 Message Date
Vasilije
52265a67f2
Merge branch 'dev' into feature/windows-compatibility-fixes 2025-09-29 20:51:17 +02:00
Igor Ilic
9524109029 Merge branch 'dev' into update-endpoint 2025-09-29 20:44:44 +02:00
Igor Ilic
3c7cc597e3 Merge branch 'update-endpoint' of github.com:topoteretes/cognee into update-endpoint 2025-09-29 20:42:42 +02:00
Igor Ilic
e333a860ba refactor: Add documentation for update endpoint 2025-09-29 20:42:25 +02:00
Igor Ilic
52c978faeb
docs: Multi user authorization example (#1466)
<!-- .github/pull_request_template.md -->

## Description
Add return value of creating role and tenant, add detailed permissions
example to Cognee

## Type of Change
<!-- Please check the relevant option -->
- [ ] Bug fix (non-breaking change that fixes an issue)
- [x] 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):

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

---------

Co-authored-by: Boris <boris@topoteretes.com>
Co-authored-by: Hande <159312713+hande-k@users.noreply.github.com>
Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com>
2025-09-29 20:15:50 +02:00
Igor Ilic
213bab5307
Merge branch 'dev' into fix-gpt-5-series 2025-09-29 17:57:38 +02:00
Igor Ilic
6bc5c6f162 refactor: Use latest JSON tool type for structured outputs 2025-09-29 17:06:01 +02:00
Igor Ilic
bd4a605849
Merge branch 'dev' into update-endpoint 2025-09-29 14:53:02 +02:00
Igor Ilic
4c8e3b8bb3 refactor: Add docstring to update function 2025-09-29 14:40:41 +02:00
Igor Ilic
f2e216cdf7 fix: Resolve issues with GPT5 models 2025-09-29 14:11:06 +02:00
Igor Ilic
db39a43975
fix: Resolve schema migration for Neo4j (#1482)
<!-- .github/pull_request_template.md -->

## Description
Fix Neo4j issue with migrating DB schema

## Type of Change
<!-- Please check the relevant option -->
- [x] 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):

## Pre-submission Checklist
<!-- Please check all boxes that apply before submitting your PR -->
- [x] **I have tested my changes thoroughly before submitting this PR**
- [x] **This PR contains minimal changes necessary to address the
issue/feature**
- [x] My code follows the project's coding standards and style
guidelines
- [x] I have added tests that prove my fix is effective or that my
feature works
- [x] I have added necessary documentation (if applicable)
- [x] All new and existing tests pass
- [x] I have searched existing PRs to ensure this change hasn't been
submitted already
- [x] I have linked any relevant issues in the description
- [x] 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.
2025-09-29 13:50:11 +02:00
Igor Ilic
240925c5d4
Merge branch 'dev' into feature/cog-2837-rework-limit0-for-vector-adapters 2025-09-29 10:41:50 +02:00
Vasilije
7403e31738
Merge branch 'dev' into merge-main-vol6 2025-09-28 15:29:23 +02:00
Vasilije
6da6da5a62
Aws session token support - MSR97 (#1364)
<!-- .github/pull_request_template.md -->

## Description
PR from contributor MSR97

## 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-09-28 15:28:27 +02:00
Vasilije
3b101ae8f1
refactor: Make relational database search more effective (#1477)
<!-- .github/pull_request_template.md -->

## Description
Enhance search results of relational db data by adding more information
on data type and content

PR also includes schema migration done by contributor ( Geoff-Robin )
from contribute to win competition

## 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
- [x] Performance improvement
- [ ] Other (please specify):

## Pre-submission Checklist
<!-- Please check all boxes that apply before submitting your PR -->
- [x] **I have tested my changes thoroughly before submitting this PR**
- [x] **This PR contains minimal changes necessary to address the
issue/feature**
- [x] My code follows the project's coding standards and style
guidelines
- [x] I have added tests that prove my fix is effective or that my
feature works
- [x] I have added necessary documentation (if applicable)
- [x] All new and existing tests pass
- [x] I have searched existing PRs to ensure this change hasn't been
submitted already
- [x] I have linked any relevant issues in the description
- [x] 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.
2025-09-28 15:23:59 +02:00
Vasilije
af1603c8f9
Merge branch 'main' into feature/cog-2837-rework-limit0-for-vector-adapters 2025-09-28 15:23:27 +02:00
Daulet Amirkhanov
0fac104fc7 fix: update UI server startup message to reflect dynamic frontend port 2025-09-27 20:11:39 +01:00
Igor Ilic
17fb3b49ef refactor: add visualization to schema migration 2025-09-27 01:15:30 +02:00
Igor Ilic
f93d30ae77 refactor: refactor schema migration 2025-09-27 00:41:58 +02:00
Igor Ilic
8ff58f0278 Merge branch 'enchanced_database_schema_ingestion_task' into relational-db-search 2025-09-27 00:19:33 +02:00
Igor Ilic
920bc78f15 refactor: Remove unused code 2025-09-27 00:18:57 +02:00
Geoff-Robin
2921021ca3 improved code readability by splitting code blocks under conditional statements into separate functions 2025-09-27 00:16:44 +02:00
Geoff-Robin
656894370e Edited test_relation_db_migration.py to include schema_only ingestion testcase 2025-09-27 00:16:44 +02:00
Geoff-Robin
67f948a145 solved nitpick comments 2025-09-27 00:16:44 +02:00
Geoff-Robin
e7bcf9043f solved more nitpick comments 2025-09-27 00:16:44 +02:00
Geoff-Robin
df8b80d4a9 solved more nitpick comments 2025-09-27 00:16:44 +02:00
Geoff-Robin
1e59f1594c solved more nitpick comments 2025-09-27 00:16:44 +02:00
Geoff-Robin
93c733e687 solved more nitpick comments 2025-09-27 00:16:44 +02:00
Geoff-Robin
7ec066111e Solved address configuration key inconsistency. 2025-09-27 00:16:44 +02:00
Geoff-Robin
60016a6b09 more nitpick comments solved 2025-09-27 00:16:44 +02:00
Geoff-Robin
7cf4a0daeb id mismatch risk negated 2025-09-27 00:16:44 +02:00
Geoff-Robin
1ba9e1df31 done with ruff checks 2025-09-27 00:16:44 +02:00
Geoff-Robin
51dfac359d Removed print statements used while debugging 2025-09-27 00:16:44 +02:00
Geoff-Robin
f5bb91e49d added description attribute to every schema model 2025-09-27 00:16:44 +02:00
Geoff-Robin
17df14363c integrated schema only ingestion 2025-09-27 00:16:44 +02:00
Geoff-Robin
a43f19cc59 ingest_database_schema with a slight alteration with return value as Dict[str,List[DataPoint] | DataPoint]] 2025-09-27 00:16:44 +02:00
Geoff-Robin
9d801f5fe0 Done creating models.py and ingest_database_schema.py 2025-09-27 00:16:44 +02:00
Igor Ilic
5528097e29 Merge branch 'main' into merge-main-vol6 2025-09-27 00:06:33 +02:00
Igor Ilic
39fa0180f3 refactor: Make relational database search more effective 2025-09-26 22:42:39 +02:00
Daulet Amirkhanov
143d9433b1 refactor: remove text parameter from subprocess call in UI startup 2025-09-26 17:53:17 +01:00
Daulet Amirkhanov
056da96995 feat: add logging distinction for mcp/backend/frontend processes for clearer output 2025-09-26 14:32:15 +01:00
Daulet Amirkhanov
c518f149f2 refactor: streamline UI server startup and port availability checks 2025-09-26 14:26:43 +01:00
Igor Ilic
f44bb5dabf feat: Add update endpoint to Cognee 2025-09-26 12:44:05 +02:00
Nikoloz Turazashvili
2651b34e41 fix: Use CloudApiKeyMissingError for local mode consistency
Signed-off-by: Nikoloz Turazashvili <turazashvili@gmail.com>
2025-09-26 17:10:34 +07:00
Andrej Milicevic
bee16ea49d test: Use smaller files than Alice for tests. 2025-09-26 11:05:57 +02:00
Boris
31d1be598f
Merge branch 'dev' into feat/add-mcp-to-saas-ui 2025-09-26 10:32:15 +02:00
Daulet Amirkhanov
80da553185 format: ruff format 2025-09-25 22:04:41 +01:00
Daulet Amirkhanov
921c4481f0 feat: start cognee-mcp as part of cognee -ui 2025-09-25 22:04:06 +01:00
Vasilije
235f28aefe
refactor: Rework limit=0 for vector adapters (#1450)
<!-- .github/pull_request_template.md -->

## Description
<!-- 
Please provide a clear, human-generated description of the changes in
this PR.
DO NOT use AI-generated descriptions. We want to understand your thought
process and reasoning.
-->
Until now, limit=0 in vector search meant that there is no limit and we
should return everything. This caused confusion and errors, so now it is
reworked so that limit=None means no limit on the search. If someone
puts limit=0, there will be no results returned, as it makes more sense
and is less error prone.

## 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
- [x] Code refactoring
- [ ] Performance improvement
- [ ] Other (please specify):

## Changes Made
<!-- List the specific changes made in this PR -->
- 
- 
- 

## Testing
<!-- Describe how you tested your changes -->

## 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 -->
- [x] **I have tested my changes thoroughly before submitting this PR**
- [x] **This PR contains minimal changes necessary to address the
issue/feature**
- [x] My code follows the project's coding standards and style
guidelines
- [x] 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

## Related Issues
<!-- Link any related issues using "Fixes #issue_number" or "Relates to
#issue_number" -->

## Additional Notes
<!-- Add any additional notes, concerns, or context for reviewers -->

## 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-09-25 21:13:41 +02:00
Vasilije
8246a6a02f
fix: Remove creation of default user during search (#1455)
<!-- .github/pull_request_template.md -->

## Description
Removed default user creation during brute force search. Even when a
user is provided to search it's not forwarded to the Retrievers, the
retrievers always created a default user and sent telemetry as the
default user which is inaccurate, they also create a default user even
when there shouldn't be one.

if this information is necessary for telemetry we should forward the
user information that was sent through search through the retrievers and
not always create a default user

## 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)
- [x] Breaking change (fix or feature that would cause existing
functionality to change)
- [ ] Documentation update
- [ ] Code refactoring
- [ ] Performance improvement
- [ ] Other (please specify):

## Changes Made
Removed user as parameter from brute force search, removed default user
creation that was supplied as parameter to brute force search

## Testing
Ran simple example, waiting for CI/CD results

## Pre-submission Checklist
<!-- Please check all boxes that apply before submitting your PR -->
- [x] **I have tested my changes thoroughly before submitting this PR**
- [x] **This PR contains minimal changes necessary to address the
issue/feature**
- [x] 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
- [x] I have searched existing PRs to ensure this change hasn't been
submitted already
- [ ] I have linked any relevant issues in the description
- [x] 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.
2025-09-25 21:11:42 +02:00