Skip to main content

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

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

ylz_translate-0.2.7.tar.gz (102.4 MB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

ylz_translate-0.2.7-py3-none-any.whl (103.7 MB view details)

Uploaded Python 3

File details

Details for the file ylz_translate-0.2.7.tar.gz.

File metadata

  • Download URL: ylz_translate-0.2.7.tar.gz
  • Upload date:
  • Size: 102.4 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.8.3 CPython/3.10.11 Darwin/21.6.0

File hashes

Hashes for ylz_translate-0.2.7.tar.gz
Algorithm Hash digest
SHA256 f46c45a7f609c32e34d9bd6e9dd033c6131e8a888c3c502abb4a46ebd25bb206
MD5 712f2afaf3cf48380be50dd791ad648b
BLAKE2b-256 245f65bbe824501096a18bfef24b12619db2fab85b628985a310cd327b1c67c6

See more details on using hashes here.

File details

Details for the file ylz_translate-0.2.7-py3-none-any.whl.

File metadata

  • Download URL: ylz_translate-0.2.7-py3-none-any.whl
  • Upload date:
  • Size: 103.7 MB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.8.3 CPython/3.10.11 Darwin/21.6.0

File hashes

Hashes for ylz_translate-0.2.7-py3-none-any.whl
Algorithm Hash digest
SHA256 7e01891e49d6dcce51700159095553673e539363d6bf27cb2f1a2dcad89db1dc
MD5 8ddf84815f829f8edf5f69e4c0d5dc59
BLAKE2b-256 1b54252512b6996122968ef321ba2eb405d5e7b4fe0f01702bcd713a051bf434

See more details on using hashes here.

Release history Release notifications | RSS feed

This release

0.2.7 This release

2 files

0.2.6

2 files

0.2.5

2 files

0.2.4

2 files

0.2.2

1 file

0.2.0

2 files

0.1.38

2 files

0.1.37

2 files

0.1.36

2 files

0.1.35

2 files

0.1.34

2 files

0.1.33

2 files

0.1.32

2 files

0.1.31

2 files

0.1.30

2 files

0.1.29

2 files

0.1.28

2 files

0.1.27

2 files

0.1.25

2 files

0.1.23

2 files

0.1.22

2 files

0.1.21

2 files

0.1.19

2 files

0.1.18

2 files

0.1.16

2 files

0.1.15

2 files

0.1.13

2 files

0.1.12

2 files

0.1.8

2 files

0.1.6

2 files

0.1.4

2 files

0.1.3

2 files

0.1.2

2 files

0.1.1

2 files

0.1.0

2 files

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page