1
mirror of https://github.com/jlelse/GoBlog synced 2024-06-11 02:37:09 +00:00

aitldr: Update to new GPT 3.5 turbo model

This commit is contained in:
Jan-Lukas Else 2024-02-09 22:59:50 +01:00
parent 272a773b57
commit 1ff659893e

View File

@ -168,7 +168,7 @@ func (p *plugin) summarize(post plugintypes.Post) {
Method(http.MethodPost). Method(http.MethodPost).
Header("Authorization", "Bearer "+apikey). Header("Authorization", "Bearer "+apikey).
BodyJSON(map[string]any{ BodyJSON(map[string]any{
"model": "gpt-3.5-turbo-1106", "model": "gpt-3.5-turbo-0125",
"messages": []apiMessage{ "messages": []apiMessage{
{ {
Role: "system", Role: "system",