web
You’re offline. This is a read only version of the page.
close
Skip to main content
Community site session details

Community site session details

Session Id :
Copilot Studio - General
Suggested answer

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

(2) ShareShare
ReportReport
Posted on by 54

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:
I have the same question (0)
  • adilei Profile Picture
    on at
    Re: How to NOT provide URL when quoting from / referring to a Document?

    When you upload documents directly to the copilot, citations are not URLs leading to the actual document - when clicked they will show a chunk of the document that was used to ground the response:

     

    adilei_0-1709547434318.png

     

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

    okay yes, thanks for your reply. And is there a way to not show these document chunks in the reply? Like not provide the "Citation-1" etc.?

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

    I've the same need.
    I didn't tried yet but I seen that links to document are made by buttons instead of <a> links.
    By css there should be a way to hide that buttons working on 
    .webchat__link-definitions__list-item button and .webchat__render-markdown__citation css pointers but:
    1- I didn't tried yet
    2- this is not a safe way to proceed if you want to keep private your file.
    Maybe by JS there's a more reliable way to obtain the result.

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

    In the Generative Answers node properties, under advanced, uncheck "Send a message", and store the response in a variable. After Gen Answers runs, strip the response of its citations.

     

    adilei_0-1709585169407.png

     

    adilei_1-1709585203066.png

     

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

    "After Gen Answers runs, strip the response of its citations." and how to?
    Consider that you may have even one or more public website as source (and you want to keep them visible) and document citations may be on 1st or 2nd or (n)nd position

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

    Yeah, removing just some citations is going to be more complicated. Let me ask you this: why go through the entire exercise in the first place? providing citations for generated content is considered common practice.

  • Nicolas2705 Profile Picture
    54 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" 🙂

     

  • theMac Profile Picture
    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

  • adilei Profile Picture
    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.

  • Nicolas2705 Profile Picture
    54 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. 

     

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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Chiara Carbone – Community Spotlight

We are honored to recognize Chiara Carbone as our Community Spotlight for November…

Leaderboard > Copilot Studio

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 424 Super User 2025 Season 2

#2
Romain The Low-Code Bearded Bear Profile Picture

Romain The Low-Code... 318 Super User 2025 Season 2

#3
CU15090955-0 Profile Picture

CU15090955-0 46

Last 30 days Overall leaderboard