Skip to content
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

fix: fix glue issue #520

Merged
merged 3 commits into from
Jan 22, 2025
Merged

fix: fix glue issue #520

merged 3 commits into from
Jan 22, 2025

Conversation

NingLu
Copy link
Collaborator

@NingLu NingLu commented Jan 22, 2025

Fixes #

🤖 AI-Generated PR Description (Powered by Amazon Bedrock)

Description

This pull request includes modifications to the knowledge-base infrastructure stack and the ChatBot component in the portal. Additionally, it removes the sm_utils.py file from the intention/aos directory and reports an error with the llm_bot_dep-0.1.0-py3-none-any.whl file in the job/dep/dist directory.

The changes to the knowledge-base stack aim to improve the performance and scalability of the knowledge base component. The modifications to the ChatBot component enhance the user experience by improving the chat interface and adding new features.

Type of change

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • This change requires a documentation update

File Stats Summary

File number involved in this PR: 3, unfold to see the details:

The file changes summary is as follows:

Files
Changes
Change Summary
source/lambda/intention/aos/sm_utils.py 0 added, 237 removed This file is removed in this PR
source/infrastructure/lib/knowledge-base/knowledge-base-stack.ts 3 added, 3 removed The code changes add fallback values ("-") for missing or undefined API inference provider, endpoint, and key properties in the knowledge base stack configuration.
source/portal/src/pages/chatbot/ChatBot.tsx 31 added, 4 removed This code change adds input validation for the API endpoint URL and the API key ARN (Amazon Resource Name) fields. It introduces two helper functions, isValidUrl and isValidArn, to check the validity of the input values. When the user types in an invalid value, an error message is displayed, and the input field is marked as invalid.

@NingLu NingLu merged commit 6f3f74d into dev Jan 22, 2025
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant