你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
EmbeddingsClient Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
The Embeddings service client.
public class EmbeddingsClient
type EmbeddingsClient = class
Public Class EmbeddingsClient
- Inheritance
-
EmbeddingsClient
Constructors
EmbeddingsClient() |
Initializes a new instance of EmbeddingsClient for mocking. |
EmbeddingsClient(Uri, AzureKeyCredential, AzureAIInferenceClientOptions) |
Initializes a new instance of EmbeddingsClient. |
EmbeddingsClient(Uri, AzureKeyCredential) |
Initializes a new instance of EmbeddingsClient. |
EmbeddingsClient(Uri, TokenCredential, AzureAIInferenceClientOptions) |
Initializes a new instance of EmbeddingsClient. |
EmbeddingsClient(Uri, TokenCredential) |
Initializes a new instance of EmbeddingsClient. |
Properties
Pipeline |
The HTTP pipeline for sending and receiving REST requests and responses. |
Methods
Embed(EmbeddingsOptions, CancellationToken) |
Return the embedding vectors for given text prompts.
The method makes a REST API call to the |
Embed(RequestContent, String, RequestContext) |
[Protocol Method] Return the embedding vectors for given text prompts.
The method makes a REST API call to the
|
EmbedAsync(EmbeddingsOptions, CancellationToken) |
Return the embedding vectors for given text prompts.
The method makes a REST API call to the |
EmbedAsync(RequestContent, String, RequestContext) |
[Protocol Method] Return the embedding vectors for given text prompts.
The method makes a REST API call to the
|
GetModelInfo(CancellationToken) |
Returns information about the AI model.
The method makes a REST API call to the |
GetModelInfo(RequestContext) |
[Protocol Method] Returns information about the AI model.
The method makes a REST API call to the
|
GetModelInfoAsync(CancellationToken) |
Returns information about the AI model.
The method makes a REST API call to the |
GetModelInfoAsync(RequestContext) |
[Protocol Method] Returns information about the AI model.
The method makes a REST API call to the
|