ImportError: cannot import name 'AgentSessionConfig' from 'azure.ai.voicelive.aio'
questionService AttentionClientcustomer-reportedneeds-team-attentionVoice Live
**Is your feature request related to a problem? Please describe.**
I run the sample python voice-live-with-agent-v2.py but experience the following error:
Traceback (most recent call last):
File "C:\temp\Projects\azure-ai-foundry\voicelive-samples\python\voice-live-quickstarts\AgentsNewQuickstart\voice-live-with-agent-v2.py", line 17, in < module > from azure.ai.voicelive.aio import connect, AgentSessionConfig
ImportError: cannot import name 'AgentSessionConfig' from 'azure.ai.voicelive.aio' (C:\Users\andyfung\AppData\Local\miniconda3\envs\myenv\lib\site-packages\azure\ai\voicelive\aio\__init__.py)
Demo source: https://github.com/microsoft-foundry/voicelive-samples/blob/main/python/voice-live-quickstarts/AgentsNewQuickstart/voice-live-with-agent-v2.py
**Describe the solution you'd like**
I found "AgentSessionConfig" is missing in Azure SDK for Python, but this is available in other Azure SDKs, such as dotNet and Java. I hope Azure SDK for Python can support the sample for the VoiceLive demo.
关闭于 10 天前 3 条评论