Adding documents

From here, you can manually compose new documents or import existing ones from URLs to enrich Smart Assistant’s content library.

This feature allows editors and managers to:

  • Create and format new articles or data files
  • Associate each document with relevant categories and metadata
  • Restrict visibility to logged-in users if needed
  • Prepare and validate content before publication

Adding well-structured and categorized documents ensures that Smart Assistant delivers precise, contextual, and trustworthy responses.

addDocument.png

Document Editor Form

Title (Required)

  • Document name/heading
  • Used for searching and identification
  • Plain text input

URL (Optional)

  • Reference URL for document source
  • Used for tracking original content location
  • Validated URL format

Categories (Optional)

  • Multiple selection dropdown
  • Organize documents by topic/type
  • See section 6 for details

Content (Required)

  • Main document body
  • Rich text editor interface

Only for logged users

  • Checkbox option
  • When enabled: Document visible only to authenticated users
  • When disabled: Document visible to all users

Action Buttons

Save as Draft

  • Saves document with DRAFT status
  • Document not visible to end users
  • Use for work-in-progress content

Save as Ready

  • Marks document as READY for publication
  • Document not yet live until published
  • Indicates content is finalized and reviewed

Clear Form

  • Resets all form fields to empty
  • Confirmation notification displayed
  • Use to start over

Import from URL

  • Extracts content from external webpage
  • See section 2.3 for details

Import from URL Feature

importUrl.png

Process:

  1. Enter a valid URL in the import field
  2. System fetches content from the URL
  3. Progress notification displays during import
  4. Upon success, redirects to the imported document

Timeout:

  • Maximum wait time: 15 minutes
  • Timeout notification if exceeded

Success:

importURLSuccess.png

  • Success notification displayed
  • Automatic redirect to new document

Error Handling:

  • Error notifications for:
    • Invalid URLs
    • Unreachable content
    • Processing failures
    • Timeout conditions