BptAITextPrompt
API reference for BptAITextPrompt — parameters, event callbacks, and related configuration.
BptAITextPrompt
Open demo →Parameters
| Name | Type | Flags | Description |
|---|---|---|---|
BptAppState | BptRootComponentBase | CascadingNullable | — |
CultureState | BptCultureState | CascadingNullable | — |
Debug | bool | — | |
ShowBuiltInUI | bool | — | |
Mode | BptAITextPromptMode | — | |
UserPrompt | string | — | |
ModelPath | string | — | |
UseGPU | bool | — | |
AutoProvision | bool | — | |
AutoProvisionModel | TextGenerationModelInfo | — | |
HuggingFaceModelName | string | — | |
HuggingFaceApiKey | string | — | |
PipelineType | string | — | |
SourceLanguage | string | — | |
TargetLanguage | string | — |
Event callbacks
| Name | Type | Flags | Description |
|---|---|---|---|
OnResponseCompleted | EventCallback<string> | — | |
OnResponseTokenPartComplete | EventCallback<string> | — | |
OnStatusUpdate | EventCallback<string> | — | |
OnModelLoaded | EventCallback<bool> | — |