-
Notifications
You must be signed in to change notification settings - Fork 54
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
chore: merge from dev #508
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
chore: merge from dev
feat: add intention type validation
refactor: remove unused code
feat: support showing image in chat box
feat: Start a new chat
feat: support showing image
refactor: Update Session history layout
feat: support cross region bedrock invocation in knowledge base
chore: add local storage for image toggle
feat: update model api
chore: refactor to fix throttle issue
feat: add Chatbot Config UI
refactor: add some desc in chatbot settings
fix: fix status issue
fix: fix UAT issues
fix: input component issues when pages opened by firefox
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Fixes #
🤖 AI-Generated PR Description (Powered by Amazon Bedrock)
Description
This pull request includes several changes aimed at refactoring and improving the project's infrastructure and API management. The key changes are:
aos
andembedding
Lambda functions and their associated files.chat_history_management.py
file to align with the changes.These changes are part of an ongoing effort to enhance the project's architecture, improve maintainability, and introduce new features for better API management and functionality.
Type of change
File Stats Summary
File number involved in this PR: 30, unfold to see the details:
The file changes summary is as follows:
| source/infrastructure/lib/api/intention-management.ts | 245 added, 0 removed | This code change adds an API Gateway and Lambda function for managing intentions (likely for a chatbot or conversational AI system). It defines resources for scanning indexes, getting presigned URLs for file uploads, downloading templates, executing intentions, and retrieving intention execution details by ID. The Lambda function interacts with DynamoDB tables, S3 buckets, and other AWS services. |
| source/infrastructure/lib/api/api-stack.ts | 63 added, 342 removed | The code changes involve importing additional modules and adding new functionality for managing chat history, prompts, intentions, and models in the API stack. Specifically, it creates new APIs and Lambda functions for handling these operations, with appropriate permissions and configurations. |
| source/infrastructure/lib/model/model-construct.ts | 89 added, 56 removed | The code changes include setting up an EventBridge rule to trigger a Lambda function when CodePipeline execution state changes, handling open-source LLM configuration, refactoring SageMaker configuration setup, and updating Lambda runtime version. |
| source/infrastructure/lib/shared/iam-helper.ts | 88 added, 2 removed | The code changes add new PolicyStatement objects for CodePipeline, CloudFormation, SageMaker model management, and service quota management permissions, as well as additional permissions for IAM role management. |