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

# RAG

## 显示 Helm Chart 值

```bash theme={null}
helm show values dify/dify
```

这是 Helm chart 值中 RAG 配置的示例。

```yaml theme={null}
global:
  rag:
    # RAG ETL type, support: dify or Unstructured
    etlType: "dify"
    keywordDataSourceType: "object_storage"
    # The maximum number of top-k value for RAG.
    topKMaxValue: 10
    # Configuration for document chunk length. It is used to control the size of text segments when processing long documents.
    indexingMaxSegmentationTokensLength: 4000
  ... ...
```

## `global.rag.etlType` 字段的选项

* Unstructured: [Unstructured.io](https://unstructured.io/) 文件提取方案
* dify: Dify 的专有文件提取方案
