Skip to content

Commit ffd5900

Browse files
Serkan HaytacSerkan Haytac
authored andcommitted
add missing os import
add required openai api key env var
1 parent ffd986f commit ffd5900

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

rag_from_scratch_1_to_4.ipynb

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,9 +39,11 @@
3939
"metadata": {},
4040
"outputs": [],
4141
"source": [
42+
"import os\n",
4243
"os.environ['LANGCHAIN_TRACING_V2'] = 'true'\n",
4344
"os.environ['LANGCHAIN_ENDPOINT'] = 'https://api.smith.langchain.com'\n",
44-
"os.environ['LANGCHAIN_API_KEY'] = <your-api-key>"
45+
"os.environ['LANGCHAIN_API_KEY'] = <your-api-key>\n",
46+
"os.environ['OPENAI_API_KEY'] = <openai-api-key>"
4547
]
4648
},
4749
{

0 commit comments

Comments
 (0)