diff options
| author | sigoden <sigoden@gmail.com> | 2024-06-26 21:51:06 +0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-06-26 21:51:06 +0800 |
| commit | 5985551abaf9418c1c37ef9fd6db39a6c9c94d69 (patch) | |
| tree | d7003f3706572ee5740fba0dfdff703806379501 /config.example.yaml | |
| parent | 03b40036a177468b1c471eefd365d6f6bc283a7c (diff) | |
| download | aichat-5985551abaf9418c1c37ef9fd6db39a6c9c94d69.tar.gz | |
feat: rag load websites (#655)
Diffstat (limited to 'config.example.yaml')
| -rw-r--r-- | config.example.yaml | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/config.example.yaml b/config.example.yaml index 286bb83..52b311c 100644 --- a/config.example.yaml +++ b/config.example.yaml @@ -53,8 +53,10 @@ rag_min_score_rerank: 0 # Specifies the minimum relevance sc rag_document_loaders: # You can add more loaders, here is the syntax: # <file-extension>: <command-to-load-the-file> - pdf: 'pdftotext $1 -' # Load .pdf file + pdf: 'pdftotext $1 -' # Load .pdf file, see https://poppler.freedesktop.org docx: 'pandoc --to plain $1' # Load .docx file + url: 'curl -fsSL $1' # Load url + # recursive_url: 'crawler $1 $2' # Load websites # Defines the query structure using variables like __CONTEXT__ and __INPUT__ to tailor searches to specific needs rag_template: | |
