* fix: handle rate limit error coming from llm model * fix: fixes lost edges and nodes in get_graph_from_model * fix: fixes database pruning issue in pgvector (#261) * fix: cognee_demo notebook pipeline is not saving summaries --------- Co-authored-by: hajdul88 <52442977+hajdul88@users.noreply.github.com>
13 lines
291 B
Python
13 lines
291 B
Python
from cognee.infrastructure.engine import DataPoint
|
|
from cognee.modules.engine.models.EntityType import EntityType
|
|
|
|
|
|
class Entity(DataPoint):
|
|
__tablename__ = "entity"
|
|
name: str
|
|
is_a: EntityType
|
|
description: str
|
|
|
|
_metadata: dict = {
|
|
"index_fields": ["name"],
|
|
}
|