Skip to content

Commit

Permalink
Fix: kendra_retriever_samples/kendra_chat_open_ai.py
Browse files Browse the repository at this point in the history
  • Loading branch information
hako884 committed Jul 18, 2023
1 parent 67f85e5 commit b184dff
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion kendra_retriever_samples/kendra_chat_open_ai.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ def build_chain():

llm = OpenAI(batch_size=5, temperature=0, max_tokens=300)

retriever = AmazonKendraRetriever(index_id=kendra_index_id)
retriever = AmazonKendraRetriever(index_id=kendra_index_id, region_name=region)

prompt_template = """
The following is a friendly conversation between a human and an AI.
Expand Down

0 comments on commit b184dff

Please sign in to comment.