Create custom provider configurations with specific request type restrictions, custom naming, and controlled access patterns.
custom_provider_config
field, which extends the standard provider configuration. The main purpose is to create multiple instances of the same base provider, each with different request type restrictions.
Important: The allowed_requests
field follows a specific behavior:
false
{}
): All fields are set to falseallowed_requests
is not specified: All operations are allowed by defaultallowed_requests
is specified: Only the fields set to true
are allowed, all others default to false
text_completion
: Legacy text completion requestschat_completion
: Standard chat completion requestschat_completion_stream
: Streaming chat responsesembedding
: Text embedding generationspeech
: Text-to-speech conversionspeech_stream
: Streaming text-to-speechtranscription
: Speech-to-text conversiontranscription_stream
: Streaming speech-to-textopenai
- OpenAI APIanthropic
- Anthropic Claudebedrock
- AWS bedrockcohere
- Cohere