Add LangChain Support to RAG Agent
name: Pull Request about: Create a pull request
Description
-
Integration of LangChain Knowledge: Added the necessary components to support LangChain knowledge within the RAG agent.
-
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.
-
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
Thanks for your contribution, we will review this PR as soon as possible.
@cmgzn Please resolve the conflict. @ZiTao-Li @FredericW @xieyxclack Please check this PR
Closing for new version preparation