From 7f418f0e934c0a085bf4559f70b3b6f9d94e4149 Mon Sep 17 00:00:00 2001 From: sigoden Date: Thu, 1 Aug 2024 15:36:24 +0000 Subject: chore: update README and config.example.yaml --- config.example.yaml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'config.example.yaml') diff --git a/config.example.yaml b/config.example.yaml index 667702e..5e82f4e 100644 --- a/config.example.yaml +++ b/config.example.yaml @@ -7,7 +7,7 @@ top_p: null # Set default top-p parameter, range (0, 1) stream: true # Controls whether to use the stream-style API. save: true # Indicates whether to persist the message keybindings: emacs # Choose keybinding style (emacs, vi) -editor: null # Specifies the command used to edit input buffer or session.yaml. env: EDITOR +editor: null # Specifies the command used to edit input buffer or session. (e.g. vim, emacs, nano). wrap: no # Controls text wrapping (no, auto, ) wrap_code: false # Enables or disables wrapping of code blocks @@ -31,7 +31,7 @@ summary_prompt: 'This is a summary of the chat history as a recap: ' function_calling: true # Enables or disables function calling (Globally). mapping_tools: # Alias for a tool or toolset fs: 'fs_cat,fs_ls,fs_mkdir,fs_rm,fs_write' -use_tools: null # Which tools to use by default +use_tools: null # Which tools to use by default. (e.g. 'fs,web_search') # ---- RAG ---- # See [RAG-Guide](https://github.com/sigoden/aichat/wiki/RAG-Guide) for more details. @@ -63,9 +63,9 @@ document_loaders: # You can add custom loaders using the following syntax: # : # 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, see https://pandoc.org for install - recursive_url: 'rag-crawler $1 $2' # Load websites, see https://github.com/sigoden/rag-crawler + pdf: 'pdftotext $1 -' # Load .pdf file, see https://poppler.freedesktop.org to set up pdftotext + docx: 'pandoc --to plain $1' # Load .docx file, see https://pandoc.org to set up pandoc + recursive_url: 'rag-crawler $1 $2' # Load websites, see https://github.com/sigoden/rag-crawler to set up rag-crawler # ---- apperence ---- highlight: true # Controls syntax highlighting -- cgit v1.2.3