cognee 0.2.2.dev1__py3-none-any.whl → 0.2.3.dev1__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (89) hide show
  1. cognee/api/v1/add/add.py +0 -5
  2. cognee/api/v1/cognify/cognify.py +0 -8
  3. cognee/api/v1/config/config.py +5 -13
  4. cognee/api/v1/datasets/routers/get_datasets_router.py +1 -1
  5. cognee/api/v1/delete/delete.py +1 -1
  6. cognee/api/v1/exceptions/__init__.py +13 -0
  7. cognee/api/v1/{delete → exceptions}/exceptions.py +15 -12
  8. cognee/api/v1/search/search.py +0 -7
  9. cognee/exceptions/__init__.py +5 -5
  10. cognee/exceptions/exceptions.py +37 -17
  11. cognee/infrastructure/data/exceptions/__init__.py +7 -0
  12. cognee/infrastructure/data/exceptions/exceptions.py +22 -0
  13. cognee/infrastructure/data/utils/extract_keywords.py +3 -3
  14. cognee/infrastructure/databases/exceptions/__init__.py +3 -0
  15. cognee/infrastructure/databases/exceptions/exceptions.py +57 -9
  16. cognee/infrastructure/databases/graph/neptune_driver/exceptions.py +15 -10
  17. cognee/infrastructure/databases/hybrid/falkordb/FalkorDBAdapter.py +2 -2
  18. cognee/infrastructure/databases/hybrid/neptune_analytics/NeptuneAnalyticsAdapter.py +4 -5
  19. cognee/infrastructure/databases/vector/chromadb/ChromaDBAdapter.py +2 -2
  20. cognee/infrastructure/databases/vector/embeddings/LiteLLMEmbeddingEngine.py +1 -1
  21. cognee/infrastructure/databases/vector/exceptions/exceptions.py +3 -3
  22. cognee/infrastructure/databases/vector/lancedb/LanceDBAdapter.py +2 -2
  23. cognee/infrastructure/databases/vector/pgvector/PGVectorAdapter.py +4 -3
  24. cognee/infrastructure/llm/exceptions.py +30 -2
  25. cognee/infrastructure/llm/structured_output_framework/litellm_instructor/llm/anthropic/adapter.py +2 -2
  26. cognee/infrastructure/llm/structured_output_framework/litellm_instructor/llm/gemini/adapter.py +3 -3
  27. cognee/infrastructure/llm/structured_output_framework/litellm_instructor/llm/get_llm_client.py +10 -7
  28. cognee/infrastructure/llm/structured_output_framework/litellm_instructor/llm/openai/adapter.py +6 -4
  29. cognee/infrastructure/loaders/LoaderInterface.py +1 -1
  30. cognee/modules/data/exceptions/exceptions.py +18 -5
  31. cognee/modules/data/methods/delete_data.py +2 -4
  32. cognee/modules/data/processing/document_types/exceptions/exceptions.py +2 -2
  33. cognee/modules/graph/cognee_graph/CogneeGraph.py +6 -4
  34. cognee/modules/graph/cognee_graph/CogneeGraphElements.py +5 -10
  35. cognee/modules/graph/exceptions/__init__.py +2 -0
  36. cognee/modules/graph/exceptions/exceptions.py +25 -3
  37. cognee/modules/ingestion/exceptions/exceptions.py +2 -2
  38. cognee/modules/ontology/exceptions/exceptions.py +4 -4
  39. cognee/modules/pipelines/exceptions/exceptions.py +2 -2
  40. cognee/modules/retrieval/exceptions/exceptions.py +12 -6
  41. cognee/modules/search/exceptions/__init__.py +7 -0
  42. cognee/modules/search/exceptions/exceptions.py +15 -0
  43. cognee/modules/search/methods/search.py +2 -3
  44. cognee/modules/users/exceptions/exceptions.py +6 -6
  45. cognee/shared/exceptions/exceptions.py +2 -2
  46. cognee/tasks/completion/exceptions/exceptions.py +3 -3
  47. cognee/tasks/documents/classify_documents.py +4 -0
  48. cognee/tasks/documents/exceptions/__init__.py +11 -0
  49. cognee/tasks/documents/exceptions/exceptions.py +36 -0
  50. cognee/tasks/documents/extract_chunks_from_documents.py +8 -2
  51. cognee/tasks/graph/exceptions/__init__.py +12 -0
  52. cognee/tasks/graph/exceptions/exceptions.py +41 -0
  53. cognee/tasks/graph/extract_graph_from_data.py +28 -0
  54. cognee/tasks/ingestion/exceptions/__init__.py +8 -0
  55. cognee/tasks/ingestion/exceptions/exceptions.py +12 -0
  56. cognee/tasks/ingestion/resolve_data_directories.py +5 -0
  57. cognee/tasks/storage/add_data_points.py +8 -0
  58. cognee/tasks/storage/exceptions/__init__.py +9 -0
  59. cognee/tasks/storage/exceptions/exceptions.py +13 -0
  60. cognee/tasks/storage/index_data_points.py +1 -1
  61. cognee/tasks/summarization/exceptions/__init__.py +9 -0
  62. cognee/tasks/summarization/exceptions/exceptions.py +14 -0
  63. cognee/tasks/summarization/summarize_text.py +8 -1
  64. cognee/tests/test_delete_by_id.py +1 -1
  65. cognee/tests/unit/modules/graph/cognee_graph_elements_test.py +5 -5
  66. cognee/tests/unit/modules/search/search_methods_test.py +2 -2
  67. {cognee-0.2.2.dev1.dist-info → cognee-0.2.3.dev1.dist-info}/METADATA +4 -4
  68. {cognee-0.2.2.dev1.dist-info → cognee-0.2.3.dev1.dist-info}/RECORD +88 -57
  69. distributed/Dockerfile +34 -0
  70. distributed/__init__.py +0 -0
  71. distributed/app.py +4 -0
  72. distributed/entrypoint.py +71 -0
  73. distributed/entrypoint.sh +5 -0
  74. distributed/modal_image.py +11 -0
  75. distributed/poetry.lock +12238 -0
  76. distributed/pyproject.toml +186 -0
  77. distributed/queues.py +5 -0
  78. distributed/tasks/__init__.py +0 -0
  79. distributed/tasks/queued_add_data_points.py +13 -0
  80. distributed/tasks/queued_add_edges.py +13 -0
  81. distributed/tasks/queued_add_nodes.py +13 -0
  82. distributed/test.py +28 -0
  83. distributed/utils.py +19 -0
  84. distributed/workers/data_point_saving_worker.py +93 -0
  85. distributed/workers/graph_saving_worker.py +104 -0
  86. cognee/infrastructure/databases/exceptions/EmbeddingException.py +0 -20
  87. {cognee-0.2.2.dev1.dist-info → cognee-0.2.3.dev1.dist-info}/WHEEL +0 -0
  88. {cognee-0.2.2.dev1.dist-info → cognee-0.2.3.dev1.dist-info}/licenses/LICENSE +0 -0
  89. {cognee-0.2.2.dev1.dist-info → cognee-0.2.3.dev1.dist-info}/licenses/NOTICE.md +0 -0

There are too many changes on this page to be displayed.


The amount of changes on this page would crash your brower.

You can still verify the content by downloading the package file manually.