cognee 0.4.1__py3-none-any.whl → 0.5.0.dev0__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 (135) hide show
  1. cognee/__init__.py +1 -0
  2. cognee/api/client.py +8 -0
  3. cognee/api/v1/add/routers/get_add_router.py +3 -1
  4. cognee/api/v1/cognify/routers/get_cognify_router.py +28 -1
  5. cognee/api/v1/ontologies/__init__.py +4 -0
  6. cognee/api/v1/ontologies/ontologies.py +183 -0
  7. cognee/api/v1/ontologies/routers/__init__.py +0 -0
  8. cognee/api/v1/ontologies/routers/get_ontology_router.py +107 -0
  9. cognee/api/v1/permissions/routers/get_permissions_router.py +41 -1
  10. cognee/cli/commands/cognify_command.py +8 -1
  11. cognee/cli/config.py +1 -1
  12. cognee/context_global_variables.py +41 -9
  13. cognee/infrastructure/databases/cache/config.py +3 -1
  14. cognee/infrastructure/databases/cache/fscache/FsCacheAdapter.py +151 -0
  15. cognee/infrastructure/databases/cache/get_cache_engine.py +20 -10
  16. cognee/infrastructure/databases/exceptions/exceptions.py +16 -0
  17. cognee/infrastructure/databases/graph/config.py +4 -0
  18. cognee/infrastructure/databases/graph/get_graph_engine.py +2 -0
  19. cognee/infrastructure/databases/hybrid/neptune_analytics/NeptuneAnalyticsAdapter.py +9 -0
  20. cognee/infrastructure/databases/utils/get_or_create_dataset_database.py +37 -3
  21. cognee/infrastructure/databases/vector/config.py +3 -0
  22. cognee/infrastructure/databases/vector/create_vector_engine.py +5 -1
  23. cognee/infrastructure/databases/vector/embeddings/OllamaEmbeddingEngine.py +1 -4
  24. cognee/infrastructure/engine/models/Edge.py +13 -1
  25. cognee/infrastructure/files/utils/guess_file_type.py +4 -0
  26. cognee/infrastructure/llm/config.py +2 -0
  27. cognee/infrastructure/llm/structured_output_framework/litellm_instructor/llm/anthropic/adapter.py +5 -2
  28. cognee/infrastructure/llm/structured_output_framework/litellm_instructor/llm/gemini/adapter.py +7 -1
  29. cognee/infrastructure/llm/structured_output_framework/litellm_instructor/llm/generic_llm_api/adapter.py +7 -1
  30. cognee/infrastructure/llm/structured_output_framework/litellm_instructor/llm/get_llm_client.py +8 -16
  31. cognee/infrastructure/llm/structured_output_framework/litellm_instructor/llm/mistral/adapter.py +12 -2
  32. cognee/infrastructure/llm/structured_output_framework/litellm_instructor/llm/ollama/adapter.py +13 -2
  33. cognee/infrastructure/llm/structured_output_framework/litellm_instructor/llm/openai/adapter.py +5 -2
  34. cognee/infrastructure/loaders/LoaderEngine.py +1 -0
  35. cognee/infrastructure/loaders/core/__init__.py +2 -1
  36. cognee/infrastructure/loaders/core/csv_loader.py +93 -0
  37. cognee/infrastructure/loaders/core/text_loader.py +1 -2
  38. cognee/infrastructure/loaders/external/advanced_pdf_loader.py +0 -9
  39. cognee/infrastructure/loaders/supported_loaders.py +2 -1
  40. cognee/memify_pipelines/persist_sessions_in_knowledge_graph.py +55 -0
  41. cognee/modules/chunking/CsvChunker.py +35 -0
  42. cognee/modules/chunking/models/DocumentChunk.py +2 -1
  43. cognee/modules/chunking/text_chunker_with_overlap.py +124 -0
  44. cognee/modules/data/methods/__init__.py +1 -0
  45. cognee/modules/data/methods/create_dataset.py +4 -2
  46. cognee/modules/data/methods/get_dataset_ids.py +5 -1
  47. cognee/modules/data/methods/get_unique_data_id.py +68 -0
  48. cognee/modules/data/methods/get_unique_dataset_id.py +66 -4
  49. cognee/modules/data/models/Dataset.py +2 -0
  50. cognee/modules/data/processing/document_types/CsvDocument.py +33 -0
  51. cognee/modules/data/processing/document_types/__init__.py +1 -0
  52. cognee/modules/graph/cognee_graph/CogneeGraph.py +4 -2
  53. cognee/modules/graph/utils/expand_with_nodes_and_edges.py +19 -2
  54. cognee/modules/graph/utils/resolve_edges_to_text.py +48 -49
  55. cognee/modules/ingestion/identify.py +4 -4
  56. cognee/modules/notebooks/operations/run_in_local_sandbox.py +3 -0
  57. cognee/modules/ontology/rdf_xml/RDFLibOntologyResolver.py +55 -23
  58. cognee/modules/pipelines/operations/run_tasks_data_item.py +1 -1
  59. cognee/modules/retrieval/EntityCompletionRetriever.py +10 -3
  60. cognee/modules/retrieval/base_graph_retriever.py +7 -3
  61. cognee/modules/retrieval/base_retriever.py +7 -3
  62. cognee/modules/retrieval/completion_retriever.py +11 -4
  63. cognee/modules/retrieval/graph_completion_context_extension_retriever.py +6 -2
  64. cognee/modules/retrieval/graph_completion_cot_retriever.py +14 -51
  65. cognee/modules/retrieval/graph_completion_retriever.py +4 -1
  66. cognee/modules/retrieval/temporal_retriever.py +9 -2
  67. cognee/modules/retrieval/utils/brute_force_triplet_search.py +1 -1
  68. cognee/modules/retrieval/utils/completion.py +2 -22
  69. cognee/modules/run_custom_pipeline/__init__.py +1 -0
  70. cognee/modules/run_custom_pipeline/run_custom_pipeline.py +69 -0
  71. cognee/modules/search/methods/search.py +5 -3
  72. cognee/modules/users/methods/create_user.py +12 -27
  73. cognee/modules/users/methods/get_authenticated_user.py +2 -1
  74. cognee/modules/users/methods/get_default_user.py +4 -2
  75. cognee/modules/users/methods/get_user.py +1 -1
  76. cognee/modules/users/methods/get_user_by_email.py +1 -1
  77. cognee/modules/users/models/DatasetDatabase.py +9 -0
  78. cognee/modules/users/models/Tenant.py +6 -7
  79. cognee/modules/users/models/User.py +6 -5
  80. cognee/modules/users/models/UserTenant.py +12 -0
  81. cognee/modules/users/models/__init__.py +1 -0
  82. cognee/modules/users/permissions/methods/get_all_user_permission_datasets.py +13 -13
  83. cognee/modules/users/roles/methods/add_user_to_role.py +3 -1
  84. cognee/modules/users/tenants/methods/__init__.py +1 -0
  85. cognee/modules/users/tenants/methods/add_user_to_tenant.py +21 -12
  86. cognee/modules/users/tenants/methods/create_tenant.py +22 -8
  87. cognee/modules/users/tenants/methods/select_tenant.py +62 -0
  88. cognee/shared/logging_utils.py +2 -0
  89. cognee/tasks/chunks/__init__.py +1 -0
  90. cognee/tasks/chunks/chunk_by_row.py +94 -0
  91. cognee/tasks/documents/classify_documents.py +2 -0
  92. cognee/tasks/feedback/generate_improved_answers.py +3 -3
  93. cognee/tasks/ingestion/ingest_data.py +1 -1
  94. cognee/tasks/memify/__init__.py +2 -0
  95. cognee/tasks/memify/cognify_session.py +41 -0
  96. cognee/tasks/memify/extract_user_sessions.py +73 -0
  97. cognee/tasks/storage/index_data_points.py +33 -22
  98. cognee/tasks/storage/index_graph_edges.py +37 -57
  99. cognee/tests/integration/documents/CsvDocument_test.py +70 -0
  100. cognee/tests/tasks/entity_extraction/entity_extraction_test.py +1 -1
  101. cognee/tests/test_add_docling_document.py +2 -2
  102. cognee/tests/test_cognee_server_start.py +84 -1
  103. cognee/tests/test_conversation_history.py +45 -4
  104. cognee/tests/test_data/example_with_header.csv +3 -0
  105. cognee/tests/test_delete_bmw_example.py +60 -0
  106. cognee/tests/test_edge_ingestion.py +27 -0
  107. cognee/tests/test_feedback_enrichment.py +1 -1
  108. cognee/tests/test_library.py +6 -4
  109. cognee/tests/test_load.py +62 -0
  110. cognee/tests/test_multi_tenancy.py +165 -0
  111. cognee/tests/test_parallel_databases.py +2 -0
  112. cognee/tests/test_relational_db_migration.py +54 -2
  113. cognee/tests/test_search_db.py +7 -1
  114. cognee/tests/unit/api/test_conditional_authentication_endpoints.py +12 -3
  115. cognee/tests/unit/api/test_ontology_endpoint.py +264 -0
  116. cognee/tests/unit/infrastructure/databases/cache/test_cache_config.py +5 -0
  117. cognee/tests/unit/infrastructure/databases/test_index_data_points.py +27 -0
  118. cognee/tests/unit/infrastructure/databases/test_index_graph_edges.py +14 -16
  119. cognee/tests/unit/modules/chunking/test_text_chunker.py +248 -0
  120. cognee/tests/unit/modules/chunking/test_text_chunker_with_overlap.py +324 -0
  121. cognee/tests/unit/modules/memify_tasks/test_cognify_session.py +111 -0
  122. cognee/tests/unit/modules/memify_tasks/test_extract_user_sessions.py +175 -0
  123. cognee/tests/unit/modules/retrieval/graph_completion_retriever_cot_test.py +0 -51
  124. cognee/tests/unit/modules/retrieval/rag_completion_retriever_test.py +1 -0
  125. cognee/tests/unit/modules/retrieval/structured_output_test.py +204 -0
  126. cognee/tests/unit/modules/retrieval/summaries_retriever_test.py +1 -1
  127. cognee/tests/unit/modules/retrieval/temporal_retriever_test.py +0 -1
  128. cognee/tests/unit/modules/users/test_conditional_authentication.py +0 -63
  129. cognee/tests/unit/processing/chunks/chunk_by_row_test.py +52 -0
  130. {cognee-0.4.1.dist-info → cognee-0.5.0.dev0.dist-info}/METADATA +88 -71
  131. {cognee-0.4.1.dist-info → cognee-0.5.0.dev0.dist-info}/RECORD +135 -104
  132. {cognee-0.4.1.dist-info → cognee-0.5.0.dev0.dist-info}/WHEEL +1 -1
  133. {cognee-0.4.1.dist-info → cognee-0.5.0.dev0.dist-info}/entry_points.txt +0 -1
  134. {cognee-0.4.1.dist-info → cognee-0.5.0.dev0.dist-info}/licenses/LICENSE +0 -0
  135. {cognee-0.4.1.dist-info → cognee-0.5.0.dev0.dist-info}/licenses/NOTICE.md +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: cognee
3
- Version: 0.4.1
3
+ Version: 0.5.0.dev0
4
4
  Summary: Cognee - is a library for enriching LLM context with a semantic layer for better understanding and reasoning.
5
5
  Project-URL: Homepage, https://www.cognee.ai
6
6
  Project-URL: Repository, https://github.com/topoteretes/cognee
@@ -20,6 +20,8 @@ Requires-Dist: aiofiles<24.0.0,>=23.2.1
20
20
  Requires-Dist: aiohttp<4.0.0,>=3.11.14
21
21
  Requires-Dist: aiosqlite<1.0.0,>=0.20.0
22
22
  Requires-Dist: alembic<2,>=1.13.3
23
+ Requires-Dist: diskcache>=5.6.3
24
+ Requires-Dist: fakeredis[lua]>=2.32.0
23
25
  Requires-Dist: fastapi-users[sqlalchemy]<15.0.0,>=14.0.1
24
26
  Requires-Dist: fastapi<1.0.0,>=0.116.2
25
27
  Requires-Dist: fastembed<=0.6.0
@@ -28,8 +30,7 @@ Requires-Dist: gunicorn<24,>=20.1.0
28
30
  Requires-Dist: instructor<2.0.0,>=1.9.1
29
31
  Requires-Dist: jinja2<4,>=3.1.3
30
32
  Requires-Dist: kuzu==0.11.3
31
- Requires-Dist: lance-namespace<=0.0.21
32
- Requires-Dist: lancedb<=0.25.3,>=0.24.0
33
+ Requires-Dist: lancedb<1.0.0,>=0.24.0
33
34
  Requires-Dist: limits<5,>=4.4.1
34
35
  Requires-Dist: litellm>=1.76.0
35
36
  Requires-Dist: mistralai>=1.9.10
@@ -157,27 +158,27 @@ Description-Content-Type: text/markdown
157
158
 
158
159
  <br />
159
160
 
160
- Cognee - Accurate and Persistent AI Memory
161
+ cognee - Memory for AI Agents in 6 lines of code
161
162
 
162
163
  <p align="center">
163
164
  <a href="https://www.youtube.com/watch?v=1bezuvLwJmw&t=2s">Demo</a>
164
165
  .
165
- <a href="https://docs.cognee.ai/">Docs</a>
166
- .
167
- <a href="https://cognee.ai">Learn More</a>
166
+ <a href="https://cognee.ai">Learn more</a>
168
167
  ·
169
168
  <a href="https://discord.gg/NQPKmU5CCg">Join Discord</a>
170
169
  ·
171
170
  <a href="https://www.reddit.com/r/AIMemory/">Join r/AIMemory</a>
172
171
  .
173
- <a href="https://github.com/topoteretes/cognee-community">Community Plugins & Add-ons</a>
172
+ <a href="https://docs.cognee.ai/">Docs</a>
173
+ .
174
+ <a href="https://github.com/topoteretes/cognee-community">cognee community repo</a>
174
175
  </p>
175
176
 
176
177
 
177
178
  [![GitHub forks](https://img.shields.io/github/forks/topoteretes/cognee.svg?style=social&label=Fork&maxAge=2592000)](https://GitHub.com/topoteretes/cognee/network/)
178
179
  [![GitHub stars](https://img.shields.io/github/stars/topoteretes/cognee.svg?style=social&label=Star&maxAge=2592000)](https://GitHub.com/topoteretes/cognee/stargazers/)
179
180
  [![GitHub commits](https://badgen.net/github/commits/topoteretes/cognee)](https://GitHub.com/topoteretes/cognee/commit/)
180
- [![GitHub tag](https://badgen.net/github/tag/topoteretes/cognee)](https://github.com/topoteretes/cognee/tags/)
181
+ [![Github tag](https://badgen.net/github/tag/topoteretes/cognee)](https://github.com/topoteretes/cognee/tags/)
181
182
  [![Downloads](https://static.pepy.tech/badge/cognee)](https://pepy.tech/project/cognee)
182
183
  [![License](https://img.shields.io/github/license/topoteretes/cognee?colorA=00C586&colorB=000000)](https://github.com/topoteretes/cognee/blob/main/LICENSE)
183
184
  [![Contributors](https://img.shields.io/github/contributors/topoteretes/cognee?colorA=00C586&colorB=000000)](https://github.com/topoteretes/cognee/graphs/contributors)
@@ -193,7 +194,11 @@ Description-Content-Type: text/markdown
193
194
  </a>
194
195
  </p>
195
196
 
196
- Use your data to build personalized and dynamic memory for AI Agents. Cognee lets you replace RAG with scalable and modular ECL (Extract, Cognify, Load) pipelines.
197
+
198
+
199
+
200
+
201
+ Build dynamic memory for Agents and replace RAG using scalable, modular ECL (Extract, Cognify, Load) pipelines.
197
202
 
198
203
  <p align="center">
199
204
  🌐 Available Languages
@@ -201,7 +206,7 @@ Use your data to build personalized and dynamic memory for AI Agents. Cognee let
201
206
  <!-- Keep these links. Translations will automatically update with the README. -->
202
207
  <a href="https://www.readme-i18n.com/topoteretes/cognee?lang=de">Deutsch</a> |
203
208
  <a href="https://www.readme-i18n.com/topoteretes/cognee?lang=es">Español</a> |
204
- <a href="https://www.readme-i18n.com/topoteretes/cognee?lang=fr">Français</a> |
209
+ <a href="https://www.readme-i18n.com/topoteretes/cognee?lang=fr">français</a> |
205
210
  <a href="https://www.readme-i18n.com/topoteretes/cognee?lang=ja">日本語</a> |
206
211
  <a href="https://www.readme-i18n.com/topoteretes/cognee?lang=ko">한국어</a> |
207
212
  <a href="https://www.readme-i18n.com/topoteretes/cognee?lang=pt">Português</a> |
@@ -215,65 +220,69 @@ Use your data to build personalized and dynamic memory for AI Agents. Cognee let
215
220
  </div>
216
221
  </div>
217
222
 
218
- ## About Cognee
219
223
 
220
- Cognee is an open-source tool and platform that transforms your raw data into persistent and dynamic AI memory for Agents. It combines vector search with graph databases to make your documents both searchable by meaning and connected by relationships.
221
224
 
222
- You can use Cognee in two ways:
225
+ ## Get Started
226
+
227
+ Get started quickly with a Google Colab <a href="https://colab.research.google.com/drive/12Vi9zID-M3fpKpKiaqDBvkk98ElkRPWy?usp=sharing">notebook</a> , <a href="https://deepnote.com/workspace/cognee-382213d0-0444-4c89-8265-13770e333c02/project/cognee-demo-78ffacb9-5832-4611-bb1a-560386068b30/notebook/Notebook-1-75b24cda566d4c24ab348f7150792601?utm_source=share-modal&utm_medium=product-shared-content&utm_campaign=notebook&utm_content=78ffacb9-5832-4611-bb1a-560386068b30">Deepnote notebook</a> or <a href="https://github.com/topoteretes/cognee/tree/main/cognee-starter-kit">starter repo</a>
228
+
223
229
 
224
- 1. [Self-host Cognee Open Source](https://docs.cognee.ai/getting-started/installation), which stores all data locally by default.
225
- 2. [Connect to Cognee Cloud](https://platform.cognee.ai/), and get the same OSS stack on managed infrastructure for easier development and productionization.
230
+ ## About cognee
226
231
 
227
- ### Cognee Open Source (self-hosted):
232
+ cognee works locally and stores your data on your device.
233
+ Our hosted solution is just our deployment of OSS cognee on Modal, with the goal of making development and productionization easier.
228
234
 
229
- - Interconnects any type of data — including past conversations, files, images, and audio transcriptions
230
- - Replaces traditional RAG systems with a unified memory layer built on graphs and vectors
231
- - Reduces developer effort and infrastructure cost while improving quality and precision
232
- - Provides Pythonic data pipelines for ingestion from 30+ data sources
233
- - Offers high customizability through user-defined tasks, modular pipelines, and built-in search endpoints
235
+ Self-hosted package:
234
236
 
235
- ### Cognee Cloud (managed):
236
- - Hosted web UI dashboard
237
- - Automatic version updates
238
- - Resource usage analytics
239
- - GDPR compliant, enterprise-grade security
237
+ - Interconnects any kind of documents: past conversations, files, images, and audio transcriptions
238
+ - Replaces RAG systems with a memory layer based on graphs and vectors
239
+ - Reduces developer effort and cost, while increasing quality and precision
240
+ - Provides Pythonic data pipelines that manage data ingestion from 30+ data sources
241
+ - Is highly customizable with custom tasks, pipelines, and a set of built-in search endpoints
240
242
 
241
- ## Basic Usage & Feature Guide
243
+ Hosted platform:
244
+ - Includes a managed UI and a [hosted solution](https://www.cognee.ai)
242
245
 
243
- To learn more, [check out this short, end-to-end Colab walkthrough](https://colab.research.google.com/drive/12Vi9zID-M3fpKpKiaqDBvkk98ElkRPWy?usp=sharing) of Cognee's core features.
244
246
 
245
- [![Open In Colab](https://colab.research.google.com/assets/colab-badge.svg)](https://colab.research.google.com/drive/12Vi9zID-M3fpKpKiaqDBvkk98ElkRPWy?usp=sharing)
246
247
 
247
- ## Quickstart
248
+ ## Self-Hosted (Open Source)
248
249
 
249
- Let’s try Cognee in just a few lines of code. For detailed setup and configuration, see the [Cognee Docs](https://docs.cognee.ai/getting-started/installation#environment-configuration).
250
250
 
251
- ### Prerequisites
251
+ ### 📦 Installation
252
252
 
253
- - Python 3.10 to 3.13
253
+ You can install Cognee using either **pip**, **poetry**, **uv** or any other python package manager..
254
254
 
255
- ### Step 1: Install Cognee
255
+ Cognee supports Python 3.10 to 3.12
256
256
 
257
- You can install Cognee with **pip**, **poetry**, **uv**, or your preferred Python package manager.
257
+ #### With uv
258
258
 
259
259
  ```bash
260
260
  uv pip install cognee
261
261
  ```
262
262
 
263
- ### Step 2: Configure the LLM
264
- ```python
263
+ Detailed instructions can be found in our [docs](https://docs.cognee.ai/getting-started/installation#environment-configuration)
264
+
265
+ ### 💻 Basic Usage
266
+
267
+ #### Setup
268
+
269
+ ```
265
270
  import os
266
271
  os.environ["LLM_API_KEY"] = "YOUR OPENAI_API_KEY"
272
+
267
273
  ```
268
- Alternatively, create a `.env` file using our [template](https://github.com/topoteretes/cognee/blob/main/.env.template).
269
274
 
270
- To integrate other LLM providers, see our [LLM Provider Documentation](https://docs.cognee.ai/setup-configuration/llm-providers).
275
+ You can also set the variables by creating .env file, using our <a href="https://github.com/topoteretes/cognee/blob/main/.env.template">template.</a>
276
+ To use different LLM providers, for more info check out our <a href="https://docs.cognee.ai/setup-configuration/llm-providers">documentation</a>
277
+
278
+
279
+ #### Simple example
271
280
 
272
- ### Step 3: Run the Pipeline
273
281
 
274
- Cognee will take your documents, generate a knowledge graph from them and then query the graph based on combined relationships.
275
282
 
276
- Now, run a minimal pipeline:
283
+ ##### Python
284
+
285
+ This script will run the default pipeline:
277
286
 
278
287
  ```python
279
288
  import cognee
@@ -291,7 +300,7 @@ async def main():
291
300
  await cognee.memify()
292
301
 
293
302
  # Query the knowledge graph
294
- results = await cognee.search("What does Cognee do?")
303
+ results = await cognee.search("What does cognee do?")
295
304
 
296
305
  # Display the results
297
306
  for result in results:
@@ -302,61 +311,69 @@ if __name__ == '__main__':
302
311
  asyncio.run(main())
303
312
 
304
313
  ```
305
-
306
- As you can see, the output is generated from the document we previously stored in Cognee:
307
-
308
- ```bash
309
- Cognee turns documents into AI memory.
314
+ Example output:
310
315
  ```
316
+ Cognee turns documents into AI memory.
311
317
 
312
- ### Use the Cognee CLI
318
+ ```
319
+ ##### Via CLI
313
320
 
314
- As an alternative, you can get started with these essential commands:
321
+ Let's get the basics covered
315
322
 
316
- ```bash
323
+ ```
317
324
  cognee-cli add "Cognee turns documents into AI memory."
318
325
 
319
326
  cognee-cli cognify
320
327
 
321
- cognee-cli search "What does Cognee do?"
328
+ cognee-cli search "What does cognee do?"
322
329
  cognee-cli delete --all
323
330
 
324
331
  ```
325
-
326
- To open the local UI, run:
327
- ```bash
332
+ or run
333
+ ```
328
334
  cognee-cli -ui
329
335
  ```
330
336
 
331
- ## Demos & Examples
332
337
 
333
- See Cognee in action:
338
+ </div>
339
+
340
+
341
+ ### Hosted Platform
342
+
343
+ Get up and running in minutes with automatic updates, analytics, and enterprise security.
344
+
345
+ 1. Sign up on [cogwit](https://www.cognee.ai)
346
+ 2. Add your API key to local UI and sync your data to Cogwit
347
+
348
+
349
+
350
+
351
+ ## Demos
334
352
 
335
- ### Persistent Agent Memory
353
+ 1. Cogwit Beta demo:
336
354
 
337
- [Cognee Memory for LangGraph Agents](https://github.com/user-attachments/assets/e113b628-7212-4a2b-b288-0be39a93a1c3)
355
+ [Cogwit Beta](https://github.com/user-attachments/assets/fa520cd2-2913-4246-a444-902ea5242cb0)
338
356
 
339
- ### Simple GraphRAG
357
+ 2. Simple GraphRAG demo
340
358
 
341
- [Watch Demo](https://github.com/user-attachments/assets/f2186b2e-305a-42b0-9c2d-9f4473f15df8)
359
+ [Simple GraphRAG demo](https://github.com/user-attachments/assets/d80b0776-4eb9-4b8e-aa22-3691e2d44b8f)
342
360
 
343
- ### Cognee with Ollama
361
+ 3. cognee with Ollama
344
362
 
345
- [Watch Demo](https://github.com/user-attachments/assets/39672858-f774-4136-b957-1e2de67b8981)
363
+ [cognee with local models](https://github.com/user-attachments/assets/8621d3e8-ecb8-4860-afb2-5594f2ee17db)
346
364
 
347
365
 
348
- ## Community & Support
366
+ ## Contributing
367
+ Your contributions are at the core of making this a true open source project. Any contributions you make are **greatly appreciated**. See [`CONTRIBUTING.md`](CONTRIBUTING.md) for more information.
349
368
 
350
- ### Contributing
351
- We welcome contributions from the community! Your input helps make Cognee better for everyone. See [`CONTRIBUTING.md`](CONTRIBUTING.md) to get started.
352
369
 
353
- ### Code of Conduct
370
+ ## Code of Conduct
354
371
 
355
- We're committed to fostering an inclusive and respectful community. Read our [Code of Conduct](https://github.com/topoteretes/cognee/blob/main/CODE_OF_CONDUCT.md) for guidelines.
372
+ We are committed to making open source an enjoyable and respectful experience for our community. See <a href="https://github.com/topoteretes/cognee/blob/main/CODE_OF_CONDUCT.md"><code>CODE_OF_CONDUCT</code></a> for more information.
356
373
 
357
- ## Research & Citation
374
+ ## Citation
358
375
 
359
- We recently published a research paper on optimizing knowledge graphs for LLM reasoning:
376
+ We now have a paper you can cite:
360
377
 
361
378
  ```bibtex
362
379
  @misc{markovic2025optimizinginterfaceknowledgegraphs,