> ## 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

## Display Helm Chart Values

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

This is an example of the RAG configuration in the Helm chart values.

```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
  ... ...
```

## The options for the `global.rag.etlType` field

* `Unstructured`: [Unstructured.io](https://unstructured.io/) file extraction scheme
* `dify`: Dify's proprietary file extraction scheme
