Embeddings
Create embeddings
Changed onCreates an embedding vector representing the input text.
post/embeddings
Request
- Base URLhttps://api.openai.com/v1
- URLhttps://api.openai.com/v1/embeddings
- AuthHTTP bearer
Request body
Example request
{
"input": "This is a test.",
"encoding_format": "float",
"user": "user-1234"
}Response
OK
Changes
- info
added the optional property
//to the response with the status - info
added the optional property
//to the response with the status - info
added the optional property
//to the response with the status - info
added the optional property
//to the response with the status - info
added the optional property
//to the response with the status
- info
- breaking
response property
data/items/embeddinglist-of-types was widened by adding typesstringto media typeapplication/jsonof response200
- breaking