├── .gitignore ├── README.md ├── app.py ├── app_by_api.py ├── asr ├── export_meta.py ├── model.py ├── paraformer.py ├── paraformer_dashscope.py ├── sense_voice.py └── sense_voice_dashscope.py ├── cfg.yaml ├── db ├── __init__.py ├── database.py ├── models.py └── repositories.py ├── game_taikong_prompt.txt ├── gen_game_prompt.txt ├── issues.md ├── prompt_template.txt ├── requirements.txt ├── run_app.sh ├── run_llm.sh ├── run_server.sh ├── server.py ├── service ├── __init__.py ├── content_service.py ├── game_service.py ├── response_models.py └── user_service.py ├── ssl_key ├── server.crt └── server.key ├── static ├── audio │ ├── aisha.wav │ └── hudi.mp3 └── image │ ├── aisha-avatar.png │ ├── game │ └── 43875b660a26448b9e16ff360d393dde.jpg │ └── hudi-avatar.png ├── sys_prompt.py ├── test.py ├── timer.py ├── tts ├── chattts.py ├── cosyvoice_dashscope.py ├── sambert.py └── sambert_dashscope.py ├── util ├── __init__.py ├── chat.py ├── data_model.py ├── db.py ├── prompt.py ├── schemas.py └── utils.py └── vue_app ├── .env.development ├── .gitignore ├── .vscode └── extensions.json ├── README.md ├── index.html ├── jsconfig.json ├── package-lock.json ├── package.json ├── public └── favicon.ico ├── src ├── App.vue ├── assets │ ├── base.css │ ├── logo.svg │ └── main.css ├── components │ ├── Chat.vue │ ├── ChatHistory.vue │ ├── Login.vue │ ├── Register.vue │ ├── TabBar.vue │ ├── UserConfig │ │ ├── AiConfig.vue │ │ ├── Game.vue │ │ └── UserConfig.vue │ ├── icons │ │ ├── IconCommunity.vue │ │ ├── IconDocumentation.vue │ │ ├── IconEcosystem.vue │ │ ├── IconSupport.vue │ │ └── IconTooling.vue │ └── util.js ├── main.css └── main.js └── vite.config.js /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JasonHugh/HayLM/HEAD/.gitignore -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JasonHugh/HayLM/HEAD/README.md -------------------------------------------------------------------------------- /app.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JasonHugh/HayLM/HEAD/app.py -------------------------------------------------------------------------------- /app_by_api.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JasonHugh/HayLM/HEAD/app_by_api.py -------------------------------------------------------------------------------- /asr/export_meta.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JasonHugh/HayLM/HEAD/asr/export_meta.py -------------------------------------------------------------------------------- /asr/model.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JasonHugh/HayLM/HEAD/asr/model.py -------------------------------------------------------------------------------- /asr/paraformer.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JasonHugh/HayLM/HEAD/asr/paraformer.py -------------------------------------------------------------------------------- /asr/paraformer_dashscope.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JasonHugh/HayLM/HEAD/asr/paraformer_dashscope.py -------------------------------------------------------------------------------- /asr/sense_voice.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JasonHugh/HayLM/HEAD/asr/sense_voice.py -------------------------------------------------------------------------------- /asr/sense_voice_dashscope.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JasonHugh/HayLM/HEAD/asr/sense_voice_dashscope.py -------------------------------------------------------------------------------- /cfg.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JasonHugh/HayLM/HEAD/cfg.yaml -------------------------------------------------------------------------------- /db/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /db/database.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JasonHugh/HayLM/HEAD/db/database.py -------------------------------------------------------------------------------- /db/models.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JasonHugh/HayLM/HEAD/db/models.py -------------------------------------------------------------------------------- /db/repositories.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JasonHugh/HayLM/HEAD/db/repositories.py -------------------------------------------------------------------------------- /game_taikong_prompt.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JasonHugh/HayLM/HEAD/game_taikong_prompt.txt -------------------------------------------------------------------------------- /gen_game_prompt.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JasonHugh/HayLM/HEAD/gen_game_prompt.txt -------------------------------------------------------------------------------- /issues.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JasonHugh/HayLM/HEAD/issues.md -------------------------------------------------------------------------------- /prompt_template.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JasonHugh/HayLM/HEAD/prompt_template.txt -------------------------------------------------------------------------------- /requirements.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JasonHugh/HayLM/HEAD/requirements.txt -------------------------------------------------------------------------------- /run_app.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JasonHugh/HayLM/HEAD/run_app.sh -------------------------------------------------------------------------------- /run_llm.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JasonHugh/HayLM/HEAD/run_llm.sh -------------------------------------------------------------------------------- /run_server.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JasonHugh/HayLM/HEAD/run_server.sh -------------------------------------------------------------------------------- /server.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JasonHugh/HayLM/HEAD/server.py -------------------------------------------------------------------------------- /service/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /service/content_service.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JasonHugh/HayLM/HEAD/service/content_service.py -------------------------------------------------------------------------------- /service/game_service.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JasonHugh/HayLM/HEAD/service/game_service.py -------------------------------------------------------------------------------- /service/response_models.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JasonHugh/HayLM/HEAD/service/response_models.py -------------------------------------------------------------------------------- /service/user_service.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JasonHugh/HayLM/HEAD/service/user_service.py -------------------------------------------------------------------------------- /ssl_key/server.crt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JasonHugh/HayLM/HEAD/ssl_key/server.crt -------------------------------------------------------------------------------- /ssl_key/server.key: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JasonHugh/HayLM/HEAD/ssl_key/server.key -------------------------------------------------------------------------------- /static/audio/aisha.wav: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JasonHugh/HayLM/HEAD/static/audio/aisha.wav -------------------------------------------------------------------------------- /static/audio/hudi.mp3: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JasonHugh/HayLM/HEAD/static/audio/hudi.mp3 -------------------------------------------------------------------------------- /static/image/aisha-avatar.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JasonHugh/HayLM/HEAD/static/image/aisha-avatar.png -------------------------------------------------------------------------------- /static/image/game/43875b660a26448b9e16ff360d393dde.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JasonHugh/HayLM/HEAD/static/image/game/43875b660a26448b9e16ff360d393dde.jpg -------------------------------------------------------------------------------- /static/image/hudi-avatar.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JasonHugh/HayLM/HEAD/static/image/hudi-avatar.png -------------------------------------------------------------------------------- /sys_prompt.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JasonHugh/HayLM/HEAD/sys_prompt.py -------------------------------------------------------------------------------- /test.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JasonHugh/HayLM/HEAD/test.py -------------------------------------------------------------------------------- /timer.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JasonHugh/HayLM/HEAD/timer.py -------------------------------------------------------------------------------- /tts/chattts.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JasonHugh/HayLM/HEAD/tts/chattts.py -------------------------------------------------------------------------------- /tts/cosyvoice_dashscope.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JasonHugh/HayLM/HEAD/tts/cosyvoice_dashscope.py -------------------------------------------------------------------------------- /tts/sambert.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JasonHugh/HayLM/HEAD/tts/sambert.py -------------------------------------------------------------------------------- /tts/sambert_dashscope.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JasonHugh/HayLM/HEAD/tts/sambert_dashscope.py -------------------------------------------------------------------------------- /util/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /util/chat.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JasonHugh/HayLM/HEAD/util/chat.py -------------------------------------------------------------------------------- /util/data_model.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JasonHugh/HayLM/HEAD/util/data_model.py -------------------------------------------------------------------------------- /util/db.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JasonHugh/HayLM/HEAD/util/db.py -------------------------------------------------------------------------------- /util/prompt.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JasonHugh/HayLM/HEAD/util/prompt.py -------------------------------------------------------------------------------- /util/schemas.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JasonHugh/HayLM/HEAD/util/schemas.py -------------------------------------------------------------------------------- /util/utils.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JasonHugh/HayLM/HEAD/util/utils.py -------------------------------------------------------------------------------- /vue_app/.env.development: -------------------------------------------------------------------------------- 1 | VITE_API_URL=https://localhost:8000/api/v1 -------------------------------------------------------------------------------- /vue_app/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JasonHugh/HayLM/HEAD/vue_app/.gitignore -------------------------------------------------------------------------------- /vue_app/.vscode/extensions.json: -------------------------------------------------------------------------------- 1 | { 2 | "recommendations": ["Vue.volar"] 3 | } 4 | -------------------------------------------------------------------------------- /vue_app/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JasonHugh/HayLM/HEAD/vue_app/README.md -------------------------------------------------------------------------------- /vue_app/index.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JasonHugh/HayLM/HEAD/vue_app/index.html -------------------------------------------------------------------------------- /vue_app/jsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JasonHugh/HayLM/HEAD/vue_app/jsconfig.json -------------------------------------------------------------------------------- /vue_app/package-lock.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JasonHugh/HayLM/HEAD/vue_app/package-lock.json -------------------------------------------------------------------------------- /vue_app/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JasonHugh/HayLM/HEAD/vue_app/package.json -------------------------------------------------------------------------------- /vue_app/public/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JasonHugh/HayLM/HEAD/vue_app/public/favicon.ico -------------------------------------------------------------------------------- /vue_app/src/App.vue: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JasonHugh/HayLM/HEAD/vue_app/src/App.vue -------------------------------------------------------------------------------- /vue_app/src/assets/base.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JasonHugh/HayLM/HEAD/vue_app/src/assets/base.css -------------------------------------------------------------------------------- /vue_app/src/assets/logo.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JasonHugh/HayLM/HEAD/vue_app/src/assets/logo.svg -------------------------------------------------------------------------------- /vue_app/src/assets/main.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JasonHugh/HayLM/HEAD/vue_app/src/assets/main.css -------------------------------------------------------------------------------- /vue_app/src/components/Chat.vue: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JasonHugh/HayLM/HEAD/vue_app/src/components/Chat.vue -------------------------------------------------------------------------------- /vue_app/src/components/ChatHistory.vue: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JasonHugh/HayLM/HEAD/vue_app/src/components/ChatHistory.vue -------------------------------------------------------------------------------- /vue_app/src/components/Login.vue: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JasonHugh/HayLM/HEAD/vue_app/src/components/Login.vue -------------------------------------------------------------------------------- /vue_app/src/components/Register.vue: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JasonHugh/HayLM/HEAD/vue_app/src/components/Register.vue -------------------------------------------------------------------------------- /vue_app/src/components/TabBar.vue: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JasonHugh/HayLM/HEAD/vue_app/src/components/TabBar.vue -------------------------------------------------------------------------------- /vue_app/src/components/UserConfig/AiConfig.vue: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JasonHugh/HayLM/HEAD/vue_app/src/components/UserConfig/AiConfig.vue -------------------------------------------------------------------------------- /vue_app/src/components/UserConfig/Game.vue: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JasonHugh/HayLM/HEAD/vue_app/src/components/UserConfig/Game.vue -------------------------------------------------------------------------------- /vue_app/src/components/UserConfig/UserConfig.vue: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JasonHugh/HayLM/HEAD/vue_app/src/components/UserConfig/UserConfig.vue -------------------------------------------------------------------------------- /vue_app/src/components/icons/IconCommunity.vue: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JasonHugh/HayLM/HEAD/vue_app/src/components/icons/IconCommunity.vue -------------------------------------------------------------------------------- /vue_app/src/components/icons/IconDocumentation.vue: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JasonHugh/HayLM/HEAD/vue_app/src/components/icons/IconDocumentation.vue -------------------------------------------------------------------------------- /vue_app/src/components/icons/IconEcosystem.vue: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JasonHugh/HayLM/HEAD/vue_app/src/components/icons/IconEcosystem.vue -------------------------------------------------------------------------------- /vue_app/src/components/icons/IconSupport.vue: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JasonHugh/HayLM/HEAD/vue_app/src/components/icons/IconSupport.vue -------------------------------------------------------------------------------- /vue_app/src/components/icons/IconTooling.vue: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JasonHugh/HayLM/HEAD/vue_app/src/components/icons/IconTooling.vue -------------------------------------------------------------------------------- /vue_app/src/components/util.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JasonHugh/HayLM/HEAD/vue_app/src/components/util.js -------------------------------------------------------------------------------- /vue_app/src/main.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JasonHugh/HayLM/HEAD/vue_app/src/main.css -------------------------------------------------------------------------------- /vue_app/src/main.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JasonHugh/HayLM/HEAD/vue_app/src/main.js -------------------------------------------------------------------------------- /vue_app/vite.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JasonHugh/HayLM/HEAD/vue_app/vite.config.js --------------------------------------------------------------------------------