Skip to main content

Notifications

Announcements

No record found.

Calling Actions from Copilot Studio
Unanswered

undefined

Posted on by

Hello, I am trying to use Open Ai Service with Azure on your data in PVA. The deployment works from the chat playground Azure Open Ai studio but when I click on "Deploy to a new Power Virtual Agent bot" it successfully will create a bot and a connection.

jordanmastel_0-1696084357361.png

 

But when I try to use the Conversational boosting topic it will act like its sending a response and will even send a message after, but the answer string is blank?

jordanmastel_1-1696084613210.png

 

Does anyone know what the issue is or have an idea of how to fix this?

Categories:
  • jordanmastel Profile Picture
    jordanmastel on at
    Re: undefined

    I have not found a solution, but I haven't revisited this project in several months due to having to focus on other projects. Hopefully Microsoft has made some improvements to their product in "Copilot studio". Maybe take a look there.

  • MOZa Profile Picture
    MOZa on at
    Re: undefined

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

  • jordanmastel Profile Picture
    jordanmastel on at
    Re: undefined

    I've only tried Semantic searches; I can try a simple search.

    Edit:
    Just tried it and am getting blank results in PVA.

     

    kind: AdaptiveDialog
    beginDialog:
      kind: OnUnknownIntent
      id: main
      priority: -1
      actions:
        - kind: SearchAndSummarizeContent
          id: search-content
          userInput: =System.Activity.Text
          variable: Topic.Answer
          azureOpenAIOnYourDataSource:
            connectionReference: cr52a_itsSupportBotDevKeyword.connectionreference..c116a54aa14443c38ef96eee2a1c5043
            dataSources:
              - indexName: keyword-index
                queryType: simple
                roleInformation: You are an AI that helps to troubleshoot problems and search requests and change orders.
                limitResponsesToDataContent: =true

            apiVersion: 2023-06-01-preview
            deployment: ITS-Support-Chat-Dev
            temperature: =0
            topP: =1
            maxTokens: =800

        - kind: ConditionGroup
          id: has-answer-conditions
          conditions:
            - id: has-answer
              condition: =!IsBlank(Topic.Answer)
              actions:
                - kind: EndDialog
                  id: end-topic
                  clearTopicQueue: true
  • jordanmastel Profile Picture
    jordanmastel on at
    Re: undefined
    I believe this is what you are looking for: 

    kind
    : AdaptiveDialog
    beginDialog:
      kind: OnUnknownIntent
      id: main
      priority: -1
      actions:
        - kind: SearchAndSummarizeContent
          id: search-content
          userInput: =System.Activity.Text
          moderationLevel: High
          variable: Topic.Answer
          publicDataSource:
            sites:
              $kind: ArrayExpression_T
              diagnostics:
              literalValue:
                - Value: https://www.gce.com

          sharePointSearchDataSource: {}
          customDataSource: {}
          azureOpenAIOnYourDataSource:
            connectionReference: cr52a_itsSupportBotDev.cr.eubrioQy
            dataSources:
              - indexName: sdmrequestsandcos
                titleField: title
                urlField: url
                filePathField: filepath
                contentFields:
                  - content
                semanticConfiguration: default
                queryType: semantic
                roleInformation: You are an AI that helps to troubleshoot problems and search requests and change orders.
                limitResponsesToDataContent: =false

            apiVersion: 2023-08-01-preview
            deployment: ITS-Support-Chat-Dev-4k
            temperature: =0.11
            topP: =0.91
            maxTokens: =800

        - kind: ConditionGroup
          id: has-answer-conditions
          conditions:
            - id: has-answer
              condition: =!IsBlank(Topic.Answer)
              actions:
                - kind: EndDialog
                  id: end-topic
                  clearTopicQueue: true
  • Re: undefined

    Regarding your AOAI question, can you configure whether your AOAI resource is configured for simple search or semantic or vector search?  Mismatches here can lead to empty result sets.

  • Re: undefined

    From the error you're using, it looks like your Generative Answer mode in your "boost conversations" system topic has been corrupted in some way; the "code behind" view may lead to clues.  Here's what one of mine looks like (without AOAI):

        - kind: SearchAndSummarizeContent
          id: search-content
          userInput: =System.Activity.Text
          moderationLevel: High
          tone: Friendly
          variable: Topic.Answer
          publicDataSource:
            kind: PublicSiteSearchDataSource
            sites:

          sharePointSearchDataSource: {}

        - kind: ConditionGroup
          id: has-answer-conditions
          conditions:
            - id: has-answer
              condition: =!IsBlank(Topic.Answer)
              actions:
                - kind: EndDialog
                  id: end-topic
                  clearTopicQueue: true
  • jordanmastel Profile Picture
    jordanmastel on at
    Power Virtual Agents Open AI Capabilities.

    I also get this error when I try to use the website search.

    jordanmastel_0-1696277000117.png

     


    Error Message: Action of type ‘SearchAndSummarizeContent’ with id ‘search-content’ is invalid and is missing required properties. The dialog will now end. Error Code: InvalidContent Conversation Id: e05f662b-f03a-4716-9e69-0ecb5bbe0236

Helpful resources

Quick Links

Exciting News for Copilot Studio Communi…

Get ready to experience a whole new level of engagement with the Copilot Studio…

Celebrating the May Super User of the…

LaurensM is an exceptional contributor to the Power Platform Community…

Check out the Copilot Studio Cookbook…

We are excited to announce our new Copilot Cookbook Gallery in the Community…

Featured topics