OpenAIClientExtensions 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.
Provides extension methods for working with OpenAIClients.
public ref class OpenAIClientExtensions abstract sealed
public static class OpenAIClientExtensions
type OpenAIClientExtensions = class
Public Module OpenAIClientExtensions
- Inheritance
-
OpenAIClientExtensions
Methods
AsChatClient(ChatClient) |
Gets an IChatClient for use with this ChatClient. |
AsChatClient(OpenAIClient, String) |
Gets an IChatClient for use with this OpenAIClient. |
AsEmbeddingGenerator(EmbeddingClient, Nullable<Int32>) |
Gets an IEmbeddingGenerator<TInput,TEmbedding> for use with this EmbeddingClient. |
AsEmbeddingGenerator(OpenAIClient, String, Nullable<Int32>) |
Gets an IEmbeddingGenerator<TInput,TEmbedding> for use with this OpenAIClient. |
Applies to
Collaborer avec nous sur GitHub
La source de ce contenu se trouve sur GitHub, où vous pouvez également créer et examiner les problèmes et les demandes de tirage. Pour plus d’informations, consultez notre guide du contributeur.