embeddings
Embeddings
Follows the exact same API spec as OpenAI's Embeddings API https://platform.openai.com/docs/api-reference/embeddings
curl -X POST http://localhost:4000/v1/embeddings
-H "Content-Type: application/json"
-H "Authorization: Bearer sk-1234"
-d '{
"model": "text-embedding-ada-002",
"input": "The quick brown fox jumps over the lazy dog"
}'
post/v1/embeddings
Request
- Base URLhttps://api.mammouth.ai (the document declares no server; this is the origin it was published from)
- AuthAPI key in header x-litellm-api-key
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Request body
Response
Successful Response
unknown required
Changes
No recorded changes to this operation across all 4 revisions of this API.