22 Commits

Author SHA1 Message Date
cce
efaa673226
option to select claude model 2024-12-06 23:30:48 -05:00
Xie Yanbo
78fc7985d5
support xAI (#430) 2024-11-06 17:56:59 +08:00
risin42
9261d92e20
Gemini Enhancements (#428)
* chore: Bump google-generativeai and related dependencies

* feat: add support for --temperature option to gemini

* feat: add support for --interval option to gemini

* feat: add support for --model_list option to gemini

* feat: add support for --prompt option to gemini

* modify: model settings

* feat: add support for --use_context option to gemini

* feat: add support for rotate_key to gemini

* feat: add exponential backoff to gemini

* Update README.md

* fix: typos and apply black formatting

* Update make_test_ebook.yaml

* fix: cli

* fix: interval option implementation

* fix: interval for geminipro

* fix: recreate convo after rotating key
2024-10-21 13:42:33 +08:00
mkXultra
6912206cb1
support: gpt4o (#425)
* support: gpt4o

* fix: remove wrong code

* fix: fix ci error
2024-08-24 19:20:15 +08:00
mkXultra
32f4eb3566
feat: support model gpt4o-mini (#419) 2024-08-08 18:16:58 +08:00
umm
a9220ea6bf
feat: support groq translator (#399)
* feat: support Tencent TranSmart

* feat: support groq translator
2024-05-10 20:48:13 +08:00
Timothy Blumberg
2f92e3dee5
Add a model named "openai" and "--model_list" option (#392)
* Add a model named "openai" and "--model_list" option

* Remove old code

* Fix whitespace issues
2024-04-04 21:02:07 +08:00
umm
95bdd1bf6b
feat: support Tencent TranSmart (#382) 2024-02-14 19:39:59 +08:00
yihong
9a20b17970
feat Gemini (#366)
* feat: gemini init

Signed-off-by: yihong0618 <zouzou0208@gmail.com>

* fix: useless code

Signed-off-by: yihong0618 <zouzou0208@gmail.com>

* feat: gemini model

---------

Signed-off-by: yihong0618 <zouzou0208@gmail.com>
2024-01-06 22:21:53 +08:00
yihong
2ccc918337
feat: new openai package (#358)
* feat: new openai package

Signed-off-by: yihong0618 <zouzou0208@gmail.com>

* fix: typo

Signed-off-by: yihong0618 <zouzou0208@gmail.com>

---------

Signed-off-by: yihong0618 <zouzou0208@gmail.com>
2023-12-26 17:55:26 +08:00
Vincent Young
ce67920eeb
feat: support for Custom API (#354)
feat: support for Custom API
2023-11-16 10:00:17 +08:00
yihong
70e8c1e40d
feat: support deepl free (#274)
* feat: support deepl free

* fix
2023-05-14 22:48:11 +08:00
astromaddie
cd56b1e0ab
feature: GPT-4 support (#262)
* feat: add gpt4 support

* Update prompt_template_sample.json

* fix: cleaned up formatting for quotes

* feature: added context functionality (--use_context) for GPT4 model, which accumulates a running paragraph giving historical context to the current passage

* fix: propagated context_flag argument to txt_loader and srt_loader

* Updated Readme to include GPT4 parameters

* Removed debug output

* fix: lint

---------

Co-authored-by: yihong <zouzou0208@gmail.com>
2023-05-11 21:57:32 +08:00
James Tsang
c55f816a43
feat: support claude model (#267) 2023-05-07 21:23:44 +08:00
yihong
1b64fe0315
fix: drop chatgpt account (#234) 2023-04-03 20:02:26 +08:00
guaguaguaxia
91ef9fa788
feat: add ChatGPT Account translate method and input options to __init… (#43)
add ChatGPT Account translate method 

---------

Co-authored-by: yihong0618 <zouzou0208@gmail.com>
2023-03-30 19:28:00 +08:00
yihong
529749e055
fix: code format (#181)
* fix: code format

* fix: lint
2023-03-17 22:41:12 +08:00
yihong
0dd61e5b3e
feat: support deepl (#162) 2023-03-13 23:13:04 +08:00
Voyageyang
839c2ce6ad
(#93) feat: add caiyun translator (#160)
* feat: add caiyun translator

* format code and update README-CN.md

* fix: add caiyun_key args

* fix: add raise

---------

Co-authored-by: yihong0618 <zouzou0208@gmail.com>
2023-03-13 20:49:23 +08:00
yihong0618
939024ca4d fix: lint 2023-03-10 15:33:51 +08:00
lizhimiao
e6e4916ac4
feat: added google translate support (#131)
* added google translate support.

* format code using black.
2023-03-10 15:06:05 +08:00
yihong
cdeaaea6ce
feat: refactor and we have no type hint never (#97) 2023-03-07 23:09:26 +08:00