From bbe08d6d81c9d8aef87223082a70e2b8eaae1095 Mon Sep 17 00:00:00 2001 From: sigoden Date: Tue, 2 Jul 2024 09:20:40 +0800 Subject: refactor: improve RAG (#676) --- config.example.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'config.example.yaml') 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: # : - # 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 -- cgit v1.2.3