From 6b2ddd869fc4b2a834cc8d57c53099727e97e0ff Mon Sep 17 00:00:00 2001 From: sleefd Date: Fri, 27 Oct 2023 13:17:56 +0800 Subject: [PATCH] update readme.md --- README.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/README.md b/README.md index 2004971..ac98b00 100644 --- a/README.md +++ b/README.md @@ -13,6 +13,8 @@ A simple translate api that proxies to openai written by Golang. 2. Build by `make build`. 3. Start server by `./translate`. 4. Use translate-cli by `./translate-cli -c "content" -l Chinese -m "gpt-3.5-turbo"`, -l and -m are optional. + translate-cli sends request to translate server so it needs to setup TRANSLATE_ENDPOINT env var. + If not set, it's default to http://localhost:8080/translate. ## Endpoints