Share via


AIOpenAIAssistantsClientBuilderExtensions.AddAssistantsClient Method

Definition

Overloads

AddAssistantsClient<TBuilder,TConfiguration>(TBuilder, TConfiguration)

Registers a AssistantsClient instance.

AddAssistantsClient<TBuilder>(TBuilder, Uri, AzureKeyCredential)

Registers a AssistantsClient instance.

AddAssistantsClient<TBuilder>(TBuilder, Uri)

Registers a AssistantsClient instance.

AddAssistantsClient<TBuilder,TConfiguration>(TBuilder, TConfiguration)

Source:
AIOpenAIAssistantsClientBuilderExtensions.cs

Registers a AssistantsClient instance.

public static Azure.Core.Extensions.IAzureClientBuilder<Azure.AI.OpenAI.Assistants.AssistantsClient,Azure.AI.OpenAI.Assistants.AssistantsClientOptions> AddAssistantsClient<TBuilder,TConfiguration> (this TBuilder builder, TConfiguration configuration) where TBuilder : Azure.Core.Extensions.IAzureClientFactoryBuilderWithConfiguration<TConfiguration>;
static member AddAssistantsClient : 'Builder * 'Configuration -> Azure.Core.Extensions.IAzureClientBuilder<Azure.AI.OpenAI.Assistants.AssistantsClient, Azure.AI.OpenAI.Assistants.AssistantsClientOptions> (requires 'Builder :> Azure.Core.Extensions.IAzureClientFactoryBuilderWithConfiguration<'Configuration>)
<Extension()>
Public Function AddAssistantsClient(Of TBuilder As IAzureClientFactoryBuilderWithConfiguration(Of TConfiguration), TConfiguration As IAzureClientFactoryBuilderWithConfiguration(Of TConfiguration)) (builder As TBuilder, configuration As TConfiguration) As IAzureClientBuilder(Of AssistantsClient, AssistantsClientOptions)

Type Parameters

TBuilder
TConfiguration

Parameters

builder
TBuilder

The builder to register with.

configuration
TConfiguration

The configuration values.

Returns

Applies to

AddAssistantsClient<TBuilder>(TBuilder, Uri, AzureKeyCredential)

Source:
AIOpenAIAssistantsClientBuilderExtensions.cs

Registers a AssistantsClient instance.

public static Azure.Core.Extensions.IAzureClientBuilder<Azure.AI.OpenAI.Assistants.AssistantsClient,Azure.AI.OpenAI.Assistants.AssistantsClientOptions> AddAssistantsClient<TBuilder> (this TBuilder builder, Uri endpoint, Azure.AzureKeyCredential credential) where TBuilder : Azure.Core.Extensions.IAzureClientFactoryBuilder;
static member AddAssistantsClient : 'Builder * Uri * Azure.AzureKeyCredential -> Azure.Core.Extensions.IAzureClientBuilder<Azure.AI.OpenAI.Assistants.AssistantsClient, Azure.AI.OpenAI.Assistants.AssistantsClientOptions> (requires 'Builder :> Azure.Core.Extensions.IAzureClientFactoryBuilder)
<Extension()>
Public Function AddAssistantsClient(Of TBuilder As IAzureClientFactoryBuilder) (builder As TBuilder, endpoint As Uri, credential As AzureKeyCredential) As IAzureClientBuilder(Of AssistantsClient, AssistantsClientOptions)

Type Parameters

TBuilder

Parameters

builder
TBuilder

The builder to register with.

endpoint
Uri

An OpenAI endpoint supporting assistants functionality.

credential
AzureKeyCredential

A credential used to authenticate to an Azure Service.

Returns

Applies to

AddAssistantsClient<TBuilder>(TBuilder, Uri)

Source:
AIOpenAIAssistantsClientBuilderExtensions.cs

Registers a AssistantsClient instance.

public static Azure.Core.Extensions.IAzureClientBuilder<Azure.AI.OpenAI.Assistants.AssistantsClient,Azure.AI.OpenAI.Assistants.AssistantsClientOptions> AddAssistantsClient<TBuilder> (this TBuilder builder, Uri endpoint) where TBuilder : Azure.Core.Extensions.IAzureClientFactoryBuilderWithCredential;
static member AddAssistantsClient : 'Builder * Uri -> Azure.Core.Extensions.IAzureClientBuilder<Azure.AI.OpenAI.Assistants.AssistantsClient, Azure.AI.OpenAI.Assistants.AssistantsClientOptions> (requires 'Builder :> Azure.Core.Extensions.IAzureClientFactoryBuilderWithCredential)
<Extension()>
Public Function AddAssistantsClient(Of TBuilder As IAzureClientFactoryBuilderWithCredential) (builder As TBuilder, endpoint As Uri) As IAzureClientBuilder(Of AssistantsClient, AssistantsClientOptions)

Type Parameters

TBuilder

Parameters

builder
TBuilder

The builder to register with.

endpoint
Uri

An OpenAI endpoint supporting assistants functionality.

Returns

Applies to