diff options
| author | sigoden <sigoden@gmail.com> | 2024-07-02 09:20:40 +0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-07-02 09:20:40 +0800 |
| commit | bbe08d6d81c9d8aef87223082a70e2b8eaae1095 (patch) | |
| tree | 3e6544f8627d67906f365c3adb05f56281427827 /config.example.yaml | |
| parent | 2f2b13c891d19e29b18ff09f7f540d7fded15887 (diff) | |
| download | aichat-bbe08d6d81c9d8aef87223082a70e2b8eaae1095.tar.gz | |
refactor: improve RAG (#676)
Diffstat (limited to 'config.example.yaml')
| -rw-r--r-- | config.example.yaml | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/config.example.yaml b/config.example.yaml index 0be8b84..d45a86c 100644 --- a/config.example.yaml +++ b/config.example.yaml @@ -25,11 +25,11 @@ summarize_prompt: 'Summarize the discussion briefly in 200 words or less to use # Text prompt used for including the summary of the entire session summary_prompt: 'This is a summary of the chat history as a recap: ' -# Define document loaders to control how `.file`/`--file` and RAG load files of specific formats. +# Define document loaders to control how RAG and `.file`/`--file` load files of specific formats. document_loaders: # You can add custom loaders using the following syntax: # <file-extension>: <command-to-load-the-file> - # Note: Use `$1` for input filepath and `$2` for output filepath. If `$2` is not provided, output to stdout. + # Note: Use `$1` for input file and `$2` for output file. If `$2` is omitted, use stdout as output. pdf: 'pdftotext $1 -' # Load .pdf file, see https://poppler.freedesktop.org docx: 'pandoc --to plain $1' # Load .docx file # xlsx: 'ssconvert $1 $2' # Load .xlsx file |
