executing-plans
executing-plans
Use when executing an implementation plan in the current session as the implementer yourself — your human partner chose inline execution, or no subagent tool is available
experimental-chat-popupUse and maintain vizro-experimental chat model and floating popup, preserving optional LLM dependencies and security boundaries.
Independent GitHub snapshot · Automated classification · Original documentation governs
Use this sub-skill when the task involves vizro-experimental, the Chat model, floating chat popup, dashboard-agent helper, chat security, or experimental chat examples/docs.
Route elsewhere when the task is mainly about:
../core-dashboard-build/SKILL.md and ../core-components-data-actions/SKILL.md.../mcp-agent-workflows/SKILL.md.vizro-experimental is an incubation package. APIs may change, be removed, or graduate into vizro-core. Say this when giving user-facing guidance.
from vizro_experimental.chat.models.chat import Chat
chat = Chat(
id="assistant",
placeholder="Ask a question about this dashboard",
file_upload=False,
example_questions=["What changed this month?"],
)
Live signature in the verified snapshot:
Chat(*, id=<factory>, type='chat', actions=[], placeholder='How can I help you?', file_upload=False, example_questions=[])
The popup package uses lazy exports:
from vizro_experimental.chat.popup import add_chat_popup
add_chat_popup(
generate_response=lambda messages, **kwargs: "Local deterministic response",
title="Analytics Assistant",
streaming=False,
)
Available lazy exports:
add_chat_popupcreate_dashboard_agentmake_generate_responseThere is no Popup class exported from vizro_experimental.chat.popup in this snapshot.
Preserve the BYO callback boundary:
generate_response should not need dashboard-agent provider dependencies.create_dashboard_agent/make_generate_response when the user explicitly requests agent-backed behavior.generate_response in tests.From vizro-experimental/:
hatch run test-unit tests/unit/test_component.py tests/unit/test_security.py tests/unit/popup/test_popup.py
Browser integration tests under tests/integration/browser/ require a browser backend; do not make them required on a host without Chrome/Chromium.
Chat as a model component or adding the floating popup to an already built Vizro app?generate_response provided? If yes, keep provider dependencies out of the path.vizro-experimental/src/vizro_experimental/chat/models/chat.pyvizro-experimental/src/vizro_experimental/chat/popup/__init__.pyvizro-experimental/src/vizro_experimental/chat/popup/popup.pyvizro-experimental/src/vizro_experimental/chat/popup/dashboard_agent.pyvizro-experimental/docs/pages/chat/{chat-component,api-reference}.mdvizro-experimental/examples/chat_component/app.pyvizro-experimental/tests/unit/{test_component,test_security}.pyvizro-experimental/tests/unit/popup/test_popup.py