Uses of Class
com.azure.ai.openai.models.EmbeddingsOptions
Packages that use EmbeddingsOptions
Package
Description
Package containing the classes for OpenAI.
Package containing the data models for OpenAI.
-
Uses of EmbeddingsOptions in com.azure.ai.openai
Methods in com.azure.ai.openai with parameters of type EmbeddingsOptionsModifier and TypeMethodDescriptionOpenAIAsyncClient.getEmbeddings(String deploymentOrModelName, EmbeddingsOptions embeddingsOptions) Return the embeddings for a given prompt.OpenAIClient.getEmbeddings(String deploymentOrModelName, EmbeddingsOptions embeddingsOptions) Return the embeddings for a given prompt.Mono<com.azure.core.http.rest.Response<Embeddings>> OpenAIAsyncClient.getEmbeddingsWithResponse(String deploymentOrModelName, EmbeddingsOptions embeddingsOptions, com.azure.core.http.rest.RequestOptions requestOptions) Return the embeddings for a given prompt.com.azure.core.http.rest.Response<Embeddings> OpenAIClient.getEmbeddingsWithResponse(String deploymentOrModelName, EmbeddingsOptions embeddingsOptions, com.azure.core.http.rest.RequestOptions requestOptions) Return the embeddings for a given prompt. -
Uses of EmbeddingsOptions in com.azure.ai.openai.models
Methods in com.azure.ai.openai.models that return EmbeddingsOptionsModifier and TypeMethodDescriptionstatic EmbeddingsOptionsEmbeddingsOptions.fromJson(com.azure.json.JsonReader jsonReader) Reads an instance of EmbeddingsOptions from the JsonReader.EmbeddingsOptions.setDimensions(Integer dimensions) Set the dimensions property: The number of dimensions the resulting output embeddings should have.EmbeddingsOptions.setInputType(String inputType) Set the inputType property: When using Azure OpenAI, specifies the input type to use for embedding search.Set the model property: The model name to provide as part of this embeddings request.Set the user property: An identifier for the caller or end user of the operation.