10 lines
228 B
Python
10 lines
228 B
Python
|
|
from pydantic import BaseModel
|
||
|
|
|
||
|
|
|
||
|
|
class KnowledgeSearchResponse(BaseModel):
|
||
|
|
"""知识检索响应:返回评分参考指南片段和来源。"""
|
||
|
|
|
||
|
|
matched_chunks: list[dict]
|
||
|
|
source_refs: list[dict]
|
||
|
|
no_match: bool
|