-
Notifications
You must be signed in to change notification settings - Fork 323
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
Add multi-language system prompts and BedrockChatAdapter implementation #576
Open
michel-heon
wants to merge
9
commits into
aws-samples:main
Choose a base branch
from
michel-heon:issue-571
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Commits on Sep 24, 2024
-
Add multi-language system prompts and BedrockChatAdapter implementation
- Implement system prompts in English and Canadian French for AI interactions in `system_prompts.py`. - Enhance `BedrockChatAdapter` with prompt templates for QA, conversation, and follow-up questions in `base.py`. - Update `__init__.py` to include system prompt imports for easy access. - Configure logger in `base.py` to trace key operations for QA prompts and conversational prompts.
Configuration menu - View commit details
-
Copy full SHA for 256279d - Browse repository at this point
Copy the full SHA 256279dView commit details
Commits on Oct 9, 2024
-
Configuration menu - View commit details
-
Copy full SHA for a6cb4e0 - Browse repository at this point
Copy the full SHA a6cb4e0View commit details
Commits on Oct 11, 2024
-
- Enhance BedrockChatAdapter initialization with logging and QA prompt
template updates; - improve prompt system for multilingual support; - expand test coverage for Bedrock adapters with guardrail integration.
Configuration menu - View commit details
-
Copy full SHA for a101eb8 - Browse repository at this point
Copy the full SHA a101eb8View commit details -
Configuration menu - View commit details
-
Copy full SHA for 121c7df - Browse repository at this point
Copy the full SHA 121c7dfView commit details -
Configuration menu - View commit details
-
Copy full SHA for dd91d3f - Browse repository at this point
Copy the full SHA dd91d3fView commit details
Commits on Oct 16, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 2a56637 - Browse repository at this point
Copy the full SHA 2a56637View commit details
Commits on Oct 17, 2024
-
Applied requested corrections, including multi-language system prompts,
enhanced logging for BedrockChatAdapter initialization, and streamlined QA prompts. Removed redundant base.py_new and ensured BedrockChatAdapter configuration is aligned with main branch consistency.
Configuration menu - View commit details
-
Copy full SHA for 75204eb - Browse repository at this point
Copy the full SHA 75204ebView commit details
Commits on Oct 21, 2024
-
Configuration menu - View commit details
-
Copy full SHA for f227999 - Browse repository at this point
Copy the full SHA f227999View commit details -
Configuration menu - View commit details
-
Copy full SHA for 48a4d41 - Browse repository at this point
Copy the full SHA 48a4d41View commit details
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.