Skip to main content

Notifications

Building Copilot Studio Chatbots in Microsoft T...
Answered

Citations / references not showing in the chat in Teams but working in PVA

Posted on by

Hello,

 

Is there a way to have the references/citations showing in a Teams Power App like it does in the PVA web app ?

Thank you

Chloe_lepez_0-1699539372525.png

 

Categories:
  • Re: Citations / references not showing in the chat in Teams but working in PVA

    Thanks for the response -solved the error but as you said, the links are still not clickable!

  • Brad Walker Profile Picture
    Brad Walker on at
    Re: Citations / references not showing in the chat in Teams but working in PVA

    Hi Shane. I also ran across this initially. You need to create a new message not 'ask with an adaptive card'.  Then within the Message card, select Add > Adaptive Card. 

     

    Even with doing this, the links are not clickable from Teams. 

  • Giacamic Profile Picture
    Giacamic on at
    Re: Citations / references not showing in the chat in Teams but working in PVA

    I couldn't find any way to eliminate the duplicate citations from the response body (the [1][2][3] pointing at the same document). I will keep playing around with it.

    For the footer of the card I used the below to only include distinct file names/URLs. its not perfect but a little better. 

    So it looks like this where [1][2][3] are the same. but it only lists it once in the source

    Giacamic_0-1712959611203.png

     

        {
          type: "Container",
          items: [
            {
              type: "ColumnSet",
              columns: [
                {
                  type: "Column",
                  width: "30",
          items: ForAll(Distinct(Topic.Answer.Text.CitationSources, Url),
            {
              type: "TextBlock",
              text: "[Source Document](" & Value & ")",
              wrap: true,
              size: "Small",
              weight: "Lighter"
            }
          )
                },
          {
                  type: "Column",
                  width: "150",
          items: ForAll(Distinct(Topic.Answer.Text.CitationSources, Name),
            {
              type: "TextBlock",
              text: Value,
              wrap: true,
              size: "Small",
              padding: 10,
              weight: "Lighter"
            }
          )
          }

     

  • Re: Citations / references not showing in the chat in Teams but working in PVA

    Hi,

     

    I am getting the below output errors once I enter the code - any ideas?

     

    Many thanks,

    Shane

     

    shanepconnolly_0-1712934331924.png

     

  • Surlig1213 Profile Picture
    Surlig1213 on at
    Re: Citations / references not showing in the chat in Teams but working in PVA

    Dear @HenryJammes  I use the method for Upload a document,And I got Empty Url like (“Url”:“”) for the Doc which I uploaded,and I use Formula find the Url in the Topic.Answer.Text.CitationSources 

  • katajpe Profile Picture
    katajpe on at
    Re: Citations / references not showing in the chat in Teams but working in PVA

    This works perfect in test, but links are not working in teams at all..

  • dannyche Profile Picture
    dannyche on at
    Re: Citations / references not showing in the chat in Teams but working in PVA

    @HenryJammes I got the same, I have the adaptive card working but it doesn't show the references.

    dannyche_0-1710648755505.png

    Thanks!

  • Re: Citations / references not showing in the chat in Teams but working in PVA

    i am getting the same issue. if there's any solution please share.

    SupriyaPandey_0-1710488041809.png

     


    @HenryJammes 

     

     

  • adhiem Profile Picture
    adhiem on at
    Re: Citations / references not showing in the chat in Teams but working in PVA

    why my markdown formated text is no rendered?

    adhiem_0-1710210076635.png

     

  • ill8 Profile Picture
    ill8 on at
    Re: Citations / references not showing in the chat in Teams but working in PVA

    you need to enable semantic search in Azure AI Search

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