Spaces:
Running
on
Zero
Running
on
Zero
| # API Test Suite Configuration | |
| # Copy this file to api_test_config.yaml and fill in your API keys | |
| # OpenAI Configuration | |
| openai: | |
| api_key: "sk-your-openai-api-key-here" | |
| base_url: "https://api.openai.com/v1" | |
| timeout: 30 | |
| rate_limit: 100 | |
| # Google ML Configuration | |
| google: | |
| api_key: "your-google-api-key-here" | |
| base_url: "https://generativelanguage.googleapis.com/v1" | |
| timeout: 30 | |
| rate_limit: 100 | |
| # ElevenLabs Configuration | |
| elevenlabs: | |
| api_key: "your-elevenlabs-api-key-here" | |
| base_url: "https://api.elevenlabs.io/v1" | |
| timeout: 60 | |
| rate_limit: 100 | |
| # Modal Configuration | |
| modal: | |
| api_key: "your-modal-api-key-here" | |
| base_url: "https://modal.com/api" | |
| timeout: 30 | |
| rate_limit: 100 | |
| # Test Configuration | |
| test_config: | |
| # Minimum success rate to consider tests passing (percentage) | |
| success_rate_threshold: 80 | |
| # Timeout for individual requests (seconds) | |
| request_timeout: 30 | |
| # Maximum retries for failed requests | |
| max_retries: 3 | |
| # Test data | |
| test_prompts: | |
| - "Explain the benefits of artificial intelligence in simple terms." | |
| - "What are the key advantages of cloud computing?" | |
| - "How can machine learning improve business operations?" | |
| test_text_samples: | |
| - "Hello, this is a test of the text to speech system." | |
| - "Welcome to our AI-powered platform." | |
| - "Thank you for testing our voice synthesis technology." | |
| # Performance thresholds (in milliseconds) | |
| performance_thresholds: | |
| openai_text_generation: 5000 | |
| google_text_generation: 5000 | |
| elevenlabs_tts: 10000 | |
| modal_execution: 30000 |