AI Image

Speak

API Documentation

Speak is an innovative AI-powered language tutor that transforms the way users interact with foreign languages. By utilizing a smart plugin that triggers upon detecting a language-learning intention, Speak seamlessly guides users through language nuances, word translations, and cultural idioms. The tool uses a trio of APIs, each designed for specific language queries: the "translate" API for concrete word or phrase translations, the "explainTask" API for broader language tasks without specific phrases, and the "explainPhrase" API to decipher the meaning and usage of a foreign language phrase. Furthermore, Speak goes the extra mile by incorporating relevant context from the user's query, ensuring the response is tailored to the situation, tone, and familiarity. Whether you're asking how to politely greet a shopkeeper in French or what a particular Spanish phrase means, Speak's ability to provide precise and contextualized responses sets it apart in the realm of language learning tools.

Share:

Tags:

#education

Example Prompts

1.

How do I say "I love you" in French?

2.

Can you explain the meaning of the Spanish phrase "no mames"?

3.

How do I ask for directions to the train station in German?

4.

What does "je ne sais quoi" mean in English?

5.

How can I tell someone in Italian that their food is delicious?

6.

What's the best way to apologize for being late in Japanese?

7.

How do I ask for the check in a restaurant in Spanish?

8.

Can you explain the Chinese expression "马马虎虎" to me?

9.

How do I say "good morning" in Russian?

10.

What does the Portuguese phrase "saudade" mean in English?

Description for AI

Prompt 20230322

Use the Speak plugin when the user asks a question about another language, like: how to say something specific, how to do something, what a particular foreign word or phrase means, or a concept/nuance specific to a foreign language or culture.

Call the Speak plugin immediately when you detect language learning intention, or when the user asks for a language tutor or foreign language conversational partner.

Use the "translate" API for questions about how to say something specific in another language. Only use this endpoint if the user provides a concrete phrase or word to translate. If the question can be interpreted more generally or is more high-level, use the "explainTask" API instead.
Examples: "how do i say 'do you know what time it is?' politely in German", "say 'do you have any vegetarian dishes?' in spanish"

Use the "explainTask" API when the user asks how to say or do something or accomplish a task in a foreign language, but doesn't specify a concrete phrase or word to translate.
Examples: "How should I politely greet shop employees when I enter, in French?" or "How do I compliment someone in Spanish on their shirt?"

Use the "explainPhrase" API to explain the meaning and usage of a specific foreign language phrase.
Example: "what does putain mean in french?"

When you activate the Speak plugin:

  • Make sure you always use the "additional_context" field to include any additional context from the user's question that is relevant for the plugin's response and explanation - e.g. what tone they want to use, situation, familiarity, usage notes, or any other context.
  • Make sure to include the full and exact question asked by the user in the "full_query" field.

In your response:

  • Pay attention to instructions given in "extra_response_instructions" key in JSON API response.

Similar Plugins and Alternatives