InlineAIPrompt
Properties
OutputActions - List
Enable - Nullable
Readonly - Nullable
EncodedPromptOutputs - Nullable
Placeholder - String
Popup - InlineAIPromptPopupSettings
Specifies the width of the Popup.
SpeechToText - InlineAIPromptSpeechToTextSettings
Configures speech-to-text functionality for the prompt input. When true, enables speech-to-text with default settings. When false, disables the feature. When an object, configures custom speech-to-text options.
ResponseTemplate - String
ResponseTemplateId - String
ResponseTemplateHandler - String
IsStreaming - Nullable
SystemPrompt - ClientHandlerDescriptor
A Razor template delegate.
Messages - InlineAIPromptMessagesSettings
The text of the prompt send button that will be used to as aria labels.
Commands - List
Service - AIPromptServiceSettings
The Url of the AI service to use for generating outputs.
Initializer - IJavaScriptInitializer
Events - IDictionary
Name - String
Id - String
ShouldSanitezeId - Boolean
ModelMetadata - ModelMetadata
HtmlAttributes - IDictionary
ScriptAttributes - IDictionary
ViewContext - ViewContext
ViewData - ViewDataDictionary
IsSelfInitialized - Boolean
IsInClientTemplate - Boolean
HasDeferredInitialization - Boolean
Selector - String
HasClientComponent - Boolean
Methods
WriteInitializationScript(System.IO.TextWriter)
Writes the initialization script.
Parameters
writer - System.IO.TextWriter
The System.IO.TextWriter.
Serialize()
Render()
Renders the component.
VerifySettings()
ToHtmlString()
GetHtml(System.Boolean)
Parameters
includeScript - System.Boolean
GetInitializator()
WriteDeferredStyles(System.IO.TextWriter)
Writes the deferred styes.
Parameters
writer - System.IO.TextWriter
The writer.