Skip to content

Commit

Permalink
updated docs
Browse files Browse the repository at this point in the history
added o3Mini model
  • Loading branch information
StephenHodgson committed Jan 31, 2025
1 parent 4364ada commit fcc38df
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 4 deletions.
4 changes: 2 additions & 2 deletions OpenAI-DotNet/Chat/ChatRequest.cs
Original file line number Diff line number Diff line change
Expand Up @@ -151,7 +151,7 @@ public ChatRequest(
/// <param name="reasoningEffort">
/// Constrains the effort of reasoning for <see href="https://platform.openai.com/docs/guides/reasoning">Reasoning Models</see>.<br/>
/// Currently supported values are: Low, Medium, High. Reducing reasoning effort can result in faster responses and fewer tokens used on reasoning response.<br/>
/// <b>o1 models only!</b>
/// <b>Reasoning models only!</b>
/// </param>
/// <param name="user">
/// A unique identifier representing your end-user, which can help OpenAI to monitor and detect abuse.
Expand Down Expand Up @@ -258,7 +258,7 @@ public ChatRequest(
/// Currently supported values are: Low, Medium, High. Reducing reasoning effort can result in faster responses and fewer tokens used on reasoning response.
/// </summary>
/// <remarks>
/// <b>o1 models only!</b>
/// <b>Reasoning models only!</b>
/// </remarks>
[JsonPropertyName("reasoning_effort")]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)]
Expand Down
2 changes: 1 addition & 1 deletion OpenAI-DotNet/Common/ReasoningEffort.cs
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ namespace OpenAI
/// Currently supported values are: Low, Medium, High. Reducing reasoning effort can result in faster responses and fewer tokens used on reasoning response.
/// </summary>
/// <remarks>
/// <b>o1 models only!</b>
/// <b>Reasoning models only!</b>
/// </remarks>
public enum ReasoningEffort
{
Expand Down
2 changes: 2 additions & 0 deletions OpenAI-DotNet/Models/Model.cs
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,8 @@ public Model(string id, string ownedBy = null)

public static Model O1Mini { get; } = new("o1-mini", "openai");

public static Model O3Mini { get; } = new("o3-mini", "openai");

public static Model GPT4oRealtime { get; } = new("gpt-4o-realtime-preview", "openai");

/// <summary>
Expand Down
2 changes: 1 addition & 1 deletion OpenAI-DotNet/OpenAI-DotNet.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ More context [on Roger Pincombe's blog](https://rogerpincombe.com/openai-dotnet-
<Version>8.5.4</Version>
<PackageReleaseNotes>
Version 8.5.4
- Update ChatRequest to support 03 series reasoning models
- Update ChatRequest to support o3 series reasoning models
Version 8.5.3
- Fix JsonStringEnumConverter for ChatRequests
Version 8.5.1
Expand Down

0 comments on commit fcc38df

Please sign in to comment.