Skip to content

Commit d8a836a

Browse files
author
Ziqun Ye
committed
updating the doc
1 parent 9abc099 commit d8a836a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/source/user_guide/large_language_model/retrieval.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -95,8 +95,7 @@ Here is an example code snippet for OpenSearchVectorSearch deployment:
9595
retriever = opensearch_vector_search.as_retriever(search_kwargs={"vector_field": "embeds",
9696
"text_field": "text",
9797
"k": 3,
98-
"size": 3},
99-
max_tokens_limit=1000)
98+
"size": 3})
10099
qa = RetrievalQA.from_chain_type(
101100
llm=oci_llm,
102101
chain_type="stuff",
@@ -181,6 +180,7 @@ Here is an example code snippet for FAISS deployment:
181180
)
182181
183182
from ads.llm.deploy import ChainDeployment
183+
model = ChainDeployment(qa)
184184
model.prepare(force_overwrite=True,
185185
inference_conda_env="your_conda_pack",
186186
)

0 commit comments

Comments
 (0)