View source: R/model_to_tokenizer.R
model_to_tokenizer | R Documentation |
Gets the name of the tokenizer used by a model
model_to_tokenizer(model)
model |
the model to use, e.g., |
the tokenizer used by the model
model_to_tokenizer("gpt-4o")
model_to_tokenizer("gpt-4-1106-preview")
model_to_tokenizer("text-davinci-002")
model_to_tokenizer("text-embedding-ada-002")
model_to_tokenizer("text-embedding-3-small")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.