Embeddings
Embeddings turn text into vectors you can use for semantic search, clustering, recommendations, and RAG. The AlphaNeural proxy follows the same API shape as OpenAI’s Embeddings endpoint.
Create embeddings
Request body
Basic example (single input)
curl https://proxy.alfnrl.io/v1/embeddings \
-H "Authorization: Bearer $ALPHANEURAL_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "text-embedding-3-small",
"input": "The quick brown fox jumps over the lazy dog"
}'Batch example (multiple inputs)
Python (OpenAI SDK)
JavaScript/TypeScript (OpenAI SDK)
Response
Proxy-only options
Last updated
