-
Notifications
You must be signed in to change notification settings - Fork 9
/
Copy pathSettingsTemplate.yaml
56 lines (56 loc) · 1.44 KB
/
SettingsTemplate.yaml
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
body:
- type: passwordBox
attributes:
name: api_key
label: "API Key:"
defaultValue: ""
description: OpenAI API Key
- type: dropdown
attributes:
name: model
label: "Model:"
defaultValue: gpt-3.5-turbo
options:
- gpt-3.5-turbo
- gpt-4
- gpt-4-0125-preview
- gpt-4-turbo-preview
- gpt-4-1106-preview
- gpt-4-0613
- gpt-4o
- gpt-4o-mini
- type: input
attributes:
name: prompt_stop
label: "Prompt stop:"
defaultValue: "||"
description: Characters to indicate end of prompt
- type: input
attributes:
name: default_prompt
label: "Default system prompt:"
defaultValue: "normal"
description: Default key word that will be looked up in the system_messages.csv file
- type: checkbox
attributes:
name: save_conversation
label: 'Save conversation:'
defaultValue: "false"
description: Check to save the conversations for each prompt type in a .txt file in the plugin folder
- type: dropdown
attributes:
name: log_level
label: "Log Level:"
defaultValue: error
options:
- info
- debug
- warning
- error
- critical
- type: input
attributes:
name: api_endpoint
label: "API Endpoint:"
defaultValue: "https://api.openai.com/v1/chat/completions"
description: Custom OpenAI API endpoint