@lobehub/chat
Version:
Lobe Chat - an open-source, high-performance chatbot framework that supports speech synthesis, multimodal, and extensible Function Call plugin system. Supports one-click free deployment of your private ChatGPT/LLM web application.
37 lines (30 loc) • 874 B
YAML
description: LobeHub Prompts Testing Suite
# Test configurations - run all prompt tests
testPaths:
- promptfoo/translate/eval.yaml
- promptfoo/summary-title/eval.yaml
- promptfoo/language-detection/eval.yaml
- promptfoo/emoji-picker/eval.yaml
- promptfoo/knowledge-qa/eval.yaml
- promptfoo/abstract-chunk/eval.yaml
# Output configuration
outputPath: promptfoo-results.json
# Default test settings
defaultTest:
assert:
- type: llm-rubric
provider: openai:gpt-5-mini
value: "The response should be relevant and well-formatted"
- type: cost
threshold: 0.01 # Maximum cost per test in USD
# Environment variables for API keys
env:
OPENAI_API_KEY: ${OPENAI_API_KEY}
ANTHROPIC_API_KEY: ${ANTHROPIC_API_KEY}
# Evaluation settings
evaluateOptions:
maxConcurrency: 5
delay: 100
# TypeScript support
transforms:
- "typescript"