Copilot for Microsoft 365 Tech Accelerator
Feb 28 2024 07:00 AM - Feb 29 2024 10:30 AM (PST)
Microsoft Tech Community

OpenAI Connection with Copilot not returning a response

Copper Contributor

I have connected my OpenAI Deployment to Power Virtual Agents (now Copilot) and the Bot was created with the OpenAI Connection and Properties filled in automatically but when the Create Generative Answers node triggers it does not return anything, not even an error. I am stuck at this point and have reached the end of my troubleshooting tools.

 

I can verify that my OpenAI deployment does return results in the Chat Playground.

 

I'm hoping there is something obvious that I have not done!

4 Replies

@SharmaNeeraj yes that’s what I used to set this set up initially. I have followed the guide and the connection exists but I am getting no response back when the node is hit. 

When I play in the Azure Open AI playground, I get responses. 

Some more context around this:

This is using PVA 2 (Copilot Studio). I am trying to connect an Open AI deployment to my bot. There really is no error or trace of really anything happening, which is the problem. I am just inside of Copilot Studio Testing my Copilot with the built in testing chat area seeing that it hits my 'Create generative answers' node, which is connected to Azure OpenAI, and not returning anything. I have also done a network trace here and not found anything of substance.

The data that I have connected to Azure OpenAI is Azure AI Search and the index it is using is the provided Microsoft Hotels sample index.

I have added nodes before and after the Generative answers node to show what's going into it and what's coming out of it and I have added a latency message for the Generative answers node. See screenshots for more details.

info7.pngScreenshot 2024-01-10 130552.pngScreenshot 2024-01-10 130604.pngScreenshot 2024-01-10 130628.pngScreenshot 2024-01-10 130703.png

@mbuckman 

Any luck with getting this to work? I'm in a similar issue. It's connected to OpenAI and I can pull info in the playground and even in the web app, but copilot doesn't pull info from the openAI connection.