Commit graph

1246 commits

Author SHA1 Message Date
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
Rita Aleksziev
0eb40d0761 updating dependencies with deepeval as optional 2024-12-02 13:31:39 +01:00
Rita Aleksziev
f966f099fc Prompt renaming to more specific names. Minor code changes. 2024-12-02 12:18:00 +01:00
Rita Aleksziev
996b3a658b add custom metric implementation 2024-11-28 16:53:33 +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
Rita Aleksziev
f47b185a9e feat/add correctness score calculation with LLM as a judge 2024-11-27 10:53:48 +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
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
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
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
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
Igor Ilic
b60f2603f4 test: Add test for pgvector to confirm database deletion is working
Added assert to verify all tables in database have been cleared.
Added method to SqlAlchemyAdapter to get all table names in database.

Test COG-488
2024-11-20 17:11:23 +01:00
lxobr
a8aefd57ef
COG-546 get_local_script_dependencies (#6)
A utility function, `get_local_script_dependencies`:

- Extracts and resolves local dependencies of a Python script using
`jedi` and `parso`.
- Returns a sorted list of unique module paths
- Optionally dependencies outside a specified repository path are
filtered out
- Includes an example/checker in `cognee/tasks/code`.

Will be used for creating a graph from a repo.
2024-11-20 16:36:03 +01:00
alekszievr
ad08b53ed7
Feat/cog 544 eval on swe bench (#5)
Evaluation script for SWE-bench benchmarking with and without cognee
2024-11-20 16:30:28 +01:00
Igor Ilic
38ef3d465f test: Add github action for multimedia notebook
Added github action for multimedia notebook

Test COG-507
2024-11-20 16:25:23 +01:00
Igor Ilic
61ed516d12 docs: Add multimedia notebook
Added multimedia notebook for cognee

Docs COG-507
2024-11-20 16:21:29 +01:00
Igor Ilic
acd88e83e2
fix: Resolve issue with table names in SQL commands (#13)
Some SQL commands require lowercase characters in table names unless
table name is wrapped in quotes. Renamed all new tables to use lowercase

Fix COG-677
2024-11-20 16:16:57 +01:00
Rita Aleksziev
98e693ad97 Merge branch 'main' into feat/COG-544-eval-on-swe-bench 2024-11-20 16:04:15 +01:00
Rita Aleksziev
e1d8f3ea86 use acreate_structured_output instead of create_structured_output in eval script 2024-11-20 16:02:15 +01:00
Igor Ilic
f9353d25fa fix: Update table name in notebook
Update table name in notebook

Fix COG-677
2024-11-20 15:14:38 +01:00
Igor Ilic
70fe6ac541 fix: Update table name in notebook
Update table name to use latest in notebook

Fix COG-677
2024-11-20 15:07:38 +01:00
Igor Ilic
e4d00403ba fix: Update table names in tests
Update table names in tests to accomodate to recent fix

Fix COG-677
2024-11-20 15:02:22 +01:00
Igor Ilic
15b7b8ef2b fix: Resolve issue with table names in SQL commands
Some SQL commands require lowercase characters in table names unless table name is wrapped in quotes. Renamed all new tables to use lowercase

Fix COG-677
2024-11-20 14:54:35 +01:00
Igor Ilic
57783a979a feat: Add support for multiple audio and image formats
Added support for multiple audio and image formats with example

Feature COG-507
2024-11-20 14:03:14 +01:00
lxobr
f27dc0c91a fix: Rename, extract checker into a separate script 2024-11-20 12:28:10 +01:00
lxobr
263ecb9149 fix: Add input validation and error handling for paths 2024-11-20 12:28:10 +01:00
lxobr
8bc26bba97 fix: Add error handling for path conversion 2024-11-20 12:28:10 +01:00
lxobr
ebb811af87 fix: Filter out None values in module paths 2024-11-20 12:28:10 +01:00
lxobr
2417d18607 fix: Add logging instead of print 2024-11-20 12:28:10 +01:00
lxobr
1a1452e177 fix: Add error handling for Jedi analysis, with debug mode 2024-11-20 12:28:10 +01:00
lxobr
3aadda9a89 feat: Add argparse for testing purposes 2024-11-20 12:28:10 +01:00
lxobr
4bf2281cd5 feat: Enable async processing 2024-11-20 12:28:10 +01:00
lxobr
742792b6c1 refactor: Remove a comment 2024-11-20 12:28:10 +01:00
lxobr
2be2b802c0 feat: Safely handle file read errors 2024-11-20 12:28:10 +01:00
lxobr
e148d32c14 refactor: Modify sys.path in context manager 2024-11-20 12:28:10 +01:00
lxobr
ba83d71269 feat: extract script dependencies 2024-11-20 12:28:10 +01:00
lxobr
26e2dc852d feat: new repo-to-graph task 2024-11-20 12:28:10 +01:00