cognee/cognee/infrastructure
hajdul88 1b630366c9
Adds types property to pydantic Datapoint inherited classes (#523)
<!-- .github/pull_request_template.md -->

## Description
This PR adds types to DataPoint pydantic class + fixes visualization
colors

## 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**
- Added a `type` field to the `DataPoint` model for clearer data
classification.
- Enhanced color mapping in visualizations by assigning a distinct color
to "TextSummary" nodes.

- **Refactor**
- Improved default settings for version control and ordering to ensure
consistent data behavior.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->
2025-02-11 19:23:19 +01:00
..
data ruff format 2025-01-05 19:09:08 +01:00
databases fix: support structured data conversion to data points (#512) 2025-02-10 17:16:13 +01:00
engine Adds types property to pydantic Datapoint inherited classes (#523) 2025-02-11 19:23:19 +01:00
files ruff format 2025-01-05 19:09:08 +01:00
llm feat: Cognee evaluation framework development (#498) 2025-02-11 16:31:54 +01:00
pipeline/models ruff format 2025-01-05 19:09:08 +01:00
__init__.py fix: enable sdk and fix config 2024-06-03 14:03:24 +02:00