AI Semantic Cache Policy

Set up with Mistral and Redis

Enable AI Semantic Caching with Mistral embeddings API and a Redis vector database.

Prerequisites

Environment variables

  • MISTRAL_API_KEY: Your Mistral API key

  • REDIS_HOST: The host where your Redis instance runs

Set up the policy

Attach the policy

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!