feat: MilvusSearchNode
This commit is contained in:
@@ -20,6 +20,7 @@ class KnowledgeQueryParam(BaseModel):
|
||||
|
||||
|
||||
class MilvusSearchNode(BaseModel):
|
||||
id: str = Field(..., description="文档id")
|
||||
text: str = Field(..., description="文档内容")
|
||||
metadata: dict = Field(..., description="文档元信息")
|
||||
score: float = Field(..., description="相似度分数")
|
||||
|
||||
Reference in New Issue
Block a user