modelscope / agentscope

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

Add support for user-defined storage_context in llamaindex_knowledge … #468

Open cmgzn opened 1 month ago

cmgzn commented 1 month ago

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.