QuestionAnsweringClientExtensions.AddQuestionAnsweringClient Methode

Definition

Überlädt

AddQuestionAnsweringClient<TBuilder,TConfiguration>(TBuilder, TConfiguration)

Registriert eine QuestionAnsweringClient instance mit der Konfiguration, die aus dem bereitgestellten configuration instance geladen wurde.

AddQuestionAnsweringClient<TBuilder>(TBuilder, Uri, AzureKeyCredential)

Registriert eine QuestionAnsweringClient instance beim Anbieter endpoint und credential.

AddQuestionAnsweringClient<TBuilder,TConfiguration>(TBuilder, TConfiguration)

Quelle:
QuestionAnsweringClientExtensions.cs

Registriert eine QuestionAnsweringClient instance mit der Konfiguration, die aus dem bereitgestellten configuration instance geladen wurde.

public static Azure.Core.Extensions.IAzureClientBuilder<Azure.AI.Language.QuestionAnswering.QuestionAnsweringClient,Azure.AI.Language.QuestionAnswering.QuestionAnsweringClientOptions> AddQuestionAnsweringClient<TBuilder,TConfiguration> (this TBuilder builder, TConfiguration configuration) where TBuilder : Azure.Core.Extensions.IAzureClientFactoryBuilderWithConfiguration<TConfiguration>;
static member AddQuestionAnsweringClient : 'Builder * 'Configuration -> Azure.Core.Extensions.IAzureClientBuilder<Azure.AI.Language.QuestionAnswering.QuestionAnsweringClient, Azure.AI.Language.QuestionAnswering.QuestionAnsweringClientOptions> (requires 'Builder :> Azure.Core.Extensions.IAzureClientFactoryBuilderWithConfiguration<'Configuration>)
<Extension()>
Public Function AddQuestionAnsweringClient(Of TBuilder As IAzureClientFactoryBuilderWithConfiguration(Of TConfiguration), TConfiguration As IAzureClientFactoryBuilderWithConfiguration(Of TConfiguration)) (builder As TBuilder, configuration As TConfiguration) As IAzureClientBuilder(Of QuestionAnsweringClient, QuestionAnsweringClientOptions)

Typparameter

TBuilder

Typ des Clientfactory-Generators.

TConfiguration

Typ der Clientkonfiguration.

Parameter

builder
TBuilder

Der Clientfactory-Generator.

configuration
TConfiguration

Die Clientkonfiguration.

Gibt zurück

Ein Azure-Client-Generator.

Gilt für:

AddQuestionAnsweringClient<TBuilder>(TBuilder, Uri, AzureKeyCredential)

Quelle:
QuestionAnsweringClientExtensions.cs

Registriert eine QuestionAnsweringClient instance beim Anbieter endpoint und credential.

public static Azure.Core.Extensions.IAzureClientBuilder<Azure.AI.Language.QuestionAnswering.QuestionAnsweringClient,Azure.AI.Language.QuestionAnswering.QuestionAnsweringClientOptions> AddQuestionAnsweringClient<TBuilder> (this TBuilder builder, Uri endpoint, Azure.AzureKeyCredential credential) where TBuilder : Azure.Core.Extensions.IAzureClientFactoryBuilder;
static member AddQuestionAnsweringClient : 'Builder * Uri * Azure.AzureKeyCredential -> Azure.Core.Extensions.IAzureClientBuilder<Azure.AI.Language.QuestionAnswering.QuestionAnsweringClient, Azure.AI.Language.QuestionAnswering.QuestionAnsweringClientOptions> (requires 'Builder :> Azure.Core.Extensions.IAzureClientFactoryBuilder)
<Extension()>
Public Function AddQuestionAnsweringClient(Of TBuilder As IAzureClientFactoryBuilder) (builder As TBuilder, endpoint As Uri, credential As AzureKeyCredential) As IAzureClientBuilder(Of QuestionAnsweringClient, QuestionAnsweringClientOptions)

Typparameter

TBuilder

Typ des Clientfactory-Generators.

Parameter

builder
TBuilder

Der Clientfactory-Generator.

endpoint
Uri

Der Frage-Antwort-Endpunkt, auf dem ausgeführt werden soll.

credential
AzureKeyCredential

Ein AzureKeyCredential , der zum Authentifizieren von Anforderungen an das endpointverwendet wird.

Gibt zurück

Ein Azure-Client-Generator.

Gilt für: