Skip to content

Commit

Permalink
OpenAI needs the model name to be lowercase (#35)
Browse files Browse the repository at this point in the history
  • Loading branch information
dluc authored Sep 5, 2024
1 parent 3ce5020 commit a176a4a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion examples/dotnet-03-simple-chatbot/MyAgentConfig.cs
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ public class MyAgentConfig : IAgentConfig

[JsonPropertyName(nameof(this.ModelName))]
[JsonPropertyOrder(80)]
public string ModelName { get; set; } = "GPT-4o";
public string ModelName { get; set; } = "gpt-4o";

public void Update(object? config)
{
Expand Down
2 changes: 1 addition & 1 deletion examples/dotnet-03-simple-chatbot/appsettings.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
"Temperature": 0.0,
"NucleusSampling": 1.0,
"LLMProvider": "openai",
"ModelName": "GPT-4o"
"ModelName": "gpt-4o"
},
// Azure Content Safety settings
"AzureContentSafety": {
Expand Down

0 comments on commit a176a4a

Please sign in to comment.