Commit graph

4555 commits

Author SHA1 Message Date
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
Vasilije
bf482ef91f
fix: updates notebook cognee version to 0.2.3 (#1282)
<!-- .github/pull_request_template.md -->

## Description
Updates notebook cognee version to 0.2.3

## 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 13:36:49 +02:00
Igor Ilic
6d438c8800 feat: Add dataset and pipeline status layer 2025-08-25 12:47:48 +02:00
hajdul88
f07e0be1ae chore: removes cell output 2025-08-25 11:56:44 +02:00
hajdul88
5d402899aa chore deleting empty notebook from cognee 2025-08-25 11:52:54 +02:00
hajdul88
6696d37951 fix: updates notebook cognee version to 0.2.3 + deleting cell outputs 2025-08-25 11:38:42 +02:00
vasilije
d69669b527 added ability to send custom prompts to cognify 2025-08-22 12:37:51 +02:00
Fardeen Malik
4f2fd4652c
Merge branch 'main' into multi-lang-codegraph 2025-08-20 21:45:59 +05:30
Vasilije
bfa176cdb1
Update README.md to clarify Docker usage and transport mode configuration (#1272)
<!-- .github/pull_request_template.md -->

## Description
<!-- Provide a clear description of the changes in this PR -->

[Rendered
README](https://github.com/topoteretes/cognee/blob/docs/update-cognee-mcp-readme/cognee-mcp/README.md)

## 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-20 13:25:14 +02:00
Daulet Amirkhanov
05295f3277 Remove redundant instructions 2025-08-20 12:12:42 +01:00
Daulet Amirkhanov
b1bf8fb241 Update README.md to clarify Docker usage and transport mode configuration 2025-08-20 12:06:08 +01: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
vasilije
1b88459a41 Add project fix 2025-08-19 13:31:33 +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
vasilije
cae173b106 fix bug 2025-08-18 22:46:47 +02:00
vasilije
13e3e3b605 added fix 2025-08-18 22:37:40 +02:00
vasilije
9a17aa73b9 added fix 2025-08-18 22:16:44 +02:00
vasilije
9017b634cd simplify logging utils and refactor 2025-08-18 22:14:12 +02:00
Vasilije
fb511310e3
Merge branch 'dev' into add_cli 2025-08-18 21:56:15 +02:00
hajdul88
0fbe218eef chore: fixes ruff 2025-08-18 18:36:04 +02:00
Fardeen Malik
c983a60e22
Merge branch 'main' into multi-lang-codegraph 2025-08-18 22:05:54 +05:30
Fardeen Malik
03d3e13850
Update cognee/tasks/repo_processor/get_repo_file_dependencies.py
Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
2025-08-18 22:05:39 +05:30
Fardeen Malik
fdb0c8292a
Update cognee/tasks/repo_processor/get_repo_file_dependencies.py
Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
2025-08-18 22:04:47 +05:30
hajdul88
d4ace62664
Merge branch 'dev' into feature/cog-2734-cognee-feedbacks-interactions-poc-to-prod 2025-08-18 18:34:07 +02:00
hajdul88
4d021ec970
chore: fix openai version (#1266)
<!-- .github/pull_request_template.md -->

## Description
Fixes openai version

## 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-18 18:33:56 +02:00
vasilije
6ab00f2953 added openai fix 2025-08-18 18:30:42 +02:00
P-FardeenMalik
6de749b39a Fix bot review issues: update function signature, tighten filters, remove inspect hack 2025-08-18 21:49:55 +05:30
hajdul88
fc43ac7a01 feat: adds user feedback search type 2025-08-18 17:54:49 +02:00
vasilije
3223737a2d add fix 2025-08-18 17:53:20 +02:00
vasilije
0bc02a522a added fix 2025-08-18 17:12:26 +02:00