feat(tazjin/tgsa): replace translation backend
The GPT backend is cool, but it's also very slow, prone to request errors and quite expensive. This switches to Yandex Translate instead which for all posts that I tested seems to be totally fine. Change-Id: I5217113995b701508a83e7782eb1325957996719 Reviewed-on: https://cl.tvl.fyi/c/depot/+/8826 Tested-by: BuildkiteCI Reviewed-by: tazjin <tazjin@tvl.su>
This commit is contained in:
parent
6678e768a0
commit
332a821100
4 changed files with 327 additions and 62 deletions
|
|
@ -10,5 +10,9 @@ rouille = { version = "3.5", default-features = false }
|
|||
url = "2.3"
|
||||
scraper = "0.13"
|
||||
ego-tree = "0.6" # in tandem with 'scraper'
|
||||
serde = "1.0"
|
||||
serde = { version = "1.0", features = ["derive"] }
|
||||
serde_json = "1.0"
|
||||
ring = "0.16.20"
|
||||
openssl = "0.10.54"
|
||||
base64 = "0.21.2"
|
||||
lazy_static = "1.4.0"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue