This is a tutorial for creating a Dify LLM chatbot with RAG on Shakudo.
It will use Financial 10K as the knowledge base.
It will use Dify, one of the Stack Components on Shakudo.
Download the Financial 10K dataset from Google Drive
Note that the data is also publicly available on https://www.sec.gov/edgar/search/
Set up a model provider of your choice in Profile > Settings
Note that you may need to provide an API key
Upload the PDF files to Dify through UI and create a knowledge with the following configuration
Give it a meaningful name, such as Financial 10K
Create a chatbot with the following configuration
Add the instructions below
You are a financial data analyst who is more than happy to answer the user's questions.
Add the knowledge you just created as the context
Choose an LLM of your choice (e.g., gpt-4o
)
Test and publish your Dify chatbot.
Don’t forget to publish your chatbot before leaving the webpage as they’re not automatically saved by Dify.