Embeddings
No embedding models are listed on HyperFlow HI today. This page documents the endpoint for when they join the catalog: check the Marketplace or GET /v1/models for models with "mode": "embedding".
POST /v1/embeddings turns a string, or a list of strings, into vectors. Texts that mean similar things get vectors that are close together.
The samples use the OpenAI SDK set up as in the Quickstart.
Options
Use the same model to embed your documents and your queries. Vectors from different models can’t be compared.
Billing
Embeddings are charged for input tokens only. usage.prompt_tokens shows how many.