Skip to content

Commit

Permalink
Merge pull request #16 from winzig/openai-new-embeddings
Browse files Browse the repository at this point in the history
Adding support for new OpenAI embeddings
  • Loading branch information
aiqinxuancai authored Feb 8, 2024
2 parents 414ece2 + c434f1e commit e0b73d4
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions TiktokenSharp/Services/EncodingManager.cs
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,8 @@ public static EncodingManager Instance
{ "code-davinci-edit-001", "p50k_edit" },
// embeddings
{ "text-embedding-ada-002", "cl100k_base" },
{ "text-embedding-3-large", "cl100k_base" },
{ "text-embedding-3-small", "cl100k_base" },
// old embeddings
{ "text-similarity-davinci-001", "r50k_base" },
{ "text-similarity-curie-001", "r50k_base" },
Expand Down

0 comments on commit e0b73d4

Please sign in to comment.