-
Notifications
You must be signed in to change notification settings - Fork 359
Update responses.md #527
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Update responses.md #527
Conversation
Added REST API and Output call to delete response
@microsoft-github-policy-service agree |
@2slow4u : Thanks for your contribution! The author(s) and reviewer(s) have been notified to review your proposed change. |
Learn Build status updates of commit 4eb8e7a:
|
File | Status | Preview URL | Details |
---|---|---|---|
articles/ai-foundry/openai/how-to/responses.md | Details |
articles/ai-foundry/openai/how-to/responses.md
- Line 334, Column 1: [Warning: invalid-tab-group - See documentation]
Tab group with different tab id set.
For more details, please refer to the build report.
Note: Your PR may contain errors or warnings or suggestions unrelated to the files you changed. This happens when external dependencies like GitHub alias, Microsoft alias, cross repo links are updated. Please use these instructions to resolve them.
Can you review the proposed changes? Note that the validation warning needs to be resolved. The commits also need to be pulled into the private repo so that the new tab can be reviewed on staging. Let us know if you'd like the PR review team's help to move the commits. #label:"aq-pr-triaged" |
@mrbullwinkle Could you review this proposed update to your article and enter Note that the validation warning needs to be resolved. The commits also need to be pulled into the private repo so that the new tab can be reviewed on staging. Let us know if you'd like the PR review team's help to move the commits. Thanks! |
This pull request has been inactive for at least 14 days. If you are finished with your changes, don't forget to sign off. See the contributor guide for instructions. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull Request Overview
This PR enhances documentation for the delete response functionality by adding REST API examples and expected output format. The changes provide developers with comprehensive examples of how to delete responses using different approaches.
- Added REST API tab with curl example for deleting responses
- Added Output tab showing the JSON response format when a response is successfully deleted
- Added missing Python tab header for better documentation organization
Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.
|
||
```bash | ||
curl -X DELETE https://YOUR-RESOURCE-NAME.openai.azure.com/openai/v1/responses/{response_id}?api-version=preview \ | ||
-H "Content-Type: application/json" \ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The Content-Type header is unnecessary for DELETE requests that don't send a request body. Consider removing this header to follow REST API best practices.
-H "Content-Type: application/json" \ |
Copilot uses AI. Check for mistakes.
Can you review this old PR and determine whether it needs to be closed or merged? @MicrosoftDocs/public-repo-pr-review-team |
Added REST API and Output call to delete response