Knowledge bases
How to work with knowlege bases in your Smart App
Last updated
How to work with knowlege bases in your Smart App
Last updated
The LLM Knowledge base flows skill enables the Knowledge bases section in the AI menu of your Smart App. 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.
A knowledge base is a centralized repository for information, designed to store, organize, and manage knowledge in a way that makes it easily accessible and usable for a specific purpose. Knowledge bases are commonly used by organizations, apps, and systems to provide self-service support, streamline workflows, and enhance decision-making.
When your App supports knowledge bases, the AI section will contain a menu item for Knowledge bases in which you will find a list of your knowledgebases.
A knowledge base can be added by clicking on the Add knowledge base button in the page described above. On the knowledge base page you can manage the files and details of your knowledge base.
Click on the Edit button in the top right corner to edit the details of the knowledgebase. The most important detail is the description. The description is used to generate an LLM intent that can be used in your App to recognize if a user talks about the contents of your knowledge base or not. Carefully tweak this description when you need to use an intent trigger based on this LLM intent.
On the knowledge base page you can add files by dragging files on the page or simply clicking the button "Upload files". The knowledge base supports the file types defined in the limitations section below.
When the upload was succesful a green checkmark icon will be displayed in front of the file name. It might take a minute or so before it appears. When an explanation mark appears the upload was not succesful. By clicking on the icon the explanation of the failure can be reviewed to take corrective measures.
Right click on the file name of one of your files in the knowledge base to open the context menu. Click on the delete button to remove the file from your knowledge base.
Files can be renamed for the sake of keeping track and organizing your knowledge base.
Each file can contain one or more metadata items. These are used for the platform to keep track of the files on the Azure services that are used to provide the knowledge base services.
Don't change or remove the metadata of your kwowledge base files since they are used to keep track of your files in the storage facility at Azure
Using the context menu by right clicking on a file you can create and manage folders. Files can be organized in folders. Folders don't have an effect on the workings of the knowledge bases. They are simply for you to organize and keep track of your files.
This chapter explains the limitations of the knowledge base features offered in DialoX. By using the knowledgebase you accept the limitations and promise to adhere to them, even when the platform isn't enforcing it.
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".
You are allowed to upload max 1000 files and use a total of 100Mb of data per Smart App.