Cerlancism / chatgpt-subtitle-translator

Efficient translation tool based on ChatGPT API
https://cerlancism.github.io/chatgpt-subtitle-translator/
MIT License
189 stars 18 forks source link

Where can I find your prompts? #33

Closed ykk648 closed 1 month ago

ykk648 commented 1 month ago

Hi there, I‘m looking a perfect prompt to do srt translate mission, now I get some progress. Where can I find your prompts in this repo to learn about?

Cerlancism commented 1 month ago

The prompts are documented at: https://github.com/Cerlancism/chatgpt-subtitle-translator?tab=readme-ov-file#how-it-works

The implementation can be found from: https://github.com/Cerlancism/chatgpt-subtitle-translator/blob/ce2e1f90e4802f63ed211688e2203b69f92b8b28/src/translator.mjs#L93

ykk648 commented 1 month ago

thanks, I’m using assistant api to achieve srt-translation in different languages, do more strict directions to the translate process, I cant opensource but it seems work better.