Commit graph

2375 commits

Author SHA1 Message Date
hajdul88
d8024db002 fix: Fixes edge case handling 2024-11-13 17:18:07 +01:00
hajdul88
bf4eedd20e
Merge branch 'main' into feat/COG-553-graph-memory-projection 2024-11-13 16:45:13 +01:00
hajdul88
8e3a991dd0 feat: implements DB projection to memory 2024-11-13 16:38:57 +01:00
Leon Luithlen
45a60b7f19 Remove assert and move is_real_paragraph_end outside loop 2024-11-13 16:35:47 +01:00
hajdul88
68bfb87f3a feat: Extends graph elements with new features 2024-11-13 16:34:36 +01:00
Leon Luithlen
b787407db7 Add more adversarial examples 2024-11-13 16:23:14 +01:00
Leon Luithlen
fdec9a692e Test maximum_lenth parameter of chunk_by_sentence 2024-11-13 16:03:06 +01:00
Leon Luithlen
9ea2634480 Replace word_count with maximum_length in if clause 2024-11-13 15:53:44 +01:00
Leon Luithlen
9b2fb09c59 Fix PdfDocument teset, give chunk_by_sentence a maximum_length arg 2024-11-13 15:39:17 +01:00
Leon Luithlen
1b4a7e4fdc Adapt chunk_by_paragraph_test.py 2024-11-13 15:35:03 +01:00
Leon Luithlen
f8e5b529c3 Add maximum_length argument to chunk_sentences 2024-11-13 15:35:03 +01:00
Leon Luithlen
ef7a19043d Adapt chunk_by_paragraph test parametrization 2024-11-13 15:35:03 +01:00
Leon Luithlen
92a66dddb9 Autoformat chunking tests 2024-11-13 15:35:03 +01:00
Leon Luithlen
ce498d97dd Refactor chunk_by_paragraph to be isomorphic 2024-11-13 15:35:03 +01:00
Leon Luithlen
ab55a73d18 Adapt chunk_by_sentence to isomorphic chunk_by_word 2024-11-13 15:35:03 +01:00
Leon Luithlen
c054e897a3 Make chunk_by_word isomorphic 2024-11-13 15:35:03 +01:00
Leon Luithlen
830c6710e0 Fix chunk_by_word_test 2024-11-13 15:35:02 +01:00
Leon Luithlen
98cbaaff68 Add isomorphism tests 2024-11-13 15:35:02 +01:00
Leon Luithlen
6f0637a028 Small cosmetic changes 2024-11-13 15:35:02 +01:00
0xideas
7a72aa44d9
Merge pull request #197 from topoteretes/COG-577-add-unit-test-task
Cog 577 add unit test task
2024-11-13 15:34:13 +01:00
Leon Luithlen
49bc07d30d Rename ground_truth to expected_chunks 2024-11-13 14:41:28 +01:00
Leon Luithlen
cd80525420 Revert to EXTENSION_TO_DOCUMENT_CLASS implementation of classify_documents 2024-11-13 14:32:10 +01:00
Leon Luithlen
aa1480ca2c Remove unused imports and make PdfDocument_test a pytest function 2024-11-13 14:26:05 +01:00
0xideas
af88870076
Update cognee/tests/unit/interfaces/graph/util.py
Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
2024-11-13 14:24:45 +01:00
hajdul88
d3ff7e29be fix: removes duplicate from extensions 2024-11-13 14:06:18 +01:00
hajdul88
953fc7b9f9 Fix: Satisfies Pydantic model 2024-11-13 13:53:17 +01:00
Rita Aleksziev
aa95aa21af downloading example repo for eval 2024-11-12 17:40:42 +01:00
hajdul88
9b62617394
Merge branch 'main' into feat/COG-553-graph-memory-projection 2024-11-12 16:56:40 +01:00
hajdul88
7363909862 feat: Adds CogneeGraph + memory projection init 2024-11-12 16:48:56 +01:00
hajdul88
f8ffdb4df5 feat: Adds cognee abstract graph class 2024-11-12 16:47:34 +01:00
Leon Luithlen
58a733c1d8 Increase time delta 2024-11-12 16:47:28 +01:00
Leon Luithlen
8a59cadd08 Remove unneeded ground truth dicts and autoformat 2024-11-12 16:47:28 +01:00
Leon Luithlen
826de0edbf Remove orphan dictionary 2024-11-12 16:47:28 +01:00
Leon Luithlen
83995fa548 Try old version of classify_documents 2024-11-12 16:47:28 +01:00
Leon Luithlen
2d74590ec4 Apply _test.py suffix to test files 2024-11-12 16:47:28 +01:00
Leon Luithlen
8107709e98 Remove duplicate pdf key 2024-11-12 16:47:28 +01:00
Leon Luithlen
7a6cf53292 Remove tests/unit/integration folder 2024-11-12 16:47:28 +01:00
Leon Luithlen
a5411256c2 Add better text for task integration test assertions 2024-11-12 16:47:28 +01:00
Leon Luithlen
d01061d88a Remove unused imports 2024-11-12 16:47:28 +01:00
Leon Luithlen
949dd50257 Copy over gitignore 2024-11-12 16:47:28 +01:00
Leon Luithlen
d7d84607a3 Clean up unit test pull request 2024-11-12 16:47:28 +01:00
Leon Luithlen
2be1127996 Makedirs for integration test 2024-11-12 16:47:28 +01:00
Leon Luithlen
c385783ba5 Remove pytest.ini 2024-11-12 16:47:28 +01:00
Leon Luithlen
6f4ba20003 Run integration tests in pipeline 2024-11-12 16:47:28 +01:00
Leon Luithlen
e6bdb6703a cp cognee_db for integration test 2024-11-12 16:47:28 +01:00
Leon Luithlen
adbf3df4e0 Move cognee_db for integration test 2024-11-12 16:47:28 +01:00
Leon Luithlen
c42bb510c8 Add cognee_db 2024-11-12 16:47:28 +01:00
Leon Luithlen
636bfae7a2 Try recursive patching 2024-11-12 16:47:28 +01:00
Leon Luithlen
501d2107a9 Try more patching 2024-11-12 16:47:28 +01:00
Leon Luithlen
a57530e5ac Use patch 2024-11-12 16:47:28 +01:00