Skip to content

Commit 4c58e8c

Browse files
committed
Fix notebook content
1 parent ddc1e6e commit 4c58e8c

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

docs/notebooks/aipy-openai-001.ipynb

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
},
1111
{
1212
"cell_type": "code",
13-
"execution_count": 3,
13+
"execution_count": 19,
1414
"id": "0874350f-09f0-4c02-b05a-a4226cf24bac",
1515
"metadata": {},
1616
"outputs": [],
@@ -24,17 +24,17 @@
2424
"id": "365b948a-1d4c-40b8-a04a-385cb252e197",
2525
"metadata": {},
2626
"source": [
27-
"设定OpenAI参数,在这里,我们可以使用PGPT提供的OpenAI密钥,申请地址 https://qpython.pgpt.cloud/qpy-get-key"
27+
"设定OpenAI参数,在这里,我们可以使用PGPT提供的OpenAI密钥,替换掉下面的<Your PGPT OpenAI key>, Key的申请地址 https://qpython.pgpt.cloud/qpy-get-key"
2828
]
2929
},
3030
{
3131
"cell_type": "code",
32-
"execution_count": 4,
32+
"execution_count": 20,
3333
"id": "1d00e8ff-1830-4a46-85be-5d0b034ffaaa",
3434
"metadata": {},
3535
"outputs": [],
3636
"source": [
37-
"os.environ[\"OPENAI_API_KEY\"] = \"AG-MjE2NTBjMWUxY2VhNWI2OWJmYzA4YjhmY2EzYTdmODc=\"\n",
37+
"os.environ[\"OPENAI_API_KEY\"] = \"<Your PGPT OpenAI key>\"\n",
3838
"os.environ[\"OPENAI_API_BASE\"] = \"https://openai.pgpt.cloud\""
3939
]
4040
},
@@ -48,7 +48,7 @@
4848
},
4949
{
5050
"cell_type": "code",
51-
"execution_count": 5,
51+
"execution_count": 21,
5252
"id": "904d2776-9617-4669-a4b7-b7539a0cfc8c",
5353
"metadata": {},
5454
"outputs": [],
@@ -69,7 +69,7 @@
6969
},
7070
{
7171
"cell_type": "code",
72-
"execution_count": 14,
72+
"execution_count": 22,
7373
"id": "0b5f5426-f0b4-4af7-8968-9af747efb7ca",
7474
"metadata": {},
7575
"outputs": [],
@@ -95,7 +95,7 @@
9595
},
9696
{
9797
"cell_type": "code",
98-
"execution_count": 15,
98+
"execution_count": 23,
9999
"id": "ab4189df-3f97-454c-8f1a-c74f10fdddc5",
100100
"metadata": {},
101101
"outputs": [
@@ -121,7 +121,7 @@
121121
},
122122
{
123123
"cell_type": "code",
124-
"execution_count": 17,
124+
"execution_count": 24,
125125
"id": "c36cebf8-674d-4271-8b99-5740525cc957",
126126
"metadata": {},
127127
"outputs": [

0 commit comments

Comments
 (0)