qwen_agent/promptfoo/conversation/tests.yaml
2025-12-08 19:13:36 +08:00

41 lines
1020 B
YAML
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

- vars:
question: 清水太郎在哪里
assert:
- type: regex
value: \[TOOL_CALL\].*find_employee_location
- vars:
question: 通知他明天上午8点开会
assert:
- type: llm-rubric
value: 询问是否确认发送
- vars:
question: 确认
assert:
- type: regex
value: \[TOOL_CALL\].*wowtalk_send_message_to_member
- vars:
question: 把DefineRoom 4的灯光状态发给他
assert:
- type: llm-rubric
value: 调用find_devices_by_room和dxcore_get_device_status获取灯光状态并询问是否确认发送。
- vars:
question: 确认
assert:
- type: regex
value: \[TOOL_CALL\].*wowtalk_send_message_to_member
- vars:
question: 900142の稼働状況
assert:
- type: regex
value: \[TOOL_CALL\].*dxcore_get_device_status
- vars:
question: 关闭设备900142的灯光
assert:
- type: llm-rubric
value: 询问是否确认关闭
- vars:
question: 确认
assert:
- type: regex
value: \[TOOL_CALL\].*dxcore_update_device_status