Smart Assistant · CandelarIA smart assistant

Embeds a Chatbase-hosted conversational assistant (‘CandelarIA’) inside the back office, using the chatbase URL configured on the centre’s AI module.

AreaSmart Assistant
Routessmart-assistant · smart-assistant.index
Centre modulesai
Staff levelsroot · admin · manager · weboperator
Modelsmodule-ai
UI labelmenu.navbar.smart-assistant
Coverage3 use cases · 1 happy · 3 failure

How it works

A three-line controller (chatbaseUrl from auth.center) behind a four-role ability. The AI module also powers the natural-language customer filter, and the centre form validates the chatbase URL with its own message (configuration.center.ai.chatbase-url.error), so a broken endpoint is caught at configuration time rather than at use time. As with the other embeds there is no in-app handling for a failure inside the iframe.

Use cases

Why someone opens this (3)

  • A manager asking the assistant how to perform a task instead of consulting documentation.
  • Getting a quick answer about the centre’s own data or processes.
  • Onboarding a new staff member with in-product help.

Path map

flowchart LR
    F(["CandelarIA smart assistant"]):::feat
    F --> H1["Assistant opened"]:::ok
    F -.-> X1["Module off or role not allowed"]:::bad
    F -.-> X2["Invalid chatbase URL"]:::bad
    F -.-> X3["Chatbase unavailable"]:::bad
    classDef feat fill:#4e7a2e,stroke:#4e7a2e,color:#ffffff,font-weight:bold
    classDef ok fill:#e3f1ea,stroke:#0d6b42,color:#0d4a2e
    classDef bad fill:#f7e6e2,stroke:#9a2d1c,color:#6e1f13

Happy paths

Assistant opened

  1. Centre has the AI module enabled with a valid chatbase URL.
  2. An allowed role opens CandelarIA from the menu.
  3. chatbaseUrl resolves and the assistant loads in the frame.
  4. The user converses with it.

Failure paths

QA checklist

Tick these off while regression-testing this feature. The boxes are plain Markdown, so progress is visible in git diffs.

  • ✅ Assistant opened
  • ⛔ Module off or role not allowed
  • ⛔ Invalid chatbase URL
  • ⛔ Chatbase unavailable

Implementation


Generated from doc/feature-inventory.json · id smart-assistant · commit 276788ca6