Find answers from the community

Updated 8 months ago

Hello friends. I want to build a

Hello friends. I want to build a dashboard that allows me to interact with a LLM via website. I want to tell it ingredients and have it use RAG to access a list of PDF recipes that are stored in a folder. I want the LLM to list the top 3 recipes that can be done with my ingredients, and then do url links to the pdfs. Here's the key part: I want the dashboard that I'm on to automatically open the recipe PDF that the LLM has cited. How would you guys approach this last step? Build a custom tool for it and give it to the agent?
W
0
2 comments
You can check the code for sec insight: https://www.secinsights.ai/

it basically shows the pdf from which the answer is pulled out on the right side.

In simple terms, you can keep the pdf location as a metadata and when bot answers use the metadata to get file location and display it there
Thanks for the insight, appreciate it
Add a reply
Sign up and join the conversation on Discord