Skip to content

Commit 06c1c88

Browse files
committed
build:更改chat配置
1 parent da00b26 commit 06c1c88

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "spark-ai-browser",
3-
"version": "0.1.6",
3+
"version": "0.1.7",
44
"author": {
55
"name": "nianyi",
66
"email": "[email protected]",

src/index.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -206,7 +206,8 @@ export class Spark {
206206
chat: {
207207
domain: this.option.modelDomain,
208208
temperature: 0.5,
209-
max_tokens: 1024,
209+
max_tokens: 2048,
210+
top_k: 4,
210211
},
211212
},
212213
payload: payload || {

0 commit comments

Comments
 (0)