Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 16 additions & 0 deletions OpenAI_API/Model/Model.cs
Original file line number Diff line number Diff line change
Expand Up @@ -118,6 +118,11 @@ public Model()
/// </summary>
public static Model DavinciText => new Model("text-davinci-003") { OwnedBy = "openai" };

/// <summary>
/// Similar capabilities to text-davinci-003 but trained with supervised fine-tuning instead of reinforcement learning
/// </summary>
public static Model DavinciText002 => new Model("text-davinci-002") { OwnedBy = "openai" };

/// <summary>
/// Almost as capable as Davinci Codex, but slightly faster. This speed advantage may make it preferable for real-time applications.
/// </summary>
Expand All @@ -128,6 +133,17 @@ public Model()
/// </summary>
public static Model DavinciCode => new Model("code-davinci-002") { OwnedBy = "openai" };

/// <summary>
/// Similar capabilities as text-davinci-003 but compatible with legacy Completions endpoint and not Chat Completions.
/// </summary>
public static Model GPTTurboInstruct => new Model("gpt-3.5-turbo-instruct") { OwnedBy = "openai" };

/// <summary>
/// Snapshot of gpt-3.5-turbo-instruct from September 14th 2023. Unlike gpt-3.5-turbo-instruct, this model will not receive updates, and will be deprecated 3 months after a new version is released.
/// Similar capabilities as text-davinci-003 but compatible with legacy Completions endpoint and not Chat Completions.
/// </summary>
public static Model GPTTurboInstruct0914 => new Model("gpt-3.5-turbo-instruct-0914") { OwnedBy = "openai" };

/// <summary>
/// OpenAI offers one second-generation embedding model for use with the embeddings API endpoint.
/// </summary>
Expand Down