* add prompt template
* format output for ChatGPTAPITranslator
* black format files
* fix: google txt loader failed
---------
Co-authored-by: yihong0618 <zouzou0208@gmail.com>
- Extracted get_translation method to improve code readability and maintainability
- Moved the code that handles API key and completion creation to the new method