Create a solution in your language

When you created your first solution you chose English as the bot's language and the tutorials on this site assume your bot understands English. However, Teneo supports many more languages (86), which you can read about here: Languages.

On this page, we will show you how you can create a solution in your own language. We will demonstrate this by creating a German solution, but the same principle applies to other languages as well.

Create a new solution

The first thing we will do is create a new solution, select German as its mother tongue and base it on the template solution for German to boost it with a lot of pre-built flows like greetings, meta-requests (like Can you repeat that?), feedback (like Great! or You are stupid) and conversational small talk.

This is what you need to do to achieve this:

  1. Log in to Teneo Studio and select 'Solutions' in the menu on the left (if you have a solution open already, close it first).
  2. Click the 'New' button in the upper right corner. This opens a dialog box.
  3. Fill in a name for your solution, for example Mein erster deutscher Bot.
  4. Make sure the 'Solution Language' for this first bot is German. This will be the mother tongue of your bot.
  5. Under 'Solution Content', choose 'Create from Template' and select the latest version of 'Teneo Dialogue Resources German' from the list. This will boost your bot with lots of pre-built flows. The bot will then, right out of the box, understand and respond to greetings, meta-requests (like 'Can you repeat that?'), feedback (like 'Great!' or 'You are funny') and conversational small talk.
  6. Click 'OK'. It may take a couple of minutes for your solution to be created. You will be notified when it’s done.

Assign Lexical Resources

Next, we need to assign the Lexical Resources for German, since they are used extensively by the German template solution that we used when we created this solution. But even if we had not used the template solution, assigning the Lexical Resources is important, as they help your bot to understand a specific language, its words, morphological variants, synonyms, and expressions.

Let's specify which Lexical Resource to use for your German bot:

  1. Open your solution by double-clicking its name in the Solutions window.
  2. Click on the tab 'SOLUTION' in the upper left corner.
  3. Select 'Resources' in the purple bar on the left.
  4. Make sure the 'Lexical' tab at the top of the window is selected.
  5. Select 'Edit' in the upper right corner.
  6. Click 'Assign Lexical Resource' in the upper left corner, and select Teneo Lexical Resources German in the drop-down.
  7. Click 'Save' in the upper right corner.

Now your solution contains all that is needed for your bot to have its first conversation.

Begrüßen Sie Ihren Bot

Time to talk to your bot in the 'Try out' panel.

  1. If you are still in the 'Resources' window, click on the arrow in the top left to go to the main solution window (the 'HOME' tab).
  2. If the tryout panel is not visible, make it appear by clicking the 'Try out' button on the right side of the window.

    Because you've just assigned the Lexical Resources, there will be a message at the bottom of the tryout panel that says 'A reload of the engine is required to apply your recent changes'. Click Reload now to get rid of that message.

  3. Say hello to your bot. For example by using the following small talk questions:
    • Hallo
    • Wie geht es dir?
    • Mein Name ist Hans
    • Wie heißen Sie?
    • Ich mag dich

When you go back to the Try-out window you'll see a small text saying, 'Model training in progress', this indicates that the changes you've made are saved and the platform is currently re-training the classes in the machine learning model. This will change to 'Model update completed' when it's done.

Was this page helpful?