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

# 使用工作空间来完成更大的任务

> 对文件夹和文件进行一次索引，以便 Alter 可以在更大的上下文中工作

当一次性文件删除不够并且需要持久上下文时，请使用工作区。

## 为什么使用工作区

<CardGroup cols={3}>
  <Card title="Faster responses" icon="zap">
    保持相关上下文索引并准备就绪。
  </Card>

  <Card title="Lower cost" icon="credit-card">
    每次发送重点上下文而不是大量原始输入。
  </Card>

  <Card title="Large folders" icon="folder-open">
    使用更大的代码库和文档集。
  </Card>
</CardGroup>

## 创建你的第一个工作区

<Steps>
  <Step title="Open The Hub">
    按`Shift + Cmd + H`。
  </Step>

  <Step title="Go to Workspaces">
    打开侧边栏中的“工作区”部分。
  </Step>

  <Step title="Create workspace">
    单击工作区选择器中的`+`。
  </Step>

  <Step title="Add files and folders">
    仅添加您经常运行的一项工作流程所需的资源。
  </Step>
</Steps>

## 文件是如何准备的

| 文件类型 | 转换               |
| ---- | ---------------- |
| PDF  | 带有页面标记的 Markdown |
| DOCX | 降价               |
| XLSX | Markdown 或 CSV   |
| 图片   | OCR 文本提取         |
| 目录   | 递归处理             |

<Note>
  工作区不直接支持音频和视频文件。首先将它们放入 Alter 中进行转录。
</Note>

## 本地存储

工作区数据本地存储在：

```text theme={null}
~/Library/Application Support/Alter/Workspaces/
```

## 相关页面

* [工作区和操作自动化](/getting-started/automate-with-workspaces-and-actions)
* [创建可重复使用的动作](/getting-started/actions-basics)
* [使用工具管理器](/how-to/tool-manager-guide)
