1. 智能客服聊天接口
回复结果:
{{ chatResult }}
2. 创建新会话接口
会话信息:
会话ID: {{ conversationInfo.conversationId }}
创建时间: {{ conversationInfo.createdAt }}
3. 获取会话历史接口
历史记录 ({{ historyData.total }}条):
{{ msg.role }}:
{{ msg.content }}
{{ msg.created_at }}
4. 系统健康检查
健康检查结果:
状态: {{ healthResult.status }}
检查ID: {{ healthResult.checkId }}
时间: {{ healthResult.timestamp }}
通过检查: {{ healthResult.passed_checks }}/{{ healthResult.total_checks }}
组件状态:
{{ key }}: {{ component.status }}
{{ component.message }}
响应时间: {{ component.response_time_ms }}ms
5. 获取服务配置信息
服务配置:
服务名称: {{ serviceInfoResult.serviceInfo?.name }}
服务版本: {{ serviceInfoResult.serviceInfo?.version }}
启用状态: {{ serviceInfoResult.serviceInfo?.enabled ? '已启用' : '未启用' }}
可用功能:
{{ feature }}: {{ enabled ? '✓' : '✗' }}
API端点:
{{ name }}: {{ endpoint }}
6. 清除会话历史
清除结果:
删除消息数: {{ clearResult.deletedMessages }}
删除会话数: {{ clearResult.deletedConversations }}
7. 流式聊天测试
流式回复:
{{ streamResult }}
8. 完整服务检查
9. 服务状态检查(兼容)