次の方法で共有


AIServiceExtensions.GetEndpoint(IAIService) Method

Definition

Gets the endpoint from service's Attributes.

public static string? GetEndpoint (this Microsoft.SemanticKernel.Services.IAIService service);
static member GetEndpoint : Microsoft.SemanticKernel.Services.IAIService -> string
<Extension()>
Public Function GetEndpoint (service As IAIService) As String

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