协作头脑风暴
brainstorming
在实现前澄清需求、探索设计选择,并形成清晰的开发方向。
legacy-ai-chart-agent【开发与工程】Maintain and inspect the deprecated vizro-ai chart agent, response models, and tests without using it for new greenfield workflows.
独立 GitHub 快照 · 自动分类 · 以原作者文档为准
Use this sub-skill when the task explicitly mentions vizro-ai, the chart agent, chart-agent tests, response models, safeguards, or legacy AI chart-generation behavior.
For new agent-assisted dashboard work, route to ../mcp-agent-workflows/SKILL.md instead unless the user specifically asks for vizro-ai.
vizro-ai is deprecated in this checkout. Importing vizro_ai emits a package deprecation warning that points users toward Vizro e2e-flow or Vizro-MCP.VizroAI class exported from vizro_ai.__init__ in this snapshot.vizro_ai.agents._chart_agent.chart_agent.import pandas as pd
from vizro_ai.agents._chart_agent import add_df, chart_agent
from vizro_ai.agents.response_models import BaseChartPlan
# chart_agent is a pydantic-ai Agent that expects a pandas DataFrame dependency.
add_df(ctx):
ctx.deps to be a pandas DataFrame.DataFrame.info() text to the agent instructions.ValueError when dependency is not a DataFrame.From vizro-ai/:
hatch run test-unit tests/unit/vizro-ai/agents/test_chart_agent.py
hatch run test-unit tests/unit/vizro-ai/test_init.py
If using a prepared environment instead of Hatch, run equivalent pytest from vizro-ai/ after local package install.
vizro_ai as a public high-level SDK: it is deprecated and narrow in this snapshot.VizroAI class.vizro-ai/src/vizro_ai/__init__.py: deprecation warning and public package initialization.vizro-ai/src/vizro_ai/agents/_chart_agent.py: chart_agent, add_df.vizro-ai/src/vizro_ai/agents/response_models.py: chart response models.vizro-ai/tests/unit/vizro-ai/agents/test_chart_agent.py: behavior expectations.vizro-ai/docs/pages/API-reference/vizro-ai.md and vizro-ai/examples/example.py: public/deprecated documentation context.