We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b075eab commit 0879680Copy full SHA for 0879680
docs/docs/tutorials/llm_chain.ipynb
@@ -90,16 +90,9 @@
90
"export LANGSMITH_PROJECT=\"default\" # or any other project name\n",
91
"```\n",
92
"\n",
93
- "Or, if in a notebook, you can set them with:"
94
- ]
95
- },
96
- {
97
- "cell_type": "code",
98
- "execution_count": 4,
99
- "id": "599bb688",
100
- "metadata": {},
101
- "outputs": [],
102
- "source": [
+ "Or, if in a notebook, you can set them with:\n",
+ "\n",
+ "```python\n",
103
"import getpass\n",
104
"import os\n",
105
@@ -125,7 +118,8 @@
125
118
"if \"OPENAI_API_KEY\" not in os.environ:\n",
126
119
" os.environ[\"OPENAI_API_KEY\"] = getpass.getpass(\n",
127
120
" prompt=\"Enter your OpenAI API key (required if using OpenAI): \"\n",
128
- " )"
121
+ " )\n",
122
+ "```"
129
123
]
130
124
},
131
{
0 commit comments