Azure / Azure/azure-sdk-for-python

Invalid Input in sample_chat_completions_with_audio_data.py

Open
#39,900 1 comment 1 reaction 1 assignee Assigned to @trangevi View on GitHub
AI Model Inference Client customer-reported needs-team-attention question Service Attention
Dominant language
Python
Stars
5.6k
Forks
3.4k
Avg merge
1d 21h
Merged PRs (30d)
193

Description

- **Package Name**: azure-ai-inference
- **Package Version**: 1.0.0b9
- **Operating System**: Windows 10
- **Python Version**: Python 3.10.12

**Describe the bug**
azure-ai-inference/samples/sample_chat_completions_with_audio_data.py

```azure.core.exceptions.HttpResponseError: (Invalid input) invalid input error
Code: Invalid input
Message: invalid input error```

**To Reproduce**
Steps to reproduce the behavior:
1. Set up environment variable as in sample_chat_completions_with_audio_data.py
2. Run sample_chat_completions_with_audio_data.py

**Expected behavior**
no error and normal text response from the model

**Screenshots**
If applicable, add screenshots to help explain your problem.

**Additional context**
Model being tested is Phi-4-multimodal on Azure Serverless

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.