Skip to content

Commit

Permalink
add missing os import
Browse files Browse the repository at this point in the history
add required openai api key env var
  • Loading branch information
Serkan Haytac authored and Serkan Haytac committed Feb 10, 2024
1 parent ffd986f commit ffd5900
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion rag_from_scratch_1_to_4.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -39,9 +39,11 @@
"metadata": {},
"outputs": [],
"source": [
"import os\n",
"os.environ['LANGCHAIN_TRACING_V2'] = 'true'\n",
"os.environ['LANGCHAIN_ENDPOINT'] = 'https://api.smith.langchain.com'\n",
"os.environ['LANGCHAIN_API_KEY'] = <your-api-key>"
"os.environ['LANGCHAIN_API_KEY'] = <your-api-key>\n",
"os.environ['OPENAI_API_KEY'] = <openai-api-key>"
]
},
{
Expand Down

0 comments on commit ffd5900

Please # to comment.