Skip to content

Commit 086cdbd

Browse files
committed
update the conda pack name
1 parent 78c2081 commit 086cdbd

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

docs/source/user_guide/large_language_model/retrieval.rst

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff 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()

0 commit comments

Comments
 (0)