[feat] gpt35 instruct supamemory

This commit is contained in:
kwaroran
2023-09-23 16:36:29 +09:00
parent 36ee51903e
commit b733238272
2 changed files with 5 additions and 2 deletions

View File

@@ -206,7 +206,9 @@ export async function supaMemory(
},
method: "POST",
body: {
"model": db.supaMemoryType === 'curie' ? "text-curie-001" : "text-davinci-003",
"model": db.supaMemoryType === 'curie' ? "text-curie-001"
: db.supaMemoryType === 'instruct35' ? 'gpt-3.5-turbo-instruct'
: "text-davinci-003",
"prompt": promptbody,
"max_tokens": 600,
"temperature": 0