How do I create footnotes at the end of (all Websi...
# 🤝help
r
Microsoft's Copilot usually footnotes its responses. It places response footnote numbers (hyperlinks) at the end of its response. Additionally, it places further ("Learn more") links as end notes at the end of the article, but i am not focused on those end notes. I want to understand if and how Botpress can create the footnotes at the end of its responses. For example (I invite you to try this same question with Copilot), the following is the footnoted response I get if I ask Copilot: "What is Botpress?" " Botpress is an open-source conversational AI platform designed for creating and deploying chatbots. It provides developers with tools for natural language understanding, a messaging API, and a fully featured studio to build sophisticated chatbots. Botpress integrates with generative AI, like ChatGPT, to automate tasks and enhance chatbot interactions. It's known for its flexibility, allowing the creation of chatbots that can understand and respond to natural language inputs ¹ ² ³." [Note: In the original Copilot output, the superscript numbers at the end, (1, 2, and 3) are hyperlinks to the sources used by Copilot to create its response.] However, whenever I try to get Botpress to output something similar ( for example, using turn.KnowledgeAgent.citations), it fails. Can Robert, please, create and post a video showing how to do this sort of footnoting with Botpress? (P.S. I use the flowchart, non-programming, method that Robert demonstrates.)
b
can you describe what happens when you say "it fails"?
we don't provide formatted footnotes like you share above, but they are available in a rather messy way here
this is through turn.KnowledgeAgent.citations, so I'm wondering what part is failing for you
p
How do you achieve these citations, when I use the citations it says web page then lists the webpage but does not give the URLs? Thanks!
b
are you using a web search KB?
this conversation inspired me
I used an AI task to format the links
they're a bit nicer, in markdown now
here's my AI task
a
hm. interesting. @bumpy-butcher-41910 those links are NER-enigne' produced or crude llm output ?
p
The KB I'm using is search specific web pages, is it possible for the bot to provide these URLS as citations if you use this instead of search the web?
q
Did you get anywhere on this? I'm doing the same thing now. {{turn.KnowledgeAgent.citations}} doesn't give the webpage URL/link when all your answers are from a specific website pointed at in the KB. For example if the answer comes from blog article on the client site, I want the bot to give that link to encourage the user to go and read the full post. Other posts I've seen about using markdown to re-format links, are caveated that they only work for internal KB documents. So KB docs can be done, web search links can be done - I haven't found anything yet on this third KB source ( specific website)
p
Sadly not, I think a lot of people have requested this feature though so hopefully will be on the roadmap.
There might be a workaround that I am not aware of though
2 Views