feat: update translate prompt
This commit is contained in:
parent
f672ae43ac
commit
672cd8b575
2 changed files with 13 additions and 10 deletions
|
|
@ -91,8 +91,9 @@ func handleTranslateBtn(c tele.Context) error {
|
|||
Content: payload,
|
||||
},
|
||||
},
|
||||
Temperature: lo.ToPtr(0.6),
|
||||
Temperature: lo.ToPtr(0.2),
|
||||
}
|
||||
logger.Debugf("Openai chat request: %#+v", req)
|
||||
|
||||
resp, err := ai.ChatCompletion(req)
|
||||
if err != nil {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue