mirror of
https://github.com/csunny/DB-GPT.git
synced 2025-09-08 12:30:14 +00:00
change KnowledgeQueryResponse (#1202)
Co-authored-by: Fangyin Cheng <staneyffer@gmail.com>
This commit is contained in:
@@ -110,16 +110,6 @@ class ChunkQueryRequest(BaseModel):
|
||||
page_size: int = 20
|
||||
|
||||
|
||||
class KnowledgeQueryResponse:
|
||||
"""source: knowledge reference source"""
|
||||
|
||||
source: str
|
||||
"""score: knowledge vector query similarity score"""
|
||||
score: float = 0.0
|
||||
"""text: raw text info"""
|
||||
text: str
|
||||
|
||||
|
||||
class SpaceArgumentRequest(BaseModel):
|
||||
"""argument: argument"""
|
||||
|
||||
|
Reference in New Issue
Block a user