Skip to content

Chat Interface

The Chat Interface is where you interact with AI models. It is designed to be intuitive yet powerful, supporting rich text rendering, code highlighting, and advanced features like reasoning visualization.

Overview

The interface consists of three main areas:

  1. Message History: The central area displaying the conversation.

  2. Input Area: At the bottom, where you type your messages.

  3. Control Bar: At the top, showing the current model and providing access to parameters.

Chat interface Chat interface

Rich Text & Code

Backend.AI GO supports full Markdown rendering.

  • Code Blocks: Automatically detects programming languages and applies syntax highlighting. You can copy code with a single click.

  • Mathematics: Supports LaTeX rendering for mathematical formulas (e.g., \(E = mc^2\)).

  • Tables: Renders clean, readable tables from data.

Advanced Chat Features

Message Editing & Forking

You can edit any past message (both yours and the AI's) to steer the conversation in a new direction.

  1. Hover over a message and click the Edit (Pencil) icon.

  2. Modify the text and click Save & Submit.

  3. This creates a Fork (or branch) in the conversation tree. The original message is preserved.

When you edit a message or regenerate a response, you create multiple versions of the conversation at that point.

  • Look for navigation arrows (e.g., < 2 / 3 >) below the message bubble.

  • Click the arrows to switch between different branches of the conversation history. This allows you to explore "what if" scenarios without losing your previous context.

Regenerate Response

If the AI's answer isn't quite right, click the Regenerate (Refresh) icon below the AI's message. This will generate a new response, creating a new branch.

Thinking Blocks (Reasoning Models)

When using advanced "Reasoning Models" like DeepSeek-R1 or Qwen3-Thinking, the model outputs its internal thought process before the final answer.

  • Collapsible View: By default, the thinking process is collapsed to keep the chat clean.

  • Expand to Learn: Click the "Thinking" header (with the brain icon) to expand and read how the model arrived at its conclusion. This is great for debugging logic or understanding complex derivations.

  • Streaming: You can watch the thoughts appear in real-time as the model generates them.

Reasoning Effort Control

You can control how much "thinking" a reasoning model does using the Reasoning Effort control in the chat input area.

  • None (Off): Disables extended thinking. The model responds directly without showing internal reasoning.

  • Low / Medium / High / Extra High: Progressively increases the depth of reasoning. Higher values allow the model to think longer and more thoroughly, which can improve answer quality for complex problems.

  • Default Setting: Configure the default reasoning effort level in Settings > Inference > Default reasoning effort. You can also choose "Last used" to automatically remember and apply the most recently used setting.

Tool Use & Attachments

Tool Calling Visualization

If you are in Agent Mode, the AI may use tools (like Web Search).

Tool calling in chat Tool calling in chat

  • Transparent Actions: When a tool is called, a special block appears showing what tool was called and with what inputs.

  • Results: Once the tool finishes, you can see the result (e.g., the search results or file content) that was fed back to the AI.

File Attachments

You can drag and drop images into the chat input area to analyze them with multimodal models (like Llama 3.2 Vision, GPT-4o).

Image Generation

Backend.AI GO supports AI-powered image generation directly in the chat interface when connected to an image generation model (such as DALL-E or Stable Diffusion via API).

Generating Images

When an image generation model is available, you can request images by describing what you want in your message. The generated images appear inline in the chat with the following options:

  • View Full Size: Click on the image to view it at full resolution.

  • Save: Download the image to your local system with embedded metadata (prompt, model, settings).

  • Show Details: Expand to see generation parameters including the prompt, model used, size, and timestamp.

Image Variations

You can create variations of any generated image:

  1. Click the Variations button below a generated image.

  2. Configure the variation settings in the popup:

    • Model: Select the model to use for generating variations.
    • Count: Choose how many variations to create (1-10, depending on the model).
    • Size: Select the output size (square, portrait, or landscape).
  3. Click Generate Variations to create new images inspired by the original.

Model-Specific Constraints

Different models have different capabilities:

  • DALL-E 2: Supports square sizes only (256x256, 512x512, 1024x1024) and requires PNG format.
  • Other models: May support additional sizes including portrait (1024x1792) and landscape (1792x1024) orientations.

Context Menu

Each chat message has a context menu providing quick access to common actions. Hover over a message and click the three-dot menu icon that appears in the message header to open the context menu.

Available Actions

  • Copy: Copy the message content to the clipboard.

  • Regenerate (assistant messages only): Regenerate the AI's response. This option is disabled until backend support is implemented.

  • Delete (user messages only): Delete the message. This option is disabled until backend support is implemented.

Keyboard Shortcut

You can also open the context menu using the keyboard:

  1. Focus the message (click on it or use Tab to navigate).

  2. Press Shift+F10 to open the context menu.

  3. Use Up and Down to navigate menu items, Enter to select, and Esc to close.

Timestamp Display

Each message displays a timestamp showing when it was sent or received. You can customize how timestamps appear throughout the application.

Timestamp Formats

Go to Settings > General to configure your timestamp display preference:

  • Smart (Default): Automatically switches between relative and absolute formats based on age. Recent messages show "2 minutes ago" while older messages show the actual date and time.

  • Relative: Always displays time relative to now (e.g., "5 minutes ago", "2 hours ago", "3 days ago").

  • Absolute: Always displays the actual time and date (e.g., "10:15 AM", "Yesterday at 2:30 PM", "Jan 15, 2025 at 3:00 PM").

Smart Mode Threshold

When using Smart mode, you can configure the threshold (in hours) at which timestamps switch from relative to absolute format. The default is 24 hours, meaning messages older than 24 hours will show absolute timestamps.

Timezone Display

Enable Show timezone to include timezone information in absolute timestamps (e.g., "10:15 AM PST").