alekszievr
706101113a
feat/add correctness score calculation with LLM as a judge ( #30 )
2024-12-03 17:47:18 +01:00
Rita Aleksziev
a0d5102bd8
add some spaces for readability
2024-12-03 17:22:23 +01:00
Rita Aleksziev
b98470887e
fix env var issue
2024-12-03 16:46:13 +01:00
Rita Aleksziev
0fbb50960b
prompt renaming
2024-12-03 15:59:03 +01:00
Rita Aleksziev
dc082de4c2
minor bugfix in folder creation
2024-12-02 14:54:40 +01:00
Igor Ilic
dd8af12aa9
Cog 502 backend error handling ( #32 )
...
Rework of the cognee lib exception/error handling.
Added custom exceptions and custom exception handling.
Whenever a custom exception is raised in the cognee fastapi backend it
will be processed by the exception handler making sure exception
information is logged and proper JSONResponse is sent. No need to catch
these exception in endpoints with the goal of logging and responding.
Note: The exception handler is only used for the cognee FastAPI backend
server, using cognee as a library won't utilize this exception handling
2024-12-02 13:47:38 +01:00
Rita Aleksziev
0eb40d0761
updating dependencies with deepeval as optional
2024-12-02 13:31:39 +01:00
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
Rita Aleksziev
f966f099fc
Prompt renaming to more specific names. Minor code changes.
2024-12-02 12:18:00 +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
Rita Aleksziev
996b3a658b
add custom metric implementation
2024-11-28 16:53:33 +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
Rita Aleksziev
4aa634d5e1
Eval function takes eval_metric as input. Works with deepeval metrics like AnswerRelevancyMetric
2024-11-27 16:14:05 +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
Rita Aleksziev
f47b185a9e
feat/add correctness score calculation with LLM as a judge
2024-11-27 10:53:48 +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