[ContentUnderstanding] Align audio content range samples with video scenarios#45792
Merged
changjian-wang merged 2 commits intochangjian-wang/add-contentrange-samples-doc-audio-videofrom Mar 19, 2026
Conversation
…5000, 10000-, 1200-3651, 0-3000,30000- Co-authored-by: changjian-wang <15209050+changjian-wang@users.noreply.github.com>
Copilot
AI
changed the title
[WIP] [ContentUnderstanding] Add ContentRange samples for document, video, and audio
[ContentUnderstanding] Align audio content range samples with video scenarios
Mar 19, 2026
changjian-wang
approved these changes
Mar 19, 2026
e61e278
into
changjian-wang/add-contentrange-samples-doc-audio-video
6 checks passed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Audio content range samples used different scenarios (
"5000-","2000-8000") than the video samples. Updated to use the same 4 canonical patterns across both modalities for consistency with .NET/Java SDK samples.Changes
sample_analyze_url.py/sample_analyze_url_async.py— Replaced audio content range examples with:"0-5000"— first 5 seconds"10000-"— from 10 seconds onward"1200-3651"— sub-second precision"0-3000,30000-"— combined time rangestest_sample_analyze_url.py— Updatedtest_sample_analyze_audio_url_with_content_rangesto validate all 4 scenarios with boundary assertions matching the video test structure💡 You can make Copilot smarter by setting up custom instructions, customizing its development environment and configuring Model Context Protocol (MCP) servers. Learn more Copilot coding agent tips in the docs.