* feat: add falkordb adapter --------- Co-authored-by: hajdul88 <52442977+hajdul88@users.noreply.github.com>
12 lines
335 B
Python
12 lines
335 B
Python
from cognee.infrastructure.engine import DataPoint
|
|
from cognee.modules.chunking.models.DocumentChunk import DocumentChunk
|
|
from .EntityType import EntityType
|
|
|
|
class Entity(DataPoint):
|
|
name: str
|
|
is_a: EntityType
|
|
description: str
|
|
mentioned_in: DocumentChunk
|
|
_metadata: dict = {
|
|
"index_fields": ["name"],
|
|
}
|