Sources
Each knowledge base takes content in four ways. Open the base under Conhecimento and use the Adicionar item (Add item) button — or, in an empty base, the shortcuts in the middle of the page.
| Option | Type in the table | Use it for |
|---|---|---|
| Carregar PDFs (Upload PDFs) | Manuals, price lists, regulations you already have as PDF. | |
| Criar documento em branco (Create blank document) | Manual | Writing or pasting text directly (FAQs, standard answers). |
| Importar de URL (Import from URL) | URL | One public page of your website. |
| Crawl de site (Site crawl) | URL | Several pages of the same site at once. |
Every source is indexed automatically when it is added or edited: the text is split into segments and prepared for the semantic search the agent runs during the conversation.
- Choose Carregar PDFs, or drag the files onto the Arraste PDFs para aqui (drop PDFs here) area of the base page. You can send several PDFs at once.
- A progress bar follows each upload.
- When it finishes, a message gives the result:
- Texto extraído e indexado para retrieval. — text extracted and indexed, ready to use.
- Texto extraído; indexação pendente ou parcial. — the text exists but indexing has not finished or failed; use Reindexar (Reindex).
- Ficheiro guardado. Extração limitada / indexing pending. — the PDF has no text the platform can read.
Limits and rules:
- Only valid PDF files are accepted, up to 25 MB each.
- Text is read from the first 100 pages of each PDF.
- The PDF must contain selectable text. A scanned PDF (images of pages) is stored, but without text, and the agent cannot use it. Export a version with text or copy the content into a blank document.
The original file is kept: use Descarregar (Download) in the row menu to get it back.
Written document
- Choose Criar documento em branco.
- Fill in Nome (Name) and Conteúdo (Content, up to 200,000 characters).
- Click Guardar (Save).
These are the only documents you can change in the platform: use Editar (Edit) in the row menu. Editing reindexes the document.
Web page (URL)
- Choose Importar de URL.
- Fill in Nome and URL da página (page URL) — a full
https://…address. - Click Adicionar URL (Add URL).
The platform reads the visible text of that single page (it does not follow links). Only public pages are accepted: local and private-network addresses are blocked. The content is imported once — if the page changes, delete the document and import it again.
Site crawl
- Choose Crawl de site.
- Fill in Nome, URL inicial (start URL) and Máximo de páginas (maximum pages, 1 to 10).
- Click Iniciar crawl (Start crawl).
The platform starts at the start URL and follows links within the same domain, creating one URL document per page (named after the page title). The platform also applies its own per-crawl page limit, so it may import fewer pages than the maximum you set — the Crawl concluído (crawl finished) message says how many pages were imported. As with URL import, the content is not refreshed automatically.
Document states
The Estado (State) column shows whether a document is ready to be used, with a short explanation underneath when useful.
| State | Meaning | What to do |
|---|---|---|
| Indexado (Indexed) | Text segmented and indexed. The agent finds it when it searches during the conversation. | Nothing. |
| Pronto (Ready) | Text available, but indexing has not been confirmed. | If the agent does not find it, use Reindexar. |
| Indexação pendente (Indexing pending) | The text exists and is waiting to be indexed. | Wait or use Reindexar. |
| Sem texto / indexação pendente (No text / indexing pending) | File stored without readable text (typical of a scanned PDF). | Upload a PDF with selectable text or create a blank document with the content. |
| Sem indexação (Not indexed) | There was not enough text to index. | Same as above. |
| Extração falhou (Extraction failed) | The PDF was stored, but reading its text failed. | Try another file. |
| Indexação falhou (Indexing failed) | Indexing did not finish. | Use Reindexar or Reindexar tudo (Reindex all); if it persists, contact Diska. |
PDFs that are still uploading only appear in the progress bar. If an upload fails, the error message appears under the bar and the document is not added.
Reindex
- Reindexar (row menu) indexes one document again and tells you how many segments were created.
- Reindexar tudo (top of the base page) reindexes every document in turn and shows how many succeeded.
You do not need to reindex after creating or editing a document — that already happens automatically. Use these options when a document shows Indexação falhou or stays in Indexação pendente for a long time.
Delete
Eliminar (Delete) in the row menu removes the document and, if there is one, the original file. The deletion applies immediately to every agent that uses the base.
Through the API
Bases and documents can also be created through the DISKA API (scopes knowledge:read and knowledge:write): list and create bases, create written documents, import URLs and upload PDFs. This is useful to keep a base in sync with your CMS or CRM. See Endpoints.

