Commit graph

2980 commits

Author SHA1 Message Date
hajdul88
0fac4da2d0 feat: adds temporal graph integration and structural tests 2025-08-29 18:21:24 +02:00
hajdul88
79c0466d09 Merge branch 'feature/cog-2746-time-graph-to-cognify' of github.com:topoteretes/cognee into feature/cog-2746-time-graph-to-cognify 2025-08-29 16:20:58 +02:00
hajdul88
6d38ece89c
Merge branch 'dev' into feature/cog-2746-time-graph-to-cognify 2025-08-29 16:20:42 +02:00
hajdul88
1970106f1e chore: adds docstrings 2025-08-29 16:07:18 +02:00
Vasilije
0cb1fd447c
fix: Make metadata prune true by default (#1316)
<!-- .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-29 16:07:01 +02:00
Igor Ilic
14e07bc650 fix: Make metadata prune true by default 2025-08-29 14:41:57 +02:00
hajdul88
90faf22dd0 chore: removing unused var 2025-08-28 17:08:40 +02:00
hajdul88
96a32dfc67 chore: removes auto importent useless lib 2025-08-28 17:06:41 +02:00
hajdul88
8747c0a2b0 feat: adds temporal example 2025-08-28 17:04:20 +02:00
hajdul88
15155520dd feat: adds temporal retriever 2025-08-28 17:03:47 +02:00
hajdul88
e4a5869a43 fix: fix graph promp path in event graph task 2025-08-28 10:55:26 +02:00
hajdul88
140437acf1 ruff fix 2025-08-27 19:23:29 +02:00
hajdul88
34ff4ad9da fix: circular dep fix 2025-08-27 19:21:49 +02:00
hajdul88
2d2a7d69d3 fix: adjusting test to the new Optional DocumentChunk property 2025-08-27 19:08:01 +02:00
hajdul88
70727332ee ruff format 2025-08-27 18:08:16 +02:00
hajdul88
678173dad4
Merge branch 'dev' into feature/cog-2746-time-graph-to-cognify 2025-08-27 18:07:20 +02:00
hajdul88
58a3be7c12 ruff format 2025-08-27 18:04:58 +02:00
hajdul88
8999f826c7 feat: adds temporal example 2025-08-27 18:04:21 +02:00
hajdul88
97abdeeb2a feat: adds entity kg from events logic 2025-08-27 18:04:10 +02:00
hajdul88
7468ef6e53 feat: adds event entity extraction 2025-08-27 18:03:38 +02:00
hajdul88
3482f353a9 chore: adds extract kg from events and changes temporal tasks call 2025-08-27 18:02:57 +02:00
Vasilije
a2f8b594bd
chore: Update lock files (#1306)
<!-- .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-27 17:48:50 +02:00
Igor Ilic
1f2809a2e1 chore: Update lock files 2025-08-27 17:40:25 +02:00
Igor Ilic
66673af56d
feat: Return async gather for documents (#1303)
<!-- .github/pull_request_template.md -->

## Description
Return async gather for documents

## 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-27 17:08:41 +02:00
Igor Ilic
94cbef44ed feat: Return async gather for documents 2025-08-27 16:42:53 +02:00
Vasilije
220997d8fa
Feat/update notebooks pre release (#1302)
<!-- .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-27 16:41:50 +02:00
Daulet Amirkhanov
f339b27dfa refactor: update Jupyter notebooks to prevent kernel exit during GitHub Actions 2025-08-27 15:37:29 +01:00
Daulet Amirkhanov
4f6e19f8de fix: kernel killing is failing test, skip it in Github Actions 2025-08-27 15:36:26 +01:00
vasilije
cc5e68472b added fix to tests 2025-08-27 16:10:04 +02:00
vasilije
235015bf48 linter fix 2025-08-27 16:03:48 +02:00
Vasilije
9f27402038
Update Jupyter notebooks (#1299)
Update Jupyter notebooks: Refactored code cells and ensured consistent
environment variable handling across demos.

<!-- .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-27 16:02:36 +02:00
Daulet Amirkhanov
19b59fcd6d Update Jupyter notebooks: added execution counts, improved logging outputs, and updated Python version to 3.12.7. Removed unnecessary code cells and ensured consistent environment variable handling across demos. 2025-08-27 14:59:39 +01:00
vasilije
9df34662cc format 2025-08-27 15:51:45 +02:00
vasilije
c933290886 fixes to CLI 2025-08-27 15:49:38 +02:00
vasilije
75ea520a1f fix to cli 2025-08-27 15:23:42 +02:00
hajdul88
2ec22567c3 feat: adds temporal tasks to cognify 2025-08-27 15:18:47 +02:00
hajdul88
5a43751e61 feat: adds entity and event extraction task 2025-08-27 15:17:57 +02:00
hajdul88
9bb36f37c0 feat: adds event graph extraction to LLMGateway for litellm 2025-08-27 15:17:32 +02:00
hajdul88
f5489f2027 feat: adds event and timestamp pydantic to datapoint methods 2025-08-27 15:16:35 +02:00
hajdul88
a3cc1ebe2d feat: adds pydantic models 2025-08-27 15:15:55 +02:00
hajdul88
bf34ba398e feat: adds temporal models for llm extraction 2025-08-27 15:14:46 +02:00
vasilije
792452b735 added fix 2025-08-27 14:39:32 +02:00
vasilije
5e6ada2a65 fix issue 2025-08-27 14:38:32 +02:00
Vasilije
328b75a13e
Merge main vol 6 (#1298)
<!-- .github/pull_request_template.md -->

## Description
Update dev branch with changes from main

## 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-27 14:30:14 +02:00
Igor Ilic
6ca46f1e53 refactor: ruff format 2025-08-27 14:23:53 +02:00
Igor Ilic
d4ce0e18fd Merge branch 'main' into merge-main-vol-6 2025-08-27 14:21:25 +02:00
Vasilije
fddd34421e
feat: Extend CodeGraph pipeline for multi-language support (closes #1160) (#1233)
<!-- .github/pull_request_template.md -->

## Description

This pull request extends the CodeGraph pipeline to support
multi-language code analysis, addressing the requirements in #1160.

### What’s included:
- **Multi-language file discovery:** The pipeline now detects and
processes source files for Python, JavaScript, TypeScript, Java, C#, Go,
Rust, and C/C++ using a configurable extension mapping.
- **Configurable language support:** The pipeline and file discovery
functions accept a `supported_languages` parameter, making it easy to
add or remove language support.
- **Language field in CodeFile:** The `CodeFile` entity now includes a
`language` field, allowing downstream tasks to distinguish between
different programming languages.
- **Stub support for non-Python languages:** All supported files are
represented as `CodeFile` objects with the correct language. Python
files retain full dependency extraction; other languages are ready for
future parser integration.

### What’s not included (future work):
- Language-specific dependency extraction for non-Python languages
(e.g., using tree-sitter for JS, Java, etc.).
- Cross-language dependency detection.

This PR lays the foundation for comprehensive, multi-language code graph
analysis and makes it easy to extend support for additional languages
and dependency systems in the future.

## 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-27 14:14:41 +02:00
Vasilije
62afced9a5
feat: Added custom prompt to cognify (#1278)
<!-- .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-27 14:10:21 +02:00
Vasilije
24c155b22e
fix: Resolve issue with Windows path (#1295)
<!-- .github/pull_request_template.md -->

## Description
Resolve issue with Windows path

## 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-27 14:09:37 +02:00
Igor Ilic
3a3274b5f9
Update .github/workflows/test_different_operating_systems.yml
Co-authored-by: Boris <boris@topoteretes.com>
2025-08-27 07:38:05 -04:00