diff --git a/src/lib/openai.ts b/src/lib/openai.ts index 04be456..7c2c369 100644 --- a/src/lib/openai.ts +++ b/src/lib/openai.ts @@ -13,7 +13,7 @@ export interface OpenAIOptions { const OpenAIDefaults = (apiKey: string): OpenAIOptions => ({ apiKey, - completionEngine: "text-davinci-002", + completionEngine: "text-davinci-003", temperature: 1.0, maxTokens: 1000, dalleImageSize: 1024, diff --git a/src/main.ts b/src/main.ts index 666e431..1401f7f 100644 --- a/src/main.ts +++ b/src/main.ts @@ -16,7 +16,7 @@ const settingsSchema: SettingSchemaDesc[] = [ { key: "openAICompletionEngine", type: "string", - default: "text-davinci-002", + default: "text-davinci-003", title: "OpenAI Completion Engine", description: "See Engines in OpenAI docs.", },