mirror of
http://112.124.100.131/huang.ze/ebiz-dify-ai.git
synced 2025-12-11 03:46:52 +08:00
fix retrieval resource positon missed (#9155)
Co-authored-by: Bowen Liang <liangbowen@gf.com.cn>
This commit is contained in:
@@ -1,3 +1,5 @@
|
||||
from typing import Optional
|
||||
|
||||
from pydantic import BaseModel
|
||||
|
||||
|
||||
@@ -7,4 +9,4 @@ class DocumentContext(BaseModel):
|
||||
"""
|
||||
|
||||
content: str
|
||||
score: float
|
||||
score: Optional[float] = None
|
||||
|
||||
Reference in New Issue
Block a user