- 添加编解码器,用于序列化和反序列化MessageEnvelope对象。 - 创建消息模型,包括分段(Seg)、群组信息(GroupInfo)、用户信息(UserInfo)、格式信息(FormatInfo)、模板信息(TemplateInfo)、基础消息信息(BaseMessageInfo)和消息基础(MessageBase)。 引入路由器以管理消息路由和连接。 - 实现运行时机制,通过钩子和路由来处理消息处理。 - 使用HTTP和WebSocket客户端和服务器开发传输层,以进行消息传输。 - 为消息内容和信封定义类型,以标准化消息结构。
82 lines
853 B
Plaintext
82 lines
853 B
Plaintext
sqlalchemy
|
|
aiosqlite
|
|
aiofiles
|
|
aiomysql
|
|
APScheduler
|
|
aiohttp
|
|
aiohttp-cors
|
|
colorama
|
|
customtkinter
|
|
dotenv
|
|
faiss-cpu
|
|
fastapi
|
|
fastmcp
|
|
filetype
|
|
slowapi
|
|
rjieba
|
|
jsonlines
|
|
quick_algo
|
|
matplotlib
|
|
networkx
|
|
numpy
|
|
openai
|
|
google-genai
|
|
pandas
|
|
peewee
|
|
pyarrow
|
|
pydantic
|
|
pypinyin
|
|
python-dateutil
|
|
python-dotenv
|
|
python-igraph
|
|
pymongo
|
|
requests
|
|
ruff
|
|
scipy
|
|
setuptools
|
|
toml
|
|
tomli
|
|
tomli_w
|
|
tomlkit
|
|
tqdm
|
|
urllib3
|
|
uvicorn
|
|
websockets
|
|
strawberry-graphql[fastapi]
|
|
httpx[socks]
|
|
packaging
|
|
rich
|
|
psutil
|
|
cryptography
|
|
json-repair
|
|
reportportal-client
|
|
scikit-learn
|
|
seaborn
|
|
structlog
|
|
httpx
|
|
requests
|
|
beautifulsoup4
|
|
lxml
|
|
json5
|
|
toml
|
|
beautifulsoup4
|
|
exa_py
|
|
asyncddgs
|
|
opencv-python
|
|
Pillow
|
|
chromadb
|
|
asyncio
|
|
tavily-python
|
|
google-generativeai
|
|
lunar_python
|
|
fuzzywuzzy
|
|
python-multipart
|
|
aiofiles
|
|
jinja2
|
|
inkfox
|
|
soundfile
|
|
pedalboard
|
|
|
|
# For local speech-to-text functionality (stt_whisper_plugin)
|
|
openai-whisper
|