-
Notifications
You must be signed in to change notification settings - Fork 0
/
help.txt
53 lines (48 loc) · 2.21 KB
/
help.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
Welcome to jdChat bot
NAME
jdChatBot.py
DESCRIPTION
This programm uses the openai model 'text-davinci-003' for simple chat functions.
Interpreter is the cmd module of python
For: 'text-davinci-003'
Use '.\log.txt' for some initial chat infos given to the ai.
Ex.: (Stop word is '\nYou' and '\nAI')
You: My name is Atomi.
My favorite programming language is c.
Today is 02/11/2023.
AI: OK
For: 'gpt-3.5-turbo'
Use '.\log.json' for some initial chat infos given to the ai.
Ex.:
[
{"role": "system", "content": "Du bist ein hilfreicher und cleverer Assistent. Heute ist der {current_date}. Dein Name ist Heinz."},
{"role": "assistant", "content": "Hallo"},
{"role": "user", "content": "Hallo"}
]
COMMANDS
help - Shows this file (./help.txt)
cls - Clears the chat window
list - Print chat log
clear - Empty chat log
quit - Ends jdChat bot
set - Set some parameter: set [parameter] [value]
tokens on|off - Shows the token count of the request
temperature - Set the temperature (default = 0.9)
top - Set parameter top_p (default = 0.7)
frequency - Set parameter frequency_penalty (default = 1.0)
presence - Set parameter presence_penalty (default = 1.2)
best - Set parameter best_of (default = 1.0)
tokens - Set parameter max_tokens (default = 2048)
speech on|off - Activates speech output
language - Set speech language (default = German)
syntax on|off - Activates syntax highlighting
[no parameter] - display all parameter values
record - Starts voice recording
save - Parameter: save [filename]
Saves the complete chat log to [filename].
No parameter, date and time will be used as [filename] ex. log_20230302_0653.txt
prompt - Parameter: prompt [prompt1] [prompt2]
Ex.: prompt You: Heinz:
New stop words are '\nYou:' and '\nHeinz:'
AUTHOR
Written by Atomi J.D.