forked from yGuy/chatgpt-mattermost-bot
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathconfig-sample.yaml
73 lines (71 loc) · 2.37 KB
/
config-sample.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
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
# System default settings
MATTERMOST_URL: 'https://your-mattermost-url.example.com'
BOT_CONTEXT_MSG: 100
PLUGINS: image-plugin
OPENAI_MAX_TOKENS: 2000
OPENAI_TEMPERATURE: 1
MAX_PROMPT_TOKENS: 2000
# Bot instructions
BOT_INSTRUCTION: "You are a helpful assistant. Whenever users asks you for help you will provide them with succinct answers formatted using Markdown. You know the user's name as it is provided within the meta data of the messages."
bots:
- name: '@OpenAI'
mattermostUrl: 'https://your-mattermost-url.example.com'
mattermostToken: 'your-mattermost-token'
type: 'openai'
apiKey: 'your-openai-api-key'
apiBase: 'https://api.openai.com/v1'
modelName: 'gpt-4o-mini'
visionModelName: 'gpt-4-vision-preview'
imageModelName: 'dall-e-3'
maxTokens: 16384
temperature: 1
maxPromptTokens: 123904
plugins: 'image-plugin'
- name: '@ChatGPT'
mattermostUrl: 'https://your-mattermost-url.example.com'
mattermostToken: 'your-mattermost-token'
type: 'azure'
apiKey: 'your-azure-openai-api-key'
apiVersion: '2024-10-21'
instanceName: 'your-azure-instance-name'
deploymentName: 'gpt-4o-mini'
visionKey: 'your-azure-openai-vision-key'
visionInstanceName: 'your-azure-vision-instance-name'
visionDeploymentName: 'gpt-4v'
imageKey: 'your-azure-openai-image-key'
imageInstanceName: 'your-azure-image-instance-name'
imageDeploymentName: 'dall-e-3'
maxTokens: 16384
temperature: 1
maxPromptTokens: 123904
plugins: 'image-plugin'
- name: '@Gemini'
mattermostUrl: 'https://your-mattermost-url.example.com'
mattermostToken: 'your-mattermost-token'
type: 'google'
apiKey: 'your-google-api-key'
imageModelName: 'dall-e-3'
maxTokens: 8192
temperature: 1
maxPromptTokens: 1048576
plugins: ''
- name: '@Cohere'
mattermostUrl: 'https://your-mattermost-url.example.com'
mattermostToken: 'your-mattermost-token'
type: 'cohere'
apiKey: 'your-cohere-api-key'
imageModelName: 'dall-e-3'
maxTokens: 4000
temperature: 1
maxPromptTokens: 123904
plugins: ''
- name: '@Anthropic'
mattermostUrl: 'https://your-mattermost-url.example.com'
mattermostToken: 'your-mattermost-token'
type: 'anthropic'
apiKey: 'your-anthropic-api-key'
imageModelName: 'dall-e-3'
maxTokens: 4096
temperature: 1
maxPromptTokens: 123904
plugins: ''