Reformat openai proxy setting as code (#5330)

# Reformat the openai proxy setting as code


  Only affect the doc for openai Model
  - @hwchase17
  - @agola11
searx_updates
Timothy Ji 1 year ago committed by GitHub
parent c09f8e4ddc
commit 100d6655df
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -133,7 +133,16 @@
"id": "58a9ddb1", "id": "58a9ddb1",
"metadata": {}, "metadata": {},
"source": [ "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\"" "os.environ[\"OPENAI_PROXY\"] = \"http://proxy.yourcompany.com:8080\""
] ]
} }

Loading…
Cancel
Save