Releases: aws-solutions/qnabot-on-aws
Releases · aws-solutions/qnabot-on-aws
v6.1.5
v6.1.4
v6.1.3
v6.1.2
[6.1.2] - 2024-10-07
Fixed
- Cleared context state credential and updated the page history after logout
Changed
- Added Anthropic Claude 3.5 Sonnet as an additional option to the list LLM models provided through cloudformation parameters
LLMBedrockModelId
andBedrockKnowledgeBaseModel
Deprecated
- Sagemaker support has been deprecated and will be removed in the next release
v6.1.1
[6.1.1] - 2024-09-26
Fixed
- Added back .gitignore to fix custom deployment issues through github repo
- Improved performance of lambda invocation from frontend to save settings faster
- Fixed bug that limited response card buttons to only 5 buttons Issue #765
- Security patch for body-parser, micromatch, path-to-regexp, and webpack
- Added support for crawled links in Bedrock Knowledge Base to be shown as referenced links
- Fixed an issue where the context is expanded by default and can't be closed when Knowledge Base returns lists in the response
- Fixed limit on import file sizes Issue #766
v6.1.0
[6.1.0] - 2024-08-29
Added
- Integration with Guardrails for Amazon Bedrock and Amazon Bedrock Knowledge Base Integration (see documentation)
- Ability to customize prompt template for RAG using Amazon Bedrock Knowledge Base through setting
KNOWLEDGE_BASE_PROMPT_TEMPLATE
(see documentation). - Ability to customize inference parameters for LLM specified in
BedrockKnowledgeBaseModel
inference parameters forBedrockKnowledgeBaseModel
through settingKNOWLEDGE_BASE_MODEL_PARAMS
(see documentation) - Ability to customize search type (e.g.
SEMANTIC
orHYBRID
) for how data sources in the knowledge base are queried through settingKNOWLEDGE_BASE_SEARCH_TYPE
(see documentation) - Ability to customize maximum number of retrieved results for RAG using Amazon Bedrock Knowledge Base through setting
KNOWLEDGE_BASE_MAX_NUMBER_OF_RETRIEVED_RESULTS
(see documentation). - Ability to customize metadata and filters for RAG using Amazon Bedrock Knowledge through setting
KNOWLEDGE_BASE_METADATA_FILTERS
(see documentation) - Added an option to specify the retention period for log groups through cloudformation parameter
LogRetentionPeriod
- Anonymized operational metrics for some designer settings
Changed
- Improved fault tolerance of Testall, Export, Import functionalities and added ContentDesignerOutputBucket
- Added Amazon Titan Text Embeddings V2 as an additional option to the list of embedding models provided through cloudformation parameter EmbeddingsBedrockModelId
- Added Amazon Titan Text Premier as an additional option to the list LLM models provided through cloudformation parameters LLMBedrockModelId and BedrockKnowledgeBaseModel. Issue 746
- Changed Sagemaker LLM image to latest
- Changed
CustomQnABotSettings
parameter store to Advanced Tier to accommodate storing additional custom settings
Removed
- Removed Amazon Lex V1 resources
- Removed Canvas LMS integration
Fixed
- Fixed import settings in content designer for double byte characters
- Fixed an edge case where the Knowledge Base could return a context starting with
#
characters, causing font differences in the returned text due to Markdown formatting - Fixed session attribute
qnabot_gotanswer
not being set totrue
after receiving hits from Knowledge Base
Security
- Security patch for axios, moto, read-excel-file, handlebars, boto3, click, elliptic & postcss
v6.0.3
[6.0.3] - 2024-08-06
Security
- Patched fast-xml-parser vulnerability
v6.0.2
[6.0.2] - 2024-07-22
Added
- Added a migration documentation for Migrating QnABot configurations and data from existing deployment to new deployment
- Added a documentation for Bedrock Knowledge Base
Fixed
- Improve logout functionality which signs out the user and invalidates the access and refresh tokens that Amazon Cognito issued to a user. Issue #747
- Fixed bug that restricted import of questions with answers that consisted of only double-byte characters. Issue #731
- Fixed bug with chained questions causing errors in the fulfillment lambda.
Updated
- Removed aws-sdk (JavaScript V2) from dependency list.
- Updated parameter description for elicit response bot settings in the content designer settings. Issue #745
- Removed LLM models
meta.llama2-70b-chat-v1
andmeta.llama2-13b-chat-v1
from the list of models in the Cloudformation parameterLLMBedrockModelId
since these models will be unavailable on Amazon Bedrock starting from August 12, 2024. - Updated the setting
LLM_QA_NO_HITS_REGEX
in the Content Designer to include a default patternSorry, I don't know
in prompts specified through the settingLLM_QA_PROMPT_TEMPLATE
and other patterns returned by LLMs in their responses. - Constrainted the query made to Bedrock Knowledge Base to maximum of 1000 characters input query as per the input requirements.
v6.0.1
[6.0.1] - 2024-06-26
Fixed
- Fixed bug that was restricting stack names to be below 26 characters. Issue #741
- Fixed a looping issue when using slots and chaining #721 (PR #721) - contributed by (@amendlik)
- Github links with incorrect paths.
Updated
- Security patches for braces, urllib3, and ws.
- Improved latency of IAM policy propagation when switching the Bedrock embedding model.
v6.0.0
[6.0.0] - 2024-06-07
Added
- Integration with Amazon Bedrock
- Integration with Amazon Bedrock Knowledge Base
- Enabled Fine Grain Access Control in Amazon OpenSearch Service by default. A new
OpenSearchFineGrainAccessControl
CloudFormation parameter has been added - Content Designer UI improvements (grouped fields)
- Anonymized operational metrics
- Enabled Kendra based authentication utilizing QnABot idToken. A new
AltSearchKendraIndexAuth
CloudFormation parameter has been added
(PR #513) - contributed by (@JasonHammett)
Updated
- Migrated AWS JavaScript SDK from v2 to v3 for Amazon Lex Web UI Integration
- Upgraded Amazon OpenSearch Service domain from 1.3 to 2.11 unlocking features such as snapshot management via OpenSearch Dashboards (for more information see Amazon OpenSearch release history)
- Renamed Elasticsearch to Opensearch and Kibana to OpenSearch Dashboards
- Migrated from ElasticSearch client to OpenSearch client
- Changed SageMaker LLM model from
Falcon-40b
toLlama-2-13b-chat
and Sagemaker embedding model intfloat/e5-large-v2 now uses the Jumpstart version of the model - Removed the cloudformation parameter
Encryption
to prevent disabling of Amazon OpenSearch Service domain and Amazon S3 encryptions - Updated Amazon OpenSearch Service domain minimum TLS policy to 1.2
- Rewrote and migrate S3 object deletion custom resources from JavaScript to Python to address 3rd party security vulnerability
- Updated CloudFormation template parameter groupings
- Kendra index configuration has been moved from Content Designer settings to CloudFormation parameters to restrict IAM permissions. The CloudFormation parameter
DefaultKendraIndex
has been replaced with three separate parameters:KendraWebPageIndexId
,KendraFaqIndexId
, andAltSearchKendraIndexes
. - Updated question validation when importing or creating questions in Content Designer
- Kendra Webcrawler will now create data source in the native language if supported by Kendra. Kendra can now query in different languages. (issue #713)
- Standardized folder structure
- Made logging enhancements for Amazon OpenSearch Service and Amazon Data Firehose
- Added case conversion handlebars helpers(PRs #719) - contributed by (@amendlik)
- Consolidated common AWS SDK dependencies to reduce overall solution artifact size and lambdas deployment package size
- Patched security vulnerabilities and and integrated with CloudFormation Guard evaluation tool
- Added ability to TestAll in a selected locale, the locales to be tested should be defined in the template parameter
LexV2BotLocaleIds
- Improved security for LLM inputs and outputs
Fixed
- Forgot password functionality for Content Designer login
- Chat client will now prompt the user after credentials are expired
- Specialty bot routing fixes, Lex Intent state fixes, handlebar processing of SSML injects "\n" into response (PRs #726) - contributed by (@bobpskier)
- Secured Cognito roles (PR #670) - contributed by (@amendlik)
- Improved error messages for embeddings (issue #665)
- AWS environment variable for region is wrongly set (issue #714)
- Fixed testall lambda timing out during status "Lex" when testing against large set of Q&As - contributed by (@jeve7)
- Fix Austrian German neural voice name (PR #729) - contributed by (@malte-aws)
- Fix npm update command (PR #681) - contributed by (@zherink)
- Fix build exits with code 1, if a CF template is invalid (PR #733) - contributed by (@richhaase)