Knowledge bases
How to work with knowledge bases in your Smart App
What is a knowledge base?
A knowledge base is a centralised repository for information, designed to store, organise, and manage knowledge in a way that makes it easily accessible and usable. Knowledge bases are commonly used by organisations, apps, and systems to provide self-service support, streamline workflows, and enhance decision-making.
Think of it like a digital library for your chatbot. Just like how a librarian organises books on shelves to help people find information quickly, a knowledge base stores and organises the documents you provide in a way that makes it easy for an LLM to find and use the right information.
If your App supports knowledge bases, the AI section will contain a menu item for Knowledge bases.

When to use a knowledge base?
Knowledge bases are a useful tool when you have large amounts of data that you want your Smart App to be able to answer questions about. If the information you need the LLM to query is a small amount of text, you can consider simply adding it to the prompt you send to the LLM, in the Content field. Which option to choose depends on your use case.
Use a knowledge base when:
You have large amounts of data - The LLM can process the data faster, so your customers don't have to wait as long for a response. Think of it like having a catalogue the LLM can look through to find answers, instead of reading the whole library every time.
You have multiple documents - You can keep the data organised, like a filing cabinet where each document is a different topic.
Your information changes frequently - Instead of updating Content every time, you can just upload new versions of the files in your knowledge base.
Use the Content section when:
Your information is short and simple - If it fits on about 2-3 pages of text (9000 characters or less).
The information rarely changes - You don't mind updating it manually when needed.
Limitations
This section explains the limitations of the knowledge base features offered in DialoX. By using the knowledge base feature, you accept the limitations and promise to adhere to them, even when the platform isn't enforcing it.
In addition, make sure to read the Usage page, as the quality of the answer the LLM gives based on your knowledge base is wholly dependent on the quality of the documents you provide.
File types
The knowledge base supports the following file formats: "c", "cpp", "css", "csv", "docx", "gif", "html", "java", "jpeg", "jpg", "js", "json", "md", "pdf", "php", "png", "pptx", "py", "rb", "tar", "tex", "ts", "txt", "xlsx", "xml", "zip".
Amounts and sizes
You are allowed to upload a maximum of 1000 files and use a total of 100Mb of data per Smart App. The maximum upload size of individual files is 50Mb.
Installation
Knowledge bases are enabled by installing the LLM Knowledge base flows skill. The skill will also introduce Flow nodes to your App, like Iterate: LLM Knowledgebase, in order to add functionality that can use your knowledge base to respond to users.
Last updated
Was this helpful?