Skip to content

Commit

Permalink
feat: switch to tetos (#484)
Browse files Browse the repository at this point in the history
Signed-off-by: Frost Ming <me@frostming.com>
  • Loading branch information
frostming committed Apr 18, 2024
1 parent 97e534b commit 571d8dc
Show file tree
Hide file tree
Showing 16 changed files with 211 additions and 556 deletions.
79 changes: 37 additions & 42 deletions README.md

Large diffs are not rendered by default.

167 changes: 58 additions & 109 deletions pdm.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 1 addition & 4 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -18,17 +18,14 @@ dependencies = [
"rich",
"zhipuai>=2.0.1",
"httpx[socks]",
"edge-tts>=6.1.3",
"EdgeGPT==0.1.26",
"langchain>=0.0.343",
"beautifulsoup4>=4.12.0",
"google-search-results>=2.4.2",
"google-generativeai",
"numexpr>=2.8.6",
"dashscope>=1.10.0",
"azure-cognitiveservices-speech>=1.37.0",
"multidict>=6.0.5",
"volcengine>=1.0.136",
"tetos>=0.1.0",
]
license = {text = "MIT"}
dynamic = ["version", "optional-dependencies"]
Expand Down
13 changes: 4 additions & 9 deletions requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
aiohttp==3.9.5
aiosignal==1.3.1
annotated-types==0.6.0
anyio==3.7.1
anyio==4.3.0
async-timeout==4.0.3; python_version < "3.11"
attrs==23.2.0
azure-cognitiveservices-speech==1.37.0
Expand All @@ -13,21 +13,21 @@ bingimagecreator==0.5.0
cachetools==5.3.2
certifi==2024.2.2
charset-normalizer==3.3.2
click==8.1.7
colorama==0.4.6; platform_system == "Windows"
dashscope==1.17.0
dataclasses-json==0.6.3
decorator==5.1.1
distro==1.9.0
edge-tts==6.1.10
edgegpt==0.1.26
exceptiongroup==1.2.0; python_version < "3.11"
frozenlist==1.4.1
google==3.0.0
google-ai-generativelanguage==0.6.2
google-api-core==2.15.0
google-api-python-client==2.125.0
google-auth==2.26.1
google-auth-httplib2==0.2.0
google-cloud-texttospeech==2.16.3
google-generativeai==0.5.1
google-search-results==2.4.2
googleapis-common-protos==1.62.0
Expand Down Expand Up @@ -61,34 +61,29 @@ packaging==23.2
prompt-toolkit==3.0.43
proto-plus==1.23.0
protobuf==4.25.1
py==1.11.0
pyasn1==0.5.1
pyasn1-modules==0.3.0
pycryptodome==3.9.9
pydantic==2.5.3
pydantic-core==2.14.6
pygments==2.17.2
pyjwt==2.8.0
pyparsing==3.1.2; python_version > "3.0"
pytz==2020.5
pyyaml==6.0.1
regex==2023.12.25
requests==2.31.0
retry==0.9.2
rich==13.7.1
rsa==4.9
six==1.16.0
sniffio==1.3.0
socksio==1.0.0
soupsieve==2.5
sqlalchemy==2.0.25
tenacity==8.2.3
tetos==0.1.0
tqdm==4.66.1
typing-extensions==4.9.0
typing-inspect==0.9.0
uritemplate==4.1.1
urllib3==2.1.0
volcengine==1.0.136
wcwidth==0.2.13
websockets==12.0
yarl==1.9.4
Expand Down
12 changes: 3 additions & 9 deletions xiao_config.json.example
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
"verbose": false,
"bot": "chatgptapi",
"tts": "mi",
"edge_tts_voice": "zh-CN-XiaoxiaoNeural",
"tts_options": {},
"prompt": "请用100字以内回答",
"keyword": ["请"],
"change_prompt_keyword": ["更改提示词"],
Expand All @@ -26,11 +26,5 @@
"bing_cookie_path": "",
"bing_cookies": {},
"api_base": "https://abc-def.openai.azure.com/",
"deployment_id": "",
"azure_tts_speech_key": null,
"azure_tts_service_region": "eastasia",
"volc_accesskey": "",
"volc_secretkey": "",
"volc_tts_app": "",
"volc_tts_speaker": "zh_male_chunhou",
}
"deployment_id": ""
}

0 comments on commit 571d8dc

Please sign in to comment.