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

Amazon ElastiCache | Build a generative AI Virtual Assistant with Ama… #64

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

Conversation

rlunar
Copy link
Contributor

@rlunar rlunar commented Jul 31, 2024

…zon Bedrock

Issue #, if available:

Description of changes:
Amazon ElastiCache | Build a generative AI Virtual Assistant with Amazon Bedrock

  • Fix for requirements.txt to narrow down the list of packages and created a requirements.lock for all packages
  • Refactored the chatbot_app.py and chatbot_lib.py files to use dotenv package and enhance readability and docstrings.

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

@rlunar rlunar requested review from damonLL and LakshmiPeri23 July 31, 2024 23:40
@rlunar rlunar self-assigned this Jul 31, 2024
@rlunar rlunar marked this pull request as draft July 31, 2024 23:46
@rlunar rlunar marked this pull request as ready for review July 31, 2024 23:48
Copy link
Contributor

@LakshmiPeri23 LakshmiPeri23 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The langchain imports in the lib are old from 2023 and modules used here for memory , conversation summary , llm , embeddings have all been migrated from langchain to langchain-community / langchain-core / langchain-aws.

  1. ConverseAPI helps simplify integration and would be a good alternative.
  2. The implementation of chat history class defined in this version does not work well with LCEL chaining recommendation from langchain.
  3. Need to re-visit the chat history implementation

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.

2 participants