Skip to main content

Notifications

Copilot Studio - General
Suggested answer

How to NOT provide URL when quoting from / referring to a Document?

Posted on by 62

Hi,

additionally to a website, I gave the Chatbot a PDF Document to get information from.

When I'll publish the Bot to my website in the future, I don't want the customers to receive a link to the PDF Document in the Chatbots' reply whenever the Bot refers to information on the document. 

When quoting from the Website however, the Bot shall still provide links in his answers, as he does now. Just not from Documents.

Is there a simple way to do this? To tell the Bot "Only provide URLs in your answer when quoting from the website, not when quoting from a PDF Document"?

That would be awesome, thanks in advance!

 

Nicolas2705_0-1709544806493.png

Maybe it's more clear in the screenshot, I don't want the Bot to give this "Citation-1" link and the [1] when answering. 

 

Categories:
  • Suggested answer
    How to NOT provide URL when quoting from / referring to a Document?
    Just go to the Conversational boosting topic or any topic you desire to remove references from.
    Then create a message after the create generative answer block. (here i have created two one for the content and another for citation just for my testing)
    Now in that message click on the {x} sign and then add the one related to the content (String). then save and test your copilot it should work as expected
     
     
    the reply will be as per the below screenshot

     
  • Arcanyx Profile Picture
    Arcanyx 12 on at
    Re: How to NOT provide URL when quoting from / referring to a Document?

    I like the citation because it lets me identify where wrong knowledge can be found.  I use it for fact-checking. 

  • Freddie_B Profile Picture
    Freddie_B 62 on at
    Re: How to NOT provide URL when quoting from / referring to a Document?

    I couldn't agree mopre. I'm in the same situation. I've uploaded an Excel file with a lot of information, but when the citation appears, it's barely readable. It would be much easier if we had an option or a way to get rid of it. It would be great if anyone finds a solution for this.

     

    It would be great if anyone finds a solution fot his 😊

     

    It would be great if anyone finds a solution fot his 😊

     

  • EduHop Profile Picture
    EduHop 9 on at
    Re: How to NOT provide URL when quoting from / referring to a Document?

    Any suggestions on how you can strip the citations out of the response? I am new to CoPilot Studio and trying to work through this as a possible solution. We are having a similar issue where we do not want users looking at our documents as a citations. This is because we are having to chop up some larger documents to meet the 3 MB quota. 

    It seems like MatchAll does not work in the variable editor. Is there a clean way to approach this without Regex?

  • theMac Profile Picture
    theMac 205 on at
    Re: How to NOT provide URL when quoting from / referring to a Document?

    You're right but if document is a graphically complex PDF file, the chunk is even almost unreadable (see attached).
    (I didn't tested with Word or Excel documents with articulated layouts).
    In some other situation, document's information can be publically exposed singularly but is better not to expose them all together, i.e. if I have a word document containing a list of company's distributors with addresses/telephon number, I'd be happy that bot answer to user giving information about single distributor but I'd be not happy to give to user my entire phone book.

    In this case, hiding document would solve easily.

    (I know, there are other ways to extract single information from tabled data)

  • Nicolas2705 Profile Picture
    Nicolas2705 62 on at
    Re: How to NOT provide URL when quoting from / referring to a Document?

    .. again, just a personal opinion and might be specific to my case, but yea I think an option to "hide" the documents in the reply of the bot would be a great thing to have 🙂

  • Nicolas2705 Profile Picture
    Nicolas2705 62 on at
    Re: How to NOT provide URL when quoting from / referring to a Document?

    Fully understand you and why it's common practice, also I agree that it makes a lot of sense this way when using the bot in other contexts, like a company-internal chatbot for example.

    In my case, however, the Bot shall be published on a Website and is designed for customer interaction.

    I personally think, Information that is not published on the website, should just not be accessible for customers via links and previews, not because there is something the customer shouldn't see or whatever, but rather because I think this information is designed to act in the background, while the Chatbot provides its information to the customer. It just looks nicer and might distract less.

    So far, the Document Previews are just a huge chunk of text with no highlights and no structure, so it's not nice to read anyway, I simply don't find it helpful and rather a little distracting at the moment. 

     

  • adilei Profile Picture
    adilei on at
    Re: How to NOT provide URL when quoting from / referring to a Document?

    If customers should not see the document, why are they entitled to responses generated based on the document? This seems a little inconsistent. That common practice is there for a reason - it fosters confidence and allows users to verify the accuracy of generated answers.

  • theMac Profile Picture
    theMac 205 on at
    Re: How to NOT provide URL when quoting from / referring to a Document?

    "I just think it would be great to have a way to tell the Chatbot: "Whenever u quote from a Document, just don't show citations/previews"
    I agree and quote

  • Nicolas2705 Profile Picture
    Nicolas2705 62 on at
    Re: How to NOT provide URL when quoting from / referring to a Document?

    I just think it would be rather confusing for a customer that is chatting with a chatbot, to see some huge chunk of a PDF Document that is not actually part of the website, but more just an internal document of the company... don't get me wrong, citations are great when it comes to website information (e.g. a link to the corresponding FAQ article might be very helpful), but I don't really see the point of providing a link to a document preview, that the customer should normally not see...

    It wouldn't be the end of the world obviously, but I just think it would be great to have a way to tell the Chatbot: "Whenever u quote from a Document, just don't show citations/previews" 🙂

     

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

October 2024 Newsletter…

October 2024 Community Newsletter…

Community Update Oct 28…

Power Platform Community Update…

Tuesday Tip #4 How to Conntact Support…

Welcome to a brand new series, Tuesday Tips…

Leaderboard

#1
WarrenBelz Profile Picture

WarrenBelz 142,733

#2
RandyHayes Profile Picture

RandyHayes 76,308

#3
Pstork1 Profile Picture

Pstork1 63,750

Leaderboard