Skip to main content

Adding content to your knowledge base

There are three ways to add content to a knowledge base:

Upload files

Upload documents directly from your computer. Supported formats:
  • Documents: PDF, DOC, DOCX, TXT, MD, RTF
  • Spreadsheets: CSV, XLS, XLSX
  • Presentations: PPTX
  • Data: JSON
  • Web: HTML, HTM
Size limits:
  • PDF files: Up to 100 MB
  • All other formats: Up to 10 MB
1

Click Add Document

Select the Upload Files option.
2

Select your file

Browse and select the file you want to upload.
3

Wait for processing

The document will show a Processing status while Sonara indexes the content. Once complete, the status changes to Completed.

Scrape web pages

Index content from any public website.
1

Click Add Document

Select the Web Pages option.
2

Enter the URL

Provide the website URL you want to scrape. Optionally add a custom name for the document.
3

Configure crawl settings

  • Crawl depth (1-10) - How many levels of links to follow from the starting page
  • Max pages (1-100) - Maximum number of pages to scrape
4

Submit

Click Add to start the crawl. The document will show as Processing until complete.
Start with a crawl depth of 1-2 and 10-20 max pages. You can always add more pages later.

Paste text

Directly paste text content into the knowledge base.
1

Click Add Document

Select the Text Content option.
2

Enter content

  • Name (optional) - A label for this text document
  • Content - Paste your text directly
3

Submit

Click Add to process the text.

Document status

Each document shows a processing status:
StatusMeaning
CompletedDocument is indexed and ready for use
ProcessingDocument is being processed (usually takes a few seconds to minutes)
PendingDocument is queued for processing
FailedProcessing failed - click Retry to try again

Managing documents

  • Retry - For failed web scrapes, click retry to re-crawl the URL
  • Delete - Remove a document from the knowledge base permanently