setup
step1 执行init_config,系统自动将config.yaml文件拷贝到~/.ylz_translate目录下
step2 根据情况有关环境变量的设置:
step2.1 LLM
export TOGETHER_API_KEYS=<用逗号分隔的together api token>
export TOGETHER_LLM_MODEL= 默认为 Qwen/Qwen1.5-72B-Chat
export SILICONFLOW_API_KEYS=<用逗号分隔的siliconflow api token>
export SILICONFLOW_LLM_MODEL= 默认为 alibaba/Qwen1.5-110B-Chat
export GROQ_API_KEYS=<用逗号分隔的groq api token>
export GROQ_LLM_MODEL= 默认为 llama3-70b-8192
export DEEPSEEK_API_KEYS=<用逗号分隔的deepseek api token>
export DEEPSEEK_LLM_MODEL= 默认为 deepseek-chat
export QIANFAN_API_KEYS=<用逗号分隔的qianfan api token>
export QIANFAN_SEC_KEYS=<用逗号分隔的qianfan sec token> 要与QIANFAN_API_KEYS对应
export QIANFAN_LLM_MODEL= 默认为 Yi-34B-Chat
step2.2 EMBEDDING
export TOGETHER_EMBEDDING_MODEL= 默认为 BAAI/bge-large-en-v1.5
step2.3 SEARCH_TOOL
export TAVILY_API_KEYS=<逗号分隔的tavily search api token>
run
ylz_translate -h
Metadata
Release files for ylz-translate 0.2.7
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| ylz_translate-0.2.7.tar.gz | 102.4 MB | Without provenance | Details for ylz_translate-0.2.7.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| ylz_translate-0.2.7-py3-none-any.whl | Python 3 | none | any | Details for ylz_translate-0.2.7-py3-none-any.whl |
Total release size: 206.1 MB
Release files / ylz_translate-0.2.7.tar.gz
| Download URL | ylz_translate-0.2.7.tar.gz |
|---|---|
| Size | 102.4 MB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
f46c45a7f609c32e34d9bd6e9dd033c6131e8a888c3c502abb4a46ebd25bb206
|
|
BLAKE2b-256 checksum How to use checksums |
245f65bbe824501096a18bfef24b12619db2fab85b628985a310cd327b1c67c6
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.8.3 CPython/3.10.11 Darwin/21.6.0
|
Release files / ylz_translate-0.2.7-py3-none-any.whl
| Download URL | ylz_translate-0.2.7-py3-none-any.whl |
|---|---|
| Size | 103.7 MB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
7e01891e49d6dcce51700159095553673e539363d6bf27cb2f1a2dcad89db1dc
|
|
BLAKE2b-256 checksum How to use checksums |
1b54252512b6996122968ef321ba2eb405d5e7b4fe0f01702bcd713a051bf434
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.8.3 CPython/3.10.11 Darwin/21.6.0
|
Security for ylz-translate 0.2.7
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.