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:
parent
272a773b57
commit
1ff659893e
|
@ -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",
|
||||||
|
|
Loading…
Reference in New Issue
Block a user