Chart content structure¶
chart
对象包含以下字段:
字段
类型
描述
tool_use_id
字符串
(Required) The ID of the tool use that generated this chart.
chart_spec
字符串
(必需)以字符串形式序列化的 vega-lite 图表规范。
analyst_tool_use_id
字符串
(已弃用)生成该图表数据的 Cortex Analyst 工具调用的
tool_use_id
。客户端应使用tool_use_id
获取图表工具使用,并在需要时从中找到 Analysttool_use_id
。