Commit graph

1657 commits

Author SHA1 Message Date
Vasilije
45cb2c3289
Merge pull request #371 from topoteretes/COG-578
Push to docker hub
2024-12-17 15:53:13 +01:00
Boris
be424249d7
Merge branch 'dev' into COG-578 2024-12-17 15:04:13 +01:00
Boris
0014ebe67c
Update .github/workflows/dockerhub.yml 2024-12-17 15:03:30 +01:00
Boris
f3f3a0515e
Update .github/workflows/dockerhub.yml 2024-12-17 15:03:25 +01:00
Boris
e3a5f0ae0c
Update .github/workflows/dockerhub.yml 2024-12-17 15:01:36 +01:00
Boris
bc6f371ff9
Update .github/workflows/dockerhub.yml
Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
2024-12-17 14:30:19 +01:00
Igor Ilic
d639492328
Merge pull request #376 from topoteretes/COG-912-search-by-dataset
feat: Add search by dataset for cognee
2024-12-17 14:29:04 +01:00
Igor Ilic
48825d0d84 chore: Resolve typo in getting documents code
Resolve typo in code

chore COG-912
2024-12-17 14:22:51 +01:00
Igor Ilic
63c3dceec6 fix: Resolve issue with cognify router graph model default value
Resolve issue with default value for graph model in cognify endpoint

Fix
2024-12-17 14:07:50 +01:00
Igor Ilic
dfcec5f41d Merge branch 'dev' of github.com:topoteretes/cognee into COG-912-search-by-dataset 2024-12-17 13:29:19 +01:00
Igor Ilic
5b7c83fa99
Merge pull request #372 from topoteretes/add_model_to_endpoint
Update get_cognify_router.py with graph endpoint
2024-12-17 13:28:50 +01:00
Igor Ilic
8b09358552
Merge branch 'dev' into COG-912-search-by-dataset 2024-12-17 13:22:13 +01:00
Igor Ilic
3f72652500
Merge branch 'dev' into add_model_to_endpoint 2024-12-17 13:19:36 +01:00
alekszievr
9afd0ece63
Structured code summarization (#375)
* feat: turn summarize_code into generator

* feat: extract run_code_graph_pipeline, update the pipeline

* feat: minimal code graph example

* refactor: update argument

* refactor: move run_code_graph_pipeline to cognify/code_graph_pipeline

* refactor: indentation and whitespace nits

* refactor: add deprecated use comments and warnings

* Structured code summarization

* add missing prompt file

* Remove summarization_model argument from summarize_code and fix typehinting

* minor refactors

---------

Co-authored-by: lxobr <122801072+lxobr@users.noreply.github.com>
Co-authored-by: Vasilije <8619304+Vasilije1990@users.noreply.github.com>
Co-authored-by: Igor Ilic <30923996+dexters1@users.noreply.github.com>
Co-authored-by: Boris <boris@topoteretes.com>
2024-12-17 13:05:47 +01:00
Igor Ilic
af335fafe3 test: Added test for getting of documents for search
Added test to verify getting documents related to datasets intended for search

Test COG-912
2024-12-17 12:11:24 +01:00
lxobr
da5e3ab24d
COG 870 Remove duplicate edges from the code graph (#293)
* feat: turn summarize_code into generator

* feat: extract run_code_graph_pipeline, update the pipeline

* feat: minimal code graph example

* refactor: update argument

* refactor: move run_code_graph_pipeline to cognify/code_graph_pipeline

* refactor: indentation and whitespace nits

* refactor: add deprecated use comments and warnings

---------

Co-authored-by: Vasilije <8619304+Vasilije1990@users.noreply.github.com>
Co-authored-by: Igor Ilic <30923996+dexters1@users.noreply.github.com>
Co-authored-by: Boris <boris@topoteretes.com>
2024-12-17 12:02:25 +01:00
Igor Ilic
c2d2b26319 fix: Remove backend lock from UI
Removed lock that prevented using multiple datasets in cognify

Fix COG-912
2024-12-17 11:52:30 +01:00
hajdul88
9e7ab6492a
feat: outsources chunking parameters to extract chunk from documents … (#289)
* feat: outsources chunking parameters to extract chunk from documents task
2024-12-17 11:31:31 +01:00
Igor Ilic
630ab556db feat: Add search by dataset for cognee
Added ability to search by datasets for cognee users

Feature COG-912
2024-12-17 11:20:22 +01:00
vasilije
98cc84aa28 Fixes to our demo 2024-12-16 21:30:29 +01:00
vasilije
3366bb3680 Fixes 2024-12-16 21:23:11 +01:00
alekszievr
bfa0f06fb4
Add type to DataPoint metadata (#364)
* Add type to DataPoint metadata

* Add missing index_fields

* Use DataPoint UUID type in pgvector create_data_points

* Make _metadata mandatory everywhere
2024-12-16 16:27:03 +01:00
lxobr
5360093097
COG-810 Implement a top-down dependency graph builder tool (#268)
* feat: parse repo to call graph

* Update/repo_processor/top_down_repo_parse.py task

* fix: minor improvements

* feat: file parsing jedi script optimisation

---------
2024-12-16 16:02:39 +01:00
Igor Ilic
a312ce0589
Merge pull request #373 from topoteretes/fix-pgvector-reflection
fix: Resolve reflection issue when running cognee a second time after…
2024-12-16 13:29:56 +01:00
Igor Ilic
34b139af26 Revert "fix: Add metadata reflection fix to sqlite as well"
This reverts commit 394a0b2dfb.
2024-12-16 13:19:21 +01:00
vasilije
cfad366c5c update 2024-12-16 11:45:33 +01:00
Igor Ilic
394a0b2dfb fix: Add metadata reflection fix to sqlite as well
Added fix when reflecting metadata to sqlite as well

Fix
2024-12-16 11:26:33 +01:00
Igor Ilic
d9e558e885 fix: Resolve reflection issue when running cognee a second time after pruning data
When running cognee a second time after pruning data some metadata doesn't get pruned.
This makes cognee believe some tables exist that have been deleted

Fix
2024-12-16 11:02:50 +01:00
Vasilije
dc37646df3
Update get_cognify_router.py 2024-12-14 21:30:12 +01:00
Vasilije
b3bb4e82df
Create dockerhub.yml 2024-12-14 13:02:16 +01:00
Vasilije
2f2aa81194
Merge pull request #370 from topoteretes/COG-MCP
Add mcp to cognee
2024-12-14 12:37:36 +01:00
Vasilije
74547e0cce
Update cognee-mcp/mcpcognee/__main__.py
Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
2024-12-14 12:37:05 +01:00
vasilije
1ec24ee407 Add simple README 2024-12-14 12:24:47 +01:00
vasilije
3dc2d1e647 Add mcp to cognee 2024-12-14 12:14:04 +01:00
Vasilije
fb1c223982
Merge pull request #369 from topoteretes/feat/pass_pydantic_model_to_cognify
pass pydantic model to cognify
2024-12-13 19:46:05 +01:00
Igor Ilic
2508727f54
Merge pull request #368 from topoteretes/COG-656-deployment-state
Cog 656 deployment state
2024-12-13 17:41:03 +01:00
Igor Ilic
35b1f7d26a chore: Update typo in code
Update typo in string in code

Chore COG-656
2024-12-13 17:08:05 +01:00
Igor Ilic
924759a599 refactor: Rename query compute to query completion
Rename searching type from compute to completion

Refactor COG-656
2024-12-13 17:03:38 +01:00
Boris
d437135684
Merge branch 'dev' into feat/pass_pydantic_model_to_cognify 2024-12-13 16:57:59 +01:00
Igor Ilic
11634cb58d feat: Add unauth access error to getting data
Raise unauth access error when trying to read data without access

Feature COG-656
2024-12-13 16:54:53 +01:00
Rita Aleksziev
1c9fe01f64 pass pydantic model tocognify 2024-12-13 16:34:48 +01:00
Igor Ilic
67585d0ab1 feat: Add simple instruction for system prompt
Add simple instruction for system prompt

Feature COG-656
2024-12-13 15:30:24 +01:00
Igor Ilic
c90d90a86a
Merge branch 'dev' into COG-656-deployment-state 2024-12-13 15:23:05 +01:00
Igor Ilic
9c3e2422f3 feat: Add compute search to cognee
Add compute search to cognee which makes searches human readable

Feature COG-656
2024-12-13 15:18:33 +01:00
Igor Ilic
43187e4d63 feat: Add user verification for accessing data
Verify user has access to data before returning it

Feature COG-656
2024-12-13 13:54:45 +01:00
Vasilije
8dc1ec5d18
Merge pull request #366 from topoteretes/COG-9999
chore: Create pr_lint
2024-12-13 13:45:22 +01:00
Vasilije
41f9833524
Merge branch 'dev' into COG-9999 2024-12-13 13:37:12 +01:00
Igor Ilic
1180839469 feat: Add error handling in case user is already part of database and permission already given to group
Added error handling in case permission is already given to group and user is already part of group

Feature COG-656
2024-12-13 12:49:57 +01:00
Igor Ilic
b8ba436dba fix: Resolve issue with adding permissions to groups
Resolve issue with adding permissions to groups

Fix COG-656
2024-12-13 12:37:01 +01:00
Igor Ilic
eddfc17861 fix: Rewrite endpoint to add users to groups
Rewrote endpoint which adds users to groups

Fix COG-656
2024-12-13 12:13:42 +01:00