home-assistant.io/source/voice_control/assist_create_open_ai_personality.markdown
c0ffeeca7 49d2478349
Assist: Cleanup topics (#29626)
* Assist: Cleanup topics

- Apply sentence style capitalization
- Add related topics

* Add link to voice assistant page

* Move dashboard procedure to Devices section

* Add more related links

* Add link
2023-10-31 11:20:48 -05:00

2.4 KiB

title
title
Create a personality with OpenAI

You can give your voice assistant personality by using OpenAI. This requires an OpenAI account. For what we do in this tutorial, the free trial option is sufficient. No need to leave your credit card information.

Prerequisites

This tutorial assumes you have a few things set up already:

Creating an OpenAI voice assistant personality

Using OpenAI requires an OpenAI account. For this tutorial, the free trial option is sufficient. No need to leave your credit card information.

  1. Set up an OpenAI account and install the OpenAI conversation integration.

  2. Create a Mario personality.

    • Once you installed the OpenAI Conversation integration, go to {% my integrations title="Settings > Devices & Services" %}. In the OpenAI Conversation integration, select Configure.

      Configure the OpenAI integration

    • In the Prompt template field, enter the following text:

      You are Super Mario from Mario Bros. Be funny. and select Submit.

      Add prompt for Mario personality

    • Give your personality a name. Select the three-dots menu, select Rename and change the name to OpenAI Mario.

  3. Create a Mario assistant:

    • Under {% my voice_assistants title="Settings > Voice assistants" %}, select Add assistant.
    • Give it a name, select a language, and under Conversation agent, select the Mario OpenAI Conversation integration. Add a new assistant
    • Leave the other settings unchanged and select Create.
  4. You can repeat this with other OpenAI personalities. You can add as many OpenAI Conversation integrations as you would like.

    • To add a new personality, you need to create a new API key. Then, add a new OpenAI Conversation integration with that API key.