AI Proxy Advanced

AI License Required

Health check and circuit breaker

Configure the plugin to circuit-break a target when it’s considered unhealthy.

In this example, after 3 unsuccessful attempts, a target will be considered as unavailable and be circuit-break’ed. It will be reconsidered after 10 seconds. And failover_criteria defines what is considered as an unsuccessful attempt.

Prerequisites

  • An OpenAI account

Environment variables

  • OPENAI_API_KEY: The API key to use to connect to OpenAI.

Set up the plugin

Something wrong?

Help us make these docs great!

Kong Developer docs are open source. If you find these useful and want to make them better, contribute today!