qwen_agent/promptfoo/conversation/tests.yaml
2025-12-04 23:17:55 +08:00

26 lines
682 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