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

Add LangChain Support to RAG Agent #460

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

Conversation

cmgzn
Copy link

@cmgzn cmgzn commented Oct 14, 2024


name: Pull Request
about: Create a pull request

Description

  1. Integration of LangChain Knowledge:
    Added the necessary components to support LangChain knowledge within the RAG agent.

  2. Dynamic Backend Selection:
    Implemented logic in the knowledge-bank to determine the backend engine (either LlamaIndex or LangChain) based on the knowledge-config imported module.

  3. Refactor of LlamaIndexAgent:
    The original LlamaIndexAgent has been renamed to RAG-Agent, allowing the same RAG agent to utilize knowledge from both backend engines seamlessly.

Checklist

Please check the following items before code is ready to be reviewed.

  • Code has passed all tests
  • Docstrings have been added/updated in Google Style
  • Documentation has been updated
  • Code is ready for review

@DavdGao
Copy link
Collaborator

DavdGao commented Oct 15, 2024

Thanks for your contribution, we will review this PR as soon as possible.

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