perf(workflow): optimize default value of rerank_id configuration
This commit is contained in:
@@ -44,8 +44,8 @@ class KnowledgeRetrievalNodeConfig(BaseNodeConfig):
|
|||||||
description="Knowledge base config"
|
description="Knowledge base config"
|
||||||
)
|
)
|
||||||
|
|
||||||
reranker_id: UUID = Field(
|
reranker_id: UUID | None = Field(
|
||||||
default="",
|
default=None,
|
||||||
description="Reranker top k"
|
description="Reranker top k"
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user