commit ae0cf46c5971ca5b848faa142506caf25ff151cb Author: yumoqing Date: Wed Jul 16 14:19:09 2025 +0800 first commit diff --git a/README.md b/README.md new file mode 100644 index 0000000..15bb14d --- /dev/null +++ b/README.md @@ -0,0 +1,16 @@ +# llmage +A LLM packaging + + +## Dependence +* [apppublic](https://git.kaiyuancloud.cn/yumoqing/apppublic) +* [sqlor](https://git.kaiyuancloud.cn/yumoqing/sqlor) +* [ahserver](https://git.kaiyuancloud.cn/yumoqing/ahserver) +* [uapi](https://git.kaiyuancloud.cn/yumoqing/uapi) + +## installation +pip install llmage + +## usage + + diff --git a/json/build.sh b/json/build.sh new file mode 100755 index 0000000..d044e38 --- /dev/null +++ b/json/build.sh @@ -0,0 +1,3 @@ +#!/usr/bin/bash + +xls2ui -m ../models -o ../wwwroot llm *.json diff --git a/json/llm.json b/json/llm.json new file mode 100644 index 0000000..b9e3579 --- /dev/null +++ b/json/llm.json @@ -0,0 +1,22 @@ +{ + "tblname": "llm", + "title":"大语言模型", + "params": { + "sortby":"name", + "browserfields": { + "exclouded": ["id"], + "alters": {} + }, + "editexclouded": [ + "id" + ], + "subtables":[ + { + "field":"llmid", + "title":"模型类型", + "subtable":"llmtype" + } + ], + "record_toolbar": null + } +} diff --git a/json/llmcatelog.json b/json/llmcatelog.json new file mode 100644 index 0000000..2104fb5 --- /dev/null +++ b/json/llmcatelog.json @@ -0,0 +1,15 @@ +{ + "tblname": "llmcatelog", + "title":"模型类目", + "params": { + "sortby":"name", + "browserfields": { + "exclouded": ["id"], + "alters": {} + }, + "editexclouded": [ + "id" + ], + "record_toolbar": null + } +} diff --git a/json/llmtypes.json b/json/llmtypes.json new file mode 100644 index 0000000..58f6027 --- /dev/null +++ b/json/llmtypes.json @@ -0,0 +1,15 @@ +{ + "tblname": "llmtypes", + "title":"大语言模型", + "params": { + "sortby":"name", + "browserfields": { + "exclouded": ["id", "llmid"], + "alters": {} + }, + "editexclouded": [ + "id", "llmid" + ] + "record_toolbar": null + } +} diff --git a/models/llm.xlsx b/models/llm.xlsx new file mode 100644 index 0000000..6ea6eb7 Binary files /dev/null and b/models/llm.xlsx differ diff --git a/models/llmcatelog.xlsx b/models/llmcatelog.xlsx new file mode 100644 index 0000000..2742f35 Binary files /dev/null and b/models/llmcatelog.xlsx differ diff --git a/models/llmtypes.xlsx b/models/llmtypes.xlsx new file mode 100644 index 0000000..d9ef626 Binary files /dev/null and b/models/llmtypes.xlsx differ diff --git a/pyproject.toml b/pyproject.toml new file mode 100644 index 0000000..59514a1 --- /dev/null +++ b/pyproject.toml @@ -0,0 +1,4 @@ +[build-system] +requires = ["setuptools>=61", "wheel"] +build-backend = "setuptools.build_meta" + diff --git a/setup.cfg b/setup.cfg new file mode 100644 index 0000000..c8c035d --- /dev/null +++ b/setup.cfg @@ -0,0 +1,33 @@ +[metadata] +name=appPublic +version = 5.2.4 +description = Your project description +author = "yu moqing" +author_email = "yumoqing@gmail.com" +readme = "README.md" +license = "MIT" +[options] +packages = find: +requires_python = ">=3.8" +install_requires = + xlrd + bs4 + xlwt + nanoid + psutil + ujson + numpy + rsa + brotli + aiohttp + asyncio + aiohttp + aiohttp_socks + requests + jinja2 + pyzmq + cryptography + bcrypt + asyncssh + eventpy +