Azure-Samples / gen-ai-bot-in-a-box

This template deploys a Generative AI Virtual Assistant using Azure OpenAI and Bot Framework.
MIT License
39 stars 11 forks source link

Azure deployment is successful, but bot not responding. #19

Open JayWarshaw opened 2 months ago

JayWarshaw commented 2 months ago

Please provide us with the following information:

This issue is for a: (mark with an x)

- [ x] bug report -> please search issues before submitting
- [ ] feature request
- [ ] documentation issue or request
- [ ] regression (a behavior that used to work and stopped in a new release)

Minimal steps to reproduce

used the Azure Developer CLI to deploy

when prompted at AZD UP command, provided the following parameter: "allowedIpAddresses": [my IP address], "authMode": "identity", "deploySearch": false, "enableAuthentication": false, "implementation": "assistant", "model": "gpt-4,1106-Preview", "modelCapacity": 74, "myPrincipalType": "User", "publicNetworkAccess": "Enabled", "stack": "python|3.10"

when process completes and indicates success, go to Azure Portal, find the Azure Bot Services instance. Select the Test in Web Chat option. No welcome message is displayed, enter a User message "Hello" and no response to messages.

Any log messages given by the failure

I could find no logs, even turned on Application Insights for my front app service

Expected/desired behavior

Bot displays welcome message and responds to prompts

OS and Version?

Windows 7, 8 or 10. Linux (which distribution). macOS (Yosemite? El Capitan? Sierra?) macOS

Versions

Sonoma 14.5

Mention any other details that might be useful


Thanks! We'll be in touch soon.

MarcoABCardoso commented 2 months ago

Hello @JayWarshaw Thank you for reporting. Some changes were pushed recently to (greatly) improve the deployment performance for JS and Python, as well as resolve dependency conflicts.

Would you mind pulling the latest changes and letting us know if you're still seeing the issue? I've reproduced your configurations and was successful in getting a response.

Thank you!

MarcoABCardoso commented 2 months ago

To clarify - please pull the latest changes and re-run azd up to update your app. Also please make sure you updated azure.yaml to deploy the python app, as described in the README instructions.