qwen_agent/promptfoo/conversation/config.yaml
2025-12-04 21:02:01 +08:00

45 lines
1.1 KiB
YAML

env: {}
description: Novare Test
providers:
- id: openai:chat:qwen3
config:
apiBaseUrl: https://catalog-agent-dev.gbase.ai/api/v2
apiKey: a21c99620a8ef61d69563afe05ccce89
passthrough:
bot_id: 63069654-7750-409d-9a58-a0960d899a20
tool_response: true
language: zh
prompts:
- file://prompt.json
nunjucksFilters:
encode: ./encode.js
tests:
- 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
defaultTest:
options:
provider:
text:
id: openai:chat:qwen/qwen3-next-80b-a3b-instruct
config:
apiKey: sk-hsKClH0Z695EkK5fDdB2Ec2fE13f4fC1B627BdBb8e554b5b-26
apiBaseUrl: https://one.felo.me/v1
apiVersion: '2024-02-01'
evaluateOptions: {}
writeLatestResults: true
sharing: true