Partager via


PromptExecutionSettings.ServiceId Property

Definition

Service identifier. This identifies the service these settings are configured for e.g., azure_openai_eastus, openai, ollama, huggingface, etc.

[System.Text.Json.Serialization.JsonPropertyName("service_id")]
public string? ServiceId { get; set; }
[<System.Text.Json.Serialization.JsonPropertyName("service_id")>]
member this.ServiceId : string with get, set
Public Property ServiceId As String

Property Value

Attributes

Remarks

When provided, this service identifier will be the key in a dictionary collection of execution settings for both KernelArguments and PromptTemplateConfig. If not provided the service identifier will be the default value in DefaultServiceId.

Applies to