Original proof of concept refactored into broader framework.
Follows same deployment steps as Original Framework
(eciso) $ npm run config
> [email protected] config
> node ./cli/magic.js config
✔ Prefix to differentiate this deployment · eciso
✔ Do you want to deploy a private website? I.e only accessible in VPC (y/N) · false
✔ Do you have access to Bedrock and want to enable it (Y/n) · true
✔ Region where Bedrock is available · us-east-1
✔ Cross account role arn to invoke Bedrock - leave empty if Bedrock is in same account ·
✔ Do you want to enable additional custom plugins? (Y/n) · true
✔ Do you want to enable the eCISO plugin? (Y/n) · true
✔ Do you want to enable the focus mode for eCISO plugin? (Y/n) · true
✔ Do you want to use any Sagemaker Models (y/N) · false
✔ Do you want to enable RAG (y/N) · false
Config has been updated to support eCISO "Plugin". eCISO plugin true adds the module under a menu drop down of Custom Plugins; focus mode rolls away everything else from the core framework and makes eCISO related items only piece showing to user.
File | Comment |
---|---|
magic-config.ts | Updated prompt options |
lib/chatbot-api/chatbot-s3-buckets/index.ts | additional s3 bucket to support PDF |
lib/chatbot-api/functions/api-handler/routes/sessions.py | appsync additional routes |
lib/model-interfaces/langchain/functions/request-handler/adapters/* | Custom adapter enhancements for eCISO |
lib/user-interface/* | UI related tweaks |
General thoughts:
- POC level implementation, so will need further development for production systems
- Needs increased error handling
- PDF Generation should be ASYNC not SYNC
- Likely would want to limit available adapters (not just via ui)
- Retro testing of baseline functionality outside of the following options was not performed
✔ Prefix to differentiate this deployment · eciso
✔ Do you want to deploy a private website? I.e only accessible in VPC (y/N) · false
✔ Do you have access to Bedrock and want to enable it (Y/n) · true
✔ Region where Bedrock is available · us-east-1
✔ Cross account role arn to invoke Bedrock - leave empty if Bedrock is in same account ·
✔ Do you want to use any Sagemaker Models (y/N) · false
✔ Do you want to enable RAG (y/N) · false
(IE private website etc.)
This solution provides ready-to-use code so you can start experimenting with a variety of Large Language Models and Multimodal Language Models, settings and prompts in your own AWS account.
Supported model providers:
- Amazon Bedrock
- Amazon SageMaker self-hosted models from Foundation, Jumpstart and HuggingFace.
- Third-party providers via API such as Anthropic, Cohere, AI21 Labs, OpenAI, etc. See available langchain integrations for a comprehensive list.
Resource | Description |
---|---|
AWS Generative AI CDK Constructs | Open-source library extension of the AWS Cloud Development Kit (AWS CDK) aimed to help developers build generative AI solutions using pattern-based definitions for their architecture. |
Project Lakechain | A powerful cloud-native, AI-powered, document (docs, images, audios, videos) processing framework built on top of the AWS CDK. |
Roadmap is available through the GitHub Project
This library is licensed under the MIT-0 License. See the LICENSE file.
- Changelog of the project.
- License of the project.
- Code of Conduct of the project.
- CONTRIBUTING for more information.
You should consider doing your own independent assessment before using the content in this sample for production purposes. This may include (amongst other things) testing, securing, and optimizing the content provided in this sample, based on your specific quality control practices and standards.