Embeddings
Creates an embedding vector representing the input text.
post/openai/v1/embeddings
Request body
Example request
{
"input": "This is a test.",
"encoding_format": "float"
}Response
OK
{
"input": "This is a test.",
"encoding_format": "float"
}OK