13 lines
481 B
Markdown
13 lines
481 B
Markdown
|
|
# Schemas 模块
|
|||
|
|
|
|||
|
|
## 作用
|
|||
|
|
|
|||
|
|
定义 API 与工作流的数据模型,统一请求与响应结构。
|
|||
|
|
|
|||
|
|
## 文件
|
|||
|
|
|
|||
|
|
- `agent_input.py` / `agent_output.py`:Agent 入参与出参模型
|
|||
|
|
- `tool_input.py` / `tool_output.py`:工具调用模型
|
|||
|
|
- `chat_message_request.py` / `chat_message_response.py`:聊天接口模型,其中 `ChatMessageRequestDTO` 对齐前端 `query / inputs / response_mode / user / conversation_id / files` DTO
|
|||
|
|
- `stream_input.py`:流式接口输入模型
|