phaseo.embeddingModel(modelId) (or its alias textEmbeddingModel) to embed for one value or embedMany for a list. Requests go to the Gateway’s /v1/embeddings endpoint.
Keep vectors comparable
- Embed queries and the corpus with the same model version.
- Normalize vectors consistently before similarity scoring.
- Cache stable embeddings for repeated content.