The Prospera Labs Flexi-Match Knowledge Base is a flexible system that allows your agent to access a large database of knowledge. The Knowledge Base can be used for multiple different use-cases - from answering questions about products and services, through to analyzing documents or situations against best-practices that have been uploaded.
How It Works
Here we will explain the basic process of how the knowledge base works in the default Q&A setup.
Document Ingestion
When any type of document is taken into the system, we go through the following process:
Convert into raw text
Break the text into small sections based on the semantics and headers of the document
For each section, we generate a list of questions that the section of text answers. E.g. almost like Jeopardy, we are going backwards from the answer (contained in the document) to questions
We fetch the embedding vector for each of the questions
Create a summary of the entire document, referred to as the “Qualifying Text” internally because it helps qualify whether a particular knowledge chunk is relevant
Write the knowledge chunks out to the database
Querying
Loading In Knowledge
There are many different ways to load in knowledge to your agent, which will depend a lot on the different use-cases for your agent.
Uploading Documents
One of the simplest ways to load in information is to import documents prepared in conventional Office software, such as PDF or Microsoft Word documents.
You can upload documents by pressing the Import Document
button in the top right.
This will bring you to the bulk import page where you can then upload documents either by dragging and dropping, or by pressing the upload button and selecting the files.
Uploading Web Pages
You can similarly import information from web pages. This is done in the Imported Webpage
menu.
Then press the “Import Web Page URL” button.
That will bring you to this page. Its a bit terse but you can paste in the URL here:
Add Comment