Omniverse
Back to Discovery
Speak를 사용하여 다른 언어로 무엇이든 말하는 법을 배우세요. Speak는 AI 기술을 활용한 언어 튜터입니다.

Tool Parameters

banner
Translate and explain how to say a specific phrase or word in another language.
ParameterType
_requestBody
OBJECT

JSON Schema

json
[
  {
    "description": "Translate and explain how to say a specific phrase or word in another language.",
    "name": "translate",
    "parameters": {
      "properties": {
        "_requestBody": {
          "type": "object",
          "properties": {
            "phrase_to_translate": {
              "type": "string",
              "description": "Phrase or concept to translate into the foreign language and explain further."
            },
            "learning_language": {
              "type": "string",
              "description": "The foreign language that the user is learning and asking about. Always use the full name of the language (e.g. Spanish, French)."
            },
            "native_language": {
              "type": "string",
              "description": "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_context": {
              "type": "string",
              "description": "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_query": {
              "type": "string",
              "description": "Full text of the user's question."
            }
          }
        }
      },
      "type": "object"
    }
  },
  {
    "description": "Explain the meaning and usage of a specific foreign language phrase that the user is asking about.",
    "name": "explainPhrase",
    "parameters": {
      "properties": {
        "_requestBody": {
          "type": "object",
          "properties": {
            "foreign_phrase": {
              "type": "string",
              "description": "Foreign language phrase or word that the user wants an explanation for."
            },
            "learning_language": {
              "type": "string",
              "description": "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_language": {
              "type": "string",
              "description": "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_context": {
              "type": "string",
              "description": "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_query": {
              "type": "string",
              "description": "Full text of the user's question."
            }
          }
        }
      },
      "type": "object"
    }
  },
  {
    "description": "Explain the best way to say or do something in a specific situation or context with a foreign language. Use this endpoint when the user asks more general or high-level questions.",
    "name": "explainTask",
    "parameters": {
      "properties": {
        "_requestBody": {
          "type": "object",
          "properties": {
            "task_description": {
              "type": "string",
              "description": "Description of the task that the user wants to accomplish or do. For example, \"tell the waiter they messed up my order\" or \"compliment someone on their shirt\""
            },
            "learning_language": {
              "type": "string",
              "description": "The foreign language that the user is learning and asking about. The value can be inferred from question - for example, if the user asks \"how do i ask a girl out in mexico city\", the value should be \"Spanish\" because of Mexico City. Always use the full name of the language (e.g. Spanish, French)."
            },
            "native_language": {
              "type": "string",
              "description": "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_context": {
              "type": "string",
              "description": "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_query": {
              "type": "string",
              "description": "Full text of the user's question."
            }
          }
        }
      },
      "type": "object"
    }
  }
]