Dialog Prompts
This package contains additional Inputs , beyond those offered out of the box by the Bot Framework SDK.
AdaptiveCardPrompt
The AdaptiveCardPrompt is use in waterfallDialog to receive adaptive card event.
Installing
pip install botbuilder-sangam-dialogs-prompt
Usage
You can then import required types, for example:
from botbuilder.sangam.dialogs.prompt.adaptive import AdaptiveCardPrompt
self.dialog_set.add(AdaptiveCardPrompt("adaptive_prompt"))
Then, you can call the bot by specifying your PromptOptions and calling PromptAsync.
async def adaptive_card(self,waterfall_step:WaterfallStepContext):
# card = pass adaptive card information
message = Activity(
text="Here is an Adaptive Card:",
type=ActivityTypes.message,
attachments=[CardFactory.adaptive_card(card)],
)
prompt_options = PromptOptions()
prompt_options.prompt = message
prompt_options.Type = ActivityTypes.message
return await waterfall_step.prompt("adaptive_prompt",prompt_options)
Metadata
Release files for botbuilder-sangam-dialogs-prompt 0.4.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| botbuilder-sangam-dialogs-prompt-0.4.0.tar.gz | 3.1 kB | Without provenance | Details for botbuilder-sangam-dialogs-prompt-0.4.0.tar.gz |
Release files / botbuilder-sangam-dialogs-prompt-0.4.0.tar.gz
| Download URL | botbuilder-sangam-dialogs-prompt-0.4.0.tar.gz |
|---|---|
| Size | 3.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
471319929d5a5c15a88e39ddae2b1ec259ead224c5f70f11d88911202686b6c3
|
|
BLAKE2b-256 checksum How to use checksums |
9ff9fdc0ec569c31c8bc61b25c8be4d4cc1259f63b7741e31137e84faebfd5d8
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.7.1 importlib_metadata/4.8.2 pkginfo/1.8.2 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.9
|
Security for botbuilder-sangam-dialogs-prompt 0.4.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.