[add] 群組羽球功能
This commit is contained in:
parent
570c0443d4
commit
38d4f5e432
@ -44,7 +44,10 @@ export default class MessageClass {
|
|||||||
return await this.User(event);
|
return await this.User(event);
|
||||||
}
|
}
|
||||||
|
|
||||||
case "group":
|
case "group": {
|
||||||
|
return await this.Group(event);
|
||||||
|
}
|
||||||
|
|
||||||
default:
|
default:
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
@ -15,7 +15,7 @@ export default class OpenAI {
|
|||||||
// tslint:disable-next-line:typedef
|
// tslint:disable-next-line:typedef
|
||||||
const response = await openai.createCompletion({
|
const response = await openai.createCompletion({
|
||||||
model: "text-davinci-003",
|
model: "text-davinci-003",
|
||||||
prompt: "人類:" + msg,
|
prompt: "你:" + msg,
|
||||||
temperature: 0.7,
|
temperature: 0.7,
|
||||||
max_tokens: 256,
|
max_tokens: 256,
|
||||||
top_p: 1,
|
top_p: 1,
|
||||||
|
Loading…
Reference in New Issue
Block a user