File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed
docs/source/user_guide/large_language_model Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -251,7 +251,8 @@ Here is an example code snippet for OpenSearchVectorSearch deployment:
251251 from ads.llm.deploy import ChainDeployment
252252 model = ChainDeployment(qa)
253253 model.prepare(force_overwrite=True,
254- inference_conda_env="your_conda_pack",
254+ inference_conda_env="<custom_conda_environment_uri>",
255+ inference_python_version="<python_version>",
255256 )
256257
257258 model.save()
@@ -322,7 +323,8 @@ Here is an example code snippet for FAISS deployment:
322323 from ads.llm.deploy import ChainDeployment
323324 model = ChainDeployment(qa)
324325 model.prepare(force_overwrite=True,
325- inference_conda_env="your_conda_pack",
326+ inference_conda_env="<custom_conda_environment_uri>",
327+ inference_python_version="<python_version>",
326328 )
327329
328330 model.save()
You can’t perform that action at this time.
0 commit comments