Commit graph

4586 commits

Author SHA1 Message Date
Leon Luithlen
5b420ebccc Autoformat graph pydantic conversion code 2024-11-15 16:44:30 +01:00
Leon Luithlen
148eb4ed9b Add profile_graph_pydantic_conversion.py 2024-11-15 16:42:14 +01:00
Leon Luithlen
a1f72727bc Revert model_rebuild order 2024-11-15 16:17:33 +01:00
Leon Luithlen
f3f0bca9bd Revert making Person attributes optional 2024-11-15 16:03:53 +01:00
Leon Luithlen
370b59b39a Add get_graph_from_model_generative_test 2024-11-15 15:58:03 +01:00
Leon Luithlen
5a464bfca7 Refactor get_model_instance_from_graph 2024-11-15 15:57:50 +01:00
Igor Ilic
2703215dec refactor: Add user_id to event properties
Adding user_id to event properties allows tracking of which user started the event

Refactor COG-597
2024-11-15 15:20:41 +01:00
Leon Luithlen
afae70f3b5 Add get_graph_from_model_generative_test 2024-11-15 15:10:42 +01:00
Igor Ilic
d90f5fe7c1 feat: Add proxy for analytics
Added proxy usage with vercel hosting for telemetry and analytics

Feature COG-597
2024-11-15 15:05:46 +01:00
hajdul88
8c0c0b97a2
Merge pull request #229 from topoteretes/feature/cog-620-bug-code_graph_pipeline-cant-process-false-class
fix: Fixes processing false Class keyword issue
2024-11-15 14:55:12 +01:00
Leon Luithlen
3c8a52f4b0 Fix inconsistent state between nodes and added_nodes and edges and added_edges 2024-11-15 14:47:36 +01:00
hajdul88
1df12c1259 fix: Fixes processing false Class keyword issue 2024-11-15 14:47:13 +01:00
Leon Luithlen
a5860700a7 Remove include_root parameter 2024-11-15 14:00:59 +01:00
Leon Luithlen
05ea357520 Refactor get_graph_from_model 2024-11-15 13:43:13 +01:00
Leon Luithlen
2c0fce32d3 WIP get_graph_from_model 2024-11-15 13:38:33 +01:00
Leon Luithlen
7be613e2fc WIP nested pydantic structures 2024-11-15 11:57:26 +01:00
Leon Luithlen
0ea011ccd7 Adapt graph interfaces tests to debugged get_graph_from_model 2024-11-15 10:27:27 +01:00
Leon Luithlen
628f192b8d Remove added_nodes and added_edges default dicts 2024-11-15 10:27:06 +01:00
Leon Luithlen
6e416ed9f0 Merge branch 'main' into COG-417-chunking-unit-tests 2024-11-14 17:20:10 +01:00
Leon Luithlen
f51a44fd76 Remove unneeded document.read in AudioDocument_test 2024-11-14 17:18:36 +01:00
Leon Luithlen
e40e7386a0 Refactor word_type yielding in chuck_by_sentence 2024-11-14 17:16:04 +01:00
Leon Luithlen
14dd60576e Fix indexing in tests in chunk_by_sentence_test 2024-11-14 17:06:16 +01:00
Leon Luithlen
928e1075c6 Test chunk_by_paragraph chunk numbering 2024-11-14 16:55:24 +01:00
Leon Luithlen
84c98f16bb Remove chunk_index attribute from chunk_by_sentence return value 2024-11-14 16:49:13 +01:00
Leon Luithlen
15420dd864 Fix paragraph_ids handling 2024-11-14 16:47:51 +01:00
Rita Aleksziev
094ba7233e Running inference with and without cognee 2024-11-14 16:28:03 +01:00
Vasilije
b858f0b06b
Merge pull request #216 from topoteretes/fix/remove-dspy-dependency
Remove dspy dependency
2024-11-14 16:25:06 +01:00
Leon Luithlen
0c5ac33aff Adjust poetry.lock 2024-11-14 15:54:28 +01:00
Leon Luithlen
ed8f9cd17e Remove dspy dependency 2024-11-14 15:50:29 +01:00
Leon Luithlen
7cf8c74cf9 Merge latest main 2024-11-14 15:05:57 +01:00
Leon Luithlen
d6a6a9eaba Return sentence_cut instead of word in chunk_by_paragraph 2024-11-14 15:03:09 +01:00
Vasilije
535d8281b4
Merge pull request #215 from topoteretes/clean_dspy
Remove dspy logic that confuses
2024-11-14 14:51:51 +01:00
Vasilije
bc2e17592d
Merge branch 'main' into clean_dspy 2024-11-14 14:50:43 +01:00
Vasilije
36ada5974d
Delete cognee/modules/cognify/dataset.py 2024-11-14 14:49:45 +01:00
Vasilije
8e9040815f
Delete cognee/modules/cognify/train.py 2024-11-14 14:49:34 +01:00
Vasilije
cf09a5ea37
Delete cognee/modules/cognify/test.py 2024-11-14 14:49:23 +01:00
Vasilije
c5d132ed14
Delete cognee/modules/cognify/evaluate.py 2024-11-14 14:49:08 +01:00
hajdul88
c1007091d1
Merge pull request #196 from topoteretes/feat/COG-553-graph-memory-projection
Feat/cog 553 graph memory projection
2024-11-14 14:48:41 +01:00
0xideas
8b681529b1
Update cognee/tasks/chunks/chunk_by_paragraph.py
Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
2024-11-14 14:42:15 +01:00
Leon Luithlen
73f24f9e4d Fix sentence_cut return value in inappropriate places 2024-11-14 14:40:42 +01:00
Leon Luithlen
b4d509e682 Set batch_paragraph=False in run_chunking_test 2024-11-14 14:23:09 +01:00
Leon Luithlen
a52d3ac6ba Change document test ground truth values for new chunk_by_word 2024-11-14 14:20:18 +01:00
Leon Luithlen
eaf9167fa1 Change chunk_by_word to collect newlines in prior words 2024-11-14 14:19:34 +01:00
hajdul88
867e18de86 fix: Changes GraphDBInterface typing in CogneeGraph 2024-11-14 14:01:20 +01:00
Leon Luithlen
57d8149732 Save paragraph_ids in chunk_by_paragraph 2024-11-14 13:59:54 +01:00
Leon Luithlen
6721eaee83 Fix chunk_index bug in chunk_by_paragraph 2024-11-14 13:50:40 +01:00
0xideas
f2206a09c0
Update cognee/tasks/chunks/chunk_by_word.py
Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
2024-11-14 13:16:17 +01:00
Leon Luithlen
8260647497 Add AudioDocument and ImageDocument tests 2024-11-14 12:42:10 +01:00
Leon Luithlen
f87fd12e9b Fix lambda bug in AudioDocument and ImageDocument 2024-11-14 12:41:47 +01:00
Leon Luithlen
8b3b2f8156 Add transcribe_image and create_transcript methods 2024-11-14 11:59:46 +01:00