It’s easy to create a knowledge base from documents stored in Digital Ocean Spaces and then to create an Agent with access to the knowledge base. The Agent can cite file names it relies on to provide answers.
What would be the best way to build a front end for the Agent that can hyperlink back to the original file sources in the Spaces Bucket?
This should be easy enough to accomplish many different ways except for the fact that my knowledge base contains duplicate file names spread across multiple sources.
The data is PDFs stored in a single bucket in multiple folders such as /2010, /2011, /2012 and some of the filenames are duplicated across folders (different versions of the same file).
What I want to do is have a web front end for my agent where any time the agent mentions a specific file, the filename will be hyperlinked to the file the agent used to generate the answer.
Related question here: https://www.digitalocean.com/community/questions/how-to-make-an-agent-aware-of-multiple-knowledge-base-sources
This textbox defaults to using Markdown to format your answer.
You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!