amazon-bedrock-samples
amazon-bedrock-samples copied to clipboard
add text-2-sql-agent-cdk-enhanced
add text-2-sql-agent-cdk-enhanced
Differences from text-2-sql-agent Repo (https://github.com/aws-samples/amazon-bedrock-samples/tree/main/agents-for-bedrock/use-case-examples/text-2-sql-agent) This repository enhances the original Text to SQL Bedrock Agent with the following improvements:
- Uses AWS CDK to build the necessary infrastructure.
- Works with any dataset: simply create a folder with all your data in CSV files, create a zip file of this folder, place it in the "Data" directory, and the code will automatically extract and upload the files, generating the necessary instructions. Provide the zip file name at the time of deployment (cdk deploy --profile XXX --context zip_file_name=EV_WA.zip).
- If the answer is large, it creates a file in S3 and points the user to the S3 location.