-
Notifications
You must be signed in to change notification settings - Fork 36
/
OpenAIChatGptModels.cs
90 lines (80 loc) · 4.33 KB
/
OpenAIChatGptModels.cs
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
using ChatGptNet.ServiceConfigurations;
namespace ChatGptNet.Models;
/// <summary>
/// Contains all the chat completion models that are currently supported by OpenAI.
/// </summary>
/// <remarks>
/// See <see href="https://platform.openai.com/docs/models/overview">Models overview</see> for more information.
/// </remarks>
/// <seealso cref="OpenAIChatGptServiceConfiguration"/>
public static class OpenAIChatGptModels
{
/// <summary>
/// GPT-3.5 model can understand and generate natural language or code and it is optimized for chat.
/// </summary>
/// <remarks>
/// This model supports 4.096 tokens. See <see href="https://platform.openai.com/docs/models/gpt-3-5">GPT-3.5</see> for more information.
/// </remarks>
public const string Gpt35_Turbo = "gpt-3.5-turbo";
/// <summary>
/// A model with the same capabilities as the standard <see cref="Gpt35_Turbo"/> model but with 4 times the token limit of <see cref="Gpt35_Turbo"/>.
/// </summary>
/// <remarks>
/// This model supports 16.384 tokens. See <see href="https://platform.openai.com/docs/models/gpt-3-5">GPT-3.5</see> for more information.
/// </remarks>
public const string Gpt35_Turbo_16k = "gpt-3.5-turbo-16k";
/// <summary>
/// GPT-4 is a large multimodal model that can solve difficult problems with greater accuracy than any of our previous models, thanks to its broader general knowledge and advanced reasoning capabilities. is optimized for chat but works well for traditional completions tasks.
/// </summary>
/// <remarks>
/// This model supports 8.192 tokens. See <see href="https://platform.openai.com/docs/models/gpt-4-turbo-and-gpt-4">GPT-4</see> for more information.
/// </remarks>
public const string Gpt4 = "gpt-4";
/// <summary>
/// A model with the same capabilities as the base <see cref="Gpt4"/> model but with 4 times the token limit of <see cref="Gpt4"/>.
/// </summary>
/// <remarks>
/// This model supports 32.768 tokens. See <see href="https://platform.openai.com/docs/models/gpt-4-turbo-and-gpt-4">GPT-4</see> for more information.
/// </remarks>
public const string Gpt4_32k = "gpt-4-32k";
/// <summary>
/// The latest GPT-4 model with vision capabilities and improved instruction following, JSON mode, reproducible outputs, parallel function calling, and more.
/// </summary>
/// <remarks>
/// This model supports 128.000 tokens and returns a maximum of 4.096 outpout tokens.
/// See <see href="https://platform.openai.com/docs/models/gpt-4-turbo-and-gpt-4">GPT-4</see> for more information.
/// </remarks>
public const string Gpt4_Turbo = "gpt-4-turbo";
/// <summary>
/// The most advanced, multimodal flagship model that is cheaper and faster than <see cref="Gpt4_Turbo"/>.
/// </summary>
/// <remarks>
/// This model supports 128.000 tokens and returns a maximum of 4.096 outpout tokens.
/// See <see href="https://platform.openai.com/docs/models/gpt-4o">GPT-4</see> for more information.
/// </remarks>
public const string Gpt4_o = "gpt-4o";
/// <summary>
/// An affordable and intelligent small model for fast, lightweight tasks. GPT-4o mini is cheaper and more capable than <see cref="Gpt35_Turbo"/>.
/// </summary>
/// <remarks>
/// This model supports 128.000 tokens and returns a maximum of 4.096 outpout tokens.
/// See <see href="https://platform.openai.com/docs/models/gpt-4o-mini">GPT-4</see> for more information.
/// </remarks>
public const string Gpt4_o_mini = "gpt-4o-mini";
/// <summary>
/// Reasoning model designed to solve hard problems across domains.
/// </summary>
/// <remarks>
/// This model supports 128.000 tokens and returns a maximum of 32.768 outpout tokens.
/// See <see href="https://platform.openai.com/docs/models#o1">o1-preview and o1-mini</see> for more information.
/// </remarks>
public const string O1_preview = "o1-preview";
/// <summary>
/// Faster and cheaper reasoning model particularly good at coding, math, and science.
/// </summary>
/// <remarks>
/// This model supports 128.000 tokens and returns a maximum of 32.768 outpout tokens.
/// See <see href="https://platform.openai.com/docs/models#o1">o1-preview and o1-mini</see> for more information.
/// </remarks>
public const string O1_mini = "o1-mini";
}