author | ms.service | ms.custom | ms.topic | ms.date | ms.author | |
---|---|---|---|---|---|---|
dlepow | azure-api-management |
| include | 05/09/2024 | danlep |
<policies> <inbound> <base /> <azure-openai-semantic-cache-lookupscore-threshold="0.05" embeddings-backend-id ="azure-openai-backend" embeddings-backend-auth ="system-assigned" > <vary-by>@(context.Subscription.Id)</vary-by> </azure-openai-semantic-cache-lookup> </inbound> <outbound> <azure-openai-semantic-cache-storeduration="60" /> <base /> </outbound> </policies>