feat: introduce gpt-4 model
This commit is contained in:
parent
68075ff53d
commit
09cb31eda9
3 changed files with 6 additions and 4 deletions
|
|
@ -234,7 +234,7 @@ func handleAssistantConversation(c tele.Context, thread []*tele.Message) error {
|
|||
}
|
||||
|
||||
req := openai.ChatRequest{
|
||||
Model: openai.ModelGpt0305Turbo,
|
||||
Model: openai.ModelGpt04,
|
||||
Messages: chatReqMsgs,
|
||||
Temperature: lo.ToPtr(0.42),
|
||||
MaxTokens: 2048,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue