lollms-webui/configs/config.yaml

177 lines
4.8 KiB
YAML
Raw Normal View History

2024-01-27 19:44:58 +01:00
# =================== Lord Of Large Language Multimodal Systems Configuration file ===========================
2024-03-31 18:18:24 +02:00
version: 78
2023-06-25 21:06:47 +02:00
binding_name: null
2023-06-15 21:19:19 +02:00
model_name: null
2024-02-24 02:49:04 +01:00
model_variant: null
model_type: null
2023-06-05 01:21:12 +02:00
2024-02-16 22:44:44 +01:00
show_news_panel: True
2024-02-18 00:14:52 +01:00
# Security measures
2024-03-31 18:18:24 +02:00
turn_on_setting_update_validation: True
2024-02-15 01:31:16 +01:00
turn_on_code_execution: True
2024-02-17 02:08:14 +01:00
turn_on_code_validation: True
turn_on_open_file_validation: False
turn_on_send_file_validation: False
2024-02-15 01:31:16 +01:00
2024-02-18 00:14:52 +01:00
force_accept_remote_access: false
2024-02-16 22:44:44 +01:00
# Server information
2024-02-15 00:35:04 +01:00
headless_server_mode: False
allowed_origins: []
2023-07-19 17:41:23 +02:00
2023-06-05 01:21:12 +02:00
# Host information
2023-04-14 11:58:07 +02:00
host: localhost
port: 9600
2023-06-05 01:21:12 +02:00
# Genreration parameters
2023-07-19 17:41:23 +02:00
discussion_prompt_separator: "!@>"
2023-05-07 03:44:42 +02:00
seed: -1
2023-10-20 23:42:08 +02:00
ctx_size: 4084
2024-03-15 01:34:21 +01:00
max_n_predict: 4096
min_n_predict: 512
temperature: 0.9
top_k: 50
2023-04-12 22:36:03 +02:00
top_p: 0.95
2023-06-05 01:21:12 +02:00
repeat_last_n: 40
repeat_penalty: 1.2
n_threads: 8
#Personality parameters
2023-08-18 01:29:53 +02:00
personalities: ["generic/lollms"]
2023-06-08 08:58:02 +02:00
active_personality_id: 0
override_personality_model_parameters: false #if true the personality parameters are overriden by those of the configuration (may affect personality behaviour)
2023-06-05 01:21:12 +02:00
2023-10-03 01:13:02 +02:00
extensions: []
2023-06-05 01:21:12 +02:00
user_name: user
2023-07-16 18:57:30 +02:00
user_description: ""
use_user_name_in_discussions: false
use_model_name_in_discussions: false
2023-07-16 18:57:30 +02:00
user_avatar: default_user.svg
2023-09-13 01:43:23 +02:00
use_user_informations_in_discussion: false
2023-06-05 01:21:12 +02:00
# UI parameters
2024-02-19 00:23:15 +01:00
discussion_db_name: default
2023-07-16 18:57:30 +02:00
2023-08-27 01:16:46 +02:00
# Automatic updates
debug: False
2024-01-27 22:02:31 +01:00
debug_log_file_path: ""
2023-08-18 01:29:53 +02:00
auto_update: true
2024-01-15 01:10:40 +01:00
auto_sync_personalities: true
auto_sync_extensions: true
auto_sync_bindings: true
auto_sync_models: true
2023-08-27 01:16:46 +02:00
auto_save: true
2023-11-26 02:33:25 +01:00
auto_title: false
2024-01-04 03:57:42 +01:00
# Install mode (cpu, cpu-noavx, nvidia-tensorcores, nvidia, amd-noavx, amd, apple-intel, apple-silicon)
hardware_mode: nvidia-tensorcores
2023-08-31 23:05:16 +02:00
# Automatically open the browser
auto_show_browser: true
2023-07-21 23:59:24 +02:00
2024-02-08 23:04:27 +01:00
# copy to clipboard
copy_to_clipboard_add_all_details: false
2023-12-29 23:38:30 +01:00
# Voice service
enable_voice_service: false
2024-02-20 23:52:32 +01:00
xtts_base_url: http://localhost:8020
2023-12-29 23:38:30 +01:00
auto_read: false
current_voice: null
current_language: en
2024-01-03 01:41:01 +01:00
# Image generation service
enable_sd_service: false
2024-02-20 23:52:32 +01:00
sd_base_url: http://localhost:7860
2024-01-03 01:41:01 +01:00
2024-03-17 23:05:56 +01:00
# Image generation service comfyui
enable_comfyui_service: false
comfyui_base_url: http://127.0.0.1:8188/
2024-02-27 17:06:22 +01:00
# Motion control service
enable_motion_ctrl_service: false
motion_ctrl_base_url: http://localhost:7861
2024-01-11 02:32:21 +01:00
# ollama service
enable_ollama_service: false
2024-02-20 23:52:32 +01:00
ollama_base_url: http://localhost:11434
2024-01-11 02:32:21 +01:00
2024-01-13 12:16:58 +01:00
# petals service
enable_petals_service: false
2024-02-20 00:53:41 +01:00
petals_base_url: http://localhost:8064
petals_model_path: TinyLlama/TinyLlama-1.1B-Chat-v1.0
2024-02-21 01:09:44 +01:00
petals_device: cuda
2024-01-13 12:16:58 +01:00
2024-01-14 00:37:43 +01:00
# lollms service
enable_lollms_service: false
2024-02-20 00:53:41 +01:00
lollms_base_url: http://localhost:1234
2024-01-14 00:37:43 +01:00
2024-01-25 01:10:11 +01:00
# elastic search service
elastic_search_service: false
2024-02-20 00:53:41 +01:00
elastic_search_url: http://localhost:9200
2024-01-25 01:10:11 +01:00
# vll service
2024-02-20 23:52:32 +01:00
enable_vllm_service: false
2024-02-20 00:53:41 +01:00
vllm_url: http://localhost:8000
vllm_model_path: TinyLlama/TinyLlama-1.1B-Chat-v1.0
2024-02-21 01:09:44 +01:00
vllm_gpu_memory_utilization: 0.9
vllm_max_model_len: 4096
vllm_max_num_seqs: 256
2024-01-25 01:10:11 +01:00
2023-07-21 23:59:24 +02:00
# Audio
2023-12-26 02:46:50 +01:00
media_on: false
audio_in_language: 'en-US'
2023-07-22 03:17:30 +02:00
auto_speak: false
2023-12-28 16:57:59 +01:00
audio_out_voice: null
2023-07-28 01:16:26 +02:00
audio_pitch: 1
2023-08-27 01:16:46 +02:00
audio_auto_send_input: true
audio_silenceTimer: 5000
2023-08-23 04:21:58 +02:00
# Data vectorization
2024-02-26 22:59:03 +01:00
activate_skills_lib: false # Activate vectorizing previous conversations
skills_lib_database_name: "default" # Default skills database
2023-12-04 01:40:36 +01:00
summerize_discussion: false # activate discussion summary (better but adds computation time)
2024-02-26 22:59:03 +01:00
2023-12-04 01:40:36 +01:00
max_summary_size: 512 # in tokens
2023-10-20 23:42:08 +02:00
data_vectorization_visualize_on_vectorization: false
2023-08-27 02:31:22 +02:00
use_files: true # Activate using files
data_vectorization_activate: true # To activate/deactivate data vectorization
2023-10-09 01:18:21 +02:00
data_vectorization_method: "tfidf_vectorizer" #"model_embedding" or "tfidf_vectorizer"
2023-08-23 04:21:58 +02:00
data_visualization_method: "PCA" #"PCA" or "TSNE"
data_vectorization_save_db: False # For each new session, new files
data_vectorization_chunk_size: 512 # chunk size
data_vectorization_overlap_size: 128 # overlap between chunks size
data_vectorization_nb_chunks: 2 # number of chunks to use
2023-08-27 02:31:22 +02:00
data_vectorization_build_keys_words: false # If true, when querrying the database, we use keywords generated from the user prompt instead of the prompt itself.
2023-12-22 16:41:01 +01:00
data_vectorization_force_first_chunk: false # If true, the first chunk of the document will systematically be used
data_vectorization_make_persistance: false # If true, the data will be persistant webween runs
2023-12-30 17:09:30 +01:00
2024-02-09 01:42:29 +01:00
# Activate internet search
activate_internet_search: false
2024-02-10 11:33:09 +01:00
internet_vectorization_chunk_size: 512 # chunk size
internet_vectorization_overlap_size: 128 # overlap between chunks size
internet_vectorization_nb_chunks: 2 # number of chunks to use
internet_nb_search_pages: 3 # number of pages to select
2024-02-10 21:35:27 +01:00
internet_quick_search: False # If active the search engine will not load and read the webpages
internet_activate_search_decision: False # If active the ai decides by itself if it needs to do search
2023-12-30 17:09:30 +01:00
# Helpers
2024-01-03 01:41:01 +01:00
pdf_latex_path: null
# boosting information
positive_boost: null
negative_boost: null
force_output_language_to_be: null
2024-01-11 23:14:30 +01:00
fun_mode: False
2024-01-27 19:44:58 +01:00
# webui configurations
show_code_of_conduct: true
activate_audio_infos: true
2024-02-04 12:06:13 +01:00
# whisper configuration
whisper_model: base