Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: specify region for DynamoDB table #104

Merged
merged 4 commits into from
Aug 24, 2024
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
feat: dynamodb is a boto3 resource
  • Loading branch information
ultralapse committed Aug 23, 2024
commit 8261411a5826873a7321a01d2e8ee5c2e7ab7e14
2 changes: 1 addition & 1 deletion src/app/llm.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
os.environ["OPENAI_API_KEY"] = os.getenv("OPENAI_API_KEY")

logging.getLogger().setLevel(logging.ERROR) # reduce log level
dynamo_client = boto3.client(service_name="dynamodb", region_name="us-east-1")
dynamo_client = boto3.resource(service_name="dynamodb", region_name="us-east-1")

# ------------------------------------------------------
# LangChain - RAG chain with chat history
Expand Down
Loading