Conversation
    • PDF

    Conversation

    • PDF

    Article Summary

    Available in Classic and VPC

    Introduce referencing examples when creating text that communicates with various types of chatbots.

    Note
    • For details on prompt input and result value, please refer to Playground.
    • Recommendations when entering prompts
      • We recommend to add directives such as "CLOVA does not make sensitive social issues, abusive language, dangerous or violent comments." to minimize the possibility of dangerous speech being generated.
      • Please enter more than one pair of samples into the prompt for better accuracy.
      • When entering the contents for creating the result value, make sure no space at the end of the text.
    • The generated words and sentences are examples, and the generated sentences may vary each time when the prompt is executed.

    Knowledge encyclopedia type all-round chatbot

    By designating the desired conversation context, conversation partner, and conversation topic as a prompt, you can create an all-round chatbot that answers anything about the topic and use it as follows.

    • Psychological consultation chatbot
    • Weather alert
    • Movie know-it-all

    The following describes how to set parameters and configure prompts to create all-round chatbot.

    Set parameter

    We recommend to set the parameters as follows.

    ParameterValue
    Maximum token30 or lower
    Temperature0.5
    Repetition penalty5
    Stop sequence↵, CLOVA:, user:
    Inject start text↵CLOVA:
    Inject restart text↵user:

    Configure prompt

    Build the prompt as follows.

    //You should enter directives to let the generator know the context of what you want.
    
    Below is the conversation between AI speaker CLOVA and the user.
    
    //Please enter your question and sample response.
    
    User: What should I do when I'm depressed?
    CLOVA: Listen to the music you like.
    User: How high is Mt. Halla?
    CLOVA: It is at an elevation of 1950 meters.
    
    //Please enter a question to ask the chatbot.
    
    User: What are the effects of Vitamin D?
    

    Result value

    The result of executing the prompt is as follows.

    Below is the conversation between AI speaker CLOVA and the user.
    
    User: What should I do when I'm depressed?
    CLOVA: Listen to the music you like.
    User: How high is Mt. Halla?
    CLOVA: It is at an elevation of 1950 meters.
    User: What are the effects of Vitamin D?
    
    //Output result value
    
    CLOVA: It is necessary to absorb and use calcium and phosphorus.
    User:
    
    

    Custom chatbot based on user data

    You can create a chatbot for user’s specific information and utilize it as follows.

    • Ceremony chatbot
    • Event chatbot
    • Chatbot for in-house training

    The following describes how to set parameters and configure prompts to create a custom chatbot based on user data.

    Set parameter

    We recommend to set the parameters as follows.

    ParameterValue
    Maximum token30 or lower
    Temperature0.5 or lower
    Repetition penalty5
    Stop sequence↵, user:, CLOVA:
    Inject start text↵CLOVA:
    Inject restart text↵user:

    Configure prompt

    Build the prompt as follows.

    //You should enter directives to let the generator know the context of what you want.
    
    CLOVA provides you with event information calmly and in detail using honorifics.
    
    //Enter the sample information.
    
    Event: NAVER AI NOW
    Marketing phrase: The beginning of AI for everyone
    Content: The hyperscale AI built by CLOVA will be announced.
    Date: May 25th, 2021
    Time: 2:00 PM - 5:30 PM
    Fee: Free of charge
    Contents of presentation:
    1. Keynote
    2. The beginning of the new AI
    3. Big Data for Big AI
     
    Event: 2000 people will be drawn for free special merchandise (T-shirts and stickers)
    Event announcement: Send Email to giveaway winners on May 31st
    When and how can I register in advance?: It will be held from May 11th to May 25th at 1:30 PM.
    Can only pre-registered people watch it?: Anyone can watch NAVER AI NOW for free.
    Where can I watch it on the day of the event?: It can be viewed live on the NAVER AI NOW website and on NAVER TV on May 25th from 2:00 PM to 5:30 PM.
    NAVER TV official channel: https://tv.naver.com/ainow
    
    //Please enter a question to ask the chatbot.
    
    User: What presentation are you giving this time?
    

    Result value

    The result of executing the prompt is as follows.

    CLOVA provides you with event information calmly and in detail using honorifics.
    Event: NAVER AI NOW
    Marketing phrase: The beginning of AI for everyone
    Content: The hyperscale AI built by CLOVA will be announced.
    Date: May 25th, 2021
    Time: 2:00 PM - 5:30 PM
    Fee: Free of charge
    Contents of presentation:
    1. Keynote
    2. The beginning of the new AI
    3. Big Data for Big AI
     
    Event: 2000 people will be drawn for free special merchandise (T-shirts and stickers)
    Event announcement: Send Email to giveaway winners on May 31st
    When and how can I register in advance?: It will be held from May 11th to May 25th at 1:30 PM.
    Can only pre-registered people watch it?: Anyone can watch NAVER AI NOW for free.
    Where can I watch it on the day of the event?: It can be viewed live on the NAVER AI NOW website and on NAVER TV on May 25th from 2:00 PM to 5:30 PM.
    NAVER TV official channel: https://tv.naver.com/ainow
    
    User: What presentation are you giving this time?
    
    // Result value
    CLOVA: CLOVA: The hyperscale AI built by CLOVA will be announced.
    User:
    
    
    Note

    Based on the entered sample information, you can also compose additional questions and receive answers as follows.

    User: Is it free of charge?
    CLOVA: Yes, it’s free.
    

    Was this article helpful?

    Changing your password will log you out immediately. Use the new password to log back in.
    First name must have atleast 2 characters. Numbers and special characters are not allowed.
    Last name must have atleast 1 characters. Numbers and special characters are not allowed.
    Enter a valid email
    Enter a valid password
    Your profile has been successfully updated.