-
Notifications
You must be signed in to change notification settings - Fork 3
/
.chatgpt.conf
165 lines (118 loc) · 4.55 KB
/
.chatgpt.conf
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
153
154
155
156
157
158
159
160
161
162
163
164
165
# ~/.chatgpt.conf
# Config file for chatgpt.sh v0.61.8
# These have higher priority than environment
# Unset variables use defaults
#
# API keys
#OPENAI_API_KEY=
#GOOGLE_API_KEY=
#MISTRAL_API_KEY=
# DEFAULTS
# Text cmpls model
#MOD="gpt-3.5-turbo-instruct"
# Chat cmpls model
#MOD_CHAT="gpt-4-turbo" #"gpt-4o"
# Image model (generations)
#MOD_IMAGE="dall-e-3"
# Whisper model (STT)
#MOD_AUDIO="whisper-1"
# Speech model (TTS)
#MOD_SPEECH="tts-1"
# LocalAI model
#MOD_LOCALAI="phi-2"
# Ollama model
#MOD_OLLAMA="llama3"
# Google AI model
#MOD_GOOGLE="gemini-1.0-pro-latest" #"gemini-1.5-flash-latest"
# Mistral AI model
#MOD_MISTRAL="mistral-large-latest"
# Bash readline mode
#READLINEOPT="emacs" #"vi"
# Stream response
#STREAM=1
# Prompter flush with <CTRL-D>
#OPTCTRD=
# Temperature
#OPTT=0
# Top_p probability mass (nucleus sampling)
#OPTP=1
# Top_k (localai, ollama, google ai)
#OPTK=
# Maximum response tokens
#OPTMAX=1024
# Model capacity (auto)
#MODMAX=
# Presence penalty
#OPTA=
# Frequency penalty
#OPTAA=
# N responses of Best_of
#OPTB=
# Number of responses
#OPTN=1
# Keep Alive (seconds, Ollama)
#OPT_KEEPALIVE=
# Set python tiktoken
#OPTTIK=
# Text editor
#VISUAL="vim"
# Image size
#OPTS=1024x1024
# Image out format
#OPTI_FMT=b64_json #url
# TTS voice
#OPTZ_VOICE= #alloy, echo, fable, onyx, nova, and shimmer
# TTS voice speed
#OPTZ_SPEED= #0.25 - 4.0
# TTS out format
#OPTZ_FMT=opus #mp3, opus, aac, flac
# Recorder command, e.g. "sox -d"
#REC_CMD=""
# Media player command, e.g. "cvlc"
#PLAY_CMD=""
# Clipboard set command, e.g. "xsel -b", "pbcopy"
#CLIP_CMD=""
# Markdown option and renderer
# e.g. "pygmentize -s -lmd", "glow", "mdless", "mdcat"
#OPTMD=0
#MD_CMD="bat"
# Fold response (wrap at white spaces)
#OPTFOLD=1
# Inject restart text
# Chat mode of text cmpls sets '\nQ: '
#RESTART=''
# Inject start text
# Chat mode of text cmpls sets '\nA:'
#START=''
# Model Instruction (chat and text completions)
#
#INSTRUCTION_CHAT="The following is a conversation with an AI assistant. The assistant is helpful, creative, clever, and friendly."
#INSTRUCTION_CHAT="A seguinte é uma conversa com um assistente de IA. O assistente é prestativo, criativo, inteligente e muito amigável." #portuguese
#INSTRUCTION_CHAT="Lo siguiente es una conversación con un asistente de IA. El asistente es servicial, creativo, inteligente y muy amigable." #spanish
#INSTRUCTION_CHAT="Ce qui suit est une conversation avec un assistant d'IA. L'assistant est serviable, créatif, intelligent et très amical." #french
#INSTRUCTION_CHAT="Das Folgende ist ein Gespräch mit einem KI-Assistenten. Der Assistent ist hilfsbereit, kreativ, klug und sehr freundlich." #german
#INSTRUCTION_CHAT="以下は、AIアシスタントとの会話です。アシスタントは、親切で、創造的で、賢く、そしてとてもフレンドリーです。" #japanese
#INSTRUCTION_CHAT="以下是对话内容与一位人工智能助手之间的对话。该助手乐于助人、富有创造力、聪明且非常友好。" #chinese
#INSTRUCTION_CHAT="以下是对话内容與一位人工智慧助手之間的對話。該助手樂於助人、富有創造力、聰明且非常友善。" #chinese traditional
#
#INSTRUCTION=""
# CACHE AND OUTPUT DIRECTORIES
#CACHEDIR="$HOME/.cache/chatgptsh"
#OUTDIR="$HOME/Downloads"
# Host API URLs
#OPENAI_API_HOST_STATIC="" #disable endpoint auto-selection
#OPENAI_API_HOST="https://api.openai.com"
#OLLAMA_API_HOST="http://localhost:11434"
# COLOR THEMES
# Theme defaults
#Color11="${BWhite}" Color10="${White}" # system, \e[1;37m
#Color9="${BCyan}" Color8="${Cyan}" # user input
#Color7="${On_Purple}" Color6="${BPurple}" Color5="${Purple}" # whisper
#Color4="${BYellow}" Color3="${Yellow}" # response
#Color2="${BRed}" Color1="${Red}" # warning / error
# Theme 1
#Color11="${Red}" Color10="${BRed}" Color9="${Purple}" Color8="${BPurple}" Color7="${On_Cyan}" Color6="${Cyan}" Color5="${BCyan}" Color4="${Green}" Color3="${BGreen}" Color2="${Blue}" Color1="${BBlue}"
# Theme 2
#Color11="${BBlue}${On_White}" Color10="${Blue}${On_White}" Color9="${BRed}" Color8="${Red}" Color7="${BWhite}${On_Blue}" Color6="${BGreen}${On_Blue}" Color5="${Green}${On_Blue}" Color4="${BPurple}${On_Blue}" Color3="${Purple}${On_Blue}" Color2="${White}${On_Red}" Color1="${BWhite}${On_Red}"
# Theme 3.1
#Color11="${On_Purple}" Color10="${BWhite}${On_Purple}" Color9="${Blue}" Color8="${BBlue}" Color7="${On_Blue}" Color6="${BYellow}${On_Blue}" Color5="${Yellow}${On_Blue}" Color4="${BWhite}" Color3="${White}" Color2="${BWhite}${On_Red}" Color1="${On_Red}"