API Reference

Generate text embedding

Description

Computes the text embeddings for text fragments using the model with the given model_deployment_id.

Details

Users can use this API to execute EMBEDDING type EGP model they have access to. To use this API, pass in the id of a model returned by the V3 Create Model API. An example text embedding request

{
    "texts": ["Please compute my embedding vector", "Another text fragment"]
}
Language
Click Try It! to start a request and see the response here!