Skip to main content

Notifications

Copilot Studio - Calling Actions from Copilot S...
Unanswered

undefined

(0) ShareShare
ReportReport
Posted on by 28

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 28 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 10 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 28 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 28 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 28 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

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Microsoft Kickstarter Events…

Register for Microsoft Kickstarter Events…

Announcing Our 2025 Season 1 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Announcing Forum Attachment Improvements!

We're excited to announce that attachments for replies in forums and improved…

Leaderboard

#1
WarrenBelz Profile Picture

WarrenBelz 145,434

#2
RandyHayes Profile Picture

RandyHayes 76,287

#3
Pstork1 Profile Picture

Pstork1 64,722

Leaderboard

Featured topics