mirror of
https://github.com/zhayujie/chatgpt-on-wechat.git
synced 2026-10-26 01:54:36 +08:00
Select the reranker via rerank_provider (empty = off), share one instance per process and load the model on the first search. Apply min_score on the fused score before reranking and fall back to the fused order on failure. Co-authored-by: cowagent <cow@cowagent.ai>
30 lines
662 B
Plaintext
30 lines
662 B
Plaintext
tiktoken>=0.3.2 # openai calculate token
|
|
|
|
#voice
|
|
pydub>=0.25.1 # need ffmpeg
|
|
gTTS>=2.3.1 # google text to speech
|
|
# edge-tts: install on demand, see voice/edge/edge_voice.py
|
|
# elevenlabs: install on demand, see voice/elevent/elevent_voice.py
|
|
|
|
#install plugin
|
|
dulwich
|
|
|
|
# xunfei spark
|
|
websocket-client==1.2.0
|
|
|
|
# google
|
|
google-generativeai
|
|
|
|
# file parsing (web_fetch document support)
|
|
pypdf
|
|
python-docx
|
|
openpyxl
|
|
python-pptx
|
|
|
|
# memory rerank: install on demand for rerank_provider=local (pulls in torch)
|
|
# sentence-transformers
|
|
|
|
# i18n: zh-Hant high-quality conversion
|
|
# Built-in fallback provides basic conversion without this dependency
|
|
opencc-python-reimplemented
|