Forum Discussion

mbuckman's avatar
mbuckman
Copper Contributor
Jan 09, 2024

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!

    • mbuckman's avatar
      mbuckman
      Copper 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. 

      • mbuckman's avatar
        mbuckman
        Copper 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_ajwad's avatar
    m_ajwad
    Copper Contributor
    Hi, 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.
  • Moza_9's avatar
    Moza_9
    Copper Contributor

    Hi mbuckman, I have the exact same issue. I just wanted to ask you, have you already managed to solve the problem? Thanks in advance

    • chucksalvo's avatar
      chucksalvo
      Copper 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.

      • connerza's avatar
        connerza
        Copper 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.

  • Linh_NCK's avatar
    Linh_NCK
    Copper Contributor

    mbuckmanHave you resolved this problem? I am encountering it and could not find any documentation or other bug reports related to it. It's hard to figure out why it's not working since it doesn't throw any errors.

    • chucksalvo's avatar
      chucksalvo
      Copper Contributor
      I 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_NCK's avatar
        Linh_NCK
        Copper Contributor

        Thanks chucksalvoAfter 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?

         

  • connerza's avatar
    connerza
    Copper Contributor
    Ours 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.

Resources