amazon-bedrock-samples icon indicating copy to clipboard operation
amazon-bedrock-samples copied to clipboard

add text-2-sql-agent-cdk-enhanced

Open iut62elec opened this issue 1 year ago • 0 comments

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.

iut62elec avatar May 17 '24 21:05 iut62elec