mirror of
https://github.com/james-m-jordan/openai-cookbook.git
synced 2025-05-09 19:32:38 +00:00
docs: create a block to show how to export parameter to environment in terminal
This commit is contained in:
parent
5fac20f42c
commit
0d55f254ea
@ -132,7 +132,16 @@
|
|||||||
"\n",
|
"\n",
|
||||||
"If you don't have an OpenAI API key, you can get one from [https://beta.openai.com/account/api-keys](https://beta.openai.com/account/api-keys).\n",
|
"If you don't have an OpenAI API key, you can get one from [https://beta.openai.com/account/api-keys](https://beta.openai.com/account/api-keys).\n",
|
||||||
"\n",
|
"\n",
|
||||||
"Once you get your key, please add it to your environment variables as `OPENAI_API_KEY`."
|
"Once you get your key, please add it to your environment variables as `OPENAI_API_KEY` by running following command:"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"cell_type": "code",
|
||||||
|
"execution_count": null,
|
||||||
|
"metadata": {},
|
||||||
|
"outputs": [],
|
||||||
|
"source": [
|
||||||
|
"! export OPENAI_API_KEY=\"your API key\""
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user