Commit graph

4174 commits

Author SHA1 Message Date
Vasilije
6192d49dd6
fix: added release update version (#1764)
<!-- .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.
-->

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

<!-- CURSOR_SUMMARY -->
---

> [!NOTE]
> <sup>[Cursor Bugbot](https://cursor.com/dashboard?tab=bugbot) is
generating a summary for commit
44f0498b75. Configure
[here](https://cursor.com/dashboard?tab=bugbot).</sup>
<!-- /CURSOR_SUMMARY -->
2025-11-09 09:44:34 +01:00
vasilije
44f0498b75 added release update version 2025-11-09 09:44:07 +01:00
Vasilije
7557e6f10b
Cherry-pick: Fix cypher search (#1739) (#1763)
<!-- .github/pull_request_template.md -->

## Description
Resolve issue with cypher search by encoding the return value from the
cypher query into JSON. Uses fastapi json encoder


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

## Screenshots/Videos (if applicable)
Example of result now with Cypher search with the following query "MATCH
(src)-[rel]->(nbr) RETURN src, rel" on Simple example:
```
{
   "search_result":[
      [
         [
            {
               "_id":{
                  "offset":0,
                  "table":0
               },
               "_label":"Node",
               "id":"87372381-a9fe-5b82-9c92-3f5dbab1bc35",
               "name":"",
               "type":"DocumentChunk",
               "created_at":"2025-11-05T14:12:46.707597",
               "updated_at":"2025-11-05T14:12:54.801747",
               "properties":"{\"created_at\": 1762351945009, \"updated_at\": 1762351945009, \"ontology_valid\": false, \"version\": 1, \"topological_rank\": 0, \"metadata\": {\"index_fields\": [\"text\"]}, \"belongs_to_set\": null, \"text\": \"\\n    Natural language processing (NLP) is an interdisciplinary\\n    subfield of computer science and information retrieval.\\n    \", \"chunk_size\": 48, \"chunk_index\": 0, \"cut_type\": \"paragraph_end\"}"
            },
            {
               "_src":{
                  "offset":0,
                  "table":0
               },
               "_dst":{
                  "offset":1,
                  "table":0
               },
               "_label":"EDGE",
               "_id":{
                  "offset":0,
                  "table":1
               },
               "relationship_name":"contains",
               "created_at":"2025-11-05T14:12:47.217590",
               "updated_at":"2025-11-05T14:12:55.193003",
               "properties":"{\"source_node_id\": \"87372381-a9fe-5b82-9c92-3f5dbab1bc35\", \"target_node_id\": \"bc338a39-64d6-549a-acec-da60846dd90d\", \"relationship_name\": \"contains\", \"updated_at\": \"2025-11-05 14:12:54\", \"relationship_type\": \"contains\", \"edge_text\": \"relationship_name: contains; entity_name: natural language processing (nlp); entity_description: An interdisciplinary subfield of computer science and information retrieval concerned with interactions between computers and human (natural) languages.\"}"
            }
         ]
      ]
   ],
   "dataset_id":"UUID(""af4b1c1c-90fc-59b7-952c-1da9bbde370c"")",
   "dataset_name":"main_dataset",
   "graphs":"None"
}
```
Relates to https://github.com/topoteretes/cognee/pull/1725 Issue:
https://github.com/topoteretes/cognee/issues/1723

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

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

## 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-11-09 06:48:14 +01:00
Pavel Zorin
007c7d403e Fix cypher search (#1739)
<!-- .github/pull_request_template.md -->

## Description
Resolve issue with cypher search by encoding the return value from the
cypher query into JSON. Uses fastapi json encoder


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

## Screenshots/Videos (if applicable)
Example of result now with Cypher search with the following query "MATCH
(src)-[rel]->(nbr) RETURN src, rel" on Simple example:
```
{
   "search_result":[
      [
         [
            {
               "_id":{
                  "offset":0,
                  "table":0
               },
               "_label":"Node",
               "id":"87372381-a9fe-5b82-9c92-3f5dbab1bc35",
               "name":"",
               "type":"DocumentChunk",
               "created_at":"2025-11-05T14:12:46.707597",
               "updated_at":"2025-11-05T14:12:54.801747",
               "properties":"{\"created_at\": 1762351945009, \"updated_at\": 1762351945009, \"ontology_valid\": false, \"version\": 1, \"topological_rank\": 0, \"metadata\": {\"index_fields\": [\"text\"]}, \"belongs_to_set\": null, \"text\": \"\\n    Natural language processing (NLP) is an interdisciplinary\\n    subfield of computer science and information retrieval.\\n    \", \"chunk_size\": 48, \"chunk_index\": 0, \"cut_type\": \"paragraph_end\"}"
            },
            {
               "_src":{
                  "offset":0,
                  "table":0
               },
               "_dst":{
                  "offset":1,
                  "table":0
               },
               "_label":"EDGE",
               "_id":{
                  "offset":0,
                  "table":1
               },
               "relationship_name":"contains",
               "created_at":"2025-11-05T14:12:47.217590",
               "updated_at":"2025-11-05T14:12:55.193003",
               "properties":"{\"source_node_id\": \"87372381-a9fe-5b82-9c92-3f5dbab1bc35\", \"target_node_id\": \"bc338a39-64d6-549a-acec-da60846dd90d\", \"relationship_name\": \"contains\", \"updated_at\": \"2025-11-05 14:12:54\", \"relationship_type\": \"contains\", \"edge_text\": \"relationship_name: contains; entity_name: natural language processing (nlp); entity_description: An interdisciplinary subfield of computer science and information retrieval concerned with interactions between computers and human (natural) languages.\"}"
            }
         ]
      ]
   ],
   "dataset_id":"UUID(""af4b1c1c-90fc-59b7-952c-1da9bbde370c"")",
   "dataset_name":"main_dataset",
   "graphs":"None"
}
```
Relates to https://github.com/topoteretes/cognee/pull/1725
Issue: https://github.com/topoteretes/cognee/issues/1723

## 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-11-08 22:54:29 +01:00
Vasilije
26c18e9db2
chore: update videos (#1748)
<!-- .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.
-->

## 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-11-06 14:14:01 +01:00
Hande
a6db2811d5 chore: update videos 2025-11-06 13:58:18 +01:00
Vasilije
1e531385a6
CI: Fix ollama tests (#1713)
<!-- .github/pull_request_template.md -->
Ollama tests were failing during to incorrect embeddings API endpoint

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

## 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-11-02 12:12:44 +01:00
Vasilije
b1fdb71b1e
docs: Fix Readme Instructions (#1706)
- fix grammar, spelling and semantics
- update headings
- add new copy to mirror website copy
- update product names
2025-11-01 07:23:32 +01:00
David Myriel
e69ff7c855 remove agents 2025-10-31 18:36:36 +01:00
David Myriel
4e03406cb6 fix errors 2025-10-31 17:47:28 +01:00
David Myriel
0427586211 fix tagline and description 2025-10-31 17:39:57 +01:00
David Myriel
3472f62a84 bash 2025-10-31 17:00:23 +01:00
David Myriel
a068f3536b fixes 2025-10-31 16:58:21 +01:00
David Myriel
79f5201d6a fixes 2025-10-31 16:52:11 +01:00
Pavel Zorin
737f792ac6 use api/embed for ollama api 2025-10-31 13:43:29 +01:00
Pavel Zorin
5d2d4e51f1 Ollama: Use openAI compatible embeggings API 2025-10-31 13:30:26 +01:00
Pavel Zorin
645bda38e3 chore: Fix Ollama test / update Ollama API usage 2025-10-31 13:23:49 +01:00
Vasilije
464d35c8d4
fix: Resolve issue with text classification (#1704)
<!-- .github/pull_request_template.md -->

## Description
Resolve issue with text file classification

## 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-30 17:00:28 +01:00
David Myriel
7ee6cc8eb8 fix docs 2025-10-30 16:21:41 +01:00
Igor Ilic
9951d16fd7 chore: Update version and lock files 2025-10-30 15:46:19 +01:00
Igor Ilic
5007a2a298 refactor: dont use file name from metadata 2025-10-30 14:49:58 +01:00
Igor Ilic
081cab27b1 refactor: add x-wav support 2025-10-30 14:46:02 +01:00
Igor Ilic
e2457ef277 fix: Resolve issue with text classification 2025-10-30 14:27:01 +01:00
Vasilije
7743071c51
Cognee Release v0.3.8 (#1701)
<!-- .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.
-->

## 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-29 21:09:54 +01:00
Vasilije
116579a8e1
chore: Update cognee version (#1700)
<!-- .github/pull_request_template.md -->

## Description
Update cognee version and lock files

## 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-29 21:05:31 +01:00
Igor Ilic
e4019b3984 chore: Update cognee version 2025-10-29 20:56:02 +01:00
Vasilije
02c2cd386e
Merge dev and main (#1699)
<!-- .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.
-->

## 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-29 20:35:34 +01:00
Vasilije
9865e4c5ec
Merge branch 'dev' into main 2025-10-29 20:34:58 +01:00
Vasilije
6b2666352a
fix: resolve issue with txt file type handling (#1697)
<!-- .github/pull_request_template.md -->

## Description
Remove custom text file resolution, it sometimes wrongly marks other
file types as txt

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

## 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-29 20:33:56 +01:00
Igor Ilic
a38853ae93 refactor: use same mechanism to determine file type 2025-10-29 19:45:17 +01:00
Igor Ilic
b15a073db7 fix: resolve issue with txt file type handling 2025-10-29 19:32:28 +01:00
Vasilije
a2dbc0c773
Feat/cognee mcp add option to install extras (#1696)
<!-- .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.
-->

Fixes https://github.com/topoteretes/cognee/issues/1681

We do not support AWS out of the box in MCP right now.

This PR enables users to select what extras they want to start their
`cognee-mcp` with, so users can extend MCP if need be.

## Testing

1. Added `AWS_REGION`, `AWS_ACCESS_KEY_ID`, and `AWS_SECRET_ACCESS_KEY`
into `.env`
2. Uploaded completely [generated
story](https://github.com/topoteretes/cognee-community/blob/main/packages/hybrid/duckdb/examples/simple_document_example/data/generated_story.txt)
into S3
3. Started mcp, using MCP inspector called `cognify` with s3 path to the
generated story
<img width="780" height="703" alt="Screenshot 2025-10-29 at 17 08 10"
src="https://github.com/user-attachments/assets/47157591-7243-4e87-befb-fb7ca6f3cf61"
/>
4. Called "search" tool with story-specific question
<img width="776" height="717" alt="Screenshot 2025-10-29 at 17 08 34"
src="https://github.com/user-attachments/assets/64ab25f4-80d6-4f8a-a982-17c2191c6503"
/>

### Logs

<details>
```
daulet@Mac cognee-claude % docker run \                                                            
  -e TRANSPORT_MODE=sse \
  -e EXTRAS=aws,postgres,neo4j \
  --env-file ./.env \
  -p 8121:8000 \
  --rm -it cognee/cognee-mcp:custom-deps
Debug mode: 
Environment: 
Installing optional dependencies: aws,postgres,neo4j
Current cognee version: 0.3.7
Installing cognee with extras: aws,postgres,neo4j
Running: uv pip install 'cognee[aws,postgres,neo4j]==0.3.7'
Resolved 137 packages in 679ms
Prepared 7 packages in 484ms
Installed 7 packages in 86ms
 + aiobotocore==2.25.1
 + aioitertools==0.12.0
 + boto3==1.40.61
 + botocore==1.40.61
 + jmespath==1.0.1
 + s3fs==2025.3.2
 + s3transfer==0.14.0

✓ Optional dependencies installation completed
Transport mode: sse
Debug port: 5678
HTTP port: 8000
Direct mode: Using local cognee instance
Running database migrations...

2025-10-29T16:56:01.562650 [info     ] Logging initialized            [cognee.shared.logging_utils] cognee_version=0.3.7 database_path=/app/.venv/lib/python3.12/site-packages/cognee/.cognee_system/databases graph_database_name= os_info='Linux 6.12.5-linuxkit (#1 SMP Tue Jan 21 10:23:32 UTC 2025)' python_version=3.12.12 relational_config=cognee_db structlog_version=25.4.0 vector_config=lancedb

2025-10-29T16:56:01.562816 [info     ] Database storage: /app/.venv/lib/python3.12/site-packages/cognee/.cognee_system/databases [cognee.shared.logging_utils]

2025-10-29T16:56:01.782204 [warning  ] Failed to import protego, make sure to install using pip install protego>=0.1 [cognee.shared.logging_utils]

2025-10-29T16:56:01.782403 [warning  ] Failed to import playwright, make sure to install using pip install playwright>=1.9.0 [cognee.shared.logging_utils]
Database migrations done.
Starting Cognee MCP Server with transport mode: sse

2025-10-29T16:56:06.184893 [info     ] Logging initialized            [cognee.shared.logging_utils] cognee_version=0.3.7 database_path=/app/.venv/lib/python3.12/site-packages/cognee/.cognee_system/databases graph_database_name= os_info='Linux 6.12.5-linuxkit (#1 SMP Tue Jan 21 10:23:32 UTC 2025)' python_version=3.12.12 relational_config=cognee_db structlog_version=25.4.0 vector_config=lancedb

2025-10-29T16:56:06.185069 [info     ] Database storage: /app/.venv/lib/python3.12/site-packages/cognee/.cognee_system/databases [cognee.shared.logging_utils]

2025-10-29T16:56:06.245181 [warning  ] Failed to import protego, make sure to install using pip install protego>=0.1 [cognee.shared.logging_utils]

2025-10-29T16:56:06.245327 [warning  ] Failed to import playwright, make sure to install using pip install playwright>=1.9.0 [cognee.shared.logging_utils]

2025-10-29T16:56:06.582115 [info     ] Cognee client initialized in direct mode [cognee.shared.logging_utils]

2025-10-29T16:56:06.582268 [info     ] Starting MCP server with transport: sse [cognee.shared.logging_utils]

2025-10-29T16:56:06.582618 [info     ] Running MCP server with SSE transport on 0.0.0.0:8000 [cognee.shared.logging_utils]
INFO:     Started server process [1]
INFO:     Waiting for application startup.
INFO:     Application startup complete.
INFO:     Uvicorn running on http://0.0.0.0:8000 (Press CTRL+C to quit)
INFO:     192.168.65.1:54572 - "GET /sse HTTP/1.1" 200 OK
INFO:     192.168.65.1:57034 - "GET /sse HTTP/1.1" 200 OK
INFO:     192.168.65.1:57104 - "GET /sse HTTP/1.1" 200 OK
INFO:     192.168.65.1:55411 - "POST /messages/?session_id=33fc2c041d184f3ab62597c69259d036 HTTP/1.1" 202 Accepted
INFO:     192.168.65.1:55411 - "POST /messages/?session_id=33fc2c041d184f3ab62597c69259d036 HTTP/1.1" 202 Accepted
INFO:     192.168.65.1:22986 - "POST /messages/?session_id=33fc2c041d184f3ab62597c69259d036 HTTP/1.1" 202 Accepted

Processing request of type CallToolRequest

2025-10-29T16:57:52.864665 [info     ] Cognify process starting.      [cognee.shared.logging_utils]

2025-10-29T16:57:58.159329 [info     ] Pipeline run started: `469d4729-328a-542d-aac1-3ea4167d9b83` [run_tasks_with_telemetry()]

2025-10-29T16:57:58.332811 [info     ] Coroutine task started: `resolve_data_directories` [run_tasks_base]

2025-10-29T16:57:58.604008 [info     ] Coroutine task started: `ingest_data` [run_tasks_base]

2025-10-29T16:57:58.899181 [info     ] Registered loader: pypdf_loader [cognee.infrastructure.loaders.LoaderEngine]

2025-10-29T16:57:58.899637 [info     ] Registered loader: text_loader [cognee.infrastructure.loaders.LoaderEngine]

2025-10-29T16:57:58.899817 [info     ] Registered loader: image_loader [cognee.infrastructure.loaders.LoaderEngine]

2025-10-29T16:57:58.899964 [info     ] Registered loader: audio_loader [cognee.infrastructure.loaders.LoaderEngine]

2025-10-29T16:57:58.900103 [info     ] Registered loader: unstructured_loader [cognee.infrastructure.loaders.LoaderEngine]

2025-10-29T16:57:58.900197 [info     ] Registered loader: advanced_pdf_loader [cognee.infrastructure.loaders.LoaderEngine]

2025-10-29T16:57:58.900321 [info     ] Registered loader: beautiful_soup_loader [cognee.infrastructure.loaders.LoaderEngine]

2025-10-29T16:57:59.022385 [info     ] Coroutine task completed: `ingest_data` [run_tasks_base]

2025-10-29T16:57:59.183862 [info     ] Coroutine task completed: `resolve_data_directories` [run_tasks_base]

2025-10-29T16:57:59.347932 [info     ] Pipeline run completed: `469d4729-328a-542d-aac1-3ea4167d9b83` [run_tasks_with_telemetry()]

2025-10-29T16:57:59.600721 [info     ] Loaded JSON extension          [cognee.shared.logging_utils]

2025-10-29T16:57:59.616370 [info     ] Ontology file 'None' not found. No owl ontology will be attached to the graph. [OntologyAdapter]

2025-10-29T16:57:59.633495 [info     ] Pipeline run started: `21372a56-1d44-5e19-a024-209d03a99218` [run_tasks_with_telemetry()]

2025-10-29T16:57:59.784198 [info     ] Coroutine task started: `classify_documents` [run_tasks_base]

2025-10-29T16:57:59.933817 [info     ] Coroutine task started: `check_permissions_on_dataset` [run_tasks_base]

2025-10-29T16:58:00.147315 [info     ] Async Generator task started: `extract_chunks_from_documents` [run_tasks_base]

2025-10-29T16:58:00.366572 [info     ] Coroutine task started: `extract_graph_from_data` [run_tasks_base]

2025-10-29T16:58:51.639973 [info     ] No close match found for 'person' in category 'classes' [OntologyAdapter]

2025-10-29T16:58:51.642293 [info     ] No close match found for 'khaélith orun' in category 'individuals' [OntologyAdapter]

2025-10-29T16:58:51.642456 [info     ] No close match found for 'location' in category 'classes' [OntologyAdapter]

2025-10-29T16:58:51.642551 [info     ] No close match found for 'vorrxundra' in category 'individuals' [OntologyAdapter]

2025-10-29T16:58:51.642632 [info     ] No close match found for 'creature' in category 'classes' [OntologyAdapter]

2025-10-29T16:58:51.642739 [info     ] No close match found for 'thirvalque' in category 'individuals' [OntologyAdapter]

2025-10-29T16:58:51.642823 [info     ] No close match found for 'ossaryn' in category 'individuals' [OntologyAdapter]

2025-10-29T16:58:51.642928 [info     ] No close match found for 'fyrneloch' in category 'individuals' [OntologyAdapter]

2025-10-29T16:58:51.643126 [info     ] No close match found for 'mirror-river' in category 'individuals' [OntologyAdapter]

2025-10-29T16:58:51.643237 [info     ] No close match found for 'zyrrhalin' in category 'individuals' [OntologyAdapter]

2025-10-29T16:58:51.643325 [info     ] No close match found for 'artifact' in category 'classes' [OntologyAdapter]

2025-10-29T16:58:51.643410 [info     ] No close match found for 'crystal plates' in category 'individuals' [OntologyAdapter]

2025-10-29T16:58:51.643468 [info     ] No close match found for 'concept' in category 'classes' [OntologyAdapter]

2025-10-29T16:58:51.643551 [info     ] No close match found for 'forgotten futures' in category 'individuals' [OntologyAdapter]

2025-10-29T16:58:52.968522 [info     ] Coroutine task started: `summarize_text` [run_tasks_base]

2025-10-29T16:59:03.982055 [info     ] Coroutine task started: `add_data_points` [run_tasks_base]

2025-10-29T16:59:04.884215 [info     ] Coroutine task completed: `add_data_points` [run_tasks_base]

2025-10-29T16:59:05.038833 [info     ] Coroutine task completed: `summarize_text` [run_tasks_base]

2025-10-29T16:59:05.200412 [info     ] Coroutine task completed: `extract_graph_from_data` [run_tasks_base]

2025-10-29T16:59:05.361403 [info     ] Async Generator task completed: `extract_chunks_from_documents` [run_tasks_base]

2025-10-29T16:59:05.529879 [info     ] Coroutine task completed: `check_permissions_on_dataset` [run_tasks_base]

2025-10-29T16:59:05.694801 [info     ] Coroutine task completed: `classify_documents` [run_tasks_base]

2025-10-29T16:59:05.852353 [info     ] Pipeline run completed: `21372a56-1d44-5e19-a024-209d03a99218` [run_tasks_with_telemetry()]

2025-10-29T16:59:06.042754 [info     ] Cognify process finished.      [cognee.shared.logging_utils]
INFO:     192.168.65.1:25778 - "POST /messages/?session_id=33fc2c041d184f3ab62597c69259d036 HTTP/1.1" 202 Accepted

Processing request of type CallToolRequest

2025-10-29T17:01:03.372413 [info     ] Graph projection completed: 17 nodes, 33 edges in 0.01s [CogneeGraph]

2025-10-29T17:01:03.790022 [info     ] Vector collection retrieval completed: Retrieved distances from 6 collections in 0.07s [cognee.shared.logging_utils]
```
</details>

## 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-29 19:18:07 +01:00
Daulet Amirkhanov
590e8bd78e
Merge branch 'dev' into feat/cognee-mcp-add-option-to-install-extras 2025-10-29 17:13:25 +00:00
Daulet Amirkhanov
598adf56bd docs: update cognee-mcp README.md 2025-10-29 17:03:43 +00:00
Daulet Amirkhanov
f5dfeaa85a feat: Add installation of optional dependencies 2025-10-29 17:03:31 +00:00
Igor Ilic
10900925ac
fix: Fix issue with base config (#1668)
<!-- .github/pull_request_template.md -->

## Description
Fix issue with logs

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

## 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-29 17:28:58 +01:00
Igor Ilic
2fa939a6d1
Merge branch 'dev' into fix_issue_with_base_config 2025-10-29 14:58:44 +01:00
Igor Ilic
51bc78c32e refactor: Change priority for Cognee logs 2025-10-29 14:53:42 +01:00
Vasilije
76396d5d27
fix: Remove custom pdf handling and rely on filetype library (#1694)
<!-- .github/pull_request_template.md -->

## Description
Remove custom PDF handling and let filetype handle PDF documents

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

## 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-29 14:48:29 +01:00
Vasilije
4dbd01637e
add fix (#1693)
<!-- .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.
-->

## 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-29 14:19:35 +01:00
Vasilije
dd286e0c94
refactor: Remove LanceDB fallback (#1683)
<!-- .github/pull_request_template.md -->

## Description
Remove fallback when provided vector adapter is not reckognized to use
LanceDB. When no adapter provider info is provided LanceDB will still be
used.

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

## 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-29 14:19:14 +01:00
Igor Ilic
0cb334c9ae Merge branch 'dev' into fix_issue_with_base_config 2025-10-29 11:42:25 +01:00
vasilije
55d55946b0 add fix 2025-10-29 10:28:10 +01:00
Vasilije
4e0f392f3c
fix: Fix network visualization (#1687)
<!-- .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.
-->

## 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-29 10:17:48 +01:00
Vasilije
247f475ce7
refactor: Handle anon-id for read-only file systems (#1688)
<!-- .github/pull_request_template.md -->

## Description
In case of a read-only file system handle the inability to create an
.anon_id file

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

## 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-29 10:16:46 +01:00
Igor Ilic
f6f6893f82 refactor: Handle read-only file systems 2025-10-28 17:52:54 +01:00
Igor Ilic
14410c86cb fix: Remove custom pdf handling and rely on filetype library 2025-10-28 17:34:04 +01:00
vasilije
8efd152f4c fix network v 2025-10-28 16:03:43 +01:00
hajdul88
221a0dba01
feature: adds the concept of now to the qa for temporal queries (#1685)
<!-- .github/pull_request_template.md -->

## Description
 Adds the concept of now to the qa for temporal queries

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

## 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-28 15:27:29 +01:00
Igor Ilic
15a0315375 refactor: Remove LanceDB fallback 2025-10-28 14:35:08 +01:00