Configure and manage multiple AI providers for maximum flexibility and performance
PromptYap supports multiple AI providers, allowing you to choose the best model for each task. You can switch between providers seamlessly and even use different providers within the same sequence.
GPT-4, GPT-3.5, and other OpenAI models
Claude 3, Claude 2, and other Anthropic models
Gemini Pro, Gemini Ultra, and other Google models
Grok and other XAI models
Lambda AI models and custom endpoints
Setting up AI providers in PromptYap requires API keys from each provider you want to use. Here's the general process:
Sign up with each AI provider and generate API keys
Add API keys to your environment variables
Verify each provider is working correctly
Select models when creating prompts and sequences
OPENAI_API_KEY=sk-your-openai-api-key-here
ANTHROPIC_API_KEY=your-anthropic-api-key-here
GOOGLE_API_KEY=your-google-api-key-here
XAI_API_KEY=your-xai-api-key-here
LAMBDA_API_KEY=your-lambda-api-key-here
Lambda supports custom model endpoints and specialized AI models.
After configuring your API keys, test each provider to ensure they're working correctly:
PromptYap includes debug endpoints to test each provider:
/api/debug/models - List all available models
/api/debug/openai-test - Test OpenAI connection
/api/debug/anthropic-test - Test Anthropic connection
/api/debug/google-test - Test Google connection
/api/debug/xai-test - Test XAI connection
Create a simple prompt and test it with each provider:
Write a haiku about artificial intelligence.
Ensure all configured providers appear in the model dropdown when creating prompts.