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

# Exa Search

> 配置一个使用 Exa 搜索网络并存储结果供后续步骤使用的工作流步骤

# Exa Search

当你希望工作流步骤使用 Exa 搜索网络,并控制 Fetch Hive 返回多少内容、筛选和总结时,请使用 **Exa Search**。

## 配置

| 选项 | 是否必填 | 说明 |
| - | - | - |
| Name | 否 | 步骤在工作流画布中的标签。 |
| Search Query | 是 | **Search Query** 中的查询。此字段通过 **Insert Variable** 支持工作流变量。 |
| Search Type | 否 | **Search Type** 中的搜索模式。可用值为 `neural`、`keyword` 和 `auto`。 |
| Number of Results | 否 | **Number of results** 中的结果数量。 |
| Published within (days) | 否 | 仅返回最近 N 天内发布的结果(1 到 3650)。留空表示不限。 |
| Domain Filter Mode | 否 | **Domain Filter** 应包含还是排除列出的域。 |
| Domain Filter | 否 | **Domain Filter** 中以逗号分隔的域。此字段通过 **Insert Variable** 支持工作流变量。 |
| Text | 否 | 控制每个结果是否包含结果文本。 |
| Max Characters | 否 | 启用 **Text** 时每个结果的最大字符数。 |
| Summary | 否 | 控制是否返回结果摘要。 |
| Summary Query | 否 | 启用 **Summary** 时使用的可选 **Summary query**。此字段通过 **Insert Variable** 支持工作流变量。 |
| Charge Type | 否 | 在 **Charge type** 中选择的值。可用值为 **Hosted** 和 **Personal**。 |
| When the step fails | 否 | 控制此步骤失败时工作流应 **Terminate Workflow** 还是 **Continue**。 |
| 从 **Search steps...** 的 **Research** 分组添加此步骤。 | | |

**Search Type** 标签允许你在 **Neural**、**Keyword** 和 **Auto** 之间选择。**Domain Filter** 同时支持包含和排除模式。如果你需要结果内容,启用 **Text**;如果你需要每个结果的摘要,启用 **Summary**。

## 输出

点击步骤标题中的 **Run** 来测试步骤。运行完成后,Fetch Hive 会在 **Output** 中显示 Exa 结果输出。

在后续步骤中使用变量选择器插入该次运行可用的确切输出路径。基础引用为:

```text theme={null}
{{STEP_IDENTIFIER.output}}
```

如果你想要完整的结果集,直接引用基础输出:

```text theme={null}
{{step_2.output}}
```

具体形状取决于你启用了哪些选项。例如,text 和 summary 字段只在这些功能开启时出现。在测试运行后使用变量选择器检查返回的字段。

## 示例

从 **Search steps...** 的 **Research** 分组中添加 **Exa Search**。

将 **Name** 设置为类似 `Find enterprise AI vendors` 的内容。

在 **Search Query** 中输入你的查询。如果查询应重用工作流数据,点击 **Insert Variable** 并添加该引用。

根据搜索应该有多具体来选择 **Search Type**,然后设置 **Number of results**。

如果想缩小搜索范围,在 **Domain Filter** 中添加域,并选择 **Include** 或 **Exclude**。

如果你想要每个结果的内容,启用 **Text**,并按需设置 **Maximum characters per result**。

如果你想要每个结果的摘要,启用 **Summary**。如果摘要应回答比主搜索更具体的问题,请添加 **Summary query**。

选择 **Charge type**,点击 **Run**,并在 **Output** 中查看返回的结果。

## 备注

* **Domain Filter** 接受以逗号分隔的基础域和子域。
* **Maximum characters per result** 仅在启用 **Text** 时有效。
* **Summary query** 是可选的。如果留空,Fetch Hive 会使用步骤现有的查询上下文。

另见:[创建和编辑](https://docs.fetchhive.com/zh/workflows/creating-and-editing.md)、[测试与迭代](https://docs.fetchhive.com/zh/workflows/testing-and-iteration.md) 和 [错误处理](https://docs.fetchhive.com/zh/workflows/error-handling.md)


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.