Skip to content

Commit

Permalink
Merge pull request #27 from hako884/main
Browse files Browse the repository at this point in the history
Fix: kendra_retriever_samples/kendra_chat_open_ai.py
  • Loading branch information
MithilShah authored Aug 14, 2023
2 parents 813868b + b184dff commit 0c72951
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 0c72951

Please sign in to comment.