Commit graph

1300 commits

Author SHA1 Message Date
Igor Ilic
343ac47fd4 fix: Update import location for LanceDB
Updated import path for LanceDB exceptions

Fix COG-502
2024-12-02 13:19:55 +01:00
Igor Ilic
04960eeb4e Merge branch 'main' of github.com:topoteretes/cognee-private into COG-502-backend-error-handling 2024-12-02 13:12:20 +01:00
Igor Ilic
34971d16cc
Cog 678 relational database singleton (#38)
1. Set relational database in cognee to be used as singleton and made
necessary changes to enable this
2. Added SQLite support to dlt pipeline in ingest_data
2024-12-02 13:02:34 +01:00
Igor Ilic
6b97e95e14 refactor: Split entity related exceptions into graph and database exceptions
Move and split database entity related exceptions into graph and database exceptions

Refactor COG-502
2024-11-29 17:40:48 +01:00
Igor Ilic
eb09e5ad89 refactor: Moved ingestion exceptions to ingestion module
Moved custom ingestion exceptions to ingestion module

Refactor COG-502
2024-11-29 17:15:54 +01:00
Igor Ilic
1b2bdd9b83 refactor: Update __init__.py of base exception module
Updated init file of cognee base exception module

Refactor COG-502
2024-11-29 17:07:27 +01:00
Igor Ilic
df0b4b4820 refactor: Move user and group errors to users module
Moved user and group errors to users module

Refactor #COG-502
2024-11-29 17:06:34 +01:00
Igor Ilic
c702b6cae0
feat: Add singleton way of working to graph databases (#39)
Added signleton type of functioning to graph databases

Feature
2024-11-29 15:04:42 +01:00
Igor Ilic
e03de63c8c
feat: Add reusable workflows for jupyter notebooks and python examples (#40)
Add reusable workflows for:
1. Jupyer notebooks
2. Python examples

Add github actions for current python examples

Feature COG-686
2024-11-29 15:04:13 +01:00
Igor Ilic
a345471fef test: Add dynamic steps and multimedia example python script testing in github actions
Added dynamic steps and multimedia python example scripts testing in github actions

Test COG-686
2024-11-29 13:51:09 +01:00
Igor Ilic
2389e60fc1 chore: Return example to previous state before testing error raising
Return example to normal state after confirming error raising will be caught by gh action

Chore COG-686
2024-11-29 13:48:13 +01:00
Igor Ilic
f363ece4a7 chore: Test if raised error will be caught
Test if error raised inside python example will be caught

Chore COG-686
2024-11-29 13:45:38 +01:00
Igor Ilic
c7a8d2995b test: Add reusable python example workflow
Add reusable workflow for python examples, add simple example python script test

Test COG-686
2024-11-29 13:42:04 +01:00
Igor Ilic
335b8ca0de fix: Remove creation of tables for PGVector
As PGVector is used as a vector database it doesn't need to create tables based on models

Fix COG-678
2024-11-29 13:14:25 +01:00
Igor Ilic
ea38a0f51b chore: Update all notebook github actions
Update all notebook github actions to use reusable_notebook workflow

Chore COG-686
2024-11-29 12:20:12 +01:00
Igor Ilic
eaf26b5c9e chore: Update github action regrading notebook
Update github action related to jupyter notebook

Chore COG-686
2024-11-29 12:16:28 +01:00
Igor Ilic
ce99936ed5 chore: Test github action
Test notebook github action

Chore COG-686
2024-11-29 12:14:04 +01:00
Igor Ilic
d0d033bf97 chore: Test work of github action when removing label need
Test work of github action when label is not needed

Chore COG-686
2024-11-29 12:06:25 +01:00
Igor Ilic
6e8ca2f0e6 test: Attempt to fix event propagation issue
Trying to resolve issue of propagating github events to reusable workflow

Test COG-686
2024-11-29 12:04:31 +01:00
Igor Ilic
e72a84c1c3 test: Resolve issue with notebook location
Reusable workflows must be in the workflows github folder

Test COG-686
2024-11-29 11:53:26 +01:00
Igor Ilic
d586336596 test: Fix issue with notebook action
Resolve issue with wrongly defined notebook action

Test COG-686
2024-11-29 11:46:20 +01:00
Igor Ilic
a2b4c5b9eb feat: Add reusable workflows for jupyter notebooks
Add reusable workflows for Jupyer notebooks

Feature COG-686
2024-11-29 11:36:20 +01:00
Igor Ilic
be5cb86cb2 feat: Add singleton way of working to graph databases
Added signleton type of functioning to graph databases

Feature
2024-11-28 22:15:53 +01:00
Igor Ilic
b56a1dee59 refactor: formatting fix for PR
Fixed formatting for files in pull request

Refactor COG-678
2024-11-28 20:23:27 +01:00
Igor Ilic
56367cb0c3 feat: Add Dlt support for Sqlite
Added support for using sqlite with dlt

Feature COG-678
2024-11-28 16:50:30 +01:00
Igor Ilic
9bd3011264 feat: Make relational databases work as singleton
Moved dlt pipeline to run in it's own fuction so it doesn't use get_relational_database.
Dlt has it's own async event loop and object can't be shared between event loops

Feature COG-678
2024-11-28 12:59:04 +01:00
hajdul88
be6eebfbb1
Feature/cog 537 implement retrieval algorithm from research paper (#8) 2024-11-27 17:26:11 +01:00
Igor Ilic
7d1210c889 feat: Add custom exception handling to dataset router
Added custom exceptions for dataset router

Feature COG-502
2024-11-27 15:57:37 +01:00
Igor Ilic
e67bd91bd2 feat: Add brief logging on raising exception
Added brief logging of exception raised on raising exception

Feature COG-502
2024-11-27 15:51:38 +01:00
Igor Ilic
5d297c50f4 test: Update unit tests regrading exceptions
Updated unit tests to check for custom exceptions instead

Test COG-502
2024-11-27 15:29:32 +01:00
Igor Ilic
90287e0dac refactor: Use fastapi exception instead of custom exception
Return the use of fastapi exception instead of custom exception

Refactor COG-502
2024-11-27 15:07:30 +01:00
Igor Ilic
6eecc39db0 feat: Add custom exceptions to more cognee-lib modules
Added custom exceptions to more modules

Feature COG-502
2024-11-27 14:53:09 +01:00
Igor Ilic
d4236bf385 refactor: Change import of UserNotFoundError
Changed import of UserNotFoundError exception

Refactor COG-502
2024-11-27 14:40:31 +01:00
Igor Ilic
204b5e9fe1 Merge branch 'main' of github.com:topoteretes/cognee-private into COG-502-backend-error-handling 2024-11-27 14:30:53 +01:00
Igor Ilic
ae568409a7 feat: Add custom exceptions to cognee lib
Added use of custom exceptions to cognee lib
2024-11-27 14:29:33 +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
Igor Ilic
a3fd079fd6 feat: Add Exceptions and exception handlers
Add classes for exceptions and add exception handling

Feature COG-502
2024-11-26 19:26:38 +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