Embeddings API
Tap into Galadriel’s LLM inference network. Follows the same schema as OpenAI’s embeddings API.
POST
/
v1
/
embeddings
Authorizations
Bearer authentication header.
example value: Bearer Galadriel-API-key
Get API key from Galadriel dashboard.
Body
application/json
Input text to embed, encoded as a string or array of tokens. To embed multiple inputs in a single request, pass an array of strings or array of token arrays. The input must not exceed the max input tokens for the model.
The format to return the embeddings in. Can be either float
or base64
.
Available options:
float
, base64
A unique identifier representing your end-user