Skip to content

Commit 9d1b8f6

Browse files
committed
pip install in separate cell
1 parent e7296d9 commit 9d1b8f6

File tree

1 file changed

+10
-3
lines changed

1 file changed

+10
-3
lines changed

examples/mcp/databricks_mcp_cookbook.ipynb

Lines changed: 10 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -66,9 +66,16 @@
6666
"source": [
6767
"## Set up Databricks authentication\n",
6868
"\n",
69-
"The easiest way is to add a profile to `~/.databrickscfg`. The snippet’s `WorkspaceClient(profile=...)` call will pick that up. It tells the SDK which of those stored credentials to load, so your code never needs to embed tokens. Another option would be to create environment variables such as `DATABRICKS_HOST` and `DATABRICKS_TOKEN`, but using `~/.databrickscfg` is recommended.\n",
70-
"\n",
71-
"`pip install openai databricks-sdk`"
69+
"The easiest way is to add a profile to `~/.databrickscfg`. The snippet’s `WorkspaceClient(profile=...)` call will pick that up. It tells the SDK which of those stored credentials to load, so your code never needs to embed tokens. Another option would be to create environment variables such as `DATABRICKS_HOST` and `DATABRICKS_TOKEN`, but using `~/.databrickscfg` is recommended."
70+
]
71+
},
72+
{
73+
"cell_type": "code",
74+
"execution_count": null,
75+
"metadata": {},
76+
"outputs": [],
77+
"source": [
78+
"pip install openai databricks-sdk"
7279
]
7380
},
7481
{

0 commit comments

Comments
 (0)