v1

latestOpenAPI 3.0.12026-07-17366.4 KB

Translate and explain how to say a specific phrase or word in another language.

post/v1/public/openai/translate

Request body

phrase_to_translatestring required

Phrase or concept to translate into the foreign language and explain further.

learning_languagestring required

The foreign language that the user is learning and asking about. Always use the full name of the language (e.g. Spanish, French).

native_languagestring required

The user's native language. Infer this value from the language the user asked their question in. Always use the full name of the language (e.g. Spanish, French).

additional_contextstring required

A description of any additional context in the user's question that could affect the explanation - e.g. setting, scenario, situation, tone, speaking style and formality, usage notes, or any other qualifiers.

full_querystring required

Full text of the user's question.

Response

OK

explanationstring

An explanation of how to say the input phrase in the foreign language.

All 3 operations