BptAITextPrompt

API reference for BptAITextPrompt — parameters, event callbacks, and related configuration.

Home / Documentation / BptAITextPrompt
AI

BptAITextPrompt

Open demo →

Parameters

NameTypeFlagsDescription
BptAppStateBptRootComponentBaseCascadingNullable
CultureStateBptCultureStateCascadingNullable
Debugbool
ShowBuiltInUIbool
ModeBptAITextPromptMode
UserPromptstring
ModelPathstring
UseGPUbool
AutoProvisionbool
AutoProvisionModelTextGenerationModelInfo
HuggingFaceModelNamestring
HuggingFaceApiKeystring
PipelineTypestring
SourceLanguagestring
TargetLanguagestring

Event callbacks

NameTypeFlagsDescription
OnResponseCompletedEventCallback<string>
OnResponseTokenPartCompleteEventCallback<string>
OnStatusUpdateEventCallback<string>
OnModelLoadedEventCallback<bool>
An unhandled error has occurred. Reload 🗙

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please reload the page.