agentscope icon indicating copy to clipboard operation
agentscope copied to clipboard

Add LangChain Support to RAG Agent

Open cmgzn opened this issue 1 year ago • 2 comments


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: Add the parameter "backend_engine" to knowledge_bank, allowing for manual input of the knowledge base backend (llama_index or langchain), or automatic selection based on the knowledge-config imported module.

  3. Add LangChainAgent

Checklist

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

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

cmgzn avatar Oct 14 '24 07:10 cmgzn

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

DavdGao avatar Oct 15 '24 05:10 DavdGao

@cmgzn Please resolve the conflict. @ZiTao-Li @FredericW @xieyxclack Please check this PR

DavdGao avatar Nov 19 '24 03:11 DavdGao

Closing for new version preparation

DavdGao avatar Aug 13 '25 13:08 DavdGao