vizro-mcp 0.0.1.dev0__tar.gz → 0.1.0__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- vizro_mcp-0.1.0/CHANGELOG.md +10 -0
- {vizro_mcp-0.0.1.dev0 → vizro_mcp-0.1.0}/PKG-INFO +85 -18
- {vizro_mcp-0.0.1.dev0 → vizro_mcp-0.1.0}/README.md +84 -17
- vizro_mcp-0.0.1.dev0/changelog.d/20250417_141843_maximilian_schulz_mcp.md → vizro_mcp-0.1.0/changelog.d/20250506_175642_maximilian_schulz_0_1_0.md +7 -2
- {vizro_mcp-0.0.1.dev0 → vizro_mcp-0.1.0}/hatch.toml +5 -0
- {vizro_mcp-0.0.1.dev0 → vizro_mcp-0.1.0}/pyproject.toml +1 -1
- {vizro_mcp-0.0.1.dev0 → vizro_mcp-0.1.0}/src/vizro_mcp/__init__.py +1 -1
- vizro_mcp-0.0.1.dev0/CHANGELOG.md +0 -0
- {vizro_mcp-0.0.1.dev0 → vizro_mcp-0.1.0}/.gitignore +0 -0
- {vizro_mcp-0.0.1.dev0 → vizro_mcp-0.1.0}/LICENSE.txt +0 -0
- {vizro_mcp-0.0.1.dev0 → vizro_mcp-0.1.0}/assets/claude_prompt.png +0 -0
- {vizro_mcp-0.0.1.dev0 → vizro_mcp-0.1.0}/assets/claude_validate.png +0 -0
- {vizro_mcp-0.0.1.dev0 → vizro_mcp-0.1.0}/assets/claude_working.png +0 -0
- {vizro_mcp-0.0.1.dev0 → vizro_mcp-0.1.0}/assets/cursor_working.png +0 -0
- {vizro_mcp-0.0.1.dev0 → vizro_mcp-0.1.0}/changelog.d/new_fragment.md.j2 +0 -0
- {vizro_mcp-0.0.1.dev0 → vizro_mcp-0.1.0}/changelog.d/scriv.ini +0 -0
- {vizro_mcp-0.0.1.dev0 → vizro_mcp-0.1.0}/src/vizro_mcp/_schemas/__init__.py +0 -0
- {vizro_mcp-0.0.1.dev0 → vizro_mcp-0.1.0}/src/vizro_mcp/_schemas/schemas.py +0 -0
- {vizro_mcp-0.0.1.dev0 → vizro_mcp-0.1.0}/src/vizro_mcp/_utils/__init__.py +0 -0
- {vizro_mcp-0.0.1.dev0 → vizro_mcp-0.1.0}/src/vizro_mcp/_utils/utils.py +0 -0
- {vizro_mcp-0.0.1.dev0 → vizro_mcp-0.1.0}/src/vizro_mcp/py.typed +0 -0
- {vizro_mcp-0.0.1.dev0 → vizro_mcp-0.1.0}/src/vizro_mcp/server.py +0 -0
- {vizro_mcp-0.0.1.dev0 → vizro_mcp-0.1.0}/tests/unit/vizro_mcp/test_server.py +0 -0
- {vizro_mcp-0.0.1.dev0 → vizro_mcp-0.1.0}/uv.lock +0 -0
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
<a id='changelog-0.1.0'></a>
|
|
2
|
+
|
|
3
|
+
# 0.1.0 — 2025-05-06
|
|
4
|
+
|
|
5
|
+
## Added
|
|
6
|
+
|
|
7
|
+
- Initial release of the Vizro MCP server. ([#1125](https://github.com/mckinsey/vizro/pull/1125))
|
|
8
|
+
- still experimental, please provide feedback via [github issues](https://github.com/mckinsey/vizro/issues)
|
|
9
|
+
- pinned `vizro` version to `0.1.38`
|
|
10
|
+
- published with 6 tools and 3 prompt templates
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: vizro-mcp
|
|
3
|
-
Version: 0.
|
|
3
|
+
Version: 0.1.0
|
|
4
4
|
Summary: MCP server to help create Vizro dashboards and charts
|
|
5
5
|
Author: Vizro Team
|
|
6
6
|
License-File: LICENSE.txt
|
|
@@ -25,13 +25,25 @@ Vizro-MCP is a [Model Context Protocol (MCP)](https://modelcontextprotocol.io/)
|
|
|
25
25
|
|
|
26
26
|
Vizro-MCP provides tools and templates to create a functioning Vizro chart or dashboard step by step. Benefits include:
|
|
27
27
|
|
|
28
|
-
✅ One consistent framework for charts and dashboards with one common design language.
|
|
28
|
+
✅ One consistent framework for charts and dashboards with one common design language.
|
|
29
|
+
|
|
30
|
+
✅ Validated config output that is readable and easy to alter or maintain.
|
|
31
|
+
|
|
32
|
+
✅ Live preview of the dashboard to iterate the design until the dashboard is perfect.
|
|
33
|
+
|
|
34
|
+
✅ Use of local or remote datasets simply by providing a path or URL.
|
|
29
35
|
|
|
30
36
|
### Without Vizro-MCP
|
|
31
37
|
|
|
32
38
|
Without Vizro-MCP, if you try to make a dashboard using an LLM, it could choose any framework, and use it without specific guidance, design principles, or consistency. The results are:
|
|
33
39
|
|
|
34
|
-
❌ A random choice of frontend framework or charting library.
|
|
40
|
+
❌ A random choice of frontend framework or charting library.
|
|
41
|
+
|
|
42
|
+
❌ A vibe-coded mess that may or may not run, but certainly is not very maintainable.
|
|
43
|
+
|
|
44
|
+
❌ No way to easily preview the dashboard.
|
|
45
|
+
|
|
46
|
+
❌ No easy way to connect to real data.
|
|
35
47
|
|
|
36
48
|
## 🛠️ Get started
|
|
37
49
|
|
|
@@ -68,7 +80,7 @@ Add the following to your `claude_desktop_config.json` [found via Developer Sett
|
|
|
68
80
|
}
|
|
69
81
|
```
|
|
70
82
|
|
|
71
|
-
> ⚠️ **Warning:** In some cases you may need to provide the full path to your `
|
|
83
|
+
> ⚠️ **Warning:** In some cases you may need to provide the full path to your `uvx` executable, so instead of `uvx` would use something like `/Users/<your-username>/.local/bin/uvx`. To discover the path of `uvx` on your machine, in your terminal app, type `which uvx`.
|
|
72
84
|
|
|
73
85
|
If you are using Claude Desktop, restart it, and after a few moments, you should see the vizro-mcp menu when opening the settings/context menu:
|
|
74
86
|
|
|
@@ -94,7 +106,7 @@ Add the following to `mcp.json` [found via the Cursor Settings](https://docs.cur
|
|
|
94
106
|
}
|
|
95
107
|
```
|
|
96
108
|
|
|
97
|
-
> ⚠️ **Warning:** In some cases you may need to provide the full path to your `
|
|
109
|
+
> ⚠️ **Warning:** In some cases you may need to provide the full path to your `uvx` executable, so instead of `uvx` would use something like `/Users/<your-username>/.local/bin/uvx`. To discover the path of `uvx` on your machine, in your terminal app, type `which uvx`.
|
|
98
110
|
|
|
99
111
|
Similarly, when using Cursor, after a short pause, you should see a green light in the MCP menu:
|
|
100
112
|
|
|
@@ -122,6 +134,8 @@ You can also ask the LLM to create specific dashboards based on local or remote
|
|
|
122
134
|
|
|
123
135
|
> _Create a simple two page Vizro dashboard, with first page being a correlation analysis of `<insert absolute file path or public URL>` data, and the second page being a map plot of `<insert absolute file path or public URL>` data_
|
|
124
136
|
|
|
137
|
+
You can find a set of sample CSVs to try out in the [Plotly repository](https://github.com/plotly/datasets/tree/master).
|
|
138
|
+
|
|
125
139
|
You can even ask for a dashboard without providing data:
|
|
126
140
|
|
|
127
141
|
> _Create a Vizro dashboard with one page, a scatter chart, and a filter._
|
|
@@ -138,9 +152,11 @@ You can also ask the model to give you the link, but it will attempt to regenera
|
|
|
138
152
|
|
|
139
153
|
### Create Vizro charts
|
|
140
154
|
|
|
141
|
-
|
|
155
|
+
If you don't want to create an entire Vizro dashboard, you can still use Vizro-MCP to create the code for a single chart. If you're not sure what kind of chart you want, check out the [Vizro Visual Vocabulary](https://huggingface.co/spaces/vizro/demo-visual-vocabulary) for ideas.
|
|
142
156
|
|
|
143
|
-
|
|
157
|
+
The **easiest** way to create a Vizro chart is to choose the template `create_vizro_chart` and just send the prompt. This will create a simple chart that you can alter. Take it from there!
|
|
158
|
+
|
|
159
|
+
Alternatively, you can just ask in the chat, for example:
|
|
144
160
|
|
|
145
161
|
> _Create a scatter based on the iris dataset._
|
|
146
162
|
|
|
@@ -168,12 +184,8 @@ The Vizro MCP server provides the following tools. In general you should not nee
|
|
|
168
184
|
## Available Prompts (if client allows)
|
|
169
185
|
|
|
170
186
|
- `create_starter_dashboard` - Use this prompt template to get started with Vizro dashboards.
|
|
171
|
-
- `create_EDA_dashboard` - Use this prompt template to create an Exploratory Data Analysis (EDA) dashboard based on a local or remote CSV dataset
|
|
172
|
-
- `create_vizro_chart` - Use this prompt template to create a Vizro styled plotly chart based on a local or remote CSV dataset
|
|
173
|
-
|
|
174
|
-
## Sample data
|
|
175
|
-
|
|
176
|
-
You can find a set of sample CSVs to try out in the [Plotly repository](https://github.com/plotly/datasets/tree/master).
|
|
187
|
+
- `create_EDA_dashboard` - Use this prompt template to create an Exploratory Data Analysis (EDA) dashboard based on a local or remote CSV dataset.
|
|
188
|
+
- `create_vizro_chart` - Use this prompt template to create a Vizro styled plotly chart based on a local or remote CSV dataset.
|
|
177
189
|
|
|
178
190
|
## Development or running from source
|
|
179
191
|
|
|
@@ -201,12 +213,67 @@ If you are a developer, or if you are running Vizro-MCP from source, you need to
|
|
|
201
213
|
|
|
202
214
|
Replace `<PATH TO VIZRO>` with the actual path to your Vizro repository. You may also need to provide the full path to your `uv` executable, so instead of `"uv"` you would use something like `"/Users/<your-username>/.local/bin/uv"`. To discover the path of `uv` on your machine, in your terminal app, type `which uv`.
|
|
203
215
|
|
|
204
|
-
##
|
|
216
|
+
## Disclaimers
|
|
217
|
+
|
|
218
|
+
<details>
|
|
219
|
+
<summary><strong>Third party API</strong></summary>
|
|
220
|
+
|
|
221
|
+
Users are responsible for anything done via their host LLM application.
|
|
222
|
+
|
|
223
|
+
Users are responsible for procuring any and all rights necessary to access any third-party generative AI tools and for complying with any applicable terms or conditions thereof.
|
|
224
|
+
|
|
225
|
+
Users are wholly responsible for the use and security of the third-party generative AI tools and of Vizro.
|
|
226
|
+
|
|
227
|
+
</details>
|
|
228
|
+
|
|
229
|
+
<details>
|
|
230
|
+
<summary><strong>User acknowledgments</strong></summary>
|
|
231
|
+
|
|
232
|
+
Users acknowledge and agree that:
|
|
233
|
+
|
|
234
|
+
Any results, options, data, recommendations, analyses, code, or other information (“Outputs”) generated by any third-party generative AI tools (“GenAI Tools”) may contain some inaccuracies, biases, illegitimate, potentially infringing, or otherwise inappropriate content that may be mistaken, discriminatory, or misleading.
|
|
235
|
+
|
|
236
|
+
McKinsey & Company:
|
|
237
|
+
|
|
238
|
+
(i) expressly disclaims the accuracy, adequacy, timeliness, reliability, merchantability, fitness for a particular purpose, non-infringement, safety or completeness of any Outputs,
|
|
239
|
+
|
|
240
|
+
(ii) shall not be liable for any errors, omissions, or other defects in, delays or interruptions in such Outputs, or for any actions taken in reliance thereon, and
|
|
241
|
+
|
|
242
|
+
(iii) shall not be liable for any alleged violation or infringement of any right of any third party resulting from the users’ use of the GenAI Tools and the Outputs.
|
|
243
|
+
|
|
244
|
+
The Outputs shall be verified and validated by the users and shall not be used without human oversight and as a sole basis for making decisions impacting individuals.
|
|
245
|
+
|
|
246
|
+
Users remain solely responsible for the use of the Output, in particular, the users will need to determine the level of human oversight needed to be given the context and use case, as well as for informing the users’ personnel and other affected users about the nature of the GenAI Output. Users are also fully responsible for their decisions, actions, use of Vizro and Vizro-MCP and compliance with applicable laws, rules, and regulations, including but not limited to confirming that the Outputs do not infringe any third-party rights.
|
|
247
|
+
|
|
248
|
+
</details>
|
|
249
|
+
|
|
250
|
+
<details>
|
|
251
|
+
<summary><strong>Warning and safety usage for generative AI models</strong></summary>
|
|
252
|
+
|
|
253
|
+
Vizro-MCP is used by generative AI models because large language models (LLMs) represent significant advancements in the AI field. However, as with any powerful tool, there are potential risks associated with connecting to a generative AI model.
|
|
254
|
+
|
|
255
|
+
We recommend users research and understand the selected model before using Vizro-MCP.
|
|
205
256
|
|
|
206
|
-
|
|
257
|
+
Users are encouraged to treat AI-generated content as supplementary, always apply human judgment, approach with caution, review the relevant disclaimer page, and consider the following:
|
|
207
258
|
|
|
208
|
-
|
|
259
|
+
<ol>
|
|
260
|
+
<li>Hallucination and misrepresentation</li>
|
|
261
|
+
Generative models can potentially generate information while appearing factual, being entirely fictitious or misleading.
|
|
209
262
|
|
|
210
|
-
|
|
263
|
+
The vendor models might lack real-time knowledge or events beyond its last updates. Vizro-MCP output may vary and you should always verify critical information. It is the user's responsibility to discern the accuracy, consistent, and reliability of the generated content.
|
|
211
264
|
|
|
212
|
-
|
|
265
|
+
<li>Unintended and sensitive output</li>
|
|
266
|
+
The outputs from these models can be unexpected, inappropriate, or even harmful. Users as human in the loop is an essential part. Users must check and interpret the final output. It is necessary to approach the generated content with caution, especially when shared or applied in various contexts.
|
|
267
|
+
|
|
268
|
+
<li>Data privacy</li>
|
|
269
|
+
Your data is sent to model vendors if you connect to LLMs via their APIs. For example, if you connect to the model from OpenAI, your data will be sent to OpenAI via their API. Users should be cautious about sharing or inputting any personal or sensitive information.
|
|
270
|
+
|
|
271
|
+
<li>Bias and fairness</li>
|
|
272
|
+
Generative AI can exhibit biases present in their training data. Users need to be aware of and navigate potential biases in generated outputs and be cautious when interpreting the generated content.
|
|
273
|
+
|
|
274
|
+
<li>Malicious use</li>
|
|
275
|
+
These models can be exploited for various malicious activities. Users should be cautious about how and where they deploy and access such models.
|
|
276
|
+
</ol>
|
|
277
|
+
It's crucial for users to remain informed, cautious, and ethical in their applications.
|
|
278
|
+
|
|
279
|
+
</details>
|
|
@@ -6,13 +6,25 @@ Vizro-MCP is a [Model Context Protocol (MCP)](https://modelcontextprotocol.io/)
|
|
|
6
6
|
|
|
7
7
|
Vizro-MCP provides tools and templates to create a functioning Vizro chart or dashboard step by step. Benefits include:
|
|
8
8
|
|
|
9
|
-
✅ One consistent framework for charts and dashboards with one common design language.
|
|
9
|
+
✅ One consistent framework for charts and dashboards with one common design language.
|
|
10
|
+
|
|
11
|
+
✅ Validated config output that is readable and easy to alter or maintain.
|
|
12
|
+
|
|
13
|
+
✅ Live preview of the dashboard to iterate the design until the dashboard is perfect.
|
|
14
|
+
|
|
15
|
+
✅ Use of local or remote datasets simply by providing a path or URL.
|
|
10
16
|
|
|
11
17
|
### Without Vizro-MCP
|
|
12
18
|
|
|
13
19
|
Without Vizro-MCP, if you try to make a dashboard using an LLM, it could choose any framework, and use it without specific guidance, design principles, or consistency. The results are:
|
|
14
20
|
|
|
15
|
-
❌ A random choice of frontend framework or charting library.
|
|
21
|
+
❌ A random choice of frontend framework or charting library.
|
|
22
|
+
|
|
23
|
+
❌ A vibe-coded mess that may or may not run, but certainly is not very maintainable.
|
|
24
|
+
|
|
25
|
+
❌ No way to easily preview the dashboard.
|
|
26
|
+
|
|
27
|
+
❌ No easy way to connect to real data.
|
|
16
28
|
|
|
17
29
|
## 🛠️ Get started
|
|
18
30
|
|
|
@@ -49,7 +61,7 @@ Add the following to your `claude_desktop_config.json` [found via Developer Sett
|
|
|
49
61
|
}
|
|
50
62
|
```
|
|
51
63
|
|
|
52
|
-
> ⚠️ **Warning:** In some cases you may need to provide the full path to your `
|
|
64
|
+
> ⚠️ **Warning:** In some cases you may need to provide the full path to your `uvx` executable, so instead of `uvx` would use something like `/Users/<your-username>/.local/bin/uvx`. To discover the path of `uvx` on your machine, in your terminal app, type `which uvx`.
|
|
53
65
|
|
|
54
66
|
If you are using Claude Desktop, restart it, and after a few moments, you should see the vizro-mcp menu when opening the settings/context menu:
|
|
55
67
|
|
|
@@ -75,7 +87,7 @@ Add the following to `mcp.json` [found via the Cursor Settings](https://docs.cur
|
|
|
75
87
|
}
|
|
76
88
|
```
|
|
77
89
|
|
|
78
|
-
> ⚠️ **Warning:** In some cases you may need to provide the full path to your `
|
|
90
|
+
> ⚠️ **Warning:** In some cases you may need to provide the full path to your `uvx` executable, so instead of `uvx` would use something like `/Users/<your-username>/.local/bin/uvx`. To discover the path of `uvx` on your machine, in your terminal app, type `which uvx`.
|
|
79
91
|
|
|
80
92
|
Similarly, when using Cursor, after a short pause, you should see a green light in the MCP menu:
|
|
81
93
|
|
|
@@ -103,6 +115,8 @@ You can also ask the LLM to create specific dashboards based on local or remote
|
|
|
103
115
|
|
|
104
116
|
> _Create a simple two page Vizro dashboard, with first page being a correlation analysis of `<insert absolute file path or public URL>` data, and the second page being a map plot of `<insert absolute file path or public URL>` data_
|
|
105
117
|
|
|
118
|
+
You can find a set of sample CSVs to try out in the [Plotly repository](https://github.com/plotly/datasets/tree/master).
|
|
119
|
+
|
|
106
120
|
You can even ask for a dashboard without providing data:
|
|
107
121
|
|
|
108
122
|
> _Create a Vizro dashboard with one page, a scatter chart, and a filter._
|
|
@@ -119,9 +133,11 @@ You can also ask the model to give you the link, but it will attempt to regenera
|
|
|
119
133
|
|
|
120
134
|
### Create Vizro charts
|
|
121
135
|
|
|
122
|
-
|
|
136
|
+
If you don't want to create an entire Vizro dashboard, you can still use Vizro-MCP to create the code for a single chart. If you're not sure what kind of chart you want, check out the [Vizro Visual Vocabulary](https://huggingface.co/spaces/vizro/demo-visual-vocabulary) for ideas.
|
|
123
137
|
|
|
124
|
-
|
|
138
|
+
The **easiest** way to create a Vizro chart is to choose the template `create_vizro_chart` and just send the prompt. This will create a simple chart that you can alter. Take it from there!
|
|
139
|
+
|
|
140
|
+
Alternatively, you can just ask in the chat, for example:
|
|
125
141
|
|
|
126
142
|
> _Create a scatter based on the iris dataset._
|
|
127
143
|
|
|
@@ -149,12 +165,8 @@ The Vizro MCP server provides the following tools. In general you should not nee
|
|
|
149
165
|
## Available Prompts (if client allows)
|
|
150
166
|
|
|
151
167
|
- `create_starter_dashboard` - Use this prompt template to get started with Vizro dashboards.
|
|
152
|
-
- `create_EDA_dashboard` - Use this prompt template to create an Exploratory Data Analysis (EDA) dashboard based on a local or remote CSV dataset
|
|
153
|
-
- `create_vizro_chart` - Use this prompt template to create a Vizro styled plotly chart based on a local or remote CSV dataset
|
|
154
|
-
|
|
155
|
-
## Sample data
|
|
156
|
-
|
|
157
|
-
You can find a set of sample CSVs to try out in the [Plotly repository](https://github.com/plotly/datasets/tree/master).
|
|
168
|
+
- `create_EDA_dashboard` - Use this prompt template to create an Exploratory Data Analysis (EDA) dashboard based on a local or remote CSV dataset.
|
|
169
|
+
- `create_vizro_chart` - Use this prompt template to create a Vizro styled plotly chart based on a local or remote CSV dataset.
|
|
158
170
|
|
|
159
171
|
## Development or running from source
|
|
160
172
|
|
|
@@ -182,12 +194,67 @@ If you are a developer, or if you are running Vizro-MCP from source, you need to
|
|
|
182
194
|
|
|
183
195
|
Replace `<PATH TO VIZRO>` with the actual path to your Vizro repository. You may also need to provide the full path to your `uv` executable, so instead of `"uv"` you would use something like `"/Users/<your-username>/.local/bin/uv"`. To discover the path of `uv` on your machine, in your terminal app, type `which uv`.
|
|
184
196
|
|
|
185
|
-
##
|
|
197
|
+
## Disclaimers
|
|
198
|
+
|
|
199
|
+
<details>
|
|
200
|
+
<summary><strong>Third party API</strong></summary>
|
|
201
|
+
|
|
202
|
+
Users are responsible for anything done via their host LLM application.
|
|
203
|
+
|
|
204
|
+
Users are responsible for procuring any and all rights necessary to access any third-party generative AI tools and for complying with any applicable terms or conditions thereof.
|
|
205
|
+
|
|
206
|
+
Users are wholly responsible for the use and security of the third-party generative AI tools and of Vizro.
|
|
207
|
+
|
|
208
|
+
</details>
|
|
209
|
+
|
|
210
|
+
<details>
|
|
211
|
+
<summary><strong>User acknowledgments</strong></summary>
|
|
212
|
+
|
|
213
|
+
Users acknowledge and agree that:
|
|
214
|
+
|
|
215
|
+
Any results, options, data, recommendations, analyses, code, or other information (“Outputs”) generated by any third-party generative AI tools (“GenAI Tools”) may contain some inaccuracies, biases, illegitimate, potentially infringing, or otherwise inappropriate content that may be mistaken, discriminatory, or misleading.
|
|
216
|
+
|
|
217
|
+
McKinsey & Company:
|
|
218
|
+
|
|
219
|
+
(i) expressly disclaims the accuracy, adequacy, timeliness, reliability, merchantability, fitness for a particular purpose, non-infringement, safety or completeness of any Outputs,
|
|
220
|
+
|
|
221
|
+
(ii) shall not be liable for any errors, omissions, or other defects in, delays or interruptions in such Outputs, or for any actions taken in reliance thereon, and
|
|
222
|
+
|
|
223
|
+
(iii) shall not be liable for any alleged violation or infringement of any right of any third party resulting from the users’ use of the GenAI Tools and the Outputs.
|
|
224
|
+
|
|
225
|
+
The Outputs shall be verified and validated by the users and shall not be used without human oversight and as a sole basis for making decisions impacting individuals.
|
|
226
|
+
|
|
227
|
+
Users remain solely responsible for the use of the Output, in particular, the users will need to determine the level of human oversight needed to be given the context and use case, as well as for informing the users’ personnel and other affected users about the nature of the GenAI Output. Users are also fully responsible for their decisions, actions, use of Vizro and Vizro-MCP and compliance with applicable laws, rules, and regulations, including but not limited to confirming that the Outputs do not infringe any third-party rights.
|
|
228
|
+
|
|
229
|
+
</details>
|
|
230
|
+
|
|
231
|
+
<details>
|
|
232
|
+
<summary><strong>Warning and safety usage for generative AI models</strong></summary>
|
|
233
|
+
|
|
234
|
+
Vizro-MCP is used by generative AI models because large language models (LLMs) represent significant advancements in the AI field. However, as with any powerful tool, there are potential risks associated with connecting to a generative AI model.
|
|
235
|
+
|
|
236
|
+
We recommend users research and understand the selected model before using Vizro-MCP.
|
|
186
237
|
|
|
187
|
-
|
|
238
|
+
Users are encouraged to treat AI-generated content as supplementary, always apply human judgment, approach with caution, review the relevant disclaimer page, and consider the following:
|
|
188
239
|
|
|
189
|
-
|
|
240
|
+
<ol>
|
|
241
|
+
<li>Hallucination and misrepresentation</li>
|
|
242
|
+
Generative models can potentially generate information while appearing factual, being entirely fictitious or misleading.
|
|
190
243
|
|
|
191
|
-
|
|
244
|
+
The vendor models might lack real-time knowledge or events beyond its last updates. Vizro-MCP output may vary and you should always verify critical information. It is the user's responsibility to discern the accuracy, consistent, and reliability of the generated content.
|
|
192
245
|
|
|
193
|
-
|
|
246
|
+
<li>Unintended and sensitive output</li>
|
|
247
|
+
The outputs from these models can be unexpected, inappropriate, or even harmful. Users as human in the loop is an essential part. Users must check and interpret the final output. It is necessary to approach the generated content with caution, especially when shared or applied in various contexts.
|
|
248
|
+
|
|
249
|
+
<li>Data privacy</li>
|
|
250
|
+
Your data is sent to model vendors if you connect to LLMs via their APIs. For example, if you connect to the model from OpenAI, your data will be sent to OpenAI via their API. Users should be cautious about sharing or inputting any personal or sensitive information.
|
|
251
|
+
|
|
252
|
+
<li>Bias and fairness</li>
|
|
253
|
+
Generative AI can exhibit biases present in their training data. Users need to be aware of and navigate potential biases in generated outputs and be cautious when interpreting the generated content.
|
|
254
|
+
|
|
255
|
+
<li>Malicious use</li>
|
|
256
|
+
These models can be exploited for various malicious activities. Users should be cautious about how and where they deploy and access such models.
|
|
257
|
+
</ol>
|
|
258
|
+
It's crucial for users to remain informed, cautious, and ethical in their applications.
|
|
259
|
+
|
|
260
|
+
</details>
|
|
@@ -7,7 +7,9 @@ Uncomment the section that is right (remove the HTML comment wrapper).
|
|
|
7
7
|
<!--
|
|
8
8
|
### Highlights ✨
|
|
9
9
|
|
|
10
|
-
-
|
|
10
|
+
- A bullet item for the Highlights ✨ category with a link to the relevant PR at the end of your entry, e.g. Enable feature XXX. ([#1](https://github.com/mckinsey/vizro/pull/1))
|
|
11
|
+
|
|
12
|
+
-->
|
|
11
13
|
|
|
12
14
|
<!--
|
|
13
15
|
### Removed
|
|
@@ -16,9 +18,12 @@ Uncomment the section that is right (remove the HTML comment wrapper).
|
|
|
16
18
|
|
|
17
19
|
-->
|
|
18
20
|
|
|
21
|
+
<!--
|
|
19
22
|
### Added
|
|
20
23
|
|
|
21
|
-
-
|
|
24
|
+
- A bullet item for the Added category with a link to the relevant PR at the end of your entry, e.g. Enable feature XXX. ([#1](https://github.com/mckinsey/vizro/pull/1))
|
|
25
|
+
|
|
26
|
+
-->
|
|
22
27
|
|
|
23
28
|
<!--
|
|
24
29
|
### Changed
|
|
@@ -32,6 +32,11 @@ prep-release = [
|
|
|
32
32
|
pypath = "python -c 'import sys; print(sys.executable)'"
|
|
33
33
|
test = "pytest tests --headless {args}"
|
|
34
34
|
test-unit = "pytest tests/unit {args}"
|
|
35
|
+
test-unit-coverage = [
|
|
36
|
+
"coverage run -m pytest tests/unit {args}",
|
|
37
|
+
"- coverage combine",
|
|
38
|
+
"coverage report"
|
|
39
|
+
]
|
|
35
40
|
|
|
36
41
|
[publish.index]
|
|
37
42
|
disable = true
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|