本地文档、图像、音频或文本可能被发送到 Azure 服务
原文依据:4 处参考模式会把本地文档编码进分析请求、把图像字节交给图像分析客户端,或把音频文件发送到转写流。这些操作意味着内容会离开本地环境,由配置的 Azure 端点处理。
如果输入含合同、身份证件、会议录音、客户数据或其他机密信息,内容可能受到 Azure 资源所在区域、租户权限、服务日志及保留策略的约束,并可能产生使用费用。
这些是 SDK 参考用法,不会仅因安装 Skill 自动执行;但当用户采用这些模式并调用配置的 Azure 端点时,本地文档、图像字节或音频会被提交给 Azure 处理,可能涉及敏感内容外传。使用前可要求作者明确上传提示、目标端点、数据保留政策,并限制可读取的文件。
- Must use `getLongRunningPoller(client, initialResponse)` then `poller.pollUntilDone()`- Local file: send as `base64Source` in body, not as binary stream- Pagination: `import { paginate } from "@azure-rest/ai-document-intelligence"`查看另外 3 个位置
## Non-Obvious Patterns- `analyze_from_url(image_url=..., visual_features=[...])` for URL; `analyze(image_data=bytes)` for file- VisualFeatures enum: `CAPTION`, `DENSE_CAPTIONS`, `TAGS`, `OBJECTS`, `READ`, `PEOPLE`, `SMART_CROPS`- Batch: `client.begin_transcription(name=..., locale="en-US", content_urls=[...], diarization_enabled=True)`- Real-time: `stream = client.begin_stream_transcription(locale="en-US"); stream.send_audio_file("audio.wav")`- Document translation: separate package `@azure-rest/ai-translation-document`- Batch docs require SAS URLs for source/target blob containers