forked from KoljaB/Linguflex
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathconfig.txt
152 lines (126 loc) · 4.16 KB
/
config.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
[system]
language=en
city=New York
# TZ identifier, visit https://en.wikipedia.org/wiki/List_of_tz_database_time_zones or print a list with pytz.all_timezones
timezone=America/New_York
debuglevel=3
debugfunctions=3
#------------------------------------------------
# loaded modules list
[modules]
user_interface
openai_generator
microphone_recorder
whisper_speechtotext
memory
personality_switch
play_sound
#user_location
#media_playout
#email_imap
#weather_forecast
#google_information
#google_calendar
#picture_search
#picture_generator
#news_summary
#stocks_portfolio
#smart_home_devices
#wled
#emoji_game
system_texttospeech
#edge_texttospeech
#azure_texttospeech
#elevenlabs_texttospeech
#------------------------------------------------
# Core modules configuration
[user_interface]
window_width=650
window_height=800
[openai_generator]
api_key=ENTER YOUR OPENAI API-KEY HERE
default_temperature=0.5
init_prompt=
gpt_model=gpt-3.5-turbo-0613
gpt_max_model=gpt-3.5-turbo-0613
# available models are: gpt-3.5-turbo-0613 / gpt-3.5-turbo-16k-0613 / gpt-4-0613 / gpt-4-32k-0613
max_history_entries = 4
max_tokens_per_function = 1200
max_tokens_per_msg = 1200
max_total_tokens = 3200
#retry_attempts = 5
#min_timeout = 4
#timeout_increase = 4
#estimated_processing_time_per_token = 0.005
#output_message_token_reserve = 1500
#security_window_for_miscalculating_tokens = 200
#minimum_token_window = 200
#completion_token_reserve = 1000
#message_in_history_max_size_percent = 0.25
#function_in_history_max_size_percent = 0.25
[microphone_recorder]
debug_show_volume=False
volume_start_recording=5
volume_stop_recording=5
wake_words_sensitivity=0.55
#tts=default
#wake_words=jarvis
#ema_ambient_noise_level=0.995
#ema_current_noise_level=0.9
#end_of_sentence_silence_length=1.2
[whisper_speechtotext]
# Size Parameters English-only Multilingual Required VRAM Relative speed
# tiny 39 M tiny.en tiny ~1 GB ~32x
# base 74 M base.en base ~1 GB ~16x
# small 244 M small.en small ~2 GB ~6x
# medium 769 M medium.en medium ~5 GB ~2x
# large 1550 M N/A large ~10 GB 1x
model_size=medium
#------------------------------------------------
# Text-to-speech modules configuration
[system_texttospeech]
voice=Microsoft David Desktop - English (United States)
[edge_texttospeech]
launch_wait_time_before_tts_init=0.75
minimize_window=False
tts_wait_time_before_minimize_init=0.75
max_wait_time_for_close_windows=1
[azure_texttospeech]
api_key=ENTER YOUR AZURE SPEECH API-KEY HERE
language_tag=en-US
region=eastus
# standardized IETF BCP 47 language tag => https://learn.microsoft.com/en-us/azure/cognitive-services/speech-service/language-support
log_output=true
[elevenlabs_texttospeech]
api_key=ENTER YOUR ELEVENLABS API-KEY HERE
voice=Adam
log_voices=true
#------------------------------------------------
# Additional modules configuration
[personality_switch]
character=Assistant
[google_information]
api_key=ENTER YOUR GOOGLE API-KEY HERE
cse_id=ENTER YOUR GOOGLE SEARCH ENGINE CSE ID HERE
[media_playout]
# Google Cloud API key for accessing the YouTube Data API (v3)
api_key=ENTER YOUR GOOGLE CLOUD API-KEY HERE
[weather_forecast]
api_key=ENTER YOUR OPENWEATHERMAP API-KEY HERE
[email_imap]
server=ENTER YOUR IMAP EMAIL SERVER HERE (for example: imap.web.de)
username=ENTER YOUR MAIL LOGIN USERNAME HERE
password=ENTER YOUR MAIL PASSWORD HERE
history_days=3
[picture_search]
api_key=ENTER YOUR GOOGLE API-KEY HERE
cse_id=ENTER YOUR GOOGLE SEARCH ENGINE CSE ID HERE
[play_sound]
notice_message_seconds = 0
[wled]
wled_url=http://192.168.178.1/json/state
max_bulbs=300
[stocks_portfolio]
summary_url=http://www.comdirect.de/inf/musterdepot/pmd/freunde.html?portfolio_key=2292222040208171207217514212856016747845524741807122040879782074100435982669295295
depot_names=LinguflexDemoDepot
depot_urls=http://www.comdirect.de/inf/musterdepot/pmd/freunde.html?portfolio_key=2292222040208171207217514212856016747845524741807122040879782074100435982669295295