GetEmbeddings interface

Methods

post(GetEmbeddingsParameters)

Return the embedding vectors for given text prompts. The method makes a REST API call to the /embeddings route on the given endpoint.

Method Details

post(GetEmbeddingsParameters)

Return the embedding vectors for given text prompts. The method makes a REST API call to the /embeddings route on the given endpoint.

function post(options?: GetEmbeddingsParameters): StreamableMethod<GetEmbeddings200Response | GetEmbeddingsDefaultResponse>

Parameters

Returns