Add embedding field to Entity dataclass
This commit is contained in:
@@ -32,6 +32,7 @@ class Entity:
|
||||
definition: str = ""
|
||||
canonical_name: str = ""
|
||||
aliases: List[str] = None
|
||||
embedding: str = "" # Phase 3: 实体嵌入向量
|
||||
attributes: Dict = None # Phase 5: 实体属性
|
||||
|
||||
def __post_init__(self):
|
||||
|
||||
Reference in New Issue
Block a user