Chat Interface

Have private AI conversations that never leave your Mac.

Creating a New Session

To start a new conversation, click the + button in the sidebar or press Cmd+N. A new session is created immediately and you can begin typing your first message.

Sessions are automatically renamed based on the first message exchange, so you don't need to worry about naming them upfront. The AI generates a short, descriptive title after you send your first message and receive a response.

Chat Modes

SafeRag SE offers three chat modes to suit different tasks:

  • General Mode — Standard conversations for everyday questions, writing, coding, and general assistance.
  • RAG Mode — Chat grounded in your uploaded documents. Toggle RAG mode using the button in the chat input area. Responses will reference and cite content from your documents.
  • Spark Mode — Creative brainstorming mode with a higher temperature setting. Use this for idea generation, creative writing, or when you want more varied responses.

Sending Messages

Type your message in the input field at the bottom of the chat window. Press Enter or click the Send button to send it.

The AI streams its response in real-time, so you can start reading as the response is being generated. Responses support full Markdown formatting — including headings, lists, code blocks, tables, and inline formatting — all rendered with MarkdownUI.

Session Management

The sidebar displays all your chat sessions, with the most recent at the top.

  • Rename a session — Click the session title in the sidebar to edit it.
  • Delete a session — Right-click a session and select Delete, or swipe left on the session.
  • Auto-rename — Sessions automatically receive a descriptive title after the first message exchange. You can rename them manually at any time.

Multi-Turn Conversations

SafeRag SE maintains conversation context by sending the last 20 messages as history with each request. This allows the AI to understand the flow of the conversation and provide relevant follow-up responses.

Context is maintained within a single session. Starting a new session begins with a clean context.

Prompt Templates

Save frequently used prompts as templates to speed up your workflow.

  • Access templates — Use the template selector in the chat input area to browse and insert saved prompts.
  • Create templates — Add new templates in Settings > Prompt Templates.
  • Edit and delete — Manage your templates from the Settings panel.

Keyboard Shortcuts

Shortcut Action
Cmd+N New session
Cmd+Enter Send message
Cmd+Shift+R Toggle RAG mode
Tip
You can also use Enter to send a message and Shift+Enter to add a new line without sending.