InlineAIPrompt
Properties
Commands - List
Service - AIPromptServiceSettings
The Url of the AI service to use for generating outputs.
OutputActions - List
Enable - Nullable
Readonly - Nullable
EncodedPromptOutputs - Nullable
Placeholder - String
Popup - InlineAIPromptPopupSettings
Configures the opening and closing animations of the ActionSheet. Setting the animation
option to false
will disable the opening and closing animations. As a result the ActionSheet will open and close instantly. This property has effect only in adaptive
mode.
SpeechToText - InlineAIPromptSpeechToTextSettings
Specifies the integration mode for speech recognition. Available modes: - "webSpeech" - Uses the Web Speech API - "none" - Provides button without actual speech recognition
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.
Events - IDictionary
Id - String
SanitezeId - Boolean
Writer - IJavaScriptWriter
Initializer - IJavaScriptInitializer
IsInClientTemplate - Boolean
IsSelfInitialized - Boolean
HasDeferredInitialization - Boolean
HtmlAttributes - IDictionary
ScriptAttributes - IDictionary
HtmlHelper - IHtmlHelper
ModelMetadataProvider - IModelMetadataProvider
Name - String
Explorer - ModelExplorer
Selector - String
IdPrefix - String
ViewContext - ViewContext
ValueProvider - IValueProvider
UrlGenerator - IUrlGenerator
HtmlEncoder - HtmlEncoder
HasClientComponent - Boolean
UseMvvmInitialization - Boolean
Methods
WriteInitializationScript(System.IO.TextWriter)
Writes the initialization script.
Parameters
writer - System.IO.TextWriter
The System.IO.TextWriter.
Serialize()
Serialize the current instance to Dictionary
Render()
Renders the component.
ToClientTemplate()
ToHtmlString()
VerifySettings()
WriteDeferredStyles(System.IO.TextWriter)
Writes the deferred styes.
Parameters
writer - System.IO.TextWriter
The writer.