Skip to content

Open AI Multi Langs Translator is a project based on the Next.js framework, which implements a web application programming interface for multi-language translation with Open AI gpt-3.5-turbo model.

License

Notifications You must be signed in to change notification settings

andy19910102/openai-multi-langs-translator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Open AI Multi Langs Translator

Next.js React.js

Open AI Multi Langs Translator 是一個基於 Next.js 架構的項目,使用 Open AI 的 gpt-3.5-turbo 模型來實現多國語言一次性翻譯的網站應用程式介面。使用者可以在此網站上輸入待翻譯的文字,並選擇所需的語言進行翻譯。此外,Open AI Multi Langs Translator 也支持多種語言之間的翻譯,例如英語、中文、西班牙語、法語、德語等。

以上文字由ChatGPT協助編修產生。


Open AI Multi Langs Translator is a project based on the Next.js framework, which implements a web application programming interface for multi-language translation with Open AI's gpt-3.5-turbo model. Users can input the text they want to translate on this website and choose the desired language for translation. In addition, Open AI Multi Langs Translator also supports translation between multiple languages, such as English, Chinese, Spanish, French, German, and more.

The above text was edited and generated with the assistance of ChatGPT.

如何取得專案

  1. 點擊 Github Repository 中的綠色「Code」按鈕。
  2. 點擊「Download ZIP」。

如何啟動應用程式

  1. 首先必須要有 node.js 的執行環境,如果你的電腦未曾安裝過 node.js 請至 https://nodejs.org/en 下載 LTS 版本並進行安裝。

  2. 安裝完成後透過編輯器的終端機打開本專案,並使用 npm 安裝 yarn 至你的系統內:

Windows

npm i -g yarn

MacOS

sudo npm i -g yarn
  1. 透過 yarn 安裝專案所需模組
yarn install
  1. 在專案根目錄內創建一名為 .env 的檔案並寫入
OPENAI_API_KEY=您的OPENAI_API_KEY

關於如何尋找你的 OPENAI_API_KEY 可參考 Where do I find my Secret API Key?

  1. 在終端機上輸入以下指令將應用程式啟動
yarn dev
  1. 應用程式啟動後您可在 http://localhost:3000 觀看結果。

貢獻

若有任何建議或改進,歡迎提交 Pull Request 或建立 Issue。

授權

此專案使用 MIT License 授權。

About

Open AI Multi Langs Translator is a project based on the Next.js framework, which implements a web application programming interface for multi-language translation with Open AI gpt-3.5-turbo model.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published