Skip to content

Commit 06bd3cd

Browse files
committed
updates
1 parent 56675fd commit 06bd3cd

File tree

2 files changed

+12
-3
lines changed

2 files changed

+12
-3
lines changed

README.md

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,11 @@ Transform data and create rich visualizations iteratively with AI 🪄. Try Data
2222

2323
## News 🔥🔥🔥
2424

25+
- [02-12-2025] Run Data Formulator with different models (powered by [LiteLLM](https://github.com/BerriAI/litellm))!
26+
- You can now run Data Formulator with different models by specifying the model in the model selection dialog.
27+
- We have tested with OpenAI, Azure, Ollama, and Anthropic. Models with good code generation capabilities are recommended (gpt-4o, gpt-4o-mini, claude-3-5-sonnet etc.).
28+
- If running locally, you can also save your API keys in the `api-keys.env` file (check `api-keys.env.template` for reference), Data Formulator will automatically load them.
29+
2530
- [11-07-2024] Minor fun update: data visualization challenges!
2631
- We added a few visualization challenges with the sample datasets. Can you complete them all? [[try them out!]](https://github.com/microsoft/data-formulator/issues/53#issue-2641841252)
2732
- Comment in the issue when you did, or share your results/questions with others! [[comment here]](https://github.com/microsoft/data-formulator/issues/53)
@@ -77,7 +82,7 @@ Play with Data Formulator with one of the following options:
7782

7883
## Using Data Formulator
7984

80-
Once youve completed the setup using either option, follow these steps to start using Data Formulator:
85+
Once you've completed the setup using either option, follow these steps to start using Data Formulator:
8186

8287
### The basics of data visualization
8388
* Provide OpenAI keys and select a model (GPT-4o suggested) and choose a dataset.

api-keys.env.template

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,11 @@
11
# OpenAI Configuration
22
OPENAI_ENABLED=true
33
OPENAI_API_KEY=#your-openai-api-key
4-
OPENAI_MODELS=gpt-4o,gpt-4o-mini
4+
OPENAI_MODELS=gpt-4o,gpt-4o-mini # comma separated list of models
55

66
# Azure OpenAI Configuration
77
AZURE_ENABLED=true
8+
AZURE_API_KEY=#your-azure-openai-api-key
89
AZURE_API_BASE=https://your-azure-openai-endpoint.openai.azure.com/
910
AZURE_API_VERSION=2024-02-15-preview
1011
AZURE_MODELS=gpt-4o
@@ -17,4 +18,7 @@ ANTHROPIC_MODELS=claude-3-5-sonnet-20241022,claude-3-5-haiku-20241022
1718
# Ollama Configuration
1819
OLLAMA_ENABLED=true
1920
OLLAMA_API_BASE=http://localhost:11434
20-
OLLAMA_MODELS=codellama:7b
21+
OLLAMA_MODELS=codellama:7b # models with good code generation capabilities recommended
22+
23+
# if you want to add other models, you can add them with PROVIDER_API_KEY=your-api-key, PROVIDER_MODELS=model1,model2 etc
24+
# (replacing PROVIDER with the provider name like GEMINI, ANTHROPIC, AZURE, OPENAI, OLLAMA etc. as long as they are supported by LiteLLM)

0 commit comments

Comments
 (0)