cognee/cognee
alekszievr 5119992fd8
feat: Add graph metrics getter in graph db interface and adapters [COG-1082] (#483)
Dummy implementation of graph metrics to demonstrate how the interface
will look like

<!-- .github/pull_request_template.md -->

## Description
<!-- Provide a clear description of the changes in this PR -->

## DCO Affirmation
I affirm that all code in every commit of this pull request conforms to
the terms of the Topoteretes Developer Certificate of Origin


<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->
## Summary by CodeRabbit

- **New Features**
- Introduced asynchronous functionality for retrieving comprehensive
graph metrics, including counts and connectivity details, across
different systems.
  
- **Refactor**
- Streamlined metrics processing and storage by shifting to direct
retrieval from the graph engine.
- Updated naming conventions for the `GraphMetrics` database table and
reorganized module imports to enhance internal consistency.
  
- **Chores**
- Removed dataset deletion functionalities while introducing the ability
to store descriptive metrics.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->

---------

Co-authored-by: Igor Ilic <30923996+dexters1@users.noreply.github.com>
2025-02-03 15:25:04 +01:00
..
api feat: Add graph metrics getter in graph db interface and adapters [COG-1082] (#483) 2025-02-03 15:25:04 +01:00
exceptions ruff format 2025-01-05 19:09:08 +01:00
infrastructure feat: Add graph metrics getter in graph db interface and adapters [COG-1082] (#483) 2025-02-03 15:25:04 +01:00
modules feat: Add graph metrics getter in graph db interface and adapters [COG-1082] (#483) 2025-02-03 15:25:04 +01:00
shared fix: Initial commit to resolve issue with using tokenizer based on LLMs 2025-01-21 19:53:22 +01:00
tasks feat: Add graph metrics getter in graph db interface and adapters [COG-1082] (#483) 2025-02-03 15:25:04 +01:00
tests feat: implement unit tests and extensive checks around the get_graph_from_model [COG-754] (#491) 2025-01-31 18:17:23 +01:00
__init__.py Add data visualization for Anthropic 2025-01-14 09:57:53 +01:00
base_config.py Update base_config.py 2025-01-16 13:19:43 +01:00
fetch_secret.py ruff format 2025-01-05 19:09:08 +01:00
pipelines.py
root_dir.py ruff format 2025-01-05 19:09:08 +01:00