The Long Documents section allows you to provide your chatbot with dense and large resources such as your Terms & Conditions (T&C), detailed return policies, or complete technical data sheets, in text or PDF format.
The Agentic RAG Innovation
Rather than systematically loading these long documents with every message (which would slow down the chatbot and reduce its accuracy), EcomBot uses an innovative approach called Agentic RAG (Retrieval-Augmented Generation).
- Extraction and Summary: Upon importing your document, the AI analyzes it and automatically generates an indexing summary.
- Silent Evaluation: When a user asks a complex question, the AI first consults the index.
- On-Demand Reading: If the AI determines that the document contains the answer, it will extract the document in real-time in a targeted manner, analyze its detailed content, and provide a precise answer to the customer.
This technology guarantees ultra-fast response times and surgical precision on complex questions.
How to add a document
- Go to Knowledge Base > Long Documents tab.
- Click on Add a document.
- Title: Name the document (e.g., "Return Policy 2026").
- File or Text: Directly import your PDF file (text will be extracted automatically) or copy-paste your text (up to 50,000 characters).
- Save. The system takes care of the rest!
The AI is now capable of answering legal or technical questions without any further configuration.