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

New serverless pattern - alb-ecs-bedrock-agents-cdk-dotnet #2489

Open
wants to merge 23 commits into
base: main
Choose a base branch
from

Conversation

tejasavora
Copy link

Issue #, if available:
N/A

Description of changes:

Description of changes:

This Pull Request implements an AI-powered travel service using AWS CDK with .NET. Key components and changes include:

  1. Bedrock Agent Integration: Implemented an AI agent using Amazon Bedrock for natural language interactions with customers.

  2. Knowledge Base: Created a vector database using Amazon OpenSearch Serverless to store and quickly retrieve travel information and policies.

  3. Action Groups: Defined action groups for the Bedrock agent, including a flight search functionality.

  4. Lambda Functions: Developed Lambda functions to handle specific tasks such as flight searches and data processing.

  5. ECS with Fargate: Set up Amazon ECS with Fargate to host the main travel service application.

  6. Application Load Balancer: Implemented an ALB to route incoming requests to the ECS tasks.

  7. CDK Stack: Created a comprehensive CDK stack in .NET to define and deploy all AWS resources.

  8. API Schema: Defined an API schema for the flight search functionality.

  9. Error Handling: Implemented robust error handling and logging mechanisms.

  10. Documentation: Added detailed README.md and example-pattern.json files to explain the solution architecture, deployment process, and testing procedures.

  11. Testing: Included curl commands and instructions for testing the deployed service.

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

Tejas Vora added 4 commits September 22, 2024 17:52
…OSS Collection, Index creation, Data Ingestion, Action group Lambda handler and Agent Alias creation.
… to test full stack from local machines. FIxing errors/issues with BedrockAgent stack.
Copy link
Collaborator

@marcojahn marcojahn left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hi @tejasavora, thank your for your contribution. I've tested the code and it works. Could you please review and fix the few requests for the readme file and architecture diagram I've added? TY

alb-ecs-bedrock-agents-cdk-dotnet/README.md Show resolved Hide resolved
alb-ecs-bedrock-agents-cdk-dotnet/README.md Outdated Show resolved Hide resolved
alb-ecs-bedrock-agents-cdk-dotnet/README.md Show resolved Hide resolved
alb-ecs-bedrock-agents-cdk-dotnet/README.md Outdated Show resolved Hide resolved
alb-ecs-bedrock-agents-cdk-dotnet/README.md Show resolved Hide resolved
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants