> ## Documentation Index
> Fetch the complete documentation index at: https://docs.withrealm.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Get more out of Chat

> Research mode, filters, file attachments, and other features

## Keyboard shortcuts

Several shortcuts can help you work more efficiently:

<Frame>
  <img src="https://mintcdn.com/realm/Bq9xRydm_xUwKVw_/images/chat-at-shortcut.png?fit=max&auto=format&n=Bq9xRydm_xUwKVw_&q=85&s=bfd6823c33bc685eff937f449438a77d" alt="Universal @ shortcut in Chat" width="1878" height="1246" data-path="images/chat-at-shortcut.png" />
</Frame>

* **`@` shortcut**: Type `@` anywhere in the chat input to open a menu for switching agents, selecting tools, or attaching context. You can tag agents, AI models, tools, data sources, folders, and individual documents. Use the arrow keys to navigate the menu, or keep typing to filter results.

<Frame>
  <img src="https://mintcdn.com/realm/Bq9xRydm_xUwKVw_/images/chat-slash-shortcut.png?fit=max&auto=format&n=Bq9xRydm_xUwKVw_&q=85&s=43158528d90424fa5cc4b1d33d43ae2d" alt="/ shortcut in Chat" width="1788" height="1212" data-path="images/chat-slash-shortcut.png" />
</Frame>

* **`/` shortcut**: Type `/` in the chat input to open the command menu. From there, you can insert formatting blocks like text, headings, bullet lists, ordered lists, code blocks, blockquotes, and dividers.
* **Navigate to chat**: Press `Cmd+K` (or `Ctrl+K`) to jump directly to the Chat view from anywhere in the app.
* **Cancel a response**: Press `Esc` to stop a response that is being generated.

## Bookmark a conversation

Pin important conversations to the top of your History sidebar so you can return to them without searching.

Click the bookmark icon in the chat header or next to a conversation in the History sidebar. Bookmarked conversations appear in a **Bookmarked** section at the top of the sidebar. Click the icon again to remove the bookmark.

## Research mode

<Frame>
  <img src="https://mintcdn.com/realm/cxbXOINLOkE3iOrw/images/chat-research-mode.png?fit=max&auto=format&n=cxbXOINLOkE3iOrw&q=85&s=f5fd35ebd6c0466808687fdfd8d1e2bf" alt="Research mode in Chat" width="1824" height="1140" data-path="images/chat-research-mode.png" />
</Frame>

Research mode performs an in-depth, multi-step analysis for complex queries. It breaks down your request, creates a research plan, and consults numerous sources to compile a comprehensive answer.

<CardGroup cols={3}>
  <Card title="Detailed analysis" icon="magnifying-glass-chart">
    Synthesize information from many sources into a single, coherent answer
  </Card>

  <Card title="Multi-step reasoning" icon="diagram-project">
    Break down complex questions into sequential sub-tasks
  </Card>

  <Card title="Comprehensive reports" icon="file-lines">
    Generate structured reports with citations from hundreds of sources
  </Card>
</CardGroup>

### How research mode works

<Steps>
  <Step title="Query analysis">
    Research mode breaks down your complex request into smaller, sequential tasks.
  </Step>

  <Step title="Research planning">
    A detailed research plan is created to address each component of your query.
  </Step>

  <Step title="Multi-agent execution">
    Specialized sub-agents perform tasks like searching, reading documents, and analyzing data.
  </Step>

  <Step title="Report compilation">
    All findings are compiled into a single, comprehensive report with structured, actionable insights.
  </Step>
</Steps>

### Example use cases

<AccordionGroup>
  <Accordion title="Competitive analysis" icon="chart-line">
    "Analyze all mentions of our competitors in customer calls and summarize key themes from the past quarter."
  </Accordion>

  <Accordion title="Project status review" icon="tasks">
    "Review all project updates across Linear, Slack, and documentation to create a comprehensive status report."
  </Accordion>

  <Accordion title="Knowledge synthesis" icon="book">
    "Compile everything we know about customer X from all sources and identify gaps in our documentation."
  </Accordion>
</AccordionGroup>

<Note>
  Research mode may take longer than standard queries because it reads and analyzes many more sources to provide a comprehensive answer.
</Note>

## Using filters in chat

For example, "How many HubSpot deals of type new business are in the stage building business case?" will automatically filter by data source (HubSpot), deal type (new business), and stage (building business case).

### Reviewing and editing filters

<Frame>
  <img src="https://mintcdn.com/realm/cxbXOINLOkE3iOrw/images/chat-filters.png?fit=max&auto=format&n=cxbXOINLOkE3iOrw&q=85&s=a8052c48e214eb0c9c257b46b50ab733" alt="Reviewing and editing filters in Chat" width="3834" height="1908" data-path="images/chat-filters.png" />
</Frame>

You can see what filters Realm chose to apply. If some of them are incorrect:

1. Check the filters shown above your results to see what was applied
2. Click on the pencil icon to modify any incorrect filters
3. After editing, rerun the query to get updated results

### Filtering by data source

You can narrow down your queries by telling Realm where to look. For example:

<AccordionGroup>
  <Accordion title="By data source" icon="database">
    "Based on HubSpot, what's our history with customer Acme Corp?"
  </Accordion>

  <Accordion title="By time range" icon="calendar">
    "List all support tickets from the customer Realm Technologies from the past 14 days"
  </Accordion>

  <Accordion title="By channel or location" icon="hashtag">
    "Summarize discussion from the #sales-gtm channel"
  </Accordion>

  <Accordion title="By entity" icon="building">
    "Only include results from Acme company, exclude everything else"
  </Accordion>
</AccordionGroup>

<Tip>
  Be specific in your queries to help Realm apply the right filters. Mention specific tools, include time ranges, name specific channels or entities, and specify document types when relevant.
</Tip>

## Special features

### Documents

<Frame>
  <img src="https://mintcdn.com/realm/cxbXOINLOkE3iOrw/images/chat-documents.png?fit=max&auto=format&n=cxbXOINLOkE3iOrw&q=85&s=802fb25ef0bcc6a687e9f6806043f25a" alt="Creating documents in Chat" width="3838" height="1916" data-path="images/chat-documents.png" />
</Frame>

Simply ask the Realm Assistant to create a document such as a report, proposal, or brief for you. For example: "Create a battle card vs Acme focusing on security features" or "Draft a follow-up email to Jane Doe".

Once a document is generated, it opens in the Editor. Here, you can talk with your document to make iterative changes like altering the tone or adding a new section, or make manual edits yourself.

#### Exporting documents

<Frame>
  <img src="https://mintcdn.com/realm/cxbXOINLOkE3iOrw/images/chat-export-documents.png?fit=max&auto=format&n=cxbXOINLOkE3iOrw&q=85&s=6a81df78760b3442045cf23aa0f47479" alt="Exporting documents from Chat" width="1492" height="704" data-path="images/chat-export-documents.png" />
</Frame>

When you are satisfied with your document, you can export it to various formats, including Google Docs, PDF, Word, or Markdown.

<Tip>
  Use the Editor to refine generated documents through conversation or direct editing before exporting.
</Tip>

### Data analysis

<Frame>
  <img src="https://mintcdn.com/realm/Bq9xRydm_xUwKVw_/images/chat-data-analysis.png?fit=max&auto=format&n=Bq9xRydm_xUwKVw_&q=85&s=484f347165ea19c174068ad83437c90d" alt="Data analysis in Chat" width="1702" height="951" data-path="images/chat-data-analysis.png" />
</Frame>

When working with spreadsheets, Realm can write code to analyze the data and draw graphs.

<Steps>
  <Step title="Attach a spreadsheet">
    Select "Attach file" and attach a spreadsheet (XLSX, XLS, or CSV).
  </Step>

  <Step title="Enable Data Analysis">
    Click "Data Analysis" to enable the feature.
  </Step>

  <Step title="Prompt for analysis">
    Ask Realm to analyze the data, for example: "Draw a graph of the total daily number of queries per day between the start of the year and now."
  </Step>
</Steps>

What you can do with Data Analysis:

* Generate charts and visualizations
* Calculate statistics and summaries
* Identify trends and patterns
* Create pivot tables and aggregations

### Support ticket resolution

If you're working with support tickets in tools like Zendesk or Freshdesk, you can ask Realm to suggest resolutions. Paste a link to the ticket in chat, and Realm will analyze the ticket content, search relevant knowledge base articles, and suggest a resolution.

<Tip>
  This feature works best when you have comprehensive documentation and FAQs connected to Realm.
</Tip>

### Foreign language support

You can ask Realm questions in languages other than English. Realm searches for materials in the same language as your prompt, and responses are provided in that language. Cross-language search is also supported.

<Note>
  If a significant share of your knowledge base is in a foreign language, have your admins inform the Realm team. We can make significant optimizations that improve Realm's performance in a given language.
</Note>
