agentscope
agentscope copied to clipboard
Add support for user-defined storage_context in llamaindex_knowledge …
name: Add support for user-defined storage_context in llamaindex_knowledge and update knowledge config structure about: Create a pull request
Description
Added the ability for users to specify a custom storage_context. Refactored the knowledge_config structure to enhance readability and maintainability. Included an example configuration for ElasticsearchStore in knowledge_config.
Checklist
Please check the following items before code is ready to be reviewed.
- [x] Code has passed all tests
- [ ] Docstrings have been added/updated in Google Style
- [ ] Documentation has been updated
- [x] Code is ready for review