Delen via


DialogServiceConnector.SpeechActivityTemplate Property

Definition

Gets or sets the JSON template that will be provided to the speech service for the next conversation. The service will attempt to merge this template into all activities sent to the dialog backend, whether originated by the client with SendActivityAsync or generated by the service, as is the case with speech-to-text results.

public string SpeechActivityTemplate { get; set; }
member this.SpeechActivityTemplate : string with get, set
Public Property SpeechActivityTemplate As String

Property Value

Remarks

Properties from the template will be stamped on each generated activity. This property can be set to null, an empty string, or a syntactically valid JSON object.

Applies to