Skip to content

Commit

Permalink
Add support for text-embedding-3
Browse files Browse the repository at this point in the history
  • Loading branch information
fredwu committed Jan 31, 2024
1 parent fc170da commit ed7d6e6
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions lib/tiktoken_ruby.rb
Original file line number Diff line number Diff line change
Expand Up @@ -95,6 +95,8 @@ def list_model_names
"code-davinci-edit-001": "p50k_edit",
# embeddings
"text-embedding-ada-002": "cl100k_base",
"text-embedding-3-small": "cl100k_base",
"text-embedding-3-large": "cl100k_base",
# old embeddings
"text-similarity-davinci-001": "r50k_base",
"text-similarity-curie-001": "r50k_base",
Expand Down

0 comments on commit ed7d6e6

Please sign in to comment.