Forum Discussion
OpenAI Connection with Copilot not returning a response
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!
- SharmaNeerajIron ContributorNot tried this but you may refer https://learn.microsoft.com/en-us/microsoft-copilot-studio/nlu-generative-answers-azure-openai
or we can connect over call .- mbuckmanCopper Contributor
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.- mbuckmanCopper Contributor
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.
- m_ajwadCopper ContributorHi, have you managed to find a solution? I am having the same issue too, whereby it is connected and the fields are filled but I do not get a response from my 'generative answers.' I can see that a tick comes on the generative answers box but not answer, and it does work in my chat playground too.
- chucksalvoCopper Contributor
Moza_9 I have run into the same issue. The custom copilot runs for a few days, then it dies. I tried to open the OpenAI connector in Power Platform and that hangs up. I feel like there is a issue in the connector.
- connerzaCopper Contributor
chucksalvo I just ran into the same issue. It worked for about a week, and now it is not working. I even tried recreating the connection and connection reference within the solution to no avail.
- chucksalvoCopper ContributorI just created a new Custom CoPilot and it resolved itself. Make sure you remove any existing connections first, delete the old copilot and then create a new one. I wasted so much time trying to troubleshoot it and there are no tools available from what I found.
- Linh_NCKCopper Contributor
Thanks chucksalvo. After removing all the copilots and creating a new one, I turned on the Generative AI, but now the topic 'Conversational Boosting' doesn't even display anymore. Did it happen to you too?
- connerzaCopper ContributorOurs magically started working again after about a month. We had a ticket open with Microsoft, and they were not able to help. They said there were no logs within Power Platform that we could use to determine root cause.