7
7
< title > ChatGPT-Web</ title >
8
8
< script src ="https://cdn.bootcdn.net/ajax/libs/vue/3.2.45/vue.global.js "> </ script >
9
9
< link href ="https://cdn.bootcdn.net/ajax/libs/element-plus/2.2.28/index.css " rel ="stylesheet " />
10
-
11
-
12
- < script src ="https://cdn.bootcdn.net/ajax/libs/axios/1.2.5/axios.min.js "> </ script >
10
+
11
+
12
+ < script src ="https://cdn.bootcdn.net/ajax/libs/axios/1.2.5/axios.min.js "> </ script >
13
13
< script src ="https://cdn.bootcdn.net/ajax/libs/element-plus/2.2.28/index.full.js "> </ script >
14
14
15
- < style >
15
+ < style >
16
16
.github-corner : hover .octo-arm {
17
17
animation : octocat-wave 560ms ease-in-out
18
18
}
83
83
84
84
</ head >
85
85
86
- < body >
86
+ < body >
87
87
< a href ="https://github.com/SmileBuild/ChatGPT-Web " class ="github-corner " aria-label ="View source on GitHub "> < svg
88
88
width ="80 " height ="80 " viewBox ="0 0 250 250 "
89
89
style ="fill:#70B7FD; color:#fff; position: absolute; top: 0; border: 0; right: 0; " aria-hidden ="true ">
99
99
100
100
< el-container >
101
101
< el-header >
102
- < h1 > ChatGPT-Web v0.2.1 </ h1 >
102
+ < h1 > ChatGPT-Web v0.2.2 </ h1 >
103
103
</ el-header >
104
104
< el-main >
105
105
< el-row :gutter ="40 ">
106
106
< el-col :span ="8 " class ="col-params " v-loading ="loading " element-loading-text ="Loading... "
107
107
:element-loading-spinner ="svg " element-loading-svg-view-box ="-10, -10, 50, 50 "
108
108
element-loading-background ="rgba(122, 122, 122, 0.8) ">
109
+ < el-button size ="large " type ="success " @click ="submitForm "> Confirm 确定</ el-button >
109
110
< h2 > Params 参数配置</ h2 >
110
-
111
-
112
111
< el-form >
113
112
< h4 > API Key</ h4 >
114
113
< el-input v-model ="key " placeholder ="API秘钥 " show-password type ="password "> </ el-input >
@@ -144,20 +143,20 @@ <h4>Model</h4>
144
143
item
145
144
}}</ el-option >
146
145
</ el-select >
147
- </ el-form >
146
+ </ el-form >
147
+
148
+
148
149
149
- < el-button size ="large " type ="success " @click ="submitForm "> Confirm 确定</ el-button >
150
-
151
150
< el-link href ="https://beta.openai.com/docs/api-reference/completions/create#completions/create-model "
152
151
target ="_blank " type ="danger "> param info (参数说明)</ el-link >
153
152
154
153
155
154
156
155
</ el-col >
157
156
< el-col :span ="16 ">
158
-
157
+ < el-button size ="large " type ="warning " @click ="downloadTxt " :disabled ="download_disable "> save
158
+ 保存</ el-button >
159
159
< h2 > Repsonse 结果</ h2 >
160
- < el-button size ="large " type ="warning " @click ="downloadTxt " :disabled ="download_disable "> save 保存</ el-button >
161
160
162
161
< p id ="result " style ="color:red;white-space: pre-wrap; "> {{ response }}</ p >
163
162
</ el-col >
@@ -173,11 +172,11 @@ <h2>Repsonse 结果</h2>
173
172
loading : false ,
174
173
key : '' ,
175
174
prompt : '' ,
176
- temperature : 0.7 ,
175
+ temperature : 1 ,
177
176
top_p : 1 ,
178
177
max_tokens : 2048 ,
179
178
frequency_penalty : 0 ,
180
- presence_penalty : 0.6 ,
179
+ presence_penalty : 0 ,
181
180
stop : [ "Human:" , "AI:" ] ,
182
181
model : 'text-davinci-003' ,
183
182
models : [ 'text-davinci-003' , 'text-davinci-002' , 'text-curie-001' ] ,
0 commit comments