modelscope / agentscope

Start building LLM-empowered multi-agent applications in an easier way.
https://doc.agentscope.io/
Apache License 2.0
5.32k stars 328 forks source link

Add LangChain Support to RAG Agent #460

Open cmgzn opened 1 month ago

cmgzn commented 1 month ago

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.

DavdGao commented 1 month ago

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

DavdGao commented 4 days ago

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