Skip to content

Commit

Permalink
feat(text-davinci-003): Make davinci 3 the default
Browse files Browse the repository at this point in the history
  • Loading branch information
briansunter committed Dec 14, 2022
1 parent 1fca23a commit dd72a75
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/lib/openai.ts
Expand Up @@ -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,
Expand Down
2 changes: 1 addition & 1 deletion src/main.ts
Expand Up @@ -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.",
},
Expand Down

0 comments on commit dd72a75

Please sign in to comment.