Skip to content

Latest commit

 

History

History
8 lines (7 loc) · 925 Bytes

File metadata and controls

8 lines (7 loc) · 925 Bytes

CreateEmbeddingRequest

Properties

Name Type Description Notes
model kotlin.String ID of the model to use. You can use the List models API to see all of your available models, or see our Model overview for descriptions of them.
input OneOfCreateEmbeddingRequestInput Input text to get embeddings for, encoded as a string or array of tokens. To get embeddings for multiple inputs in a single request, pass an array of strings or array of token arrays. Each input must not exceed 8192 tokens in length.
user kotlin.String A unique identifier representing your end-user, which can help OpenAI to monitor and detect abuse. Learn more. [optional]