OpenAI Conversation

Step 1: Create an API key in OpenAI

Step 2: Install OpenAI Conversation

Go to Settings ➜ MT Engines ➜ Available ➜ OpenAI Conversation

Initial prompt:

You will be provided with a sentence in Japanese,
and your task is to translate it into English accurately.
if there are any cultural references or nuances within the text, 
kindly provide a brief explanation or context for those as well. 
The text is as follows:

System template:

[{"role": "system", "content": "$PROMPT"}]

User template:

[{"role": "user", "content": "$SOURCE_TEXT"}]

Assistant template:

[{"role": "assistant", "content": "$TRANSLATED_TEXT"}]

Error Codes

https://platform.openai.com/docs/guides/error-codes/api-errors

Last updated