How to add or replace content in the AI knowledge base
In this tutorial, you'll learn how to add or replace content in your AI's knowledge base using PDF files.
In the Leadster platform, with the AI Agent created (as explained in the tutorial How to set up the AI for Shopbot), in step 3 you choose which content the AI Agent will use as the basis for answering visitors.
One way to feed this base is with PDF files, which can be added, replaced, or updated as needed.
Opening the Content area
- In the side menu, click Adicionar conteúdo (Add content).

- Select the Adicione Documentos (Add documents) tab.
- Upload your .pdf file (maximum size: 10 MB).
Also accepted: .odt , .doc , .docx , .txt .
📌 Tip: keep your PDFs organized and up to date so the agent gives more accurate answers.
Ways to add or replace content
You can manage the knowledge base in different ways:
Replace the whole base
- Delete the existing documents in Gerencie Conteúdos (Manage content).

- Upload a new, complete PDF with all the updated content.
Add updates
- Create a PDF with only the new content or updated information.
- Upload it without deleting the previous documents. This way, the agent will have access to both the old base and the new content.
Testing the changes
- After uploading or updating the PDFs, click Testar Agente (Test Agent) in the side menu.
- Ask questions about the new content to make sure the agent understood it and is using the information correctly.
💡 Best practices:
- Prefer well-structured PDFs, with clear titles, subtitles, and bullet points.
- Always validate changes in QA before applying them in production.
- If the knowledge base is large, consider splitting it into topic-based documents to make future updates easier.
If you have any questions about the setup, contact the support team.
Best regards! 👋