Skip to content

Commit 3345f3f

Browse files
Merge pull request #275951 from dlepow/patch-284
[APIM] Update azure-openai-token-limit-policy.md
2 parents 5b9369f + 9eceb6d commit 3345f3f

File tree

1 file changed

+3
-5
lines changed

1 file changed

+3
-5
lines changed

articles/api-management/azure-openai-token-limit-policy.md

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -46,8 +46,7 @@ For more information, see [Azure OpenAI Service models](../ai-services/openai/co
4646
remaining-tokens-header-name="header name"
4747
remaining-tokens-variable-name="policy expression variable name"
4848
consumed-tokens-header-name="header name"
49-
consumed-tokens-variable-name="policy expression variable name">
50-
</azure-openai-token-limit>
49+
consumed-tokens-variable-name="policy expression variable name" />
5150
```
5251
## Attributes
5352

@@ -82,10 +81,9 @@ In the following example, the token limit of 5000 per minute is keyed by the cal
8281
<policies>
8382
<inbound>
8483
<base />
85-
<azure-openai-token-limit>
84+
<azure-openai-token-limit
8685
counter-key="@(context.Request.IpAddress)"
87-
tokens-per-minute="5000" estimate-prompt-tokens="false" "remaining-tokens-variable-name="remainingTokens"
88-
</azure-openai-token-limit>
86+
tokens-per-minute="5000" estimate-prompt-tokens="false" "remaining-tokens-variable-name="remainingTokens" />
8987
</inbound>
9088
<outbound>
9189
<base />

0 commit comments

Comments
 (0)