├── .idea ├── [Git].iml ├── inspectionProfiles │ ├── Project_Default.xml │ └── profiles_settings.xml ├── vcs.xml └── workspace.xml ├── README.md ├── README_en.md ├── config.py ├── configs ├── config.yaml ├── plugins │ ├── custom_replies.json │ └── registration_replies.json └── system-prompt.txt ├── core ├── __init__.py ├── ace │ ├── __init__.py │ ├── ace.py │ ├── input_validation.py │ ├── rate_limiting.py │ └── secure.py ├── api │ ├── controllers │ │ ├── configs_controller.py │ │ ├── db_controller.py │ │ ├── es_controller.py │ │ └── plugin_controller.py │ ├── routes.py │ └── websocket_manager.py ├── bot │ ├── __init__.py │ ├── bot_client.py │ ├── memory_utils.py │ ├── message_handler.py │ └── user_registration.py ├── db │ ├── __init__.py │ ├── auto_tune.py │ ├── elasticsearch_index_manager.py │ └── log_db_status.py ├── keep_alive.py ├── llm │ ├── __init__.py │ ├── llm_client.py │ ├── llm_factory.py │ └── plugins │ │ ├── aliyun_client.py │ │ ├── anthropic_client.py │ │ ├── azure_client.py │ │ ├── chatglm_client.py │ │ ├── google_client.py │ │ ├── inject_memory_client.py │ │ ├── openai_client.py │ │ └── tea_client.py ├── memory │ ├── __init__.py │ ├── memory_manager.py │ └── memory_optimizer.py ├── plugins │ ├── __init__.py │ ├── add_hi_plugin │ │ ├── add_hi_plugin.py │ │ └── add_hi_plugin.yaml │ ├── admin_command │ │ ├── admin_command.py │ │ └── admin_command.yaml │ ├── custom_reply │ │ ├── custom_reply.py │ │ └── custom_reply.yaml │ ├── event_bus.py │ ├── plugin_manager.py │ ├── plugins.py │ ├── registration_reply │ │ ├── registration_reply.py │ │ └── registration_reply.yaml │ └── tools │ │ ├── add_plugin.py │ │ └── plugin_utils.py ├── update_manager.py └── utils │ ├── __init__.py │ ├── file_handler.py │ ├── logger.py │ ├── mongodb_utils.py │ ├── user_management.py │ ├── utils.py │ └── version_utils.py ├── dist ├── background-en │ ├── chat-demo.png │ ├── chat-memory-demo.png │ └── docs-background.png └── background │ ├── background.png │ ├── chat-demo.png │ ├── chat-memory-demo.png │ └── docs-background.png ├── main.py ├── requirements.txt ├── tools ├── __init__.py ├── db_tools.py ├── game.py ├── install │ ├── __init__.py │ ├── elasticsearch │ │ └── elasticsearch_install.py │ └── mongodb │ │ └── mongodb_install.py ├── setup │ ├── __init__.py │ ├── elasticsearch │ │ ├── elasticsearch_configs.py │ │ └── elasticsearch_setup.py │ └── mongodb │ │ ├── mongodb_setup.py │ │ └── mongodb_setup_configs.py └── upgrade │ ├── __init__.py │ └── db_upgrade.py └── uvicorn_log_config.json /.idea/[Git].iml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shuakami/amyalmond_bot/HEAD/.idea/[Git].iml -------------------------------------------------------------------------------- /.idea/inspectionProfiles/Project_Default.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shuakami/amyalmond_bot/HEAD/.idea/inspectionProfiles/Project_Default.xml -------------------------------------------------------------------------------- /.idea/inspectionProfiles/profiles_settings.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shuakami/amyalmond_bot/HEAD/.idea/inspectionProfiles/profiles_settings.xml -------------------------------------------------------------------------------- /.idea/vcs.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shuakami/amyalmond_bot/HEAD/.idea/vcs.xml -------------------------------------------------------------------------------- /.idea/workspace.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shuakami/amyalmond_bot/HEAD/.idea/workspace.xml -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shuakami/amyalmond_bot/HEAD/README.md -------------------------------------------------------------------------------- /README_en.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shuakami/amyalmond_bot/HEAD/README_en.md -------------------------------------------------------------------------------- /config.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shuakami/amyalmond_bot/HEAD/config.py -------------------------------------------------------------------------------- /configs/config.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shuakami/amyalmond_bot/HEAD/configs/config.yaml -------------------------------------------------------------------------------- /configs/plugins/custom_replies.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shuakami/amyalmond_bot/HEAD/configs/plugins/custom_replies.json -------------------------------------------------------------------------------- /configs/plugins/registration_replies.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shuakami/amyalmond_bot/HEAD/configs/plugins/registration_replies.json -------------------------------------------------------------------------------- /configs/system-prompt.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shuakami/amyalmond_bot/HEAD/configs/system-prompt.txt -------------------------------------------------------------------------------- /core/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /core/ace/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /core/ace/ace.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shuakami/amyalmond_bot/HEAD/core/ace/ace.py -------------------------------------------------------------------------------- /core/ace/input_validation.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shuakami/amyalmond_bot/HEAD/core/ace/input_validation.py -------------------------------------------------------------------------------- /core/ace/rate_limiting.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shuakami/amyalmond_bot/HEAD/core/ace/rate_limiting.py -------------------------------------------------------------------------------- /core/ace/secure.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shuakami/amyalmond_bot/HEAD/core/ace/secure.py -------------------------------------------------------------------------------- /core/api/controllers/configs_controller.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shuakami/amyalmond_bot/HEAD/core/api/controllers/configs_controller.py -------------------------------------------------------------------------------- /core/api/controllers/db_controller.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shuakami/amyalmond_bot/HEAD/core/api/controllers/db_controller.py -------------------------------------------------------------------------------- /core/api/controllers/es_controller.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shuakami/amyalmond_bot/HEAD/core/api/controllers/es_controller.py -------------------------------------------------------------------------------- /core/api/controllers/plugin_controller.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shuakami/amyalmond_bot/HEAD/core/api/controllers/plugin_controller.py -------------------------------------------------------------------------------- /core/api/routes.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shuakami/amyalmond_bot/HEAD/core/api/routes.py -------------------------------------------------------------------------------- /core/api/websocket_manager.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shuakami/amyalmond_bot/HEAD/core/api/websocket_manager.py -------------------------------------------------------------------------------- /core/bot/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /core/bot/bot_client.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shuakami/amyalmond_bot/HEAD/core/bot/bot_client.py -------------------------------------------------------------------------------- /core/bot/memory_utils.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shuakami/amyalmond_bot/HEAD/core/bot/memory_utils.py -------------------------------------------------------------------------------- /core/bot/message_handler.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shuakami/amyalmond_bot/HEAD/core/bot/message_handler.py -------------------------------------------------------------------------------- /core/bot/user_registration.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shuakami/amyalmond_bot/HEAD/core/bot/user_registration.py -------------------------------------------------------------------------------- /core/db/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /core/db/auto_tune.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shuakami/amyalmond_bot/HEAD/core/db/auto_tune.py -------------------------------------------------------------------------------- /core/db/elasticsearch_index_manager.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shuakami/amyalmond_bot/HEAD/core/db/elasticsearch_index_manager.py -------------------------------------------------------------------------------- /core/db/log_db_status.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shuakami/amyalmond_bot/HEAD/core/db/log_db_status.py -------------------------------------------------------------------------------- /core/keep_alive.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shuakami/amyalmond_bot/HEAD/core/keep_alive.py -------------------------------------------------------------------------------- /core/llm/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /core/llm/llm_client.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shuakami/amyalmond_bot/HEAD/core/llm/llm_client.py -------------------------------------------------------------------------------- /core/llm/llm_factory.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shuakami/amyalmond_bot/HEAD/core/llm/llm_factory.py -------------------------------------------------------------------------------- /core/llm/plugins/aliyun_client.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shuakami/amyalmond_bot/HEAD/core/llm/plugins/aliyun_client.py -------------------------------------------------------------------------------- /core/llm/plugins/anthropic_client.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shuakami/amyalmond_bot/HEAD/core/llm/plugins/anthropic_client.py -------------------------------------------------------------------------------- /core/llm/plugins/azure_client.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shuakami/amyalmond_bot/HEAD/core/llm/plugins/azure_client.py -------------------------------------------------------------------------------- /core/llm/plugins/chatglm_client.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shuakami/amyalmond_bot/HEAD/core/llm/plugins/chatglm_client.py -------------------------------------------------------------------------------- /core/llm/plugins/google_client.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shuakami/amyalmond_bot/HEAD/core/llm/plugins/google_client.py -------------------------------------------------------------------------------- /core/llm/plugins/inject_memory_client.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shuakami/amyalmond_bot/HEAD/core/llm/plugins/inject_memory_client.py -------------------------------------------------------------------------------- /core/llm/plugins/openai_client.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shuakami/amyalmond_bot/HEAD/core/llm/plugins/openai_client.py -------------------------------------------------------------------------------- /core/llm/plugins/tea_client.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shuakami/amyalmond_bot/HEAD/core/llm/plugins/tea_client.py -------------------------------------------------------------------------------- /core/memory/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /core/memory/memory_manager.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shuakami/amyalmond_bot/HEAD/core/memory/memory_manager.py -------------------------------------------------------------------------------- /core/memory/memory_optimizer.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shuakami/amyalmond_bot/HEAD/core/memory/memory_optimizer.py -------------------------------------------------------------------------------- /core/plugins/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shuakami/amyalmond_bot/HEAD/core/plugins/__init__.py -------------------------------------------------------------------------------- /core/plugins/add_hi_plugin/add_hi_plugin.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shuakami/amyalmond_bot/HEAD/core/plugins/add_hi_plugin/add_hi_plugin.py -------------------------------------------------------------------------------- /core/plugins/add_hi_plugin/add_hi_plugin.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shuakami/amyalmond_bot/HEAD/core/plugins/add_hi_plugin/add_hi_plugin.yaml -------------------------------------------------------------------------------- /core/plugins/admin_command/admin_command.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shuakami/amyalmond_bot/HEAD/core/plugins/admin_command/admin_command.py -------------------------------------------------------------------------------- /core/plugins/admin_command/admin_command.yaml: -------------------------------------------------------------------------------- 1 | plugin_name: "Admin Command" 2 | version: "1.0.0" 3 | author: "天才洛小黑" 4 | priority: 10 5 | description: "兼容并执行管理员命令" -------------------------------------------------------------------------------- /core/plugins/custom_reply/custom_reply.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shuakami/amyalmond_bot/HEAD/core/plugins/custom_reply/custom_reply.py -------------------------------------------------------------------------------- /core/plugins/custom_reply/custom_reply.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shuakami/amyalmond_bot/HEAD/core/plugins/custom_reply/custom_reply.yaml -------------------------------------------------------------------------------- /core/plugins/event_bus.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shuakami/amyalmond_bot/HEAD/core/plugins/event_bus.py -------------------------------------------------------------------------------- /core/plugins/plugin_manager.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shuakami/amyalmond_bot/HEAD/core/plugins/plugin_manager.py -------------------------------------------------------------------------------- /core/plugins/plugins.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shuakami/amyalmond_bot/HEAD/core/plugins/plugins.py -------------------------------------------------------------------------------- /core/plugins/registration_reply/registration_reply.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shuakami/amyalmond_bot/HEAD/core/plugins/registration_reply/registration_reply.py -------------------------------------------------------------------------------- /core/plugins/registration_reply/registration_reply.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shuakami/amyalmond_bot/HEAD/core/plugins/registration_reply/registration_reply.yaml -------------------------------------------------------------------------------- /core/plugins/tools/add_plugin.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shuakami/amyalmond_bot/HEAD/core/plugins/tools/add_plugin.py -------------------------------------------------------------------------------- /core/plugins/tools/plugin_utils.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shuakami/amyalmond_bot/HEAD/core/plugins/tools/plugin_utils.py -------------------------------------------------------------------------------- /core/update_manager.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shuakami/amyalmond_bot/HEAD/core/update_manager.py -------------------------------------------------------------------------------- /core/utils/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /core/utils/file_handler.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shuakami/amyalmond_bot/HEAD/core/utils/file_handler.py -------------------------------------------------------------------------------- /core/utils/logger.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shuakami/amyalmond_bot/HEAD/core/utils/logger.py -------------------------------------------------------------------------------- /core/utils/mongodb_utils.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shuakami/amyalmond_bot/HEAD/core/utils/mongodb_utils.py -------------------------------------------------------------------------------- /core/utils/user_management.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shuakami/amyalmond_bot/HEAD/core/utils/user_management.py -------------------------------------------------------------------------------- /core/utils/utils.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shuakami/amyalmond_bot/HEAD/core/utils/utils.py -------------------------------------------------------------------------------- /core/utils/version_utils.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shuakami/amyalmond_bot/HEAD/core/utils/version_utils.py -------------------------------------------------------------------------------- /dist/background-en/chat-demo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shuakami/amyalmond_bot/HEAD/dist/background-en/chat-demo.png -------------------------------------------------------------------------------- /dist/background-en/chat-memory-demo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shuakami/amyalmond_bot/HEAD/dist/background-en/chat-memory-demo.png -------------------------------------------------------------------------------- /dist/background-en/docs-background.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shuakami/amyalmond_bot/HEAD/dist/background-en/docs-background.png -------------------------------------------------------------------------------- /dist/background/background.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shuakami/amyalmond_bot/HEAD/dist/background/background.png -------------------------------------------------------------------------------- /dist/background/chat-demo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shuakami/amyalmond_bot/HEAD/dist/background/chat-demo.png -------------------------------------------------------------------------------- /dist/background/chat-memory-demo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shuakami/amyalmond_bot/HEAD/dist/background/chat-memory-demo.png -------------------------------------------------------------------------------- /dist/background/docs-background.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shuakami/amyalmond_bot/HEAD/dist/background/docs-background.png -------------------------------------------------------------------------------- /main.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shuakami/amyalmond_bot/HEAD/main.py -------------------------------------------------------------------------------- /requirements.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shuakami/amyalmond_bot/HEAD/requirements.txt -------------------------------------------------------------------------------- /tools/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tools/db_tools.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shuakami/amyalmond_bot/HEAD/tools/db_tools.py -------------------------------------------------------------------------------- /tools/game.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shuakami/amyalmond_bot/HEAD/tools/game.py -------------------------------------------------------------------------------- /tools/install/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tools/install/elasticsearch/elasticsearch_install.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shuakami/amyalmond_bot/HEAD/tools/install/elasticsearch/elasticsearch_install.py -------------------------------------------------------------------------------- /tools/install/mongodb/mongodb_install.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shuakami/amyalmond_bot/HEAD/tools/install/mongodb/mongodb_install.py -------------------------------------------------------------------------------- /tools/setup/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tools/setup/elasticsearch/elasticsearch_configs.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shuakami/amyalmond_bot/HEAD/tools/setup/elasticsearch/elasticsearch_configs.py -------------------------------------------------------------------------------- /tools/setup/elasticsearch/elasticsearch_setup.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shuakami/amyalmond_bot/HEAD/tools/setup/elasticsearch/elasticsearch_setup.py -------------------------------------------------------------------------------- /tools/setup/mongodb/mongodb_setup.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shuakami/amyalmond_bot/HEAD/tools/setup/mongodb/mongodb_setup.py -------------------------------------------------------------------------------- /tools/setup/mongodb/mongodb_setup_configs.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shuakami/amyalmond_bot/HEAD/tools/setup/mongodb/mongodb_setup_configs.py -------------------------------------------------------------------------------- /tools/upgrade/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tools/upgrade/db_upgrade.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shuakami/amyalmond_bot/HEAD/tools/upgrade/db_upgrade.py -------------------------------------------------------------------------------- /uvicorn_log_config.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shuakami/amyalmond_bot/HEAD/uvicorn_log_config.json --------------------------------------------------------------------------------