Closed gujju62 closed 4 weeks ago
@gujju62 Thanks for the report. In the first error message, I see "Resource not found", thus I wonder if the endpoint or the model deployment name is set correctly for assistant.
Did you have following format in AZURE_OPENAI_ENDPOINT="your_endpoint_data.openai.azure.com/" ? Then did you use the model deployment name from Azure AI Studio, ie, not the model name (as that may be different).
@jhakulin - Thank you . Yes, I am using the endpoints and key provided by Azure OpenAI service.
I am also using using the deployment name that i have provided while creating the service.
cheers.
@gujju62 Need to figure out what is wrong as I cannot reproduce.
Could you please enable OpenAI logging check box in Debug view and send new trace to me to jhakulin@microsoft.com? NOTE: When you enable the OpenAI logging your api-key seems get exposed, so be careful and remove that before sharing the information.
Also could you do pip list
for the components you have installed.
@jhakulin - Please find attached the list of packages installed [pip install]. Under Menu Item "Diagnostics --> Debug View", I don't see any option for enabling OpenAI logging. packageslist.txt
@gujju62 You do not see check box like below?
@jhakulin - I have emailed you sample trace . Thanks.
@gujju62 One problem could be that you have 2023-03-15-preview api version.
For Azure OpenAI Assistants, please use
set AZURE_OPENAI_API_VERSION=2024-05-01-preview
@jhakulin - With the API version change, I was able to access the tool and able to perform chat with the assistant. Thank you for your help.
I am also trying out speech capability of the tool, is there any documentation that you could point to me?
Thank you.
@gujju62 Great, please see instructions here how to get Azure Speech resource
Once you get key and region, please update environment variables
set AZURE_AI_SPEECH_KEY=Your_Speech_Key set AZURE_AI_SPEECH_REGION=Your_Speech_Region
The same resource should work for both speech to text and text to speech
closing the issue, please let me know if need more help.
This issue is for a: (mark with an
x
)Minimal steps to reproduce
Any log messages given by the failure
Expected/desired behavior
OS and Version?
Versions
Mention any other details that might be useful