Parameter | Type |
---|---|
_requestBody | OBJECT |
[
{
"description": "Provide a description of how to express a particular phrase or term in a different language.",
"name": "translate",
"parameters": {
"properties": {
"_requestBody": {
"type": "object",
"properties": {
"translate_phrase": {
"type": "string",
"description": "Phrase or concept that you would like to have translated into a foreign language."
},
"learning_language": {
"type": "string",
"description": "The language that the user is learning and inquiring about, it is important to use the full name of the language rather than an abbreviation or nickname. This will help to avoid confusion and ensure clear communication between both parties (e.g. English, Japanese)."
},
"native_language": {
"type": "string",
"description": "The full name of the language to indicate the user's native language, which can be inferred from the language they used to ask their question (e.g. English, Japanese)."
},
"origin_query": {
"type": "string",
"description": "The complete text of the user's inquiry."
}
}
}
},
"type": "object"
}
},
{
"description": "Provide a description of the significance and application of a particular phrase in a non-native language that the user is inquiring about.",
"name": "explain",
"parameters": {
"properties": {
"_requestBody": {
"type": "object",
"properties": {
"explain_phrase": {
"type": "string",
"description": "A phrase or word in a non-native language that the user requires clarification or information on."
},
"learning_language": {
"type": "string",
"description": "The language that the user is learning and inquiring about, which can be inferred from question, it is important to use the full name of the language rather than an abbreviation or nickname. This will help to avoid confusion and ensure clear communication between both parties. (e.g. English, Japanese)."
},
"native_language": {
"type": "string",
"description": "The full name of the language to indicate the user's native language, which can be inferred from the language they used to ask their question (e.g. English, Japanese)."
},
"origin_query": {
"type": "string",
"description": "The complete text of the user's inquiry."
}
}
}
},
"type": "object"
}
},
{
"description": "Offer guidance on the most effective approach to expressing or executing a task in a particular circumstance or context using a foreign language. Implement this endpoint when the user poses broad or overarching inquiries.",
"name": "task",
"parameters": {
"properties": {
"_requestBody": {
"type": "object",
"properties": {
"task_definition": {
"type": "string",
"description": "A description of the objective or action that the user intends to complete or perform."
},
"learning_language": {
"type": "string",
"description": "The language that the user is learning and inquiring about, which can be inferred from question, it is important to use the full name of the language rather than an abbreviation or nickname. This will help to avoid confusion and ensure clear communication between both parties. (e.g. English, Japanese)."
},
"native_language": {
"type": "string",
"description": "The full name of the language to indicate the user's native language, which can be inferred from the language they used to ask their question (e.g. English, Japanese)."
},
"origin_query": {
"type": "string",
"description": "The complete text of the user's inquiry."
}
}
}
},
"type": "object"
}
}
]