From b2e4cb831422be2d06bb211e53da9a10eda746d9 Mon Sep 17 00:00:00 2001 From: Jack Gerrits Date: Sun, 4 Feb 2024 14:21:35 -0500 Subject: [PATCH] Fix example for LLM configuration docs (#1528) * update the simplest llm config example * formatting --------- Co-authored-by: Chi Wang --- website/docs/llm_endpoint_configuration.ipynb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/website/docs/llm_endpoint_configuration.ipynb b/website/docs/llm_endpoint_configuration.ipynb index 2cbca3d3f5fc..914aa7610f01 100644 --- a/website/docs/llm_endpoint_configuration.ipynb +++ b/website/docs/llm_endpoint_configuration.ipynb @@ -23,7 +23,7 @@ "source": [ "import autogen\n", "\n", - "config_list = autogen.get_config_list([\"YOUR_OPENAI_API_KEY\"], api_type=\"openai\")" + "config_list = [{\"model\": \"gpt-4\", \"api_key\": \"YOUR_OPENAI_API_KEY\"}]" ] }, {