File tree Expand file tree Collapse file tree 1 file changed +10
-3
lines changed
articles/ai-services/openai/how-to Expand file tree Collapse file tree 1 file changed +10
-3
lines changed Original file line number Diff line number Diff line change @@ -315,6 +315,13 @@ pip install --upgrade openai
315
315
316
316
# [ Python (Microsoft Entra ID)] ( #tab/python-secure )
317
317
318
+ Additional parameters:
319
+
320
+ * ` metadata ` : Filter by the key/value pair in the stored completions
321
+ * ` after ` : Identifier for the last stored completion message from the previous pagination request.
322
+ * ` limit ` : Number of stored completions messages to retrieve.
323
+ * ` order ` : Order of the results by index (ascending or descending).
324
+
318
325
``` python
319
326
from openai import AzureOpenAI
320
327
from azure.identity import DefaultAzureCredential, get_bearer_token_provider
@@ -534,9 +541,9 @@ curl https://YOUR-RESOURCE-NAME.openai.azure.com/openai/chat/completions/chatcmp
534
541
535
542
Additional parameters:
536
543
537
- ` after ` : Identifier for the last stored completion message from the previous pagination request.
538
- ` limit ` : Number of stored completions messages to retrieve.
539
- ` order ` : Order of the results by index (ascending or descending).
544
+ * ` after ` : Identifier for the last stored completion message from the previous pagination request.
545
+ * ` limit ` : Number of stored completions messages to retrieve.
546
+ * ` order ` : Order of the results by index (ascending or descending).
540
547
541
548
# [ Python (Microsoft Entra ID)] ( #tab/python-secure )
542
549
You can’t perform that action at this time.
0 commit comments