Skip to content

Commit 2d91cfb

Browse files
authored
Update deploy-langchain-as-oci-data-science-model-deployment.ipynb
1 parent 79454a2 commit 2d91cfb

File tree

1 file changed

+7
-2
lines changed

1 file changed

+7
-2
lines changed

notebook_examples/deploy-langchain-as-oci-data-science-model-deployment.ipynb

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -190,7 +190,9 @@
190190
"\n",
191191
"* `inference_conda_env` variable defines the slug of the conda environment that is used to train the model\n",
192192
"\n",
193-
"Note that you can only pass in slug for service conda environment. For custom conda environment, you have to pass in the full path along with the `inference_python_version`."
193+
"Note that you can only pass in slug for service conda environment. For custom conda environment, you have to pass in the full path along with the `inference_python_version`. \n",
194+
"\n",
195+
"Here, replace `<custom_conda_environment_uri>` with your conda environment uri that has the latest ADS 2.9.1 and replace `<python_version>` with your conda environment python version. For how to customize and publish conda environment, take reference to [Publishing a Conda Environment to an Object Storage Bucket](https://docs.oracle.com/en-us/iaas/data-science/using/conda_publishs_object.htm)."
194196
]
195197
},
196198
{
@@ -199,7 +201,10 @@
199201
"metadata": {},
200202
"outputs": [],
201203
"source": [
202-
"chain_deployment.prepare(inference_conda_env=\"pytorch21_p39_gpu_v1\")"
204+
"chain_deployment.prepare(\n",
205+
" inference_conda_env=\"<custom_conda_environment_uri>\",\n",
206+
" inference_python_version=\"<python_version>\",\n",
207+
")"
203208
]
204209
},
205210
{

0 commit comments

Comments
 (0)