Skip to content

Commit

Permalink
Use gpt-4o as default model
Browse files Browse the repository at this point in the history
  • Loading branch information
tomahg committed Oct 28, 2024
1 parent 0c95c8a commit ac61627
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ Below is a code snippet with all possible configuration options:
x.AuditLogDaysToKeep = 10;
x.AiEnabled = true;
x.AiApiKey = "**********";
x.AiModel = "gpt-4";
x.AiModel = "gpt-4o";
})
```

Expand Down Expand Up @@ -83,7 +83,7 @@ You can also configure SqlStudio using `appsettings.json`. A configuration setti
"AuditLogDaysToKeep": 10,
"AiEnabled": true,
"AiApiKey": "**********",
"AiModel": "gpt-4"
"AiModel": "gpt-4o"
}
}
```
Expand All @@ -99,13 +99,13 @@ There are three settings.

- Enabled: default true
- API key: AI buttons will be hidden, unless the key provided
- Model: You may choose any model available from OpenAI in Chat mode
- Model: You may choose any model available from OpenAI in Chat mode, default is gpt-4o

```csharp
.AddSqlStudio(x => {
x.AiEnabled = true;
x.AiApiKey = "**********";
x.AiModel = "gpt-4";
x.AiModel = "gpt-4o";
})
```

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,6 @@ public class SqlStudioOptions

public string AiApiKey { get; set; }

public string AiModel { get; set; } = "gpt-4";
public string AiModel { get; set; } = "gpt-4o";
}
}

0 comments on commit ac61627

Please sign in to comment.