AIServiceExtensions.GetEndpoint(IAIService) Method

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.

Gets the endpoint from service's Attributes.

C#
public static string? GetEndpoint (this Microsoft.SemanticKernel.Services.IAIService service);

Parameters

service
IAIService

The service from which to get the endpoint.

Returns

The endpoint if it was specified in the service's attributes; otherwise, null.

Applies to

Proizvod Verzije
Semantic Kernel Dotnet Latest