Commit graph

4586 commits

Author SHA1 Message Date
hajdul88
b468a13005 Update adapter.py 2025-10-07 20:43:50 +02:00
Igor Ilic
e7709f7bd0
fix: Resolve issue with Kuzu graph database persistence on our local … (#1490)
…Docker

<!-- .github/pull_request_template.md -->

## Description
Resolves issue with kuzu graph data persistence for Cognee backend
docker

## 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 -->
- [ ] **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.

---------

Co-authored-by: Boris <boris@topoteretes.com>
2025-10-07 20:38:43 +02:00
Daulet Amirkhanov
dda44b0a4b chore: change cognee-mcp deprecation message 2025-10-07 19:30:25 +01:00
Igor Ilic
f81d427466
Main merge vol7 (#1509)
<!-- .github/pull_request_template.md -->

## Description
Merge main to dev

## 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.
2025-10-07 20:17:30 +02:00
Igor Ilic
0ef2623ac6
refactor: use gpt-5-mini by default (#1505)
<!-- .github/pull_request_template.md -->

## Description
Set gpt-5-mini back to default LLM as issues with it have been resolved

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

## 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.
2025-10-07 20:17:10 +02:00
Igor Ilic
b57947f672
Merge branch 'dev' into update-endpoint 2025-10-07 20:07:27 +02:00
Igor Ilic
b4eaea2133 Merge branch 'main' into main-merge-vol7 2025-10-07 19:56:38 +02:00
Igor Ilic
3b8b839057
fix: Resolve pydantic issue regarding deprecation (#1508)
<!-- .github/pull_request_template.md -->

## Description
Fix latest pydantic version issues

## 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.
2025-10-07 19:54:59 +02:00
hajdul88
466707b003 feat: adds redis locks 2025-10-07 19:45:48 +02:00
Boris
b01cf4e6bd
Merge branch 'dev' into chore/update-cognee-ui-cli-mcp-docker-image 2025-10-07 19:33:33 +02:00
hajdul88
c72c4c56b9 lock update 2025-10-07 19:27:11 +02:00
hajdul88
948dde0e41 Merge branch 'dev' into feature/cog-3142-agentic-use-case-kuzu-lock-fix-redis-integration 2025-10-07 19:24:31 +02:00
hajdul88
31280471c9 ruff 2025-10-07 19:20:36 +02:00
hajdul88
9a5af434e4 trying out connection open/close on ci/cd 2025-10-07 19:20:27 +02:00
hajdul88
68a8977301 feat: adds connection locks 2025-10-07 19:19:57 +02:00
hajdul88
b288e5d7a0 fix: fixes pgvector deadlock 2025-10-07 19:19:32 +02:00
Igor Ilic
7b5bba2b18
refactor: Unify dataset resolution (#1488)
<!-- .github/pull_request_template.md -->

## Description
Unified dataset resolution mechanisms across cognee

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

## 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.
2025-10-07 19:14:46 +02:00
Geoff-Robin
49858c5416 Made api_key field in TavilyConfig models to be Optional[str] type to allow None value 2025-10-07 22:38:13 +05:30
Geoff-Robin
f59c278ae9 Added await 2025-10-07 22:36:24 +05:30
hajdul88
7ec1c75bee Update adapter.py 2025-10-07 18:56:08 +02:00
Geoff-Robin
0fd55a737f ruff formatted 2025-10-07 22:16:02 +05:30
Geoff-Robin
fc660e4027 Closed crawler instance in a finally block 2025-10-07 22:15:06 +05:30
hajdul88
03eedddf29 Update get_cache_engine.py 2025-10-07 18:35:41 +02:00
hajdul88
9adb89b718 Revert "feat: adds connection execture wrapper to keep track open executions"
This reverts commit e3964cb208.
2025-10-07 18:21:59 +02:00
Geoff-Robin
fcd91a9709 Added self as an argument to all previous methods that were static methods 2025-10-07 21:51:26 +05:30
Boris
c2698094c6
fix: frontend process output streaming stuck due to incorrect output (#1503)
<!-- .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.
-->

`cognee-cli -ui` has accidentally added - when opening frontend
subprocess - an output decoding into text.

## What happens exactly

On the surface - frontend ui will be stuck loading.

Frontend process hangs as it's output is not being processed (we're
expecting bytes).

## This change

This change removes the `text=True` added to frontend subprocess

## 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.
2025-10-07 18:13:40 +02:00
Igor Ilic
38cdacbcb6
fix: Resolve issue with Gemini adapter (#1494)
<!-- .github/pull_request_template.md -->

## Description
Resolve Gemini Adapter issues:
 1. resolve embedding batch issue,
2. Resolve slowness because gemini tokenizer was sending word per word
to Googles API to count tokens (using OpenAI's local tokenizer to count
tokens for Gemini now)
 3. Update deprecated library and move to instructor

## 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 -->
- [ ] **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.
2025-10-07 18:04:18 +02:00
Geoff-Robin
3d53e8d6f1 Removed print statement that I used for debugging 2025-10-07 20:59:19 +05:30
Geoff-Robin
d91ffa2ad6 Removed staticmethod decorator from bs4_crawler.py, kwargs from the function signature in save_data_item_to_storage.py, removed unused imports in ingest_data.py and added robots_cache_ttl as a config field in BeautifulSoupCrawler. 2025-10-07 20:56:23 +05:30
hajdul88
395b1c289a feat: makes redis import optional 2025-10-07 15:56:47 +02:00
hajdul88
e3964cb208 feat: adds connection execture wrapper to keep track open executions 2025-10-07 15:47:54 +02:00
hajdul88
76c4a4bd4c back to zero 2025-10-07 14:21:48 +02:00
hajdul88
ac4dd8776a feat: adds redis adapter and factory 2025-10-07 13:49:09 +02:00
Igor Ilic
9ae3c97aef
Merge branch 'dev' into update-endpoint 2025-10-07 11:27:07 +02:00
hajdul88
21c203d1eb feat: adds pydantic settings to set caching + some locks to Kuzu adapter 2025-10-07 10:29:31 +02:00
Geoff-Robin
fdf85628c7 Added uv.lock again 2025-10-07 01:40:19 +05:30
Geoff-Robin
f71cf774d2 . 2025-10-07 01:34:40 +05:30
Geoff-Robin
902f9a3b6a Changed cognee-mcp\pyproject.toml 2025-10-07 01:26:09 +05:30
Geoff-Robin
b5a1957b0f Regenerate uv.lock after merge 2025-10-07 01:22:39 +05:30
Geoff-Robin
5dcd7e512f Changes uv.lock 2025-10-07 01:09:41 +05:30
hajdul88
c51787c987 ruff format 2025-10-06 18:05:48 +02:00
hajdul88
e7e8ec3bfd feat: adds redis locking mechanism to KuzuAdapter 2025-10-06 18:05:17 +02:00
hajdul88
ce4a55a474 Changes reader writer example to test redis lock 2025-10-06 18:04:39 +02:00
Andrej Milicevic
9206d8536b initial changes, still need to work on this. commit so I can checkout to diff branch 2025-10-06 17:45:22 +02:00
Geoff-Robin
1f36dd3d71 Solved nitpick comments 2025-10-06 19:44:54 +05:30
Geoff-Robin
54f2580f2d Solved more nitpick comments 2025-10-06 19:02:11 +05:30
hajdul88
2848b03bcc feat: adds opening and closing kuzuconnection to avoid full lock due to lru_cache 2025-10-06 15:24:15 +02:00
Daulet Amirkhanov
263a8f4376 fix: frontend process output streaming stuck due to incorrect output 2025-10-06 14:18:39 +01:00
Daulet Amirkhanov
24d0bec025
Merge branch 'dev' into chore/update-cognee-ui-cli-mcp-docker-image 2025-10-06 14:13:03 +01:00
Geoff-Robin
1c0e0f0fe1 Solved more nitpick comments 2025-10-06 18:32:10 +05:30