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

Integrate Amazon Bedrock Knowledge Base and Enhance Chat UI #31

Open
wants to merge 6 commits into
base: main
Choose a base branch
from

Conversation

daisuke-awaji
Copy link
Owner

@daisuke-awaji daisuke-awaji commented Jan 10, 2025

🔍 Summary

This Pull Request introduces significant improvements to the Bedrock Engineer chat interface, focusing on the integration of Amazon Bedrock Knowledge Base and overall user experience enhancement.

🛠 Key Changes

1. Amazon Bedrock Knowledge Base Integration

  • ✨ Added a new "retrieve" tool for querying Knowledge Bases
  • 🖥 Implemented UI components for Knowledge Base configuration
  • 🧠 Incorporated Knowledge Base information into system prompts

2. Extended Placeholder Functionality

  • 🏷 Introduced {{knowledgeBases}} placeholder
  • 🔄 Improved placeholder replacement logic for more flexible prompt customization

3. UI Enhancements

  • 🎛 Expanded tool settings modal to include Knowledge Base management
  • 📝 Added a user-friendly form for managing Knowledge Bases

4. Updated Type Definitions and Contexts

  • 📊 Introduced KnowledgeBase type
  • 🔧 Extended SettingsContext to support new features

5. Improved Code Organization and Testing

  • 🧹 Refactored existing code for better maintainability
  • 🧪 Added integration tests for new features

💡 Impact

These enhancements will allow users to leverage Amazon Bedrock Knowledge Base effectively, provide more flexible system prompt configurations, and improve overall user experience in managing knowledge bases and chat interactions.

👀 Review Notes

Reviewers are encouraged to pay special attention to the integration points with Amazon Bedrock and the new UI components for Knowledge Base management.

Screenshot

スクリーンショット 2025-01-12 14 07 37

スクリーンショット 2025-01-12 14 08 11
スクリーンショット 2025-01-12 14 08 26

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