From 100d6655df5e6ca002735d0f8921a126557e4373 Mon Sep 17 00:00:00 2001 From: Timothy Ji Date: Mon, 29 May 2023 22:02:47 +0800 Subject: [PATCH] Reformat openai proxy setting as code (#5330) # Reformat the openai proxy setting as code Only affect the doc for openai Model - @hwchase17 - @agola11 --- docs/modules/models/llms/integrations/openai.ipynb | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/docs/modules/models/llms/integrations/openai.ipynb b/docs/modules/models/llms/integrations/openai.ipynb index 87ea797b..68f8d205 100644 --- a/docs/modules/models/llms/integrations/openai.ipynb +++ b/docs/modules/models/llms/integrations/openai.ipynb @@ -133,7 +133,16 @@ "id": "58a9ddb1", "metadata": {}, "source": [ - "# if you are behind an explicit proxy, you can use the OPENAI_PROXY environment variable to pass through\n", + "If you are behind an explicit proxy, you can use the OPENAI_PROXY environment variable to pass through" + ] + }, + { + "cell_type": "code", + "execution_count": null, + "id": "55142cec", + "metadata": {}, + "outputs": [], + "source": [ "os.environ[\"OPENAI_PROXY\"] = \"http://proxy.yourcompany.com:8080\"" ] }