Skip to content

评估触发器节点#

¥Evaluation Trigger node

设置 evaluations 时,使用 Evaluation Trigger 节点来验证 AI 工作流的可靠性。在评估期间,“评估触发器”节点会从 Google Sheets 读取你的评估数据集,并按顺序逐个将项目发送到工作流中。

¥Use the Evaluation Trigger node when setting up evaluations to validate your AI workflow reliability. During evaluation, the Evaluation Trigger node reads your evaluation dataset from Google Sheets, sending the items through the workflow one at a time, in sequence.

本页列出了 Evaluation Trigger 节点的参数和选项。

¥On this page, you'll find the Evaluation Trigger node parameters and options.

Credentials for Google Sheets

“评估触发器”节点使用数据表或 Google Sheets 来存储测试数据集。要使用 Google Sheets 作为数据集源,请配置 Google Sheets 凭据

¥The Evaluation Trigger node uses data tables or Google Sheets to store the test dataset. To use Google Sheets as a dataset source, configure a Google Sheets credential.

参数#

¥Parameters

  • 源:选择要输出评估结果的位置。默认值为数据表。

¥Source: Select the location to which you want to output the evaluation results. Default value is Data table.

源设置会根据源的选择而有所不同。

¥Source settings differ depending on Source selection.

  • 当数据源为数据表时:

    ¥When Source is Data table:

    • 数据表:按名称或 ID 选择数据表。

    ¥Data table: Select a data table by name or ID.

    • 限制行数:是否限制要处理的数据表中的行数。默认状态为 off

    ¥Limit Rows: Whether to limit the number of rows in the data table to process. Default state is off.

    • 最大处理行数:启用“限制行数”后,评估期间要读取和处理的最大行数。默认值为 10。

      ¥Max Rows to Process: When Limit Rows is enabled, the maximum number of rows to read and process during the evaluation. Default value is 10.

    • 按行筛选:是否筛选数据表中的行以进行处理。默认状态为 off

      ¥Filter Rows: Whether to filter rows in the data table to process. Default state is off.

  • 当数据源为 Google Sheets 时:

    ¥When Source is Google Sheets:

    ¥Credential to connect with: Create or select an existing Google Sheets credentials. - 包含数据集的文档:选择包含测试数据集的工作表所在的电子表格文档。

    ¥Document Containing Dataset: Choose the spreadsheet document with the sheet containing your test dataset.

    • 选择“从列表”从下拉列表中选择电子表格标题,选择“通过 URL”输入电子表格 URL,或选择“通过 ID”输入 spreadsheetId

      ¥Select From list to choose the spreadsheet title from the dropdown list, By URL to enter the url of the spreadsheet, or By ID to enter the spreadsheetId.

    • 你可以在 Google 表格 URL 中找到 spreadsheetIdhttps://docs.google.com/spreadsheets/d/spreadsheetId/edit#gid=0

      ¥You can find the spreadsheetId in a Google Sheets URL: https://docs.google.com/spreadsheets/d/spreadsheetId/edit#gid=0. - 包含数据集的工作表:请选择包含测试数据集的工作表。

    ¥Sheet Containing Dataset: Choose the sheet containing your test dataset.

    • 选择“从列表”从下拉列表中选择工作表标题,选择“通过 URL”输入工作表 URL,选择“通过 ID”输入 sheetId,或选择“通过名称”输入工作表标题。

      ¥Select From list to choose the sheet title from the dropdown list, By URL to enter the url of the sheet, By ID to enter the sheetId, or By Name to enter the sheet title.

    • 你可以在 Google 表格 URL 中找到 sheetIdhttps://docs.google.com/spreadsheets/d/aBC-123_xYz/edit#gid=sheetId

      ¥You can find the sheetId in a Google Sheets URL: https://docs.google.com/spreadsheets/d/aBC-123_xYz/edit#gid=sheetId. - 限制行数:是否限制要处理的工作表中的行数。

    ¥Limit Rows: Whether to limit the number of rows in the sheet to process.

    • 最大处理行数:启用“限制行数”后,评估期间要读取和处理的最大行数。

      ¥Max Rows to Process: When Limit Rows is enabled, the maximum number of rows to read and process during the evaluation. - 筛选器:根据列值筛选评估数据集。

    ¥Filters: Filter the evaluation dataset based on column values.

    • 列:选择要筛选的表格列。选择“从列表”从下拉列表中选择列名,或选择“按 ID”使用 expression 指定 ID。

      ¥Column: Choose a sheet column you want to filter by. Select From list to choose the column name from the dropdown list, or By ID to specify an ID using an expression.

    • 值:要筛选的列值。评估将仅处理所选列具有给定值的行。

      ¥Value: The column value you want to filter by. The evaluation will only process rows with the given value for the selected column.

模板和示例#

¥Templates and examples

Template widget placeholder.

相关资源#

¥Related resources

要了解有关 n8n 评估的更多信息,请参阅 评估文档

¥To learn more about n8n evaluations, check out the evaluations documentation

n8n 提供评估的应用节点。你可以找到节点文档 此处

¥n8n provides an app node for evaluations. You can find the node docs here.

有关常见问题或建议的解决方案,请参阅 提示和常见问题 评估页面。

¥For common questions or issues and suggested solutions, refer to the evaluations tips and common issues page.