Skip to content

Commit c3954e4

Browse files
committed
docs: update LLM provider model and API endpoint in Visualizing_data_with_LLMs vignette
1 parent b7de5f0 commit c3954e4

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

vignettes/Visualizing_data_with_LLMs.Rmd

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -30,11 +30,11 @@ This vignette demonstrates how to use the `scplotter` package to visualize data
3030
```{r, eval = api_key_set}
3131
# Set up LLM provider
3232
provider <- tidyprompt::llm_provider_openai(
33-
parameters = list(model = "openai/gpt-5.4-nano", stream =
33+
parameters = list(model = "deepseek-v4-flash", stream =
3434
getOption("tidyprompt.stream", TRUE)),
3535
verbose = getOption("tidyprompt.verbose", TRUE),
36-
url = "https://openrouter.ai/api/v1/chat/completions",
37-
api_key = Sys.getenv("OPENROUTER_API_KEY")
36+
url = "https://api.deepseek.com/chat/completions",
37+
api_key = Sys.getenv("OPENAI_API_KEY")
3838
)
3939
4040
chat <- SCPlotterChat$new(provider = provider)

0 commit comments

Comments
 (0)