返回排行榜

aws-samples/aws-genai-llm-chatbot

TypeScriptaws-samples.github.io/aws-genai-llm-chatbot/

A modular and comprehensive solution to deploy a Multi-LLM and Multi-RAG powered chatbot (Amazon Bedrock, Anthropic, HuggingFace, OpenAI, Meta, AI21, Cohere, Mistral) using AWS CDK on AWS

cdkchatbotgenaihuggingfacellmsagemakersemantic-searchvectordbaurorapgvectorbedrockkendra
Star 增长趋势
Star
1.4k
Forks
435
周增长
Issues
0
5001k
2023年6月2024年6月2025年7月2026年7月
制品库npmnpm install aws-genai-llm-chatbot
README

AWS GenAI LLM Chatbot

Enterprise-ready generative AI chatbot with RAG capabilities.

Overview

The AWS GenAI LLM Chatbot is a production-ready solution that enables organizations to deploy a secure, feature-rich chatbot powered by large language models (LLMs) with Retrieval Augmented Generation (RAG) capabilities.

Key Features

  • Multiple LLM Support: Amazon Bedrock (Claude, Llama 2), SageMaker, and custom model endpoints
  • GenAIEH Gateway Integration: Connect to GenAIEH Gateway for additional model access
  • Comprehensive RAG Implementation: Connect to various data sources for context-aware responses
  • Enterprise Security: Fine-grained access controls, audit logging, and data encryption
  • Conversation Memory: Full conversation history with persistent storage
  • Web UI and API Access: Modern React interface and API endpoints for integration
  • Cost Optimization: Token usage tracking and cost management features
  • Deployment Flexibility: Multiple deployment options to fit your needs

Getting Started

This blueprint deploys the complete AWS GenAI LLM Chatbot solution in your AWS account.

Prerequisites

  • AWS Account with appropriate permissions
  • AWS CLI configured with credentials
  • Node.js 18+ and npm
  • Python 3.8+
  • AWS CDK CLI version compatible with aws-cdk-lib 2.206.0 or later
    # Install or update the CDK CLI globally
    npm install -g aws-cdk@latest
    
    # Verify the installed version
    cdk --version
    

Important: The CDK CLI version must be compatible with the aws-cdk-lib version used in this project (currently 2.206.0). If you encounter a "Cloud assembly schema version mismatch" error during deployment, update your CDK CLI to the latest version using the command above.

Deployment

The deployment process is fully automated using AWS CDK and SeedFarmer.

Architecture

The solution architecture includes:

  • Amazon Bedrock for LLM access
  • Amazon OpenSearch for vector storage
  • Amazon S3 for document storage
  • Amazon Cognito for authentication
  • AWS Lambda for serverless processing
  • Amazon API Gateway for API access
  • React-based web interface

Documentation

For complete documentation, visit the GitHub repository.

License

This project is licensed under the MIT-0 License.

相关仓库
infracost/infracost

Cloud cost intelligence for engineers, AI coding agents, and CI/CD 💰📉 Shift FinOps Left!

GoGo ModulesApache License 2.0terraformcost-estimation
infracost.io
12.4k679
aws-samples/aws-cdk-examples

Example projects using the AWS CDK

PythonPyPIApache License 2.0cdkcdk-examples
5.6k2.5k
hashicorp/terraform-cdk

Define infrastructure resources using programming constructs and provision them using HashiCorp Terraform

TypeScriptnpmMozilla Public License 2.0terraformcdk
terraform.io/cdktf
5.1k516
taiga-family/taiga-ui

Angular components library for awesome people

TypeScriptnpmApache License 2.0angularcomponents
taiga-ui.dev
4k562
apptension/saas-boilerplate

SaaS Boilerplate - Open Source and free SaaS stack that lets you build SaaS products faster in React, Django and AWS. Focus on essential business logic instead of coding repeatable features!

TypeScriptnpmMIT Licensecdkstack
apptension.com/saas-boilerplate
2.9k415
projen/projen

Rapidly build modern applications with advanced configuration management

TypeScriptnpmApache License 2.0cdkconstructs
projen.io
2.9k409
iann0036/former2

Generate CloudFormation / Terraform / Troposphere templates from your existing AWS resources.

JavaScriptnpmMIT Licensecloudformationterraform
former2.com
2.4k297
cdk-patterns/serverless

This is intended to be a repo containing all of the official AWS Serverless architecture patterns built with CDK for developers to use. All patterns come in Typescript and Python with the exported CloudFormation also included.

TypeScriptnpmMIT Licenseserverlesscdk
cdkpatterns.com
2.4k270
kalaiser/awesome-cdk

A collection of awesome things related to the AWS Cloud Development Kit (CDK)

Creative Commons Zero v1.0 Universalawesomeawesome-list
2.1k190
aws/aws-toolkit-vscode

Amazon Q, CodeCatalyst, Local Lambda debug, SAM/CFN syntax, ECS Terminal, AWS resources

TypeScriptnpmApache License 2.0awss3
marketplace.visualstudio.com/items
2k813
dannysteenman/aws-toolbox

This repository contains a collection of awesome tools and scripts for Developers and Engineers seeking to automate routine tasks on AWS Cloud.

PythonPyPIMIT Licenseaws-cliscripts-collection
towardsthecloud.com/aws-toolbox-cloud-engineers
1.5k341
storybook-eol/react-cdk

under development - React Component Development Kit with Storybook

JavaScriptnpmreactstorybook
57633