Complete Guide to the AI Chatbot

The D5WAI chatbot is your intelligent assistant for root cause analysis. Unlike a generic chat, this assistant knows the context of your current analysis tree.

Availability: The chatbot is available for Plus and Pro plan users. Free users can create and edit nodes manually.

How Does It Work?

The chatbot automatically sends your tree structure to the AI every time you ask a question. This means:

  • It knows all your nodes and their relationships.
  • It understands the problem you're analyzing.
  • It remembers previous conversations within the same analysis.

Opening the Chatbot

Click the floating chat button in the bottom right corner while viewing a tree.

Sending Messages

  • Type your question in the input field at the bottom.
  • Press Enter to send.
  • Use Shift+Enter to add lines without sending.

Examples of Effective Questions

✅ Good questions:

  • "What are the most critical failure modes in this analysis?"
  • "Can you suggest additional causes for node X?"
  • "What patterns do you see in this failure tree?"
  • "Help me identify the root cause"

❌ Less effective:

  • "Help" (too vague)
  • "Fix this" (no specific context)

Conversation History

  • Auto-save: All messages are saved to your account.
  • Per tree: Each analysis tree has its own independent history.
  • Load more: Click "Load previous messages" to see history.

Window Controls

ActionDescriptionShortcut
MinimizeCollapse to floating buttonCtrl+M
CloseHide chatbotEsc
DragMove window (desktop only)Click + drag header bar

On mobile, the chatbot can be in docked mode (50% of screen) or maximized (full screen).

Token Usage

Tokens are units of text consumed by the AI. Both your questions and responses count.

Limits by plan

PlanTokens/month
Free10,000
Plus100,000
Pro1,000,000

Usage indicators

  • Progress bar: Visible at the top of the chat.
  • Yellow warning: When approaching the limit.
  • Red warning: Limit reached.

Offline Mode

You can type messages offline; they'll be sent automatically when you reconnect.

FAQ

Can I use the chatbot without a tree loaded?

No, the chatbot requires an active tree to provide contextual assistance.

What languages does it respond in?

The chatbot responds in your configured interface language: Spanish, English, or Catalan.

Are messages included when exporting?

No. Chat history is saved separately and is not included in the JSON analysis exports.