The Wayback Machine - https://web.archive.org/web/20250402203424/https://github.com/aws-samples/plan-and-execute-analytical-queries
Skip to content

aws-samples/plan-and-execute-analytical-queries

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Plan & Execute using Amazon Bedrock

This sample illustrates how one can use Claude 3.5 and Amazon Bedrock to perform complex agent based tasks that requires orchestration of multiple function calls.

This particular examples aims to showcase how an LLM can answer analytical questions based on a dataset.

Plan

The planning stage is where the LLM is asked to define an execution plan. A plan is a series of function calls with defined parameters that the LLM concludes should be able to answer the question.

Execute

In the execute step the plan is executed with Python code that parses the plan and calls the functions.

How to run

pip install -r requirements.txt
python plan_and_execute.py

About

No description, website, or topics provided.

Resources

License

Code of conduct

Security policy

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages