Commit graph

2902 commits

Author SHA1 Message Date
Igor Ilic
58655ca41e refactor: Add proper path to test file 2025-08-26 21:51:42 +02:00
Igor Ilic
9c31617c2f fix: Resovle windows file path issue 2025-08-26 21:41:56 +02:00
Igor Ilic
229a7a1db3 refactor: Speed up CI/CD execution time 2025-08-26 21:28:11 +02:00
Igor Ilic
65542ecec7 refactor: Make CI/CD faster add more OS tests 2025-08-26 21:05:30 +02:00
Igor Ilic
8c69653912 fix: Resolve issue with Windows path 2025-08-26 20:22:20 +02:00
Vasilije
d6e6e874eb
feat: Add cli (#1197)
<!-- .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-26 19:13:17 +02:00
Vasilije
e5f0c22363
Merge branch 'dev' into add_cli 2025-08-26 19:13:11 +02:00
Boris
007399b1c6
feat: migrate pipeline status reset to add pipeline (#1289)
<!-- .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-26 19:06:08 +02:00
Andrej Milicevic
c013499f19 Fix tests failing for python 3.10 2025-08-26 18:34:38 +02:00
Boris
ea4f58e8fa
feat: migrate pipeline input validation to a layer (#1284)
<!-- .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-26 18:25:48 +02:00
Igor Ilic
5771b36c4c
feat: cognee pipeline layers (#1287)
<!-- .github/pull_request_template.md -->

## Description
Add dataset authorization layer
Add pipeline processing status layer

## 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-26 16:35:05 +02:00
Igor Ilic
0d77649716 Merge branch 'cognee-pipeline-layers' of github.com:topoteretes/cognee into cognee-pipeline-layers 2025-08-26 15:59:32 +02:00
Igor Ilic
5ea3056564 refactor: Rename auth layer 2025-08-26 15:58:53 +02:00
hajdul88
42d33fcd00
fix: fixes search test behaviour and adds comments to new pipeline executor logic (#1293)
<!-- .github/pull_request_template.md -->

## Description
fix: fixes search test behaviour and adds comments to new pipeline
executor logic

## 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-26 15:52:10 +02:00
hajdul88
d91b0f6aa3
feature: adds pipeline execution layer to cognify (#1291)
<!-- .github/pull_request_template.md -->

## Description
feature: adds pipeline execution layer to cognify

## 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-26 14:07:19 +02:00
Igor Ilic
03fc3c82f9
Merge branch 'dev' into cognee-pipeline-layers 2025-08-26 14:05:18 +02:00
Igor Ilic
950d29a678 refactor: Update typing 2025-08-26 14:04:33 +02:00
Vasilije
a6a33e9576
Feature/cog 2768 inspect cli tests fix failing ones (#1286)
<!-- .github/pull_request_template.md -->

## Description
<!-- Provide a clear description of the changes in this PR -->
I went through CLI unit and integration tests, removed ones that
provided little to no value. Improved and fixed some tests, where it was
needed.

## 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-26 13:50:53 +02:00
Andrej Milicevic
cf7d41cec2 Fix 2025-08-26 09:35:53 +02:00
Andrej Milicevic
dce525e27b Fix again. 2025-08-25 20:52:12 +02:00
Andrej Milicevic
de7a5a1c5d Fixed yml files 2025-08-25 20:45:11 +02:00
Andrej Milicevic
454358ea28 Solution for the API key error. 2025-08-25 20:26:59 +02:00
Andrej Milicevic
4b593aa523 And another potential fix for the API error. 2025-08-25 20:07:15 +02:00
Andrej Milicevic
31b33a98d3 Yet another potential fix for the invalid API key. 2025-08-25 19:40:39 +02:00
Andrej Milicevic
66b8bb39b5 Another potential fix for the invalid API key error. 2025-08-25 19:16:59 +02:00
Andrej Milicevic
a3d5164129 Fix formatting. Potential fix to invalid api key error. 2025-08-25 18:57:45 +02:00
Andrej Milicevic
e85fd3504a Fix linter error. 2025-08-25 18:10:45 +02:00
Igor Ilic
9a4e8ddc4d refactor: Make the authorized_user_datasets function more understandable 2025-08-25 17:22:37 +02:00
Igor Ilic
d4b23aa565 feat: Add process_pipeline_check 2025-08-25 17:16:08 +02:00
Andrej Milicevic
573e24fb50 Remove duplicate test files. 2025-08-25 16:29:31 +02:00
Andrej Milicevic
a805c640ec Fix, remove, improve cli tests. 2025-08-25 16:21:02 +02:00
hajdul88
6f230c5a38
feature: adds environment_setup_and_checks general purpose layer to cognee_pipeline (#1283)
<!-- .github/pull_request_template.md -->

## Description
feature: adds environment_setup_and_checks general purpose layer to
cognee_pipeline

## 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-25 16:20:49 +02:00
Igor Ilic
6d438c8800 feat: Add dataset and pipeline status layer 2025-08-25 12:47:48 +02:00
Vasilije
6d9a100b7e
feature: Introduces Cognee-user interactions feature and feedback search type (#1264)
<!-- .github/pull_request_template.md -->

## Description
Introduces Cognee-user interactions nodeset feature and feedback search
type

## 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-19 18:21:27 +02:00
hajdul88
b8cac4c29f feat: adds weight test at the end of test_search_db 2025-08-19 17:23:47 +02:00
hajdul88
67d88c4e85
Merge branch 'dev' into feature/cog-2734-cognee-feedbacks-interactions-poc-to-prod 2025-08-19 17:04:09 +02:00
hajdul88
f5d8fc6e81 chore: ruff ruff 2025-08-19 16:50:50 +02:00
hajdul88
4a5d5f70d0 feat: adds feedback weights to edges 2025-08-19 16:50:21 +02:00
Vasilije
bf1970b679
feat: Add top_k Input Control to Search UI for Adjustable Graph Exploration Depth (#1202)
Fixes #1194 
Summary:
This PR introduces a new "Max results" (top_k) input control to the
search UI, allowing users to specify how many results to return for each
search. This directly controls the graph exploration depth, enabling
both focused and broad explorations.
Changes
UI Enhancement:
Added a number input labeled "Max results" (default: 10, min: 1, max:
100) to the search form, with validation and a tooltip explaining its
impact.
Placed the input between the search type dropdown and the submit button
in SearchView.tsx
State Management:
Managed top_k value in component state.
Included top_k in the form submission.
API Integration:
Updated useChat.ts to accept and send the top_k parameter in API calls
to the backend.
@Vasilije1990
2025-08-19 16:22:46 +02:00
Vasilije
67c7919be3
fix: ensure connection check before executing checkpoint in KuzuAdapter (#1268)
<!-- .github/pull_request_template.md -->

## Description
<!-- Provide a clear description of the changes in this PR -->
kuzu + s3 is failing on dev. What's happening is:

1. During cognee.add, run_pipeline uses
[`run_tasks`](https://github.com/topoteretes/cognee/blob/dev/cognee/modules/pipelines/operations/pipeline.py#L193-L195)
2. run_tasks calls
[`push_to_s3`](https://github.com/topoteretes/cognee/blob/dev/cognee/modules/pipelines/operations/run_tasks.py#L336-L338),
which attempts to
[checkpoint](https://github.com/topoteretes/cognee/blob/dev/cognee/infrastructure/databases/graph/kuzu/adapter.py#L142)
before the push (Kuzu connection is initialized in `cognify`)

Trace:
```
AttributeError: 'NoneType' object has no attribute 'execute'

Traceback (most recent call last):
  File "/Users/daulet/PycharmProjects/cognee-source/examples/python/dynamic_steps_example.py", line 219, in <module>
    loop.run_until_complete(main(steps_to_enable))
  File "/Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12/asyncio/base_events.py", line 687, in run_until_complete
    return future.result()
           ^^^^^^^^^^^^^^^
  File "/Users/daulet/PycharmProjects/cognee-source/examples/python/dynamic_steps_example.py", line 186, in main
    await cognee.add(text)
  File "/Users/daulet/PycharmProjects/cognee-source/cognee/api/v1/add/add.py", line 145, in add
    async for run_info in cognee_pipeline(
  File "/Users/daulet/PycharmProjects/cognee-source/cognee/modules/pipelines/operations/pipeline.py", line 106, in cognee_pipeline
    async for run_info in run_pipeline(
  File "/Users/daulet/PycharmProjects/cognee-source/cognee/modules/pipelines/operations/pipeline.py", line 197, in run_pipeline
    async for pipeline_run_info in pipeline_run:
  File "/Users/daulet/PycharmProjects/cognee-source/cognee/modules/pipelines/operations/run_tasks.py", line 53, in wrapper
    async for run_info in original_gen(*args, **kwargs):
  File "/Users/daulet/PycharmProjects/cognee-source/cognee/modules/pipelines/operations/run_tasks.py", line 360, in run_tasks
    raise error
  File "/Users/daulet/PycharmProjects/cognee-source/cognee/modules/pipelines/operations/run_tasks.py", line 337, in run_tasks
    await graph_engine.push_to_s3()
  File "/Users/daulet/PycharmProjects/cognee-source/cognee/infrastructure/databases/graph/kuzu/adapter.py", line 142, in push_to_s3
    self.connection.execute("CHECKPOINT;")
```
# After fix

Running `dynamic_steps_example.py`:

### Main branch
```
Data pruned.
System pruned.
User 26ab9bde-39a1-47b7-93d7-368ccccdc503 has registered.
Added text: 
CV 1: Relevant
Name: Dr. Emily Car...
Added text: 
CV 2: Relevant
Name: Michael Rodri...
Added text: 
CV 3: Relevant
Name: Sarah Nguyen
...
Added text: 
CV 4: Not Relevant
Name: David Tho...
Added text: 
CV 5: Not Relevant
Name: Jessica M...
Knowledge graph created.
['David Thompson has experience in design tools, specifically in graphic design with over 8 years of experience and proficiency in Adobe Creative Suite.']
```

### This branch
```
Data pruned.
System pruned.
User 65cbe3a4-d94a-4043-921b-78bc90c3f0a6 has registered.
Added text: 
CV 1: Relevant
Name: Dr. Emily Car...
Added text: 
CV 2: Relevant
Name: Michael Rodri...
Added text: 
CV 3: Relevant
Name: Sarah Nguyen
...
Added text: 
CV 4: Not Relevant
Name: David Tho...
Added text: 
CV 5: Not Relevant
Name: Jessica M...
Knowledge graph created.
['David Thompson — Creative Graphic Designer; proficient in Adobe Photoshop, Illustrator and InDesign (Adobe Creative Suite) and basic web design (HTML/CSS).']
```

## 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-19 13:44:24 +02:00
hajdul88
c6ec22a5a0 feat: adds scores to Feedback node 2025-08-19 13:36:22 +02:00
Daulet Amirkhanov
e912b6f37e fix: ensure connection check before executing checkpoint in KuzuAdapter 2025-08-19 11:27:30 +01:00
hajdul88
4e31ae7ffc chore: deletes unused var from search test 2025-08-19 10:50:23 +02:00
hajdul88
fcdee16f69 feat: adds kuzu and neo4j tests for feedback and interaction features 2025-08-19 10:49:01 +02:00
hajdul88
372181d8c1 fix: fixes unit test 2025-08-19 09:43:34 +02:00
vasilije
fe6c9000fa added fix 2025-08-19 08:57:21 +02:00
vasilije
f5d702f8fb added fixes to integraton tests 2025-08-19 08:48:15 +02:00
vasilije
3152368529 added fix 2025-08-18 23:11:51 +02:00
vasilije
66d7fa9941 fix tests 2025-08-18 23:05:08 +02:00
vasilije
d084d00a4d added tests 2025-08-18 22:58:14 +02:00