aws-samples / amazon-kendra-langchain-extensions

Samples to build Generative AI applications with LangChain and Amazon Kendra
https://aws.amazon.com/blogs/machine-learning/quickly-build-high-accuracy-generative-ai-applications-on-enterprise-data-using-amazon-kendra-langchain-and-large-language-models/
MIT No Attribution
159 stars 103 forks source link

Region is hard coded in all samples files #7

Closed flochaz closed 1 year ago

flochaz commented 1 year ago

The exported value of AWS_REGION is not used in the different samples but hard coded to 'us-east-1' making all the samples fail if models and index are not deployed in this region.

abhjaw commented 1 year ago

Thanks for bringing it to notice. This is now fixed.