-
Notifications
You must be signed in to change notification settings - Fork 0
/
config.js
158 lines (158 loc) · 4.6 KB
/
config.js
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
export const config = {
connectorName: 'AlephAlpha',
models: [
'luminous-base',
'luminous-base-control',
'luminous-base-control-20240215',
'luminous-base-control-20230501',
'luminous-supreme',
'luminous-supreme-control',
'luminous-supreme-control-20230501',
'luminous-supreme-control-20240215',
'luminous-extended',
'luminous-extended-control',
'luminous-extended-control-20230501',
'luminous-extended-control-20240215',
],
properties: [
{
id: 'nice',
name: 'Nice',
value: false,
type: 'boolean',
},
{
id: 'maximum_tokens',
name: 'Maximum Tokens',
value: 64,
type: 'number',
},
{
id: 'hosting',
name: 'Hosting',
value: 'aleph-alpha',
type: 'string',
},
{
id: 'minimum_tokens',
name: 'Minimum Tokens',
value: 0,
type: 'number',
},
{
id: 'temperature',
name: 'Temperature',
value: 0.7,
type: 'number',
},
{
id: 'echo',
name: 'Echo',
value: false,
type: 'boolean',
},
{
id: 'top_k',
name: 'Top K',
value: 1,
type: 'number',
},
{
id: 'top_p',
name: 'Top P',
value: 1,
type: 'number',
},
{
id: 'presence_penalty',
name: 'Presence Penalty',
value: 0.5,
type: 'number',
},
{
id: 'frequency_penalty',
name: 'Frequency Penalty',
value: 0.5,
type: 'number',
},
{
id: 'stop_sequences',
name: 'Stop Sequences',
value: ['\n'],
type: 'array',
},
{
id: 'best_of',
name: 'Best Of',
value: 1,
type: 'number',
},
{
id: 'logprobs',
name: 'LogProbs',
value: false,
type: 'boolean',
},
{
id: 'repetition_penalties_include_prompt',
name: 'Repetition penalties include prompt',
value: false,
type: 'boolean',
},
{
id: 'repetition_penalties_include_completion',
name: 'Repetition penalties include completion',
value: true,
type: 'boolean',
},
{
id: 'use_multiplicative_presence_penalty',
name: 'Use multiplicative presence penalty',
value: false,
type: 'boolean',
},
{
id: 'use_multiplicative_frequency_penalty',
name: 'Use multiplicative frequency penalty',
value: false,
type: 'boolean',
},
{
id: 'use_multiplicative_sequence_penalty',
name: 'Use multiplicative sequence penalty',
value: false,
type: 'boolean',
},
{
id: 'sequence_penalty_min_length',
name: 'Sequence penalty min length',
value: 2,
type: 'number',
},
{
id: 'n',
name: 'N',
value: 1,
type: 'number',
},
{
id: 'disable_optimizations',
name: 'Disable optimizations',
value: false,
type: 'boolean',
},
],
settings: [
{
id: 'BEARER_TOKEN',
name: 'Bearer Token',
value: '',
type: 'string',
},
],
description:
"The AlephAlpha Connector provides an interface to utilize AlephAlpha's AI models within Prompt Mixer applications. It does not connect to any external service.",
author: 'Prompt Mixer',
iconBase64:
'data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTYiIGhlaWdodD0iMTYiIHZpZXdCb3g9IjAgMCAxNiAxNiIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPHBhdGggZD0iTTQuNjY2NjcgMy4zMzMzNUM0LjY2NjY3IDEuODYwNTkgNS44NjA1NyAwLjY2NjY4NyA3LjMzMzMzIDAuNjY2Njg3QzguODA2MDcgMC42NjY2ODcgMTAgMS44NjA1OSAxMCAzLjMzMzM1SDEyQzEyLjM2ODIgMy4zMzMzNSAxMi42NjY3IDMuNjMxODMgMTIuNjY2NyA0LjAwMDAyVjYuMDAwMDJDMTQuMTM5NCA2LjAwMDAyIDE1LjMzMzMgNy4xOTM5NSAxNS4zMzMzIDguNjY2NjlDMTUuMzMzMyA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