How to Prepare a File for FastLinePro Knowledge Base?
Proper file preparation for the knowledge base ensures accurate and relevant AI agent responses. The file should contain structured information in "Question-Answer" format or a list of facts.
When Needed
- You need to create a knowledge base for an AI agent or chatbot.
- You need to prepare documentation for AI application training.
- You need to structure information for better AI understanding.
What's Important to Know
- Knowledge base — set of questions and answers that the AI agent memorizes for further use.
- Chunks — document fragments into which the file is split during upload.
- Chunks can consist not only of "Question-Answer" pairs but also of a simple list of facts.
- Proper format ensures better search accuracy and responses.
Prerequisites
You are logged in with integrator or administrator rights. You have information that needs to be added to the knowledge base. You know the file format supported by the system.
Step-by-Step Instructions
Choosing File Format
Available formats: TXT, MARKDOWN, MDX, PDF, HTML, XLSX, XLS, DOCX, CSV, MD, HTM.
Recommended format: TXT or MARKDOWN for best processing.
Creating File Structure
- Open a text editor (Notepad++, VS Code, or another).
- Create a new file in TXT or MD format.
- Structure information according to the following template:
Possible questions: How to cancel an order? Can I return a product? How to process a return?
Answer: To cancel an order, go to your personal account, "My Orders" section, select the needed order and click "Cancel". Product return is possible within 14 days from receipt. To process a return, contact our support service.
---
Possible questions: How to change delivery address? Can I change the address after placing an order?
Answer: Delivery address can be changed until the order is shipped. To do this, go to your personal account, find your order and click "Change Address". After shipping, address change is not possible.
Key Formatting Principles
Possible questions: List 2-3 variants of how the user might formulate the question.
- Different formulations of the same question
- Variants with errors or abbreviations
- Questions in different languages (if needed)
Answer: Give a complete, structured answer.
- Clear instructions
- Specific steps
- Additional context for understanding
Separator: Use
---(three dashes) to separate different topics.- Each topic is a separate block
- Separator on a separate line
- Empty line before and after the separator
Context: Add context for better understanding.
- Term explanations
- Usage examples
- Important limitations or requirements
Alternative Format: List of Facts
If you need to add just a list of facts (without questions):
Fact 1: Our company has been operating since 2010.
Fact 2: We provide delivery services throughout Ukraine.
Fact 3: Working hours: Monday-Friday from 9:00 to 18:00.
---
Fact 4: Minimum order amount is 500 UAH.
Fact 5: Free delivery for orders over 1000 UAH.
What Happens After
The prepared file can be uploaded to the FastLinePro knowledge base. The system will automatically process the file, splitting it into chunks for search. The AI agent will be able to use this information to formulate answers to user queries.
How to Verify It Worked
- Check that the file contains structured "Question-Answer" blocks or a list of facts.
- Make sure the separator
---is used correctly. - Check that answers are complete and informative.
- Make sure the file is saved in a supported format.