Documentation IndexFetch the complete documentation index at: /llms.txtUse this file to discover all available pages before exploring further.
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
针对 AI Sonar 模型运行 Promptfoo 评估
export API_KEY="sk-your-api-key"
description: AI Sonar provider example prompts: - 'Answer in one concise paragraph: {{question}}' providers: - id: openai:chat:gpt-5.4-mini label: aisonar-chat-gpt-5.4-mini config: apiBaseUrl: https://api.aisonar.dev/v1 apiKey: '{{env.API_KEY}}' - id: openai:responses:gpt-5.5 label: aisonar-responses-gpt-5.5 config: apiBaseUrl: https://api.aisonar.dev/v1 apiKey: '{{env.API_KEY}}' tests: - vars: question: What are two practical ways to evaluate an LLM gateway? assert: - type: contains-any value: - latency - reliability - cost - quality
promptfoo eval