Information schema
Last updated
Last updated
The information schema is used to create structured data from unstructured data like PDF files, text files etc. This structured information provides insights into important information from large files with the help of LLM models, which can be used for decision-making and querying the bot.
The steps to create and use information schema are as follows -
From the available knowledge bases, select one to create an information schema.
Navigate to the Information Schema tab and click the ‘+Add New’ button.
Click on the ‘+ Add New’ button to open a panel. Here, you can enter a new schema name, select the desired LLM, and choose one of the following options:
Fill the column against every page in the file
Fill the column against every chunk in the file
Select your preferred option and click ‘Add’ to proceed.
Click the ‘+’ button to add the column details you want to extract from the unstructured data. In the panel, provide a column name, choose the data type (either text or integer), and enter a prompt to retrieve the data. Once you've entered all the details, click Add. If needed, you can add multiple columns by clicking the ‘+’ button for each one.
Click the ‘Run Schema’ button at the top right to execute the information schema you have created. Once the run is completed, you can view the results. With the information schema results, you will be able to query data using both the knowledge base and the newly created information schema.
Click the ‘Delete Schema’ button to remove the schema you created.