How do I add raw text?
Go to the Knowledge Base of the Library you want to add a PDF to.
- Select Add unstructured documents from the Add Knowledge window.
The page will be changed to enable you to add raw text in your knowledge base.
There are two ways to create a custom answer
What’s the difference between raw text and a custom answer?
Libraria reformats your question for increased accuracy matching on our backend. Custom answers are great for answering very specific questions, but for longer content, it is not necessary ot reformat it and may impede results.
In the Manual tab you can fill out the fields for setting up your custom answers.
- The only required field in the form is the
Paragraphfield. This is where you will enter the knowledge you want your chatbot to have.
- There are additional optional fields you can fill out that you can include as knowledge:
Titleis a field where you can put a title for your paragraph.
URLis a field where you can put a link that can be included in your custom answer.
Photo Snippetis a field where you can put an image that can be included in your custom answer.
- Click the
Submitbutton to add your paragraph to your knowledge base.
In Bulk via CSV
In the Bulk Import Text with CSV you can upload a CSV file to create multiple custom answers at once.
The CSV file is required to have the following columns:
textcolumn should contain the paragraph that you want to add to your chatbot’s knowledge.
Optional columns it can contain are:
titlecolumn for the title of your text.
urlcolumn for a link that can be included in your custom answer.
idcolumn for the ID of the custom answer you want to create.
Each row in the CSV will be considered as a document.
If you add an
id column, it will be used to update existing documents with the same id. If you do not the column, new documents will be created.
- Upload your CSV file by either clicking on the Drag and drop area or dragging your file into the area.
There is an optional checkbox:
Only use this document when matchedis checked, this option ensures that the document or content is considered for generating a response only when it closely matches the user’s question.
Check the box if you want to include this option in your custom answer.
Submitto save your custom answers.