Skip to content

Commit

Permalink
Update known model tokens.
Browse files Browse the repository at this point in the history
  • Loading branch information
aiqinxuancai committed May 13, 2024
1 parent 6187de6 commit d0cb678
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 18 deletions.
27 changes: 10 additions & 17 deletions ChatGPTSharp/Assets/ModelTokens.json
Original file line number Diff line number Diff line change
@@ -1,29 +1,22 @@
{
"gpt-4-turbo": 128000,
"gpt-4-turbo-2024-04-09": 128000,
"gpt-4-turbo-preview": 128000,
"gpt-4-0125-preview": 128000,
"gpt-4-1106-preview": 128000,
"gpt-4-vision-preview": 128000,
"gpt-4-1106-vision-preview": 128000,
"gpt-4": 8192,
"gpt-4-32k": 32768,
"gpt-4-0613": 8192,
"gpt-4-32k": 32768,
"gpt-4-32k-0613": 32768,
"gpt-4-0314": 8192,
"gpt-4-32k-0314": 32768,
"gpt-3.5-turbo-0125": 16385,
"gpt-3.5-turbo": 16385,
"gpt-3.5-turbo-1106": 16385,
"gpt-3.5-turbo": 4096,
"gpt-3.5-turbo-16k": 16385,
"gpt-3.5-turbo-instruct": 4096,
"gpt-3.5-turbo-16k": 16385,
"gpt-3.5-turbo-0613": 4096,
"gpt-3.5-turbo-16k-0613": 16385,
"gpt-3.5-turbo-0301": 4096,
"text-davinci-003": 4096,
"text-davinci-002": 4096,
"code-davinci-002": 8001,
"babbage-002": 16384,
"davinci-002": 16384,
"text-curie-001": 2049,
"text-babbage-001": 2049,
"text-ada-001": 2049,
"davinci": 2049,
"curie": 2049,
"babbage": 2049,
"ada": 2049
"davinci-002": 16384
}
2 changes: 1 addition & 1 deletion ChatGPTSharp/ChatGPTSharp.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
<RepositoryUrl>https://github.com/aiqinxuancai/ChatGPTSharp</RepositoryUrl>
<PackageTags>chatgpt;openai</PackageTags>
<Title>ChatGPTSharp</Title>
<VersionPrefix Condition=" '$(VersionPrefix)' == '' ">2.0.1</VersionPrefix>
<VersionPrefix Condition=" '$(VersionPrefix)' == '' ">2.0.2</VersionPrefix>
<UserSecretsId>4c177d5f-4337-454e-895d-41b94b987a07</UserSecretsId>
<PackageLicenseFile>LICENSE.txt</PackageLicenseFile>
</PropertyGroup>
Expand Down

0 comments on commit d0cb678

Please sign in to comment.