Commit graph

1278 commits

Author SHA1 Message Date
Leon Luithlen
cc0127a90e Fix Metadata file name 2024-11-28 09:18:49 +01:00
Leon Luithlen
7324564655 Add metadata_id attribute to Document and DocumentChunk, make ingest_with_metadata default 2024-11-28 09:18:49 +01:00
Leon Luithlen
fd987ed61e Add autoformatting 2024-11-28 09:18:49 +01:00
Leon Luithlen
c5f3314c85 Add Metadata table and read write delete functions 2024-11-28 09:18:49 +01:00
Boris Arzentar
2408fd7a01 fix: falkordb adapter errors 2024-11-28 09:12:37 +01:00
Boris
6403d15a76
fix: enable falkordb and add test for it (#31) 2024-11-27 22:55:30 +01:00
Boris Arzentar
d885a047ac Merge remote-tracking branch 'origin/main' into code-graph 2024-11-27 22:54:49 +01:00
hajdul88
be6eebfbb1
Feature/cog 537 implement retrieval algorithm from research paper (#8) 2024-11-27 17:26:11 +01:00
hajdul88
3146ef75c9 Fix: renames new vector db and cogneegraph methods 2024-11-27 13:47:26 +01:00
hajdul88
94dc545fcd chore: adds self to cogneegraph edges 2024-11-27 11:42:35 +01:00
Boris
64b8aac86f
feat: code graph swe integration
Co-authored-by: hajdul88 <52442977+hajdul88@users.noreply.github.com>
Co-authored-by: hande-k <handekafkas7@gmail.com>
Co-authored-by: Igor Ilic <igorilic03@gmail.com>
Co-authored-by: Vasilije <8619304+Vasilije1990@users.noreply.github.com>
Co-authored-by: Igor Ilic <30923996+dexters1@users.noreply.github.com>
2024-11-27 09:32:29 +01:00
hajdul88
c30683e20e chore: changes query text in tests 2024-11-26 17:29:44 +01:00
hajdul88
98a517dd9f feat: extends brute force triplet search for weaviate db 2024-11-26 17:20:53 +01:00
hajdul88
4c9d816f87 feat: extends bruteforce triplet search for Qdrant db 2024-11-26 17:05:38 +01:00
hajdul88
4035302dd4 feat: Adds tests for pgvector, qdrant and weaviate 2024-11-26 16:48:09 +01:00
hajdul88
0441e19bc9 feat: Adds bruteforce retriever test for neo4j 2024-11-26 16:42:35 +01:00
hajdul88
59f8ec665f Merge remote-tracking branch 'origin/main' into feature/cog-537-implement-retrieval-algorithm-from-research-paper 2024-11-26 16:38:32 +01:00
hajdul88
ecdf3d4d54 fix: Updates neo4j test 2024-11-26 16:35:20 +01:00
hajdul88
c9f66145f5 feat: checks neo4j test for bruteforce retriever 2024-11-26 16:33:33 +01:00
hajdul88
db07179856 chore: Adds error handling to brute force triplet search 2024-11-26 16:17:57 +01:00
hajdul88
c66c43e717 chore: places retrievers under modules directory 2024-11-26 15:44:11 +01:00
hajdul88
163bdc527c chore: fixes PR issues regarding vector normalization and cognee graph 2024-11-26 15:37:34 +01:00
hajdul88
a59517409c chore: Fixes some of the issues based on PR review + restructures things 2024-11-26 14:45:48 +01:00
Vasilije
dfd30d8e54
fix: Add fix for getting transcription of audio and image from LLMs (#24)
Enable getting of text from audio and image files from LLMs

Fix
2024-11-25 17:51:38 +01:00
Igor Ilic
66c321f206 fix: Add fix for getting transcription of audio and image from LLMs
Enable getting of text from audio and image files from LLMs

Fix
2024-11-25 17:32:11 +01:00
Igor Ilic
ec6b0a40e0
Cog 716 fix gh action telemetry (#23) 2024-11-25 15:54:14 +01:00
Igor Ilic
97dbede4c4 test: Add fix for telemetry issue in gh actions
Set environment variable of ENV to dev for all jobs in workflows in GH actions
2024-11-25 15:31:32 +01:00
Igor Ilic
9193eca08b Trigger GitHub Actions 2024-11-25 15:00:02 +01:00
0xideas
0fb47ba23d
feat: COG-548-create-code-graph-to-kg-task (#7)
Co-authored-by: Boris Arzentar <borisarzentar@gmail.com>
2024-11-24 20:50:32 +01:00
0xideas
8466764cbe
refactor: Cog-547 code graph enrichment task clean 2024-11-24 19:26:40 +01:00
0xideas
80b06c3acb
test: Test for code graph enrichment task
Co-authored-by: lxobr <lazar@topoteretes.com>
2024-11-24 19:24:47 +01:00
Vasilije
9d6081c7f7
feat: Add support for multiple audio and image formats (#12)
Added support for multiple audio and image formats with example

The formats added are the possible filetype library return values for
extension for Audio and Images

Feature COG-507
2024-11-23 16:31:55 +01:00
lxobr
70bdaea8f7
feat: COG-546 create dependency graph
Add `get_repo_dependency_graph` cognee task:

- Extracts Python file paths and their source code from a repository.
- Builds a directed dependency graph of Python files.
- Identifies direct dependencies using `get_local_script_dependencies`.
- Represents file relationships as nodes and edges in a
`networkx.DiGraph`.
- Includes a checker script for generating and displaying the graph.
2024-11-23 14:04:45 +01:00
lxobr
7ec5cffd8e
feat: Cog-693 expand dependency graph
Expand each file node into a subgraph containing high-level code parts

- Implemented `extract_code_parts` to parse and extract high-level
components (classes, functions, imports, and top-level code) from Python
source files using `parso`.
- Developed `expand_dependency_graph` to expand Python file nodes into
their components.
- Included a checker script
2024-11-23 14:02:21 +01:00
Vasilije
e758ec5cf2
docs: add print statements to the simple example, update readme (#9) 2024-11-22 11:33:21 +01:00
Igor Ilic
d33c740dc6
Cog 488 test database deletion (#16)
Added testing of database deletion for every end to end test
2024-11-22 10:32:43 +01:00
Boris
d1f8217320
feat: COG-585 enable custom llm and embeding models 2024-11-22 10:26:21 +01:00
Igor Ilic
443133ffbb test: Add database deletion test for Weaviate vector database
Added database deletion test for Weaviate vector database

Test COG-488
2024-11-21 18:37:09 +01:00
Igor Ilic
0f8baeeb0d test: Add database deletion test for qdrant
Added testing of database deletion for qdrant

Test COG-488
2024-11-21 18:19:23 +01:00
hajdul88
676cdfcc84 Merge remote-tracking branch 'origin/main' into feature/cog-537-implement-retrieval-algorithm-from-research-paper 2024-11-21 17:07:16 +01:00
Igor Ilic
54daa6986c test: Add test for deletion of neo4j graph database
Added test to verify all nodes and edges from neo4j database have been cleaned

Test COG-488
2024-11-21 16:39:38 +01:00
Igor Ilic
ac3f988278 test: Add checking of Networkx database deletion
Add test to check if networkx database has been cleaned properly

Test COG-488
2024-11-21 16:09:50 +01:00
hande-k
157d7d217d docs: added cognify steps in the print statement and commented example output 2024-11-21 13:57:42 +01:00
Igor Ilic
b815aeaa2a test: Add test for database deletion for LanceDB and SQLite
Added database deletion test for LanceDB and SQLite

Test COG-488
2024-11-21 13:44:09 +01:00
Igor Ilic
27aade2a43 refactor: Expand on assert in test
Expand on assert fail message in pgvector test

Refactor COG-488
2024-11-21 10:25:26 +01:00
hajdul88
b5d9e7a6d2 chore: adds return value and sets tue entry point kg generation to true 2024-11-20 19:03:32 +01:00
hajdul88
6efe566849 fix: Adds new obligatory attributes to cognee graph tests 2024-11-20 18:40:56 +01:00
hajdul88
a114d68aef feat: Implements basic global triplet optimizing retrieval 2024-11-20 18:33:34 +01:00
hajdul88
980ae2b22c feat: Adds in time edge vector similarity calculation and triplet importances 2024-11-20 18:32:03 +01:00
Igor Ilic
796bbadb43 test: Add verification of deletion of local files
Verify local files used in end to end test are deleted upon completion

Test COG-488
2024-11-20 17:27:12 +01:00