Skip to content

GitHub 文档加载器节点(GitHub Document Loader node)#

已弃用

该节点已弃用,将在未来版本中移除。

使用 GitHub 文档加载器节点从 GitHub 仓库中加载数据,用于 向量存储 或摘要。

🌐 Use the GitHub Document Loader node to load data from a GitHub repository for vector stores or summarization.

本页提供 GitHub Document Loader 节点的参数以及更多资源的链接。

🌐 On this page, you'll find the node parameters for the GitHub Document Loader node, and links to more resources.

凭证

你可以在这里找到此节点的认证信息。此节点不支持 OAuth 认证。

Parameter resolution in sub-nodes

Sub-nodes behave differently to other nodes when processing multiple items using an expression.

Most nodes, including root nodes, take any number of items as input, process these items, and output the results. You can use expressions to refer to input items, and the node resolves the expression for each item in turn. For example, given an input of five name values, the expression {{ $json.name }} resolves to each name in turn.

In sub-nodes, the expression always resolves to the first item. For example, given an input of five name values, the expression {{ $json.name }} always resolves to the first name.

节点参数(Node parameters)#

  • 文本拆分:选择如下:
    • 简单:使用 递归字符文本分割器,块大小为1000,重叠部分为200。
    • 自定义:允许你连接自己选择的文本分割器。
  • 仓库链接:输入你 GitHub 仓库的 URL。
  • 分支:输入要使用的分支名称。

节点选项(Node options)#

  • 递归:选择是否包含子文件夹和文件(打开)或不包含(关闭)。
  • 忽略路径:输入要忽略的目录。

模板和示例(Templates and examples)#

Template widget placeholder.

Refer to LangChain's documentation on document loaders for more information about the service.

View n8n's Advanced AI documentation.