Azure OpenAI Response API logs with store enabled are not visible in Stored Completion in AI Foundry #139
-
|
I’m using the Azure OpenAI Response API with store: true, but the logs are not showing up under Stored Completions in AI Foundry |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
|
Key Requirements for Stored Completions to Show Up 1. API Version Compatibility
2. API Type
3. Deployment Type
4. Required Parameters store: true,
metadata: {
"user": "your-identifier",
"category": "your-tag"
}The 5. Model Deployment Name
Debugging Tips
Here's a minimal working example to validate that Sample Request: Azure OpenAI Completion with POST https://{your-resource-name}.openai.azure.com/openai/deployments/{deployment-id}/completions?api-version=2024-02-15-preview
Content-Type: application/json
api-key: {your-api-key}
{
"prompt": "Translate the following to Hausa: 'Welcome to our platform.'",
"max_tokens": 50,
"temperature": 0.7,
"top_p": 1.0,
"frequency_penalty": 0.0,
"presence_penalty": 0.0,
"store": true
}Validation Steps in AI Foundry
Troubleshooting Tips
Helpful Resources |
Beta Was this translation helpful? Give feedback.
-
|
Hi @leestott, understood, thanks! |
Beta Was this translation helpful? Give feedback.
Key Requirements for Stored Completions to Show Up
1. API Version Compatibility
2025-02-01-previewor later.2. API Type
/chat/completions) — not the legacy/completionsendpoint.3. Deployment Type
standard,global,datazone, andprovisioned.4. Required Parameters
Make sure your request includes:
The
metadatafield isn’t strictly required, but it helps with traceability and filtering in the Foundry UI.5. Model Deployment Name