37 Commits

Author SHA1 Message Date
Cangming H
bf0a0b8ad5
upgrade ci python version to 3.10 2025-03-11 13:02:46 +08:00
Cangming H
cf992aef70
Fix github CI failed due to actions/upload-artifact deprecated 2025-03-11 12:19:16 +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
Zhizhen He
b4817f2c9b
feat: add github action to check spelling (#326) 2023-08-22 19:36:53 +08:00
yihong
1a0bd42259
fix: #280,#279 (#281)
* fix: #280,#279
2023-05-23 20:05:17 +08:00
yihong0618
eee2b10718 fix: drop caiyun test 2023-05-15 08:35:25 +08:00
YYLIZH
484a98b48f
feat: MakeFile easy to test local (#254) 2023-04-25 06:24:22 +08:00
yihong0618
45bfdf7907 fix: args problem 2023-04-16 22:49:30 +08:00
yihong0618
ec13713a29 doc: for srt 2023-04-16 22:34:56 +08:00
yihong0618
17d4fbcf0a chore: bump version 2023-03-17 22:44:54 +08:00
yihong
0dd61e5b3e
feat: support deepl (#162) 2023-03-13 23:13:04 +08:00
yihong0618
f0b226ff30 fix: typo 2023-03-13 20:56:30 +08:00
yihong0618
8661ba1bae ci: add caiyun test 2023-03-13 20:54:43 +08:00
zstone12
5d2c89a841
feat: batch translate txt file (#153)
* feat: batch translate txt file

* feat: batch size customed

* reslove conflicts
2023-03-12 23:03:28 +08:00
Conan
ae3e3ba558
Unify prompt config for user and system (#151)
* fix list number in readmes

* fix list number in readmes

* unify prompt config for role user and system

* update json sample file

* update documents and add test

* update readmes
2023-03-12 14:48:24 +08:00
Conan
b1d62e8b30
added prompt template (#145)
* add prompt template

* format output for ChatGPTAPITranslator

* black format files

* fix: google txt loader failed

---------

Co-authored-by: yihong0618 <zouzou0208@gmail.com>
2023-03-11 21:51:29 +08:00
zstone12
aaa1ab4d7b
feat: add txt book loader (#143)
* feat: add txt book loader

* chore: add test book

* style: black

* feat: add _save_temp_book

* doc: add txt support desc
2023-03-11 14:37:25 +08:00
yihong
d95f0b3942
fix: #114 (#139) 2023-03-10 21:05:34 +08:00
yihong0618
939024ca4d fix: lint 2023-03-10 15:33:51 +08:00
yihong0618
61c0e75570 fix: test 2023-03-10 15:30:22 +08:00
yihong0618
dfcf078028 ci: more test 2023-03-10 15:11:12 +08:00
yihong0618
0bed9959f3 doc: readme example 2023-03-07 18:56:26 +08:00
yihong
7249540e98
feat: change api base for #42 (#44)
* feat: change api base for #42

* fix: typo
2023-03-05 15:47:37 +08:00
yihong0618
1ad276808b fix: test five 2023-03-05 12:23:02 +08:00
yihong0618
671957f0b4 ci: only run when have secret 2023-03-05 12:21:26 +08:00
yihong0618
701c415f4d fix: change secret type 2023-03-04 21:46:26 +08:00
cao
1840a4932a
Update make_test_ebook.yaml (#23)
- Added ability to dynamically get epub filename from git log
2023-03-04 18:31:38 +08:00
Weirenlan
843f21a227
Feat/add target lang choices (#12)
* Feat: add multipile languages choices and a new argument language to set targett language

Co-authored-by: yihong0618 <zouzou0208@gmail.com>
2023-03-04 00:06:19 +08:00
yihong0618
ed6688f8a1 fix: change file name 2023-03-03 21:00:43 +08:00
yihong0618
007c7b2da8 ci: fix wrong yml 2023-03-03 20:53:56 +08:00
yihong0618
70b9d7313e fix: run for two 2023-03-03 20:50:14 +08:00
yihong0618
07395d9b43 fix: ci 2023-03-03 20:43:55 +08:00
yihong0618
bc27e9900c fix: actions 2023-03-03 20:42:45 +08:00
jeffery
489746c4be add OPENAI_KEY 2023-03-03 19:20:35 +08:00
jeffery
e686f65db6 add lint checks 2023-03-03 19:11:29 +08:00
jeffery
7426a60f0f add name 2023-03-03 19:07:21 +08:00
jeffery
771a720802 add github action 2023-03-03 18:49:05 +08:00