Embeddings
Creates an embedding vector representing the input text.
Changed onpost/openai/v1/embeddings
Request
- Base URLhttps://api.groq.com
- URLhttps://api.groq.com/openai/v1/embeddings
- AuthHTTP bearer
Request body
Example request
{
"input": "This is a test.",
"encoding_format": "float"
}Response
OK
Changes
- breaking
the
request property type changed fromstringto no type - info
the endpoint scheme security
api_keywas removed from the API - info
added
subschema #1subschema #2to therequest propertyanyOflist
- breaking
- warning
removed the request property
- info
api tag
Embeddingsadded - info
api tag
openai embeddingsremoved - info
the
request property default valuewas added - info
the
request property default valuewas added
- warning