feat(tazjin/tgsa): add gpt-3 powered message translation feature

this is slow and often overloaded, but it's kind of cool when it
works. this translation method deals much better with the kind of
slang you'd see in telegram posts than any other method.

Change-Id: I7e4c845eb382f0eac627c4237b492c8e40dae574
Reviewed-on: https://cl.tvl.fyi/c/depot/+/8625
Reviewed-by: tazjin <tazjin@tvl.su>
Tested-by: BuildkiteCI
This commit is contained in:
Vincent Ambo 2023-05-24 19:08:40 +03:00 committed by tazjin
parent 63047449d7
commit 38042ea445
3 changed files with 83 additions and 7 deletions

View file

@ -1075,6 +1075,8 @@ dependencies = [
"ego-tree",
"rouille",
"scraper",
"serde",
"serde_json",
"url",
]