Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Tidy] Update model names and add PyCafe link #853

Merged
merged 4 commits into from
Nov 7, 2024
Merged
Show file tree
Hide file tree
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions vizro-ai/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ It serves as an extension to Vizro, leveraging natural language capabilities to

| Platform | Chart creation | Dashboard creation |
| ------------ | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| PyCafe | https://py.cafe/app/vizro-official/vizro-ai-charts | |
| Google Colab | [![Open In Colab](https://colab.research.google.com/assets/colab-badge.svg)](https://colab.research.google.com/github/mckinsey/vizro/blob/main/vizro-ai/examples/chart_by_vizro_ai.ipynb) | [![Open In Colab](https://colab.research.google.com/assets/colab-badge.svg)](https://colab.research.google.com/github/mckinsey/vizro/blob/main/vizro-ai/examples/dashboard_by_vizro_ai.ipynb) |

## Why Vizro-AI?
Expand Down
2 changes: 1 addition & 1 deletion vizro-ai/docs/pages/user-guides/customize-vizro-ai.md
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ Passing an instantiated model to `VizroAI` lets you customize it, and additional

At the time of writing, we found that for chart creation, the leading vendor's "cheaper" models, for example OpenAI's `gpt-4o-mini` and `gpt-3.5` model series, are suitable for basic charting despite their relatively low price points.

Consider upgrading to, in the case of OpenAI the `gpt-4o` and `gpt-4` model series, or in the case of Anthropic the `claude-3-5-sonnet-20240620` model series, for more demanding tasks. The downside of using these models is that they come at a higher cost.
Consider upgrading to, in the case of OpenAI the `gpt-4o` and `gpt-4` model series, or in the case of Anthropic the `Claude 3.5` model series, for more demanding tasks. The downside of using these models is that they come at a higher cost.
lingyielia marked this conversation as resolved.
Show resolved Hide resolved

### Dashboard generation

Expand Down
4 changes: 2 additions & 2 deletions vizro-ai/examples/example.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
"llm = None\n",
"# uncomment below to try out different models\n",
"# llm = \"gpt-4o\"\n",
"# llm = \"claude-3-5-sonnet-20240620\"\n",
"# llm = \"claude-3-5-sonnet-latest\"\n",
"# llm = \"mistral-large-latest\"\n",
"\n",
"# from langchain_openai import ChatOpenAI\n",
Expand All @@ -22,7 +22,7 @@
"# import os\n",
"# from langchain_anthropic import ChatAnthropic\n",
"# llm = ChatAnthropic(\n",
"# model=\"claude-3-5-sonnet-20240620\",\n",
"# model=\"claude-3-5-sonnet-latest\",\n",
"# # api_key = os.environ.get(\"ANTHROPIC_API_KEY\"),\n",
"# # base_url= os.environ.get(\"ANTHROPIC_API_BASE\")\n",
"# )\n",
Expand Down