v1

latestOpenAPI 3.0.12026-07-17366.4 KB

Explain the meaning and usage of a specific foreign language phrase that the user is asking about.

post/v1/public/openai/explain-phrase

Request body

foreign_phrasestring required

Foreign language phrase or word that the user wants an explanation for.

learning_languagestring required

The language that the user is asking their language question about. The value can be inferred from question - e.g. for "Somebody said no mames to me, what does that mean", the value should be "Spanish" because "no mames" is a Spanish phrase. 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 what the foreign language phrase means, and when you might use it.