Text generation
    • PDF

    Text generation

    • PDF

    Article Summary

    Available in Classic and VPC

    Text generation introduces referencing examples when creating the following text.

    Note
    • For details on prompt input and result value, please refer to Playground.
    • Recommendations when entering prompts
      • 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.

    Atypical texts that require originality

    The following is examples of generating free-form writing with originality:

    Fiction (long sentence)

    The following describes how to set the parameters and configure the prompts to create a long piece of fiction.

    Set parameter

    We recommend to set the parameters as follows.

    ParameterValue
    Maximum token600~800
    Temperature0.5 or higher
    Repetition penalty5 or higher
    Stop sequence###↵, title:, fiction:
    Inject start text↵fiction:↵
    Inject restart text↵###↵title:

    Configure prompt

    Build the prompt as follows.

    //You should enter directives to let the generator know the context of what you want.
    
    Create a fiction including title, genre and characters.
    
    //Please enter the title, genre, characters, and sample content of the novel.
    
    Title: An average woman
    Genre: Thriller
    Characters: Sujin, Cheolho (Sujin’s boyfriend) and Taeseong (Cheolho’s friend)
    Fiction:
    Sujin, like other women in their 20s, is dressing up for a date.
    After she meets her boyfriend Cheolho in downtown, she looks around, watches a movie, and has dinner with him.
    Watching her enjoy food by smearing it on her face, Cheolho compliments her on how she eats beautifully.
    After the date, she takes the elevator to go up to the house, and then the elevator door opens, and she appears.
    She is holding both hands full of food such as bread and snacks.
    She sets the table with the food she is holding in her hands and starts setting up a camera across the table.
    Regretting not having a camera tripod, she stacks several books on the box to set the camera at eye level.
    After pressing the video recording button on the camera, she sits down at the table and starts wolfing down the food she bought.
    After eating all that food, she saves the video of herself.
    ###
    
    //Please enter the title, genre, and characters of the newly created novel.
    
    Title: Mom's soybean paste stew
    Genre: Drama
    Characters: Yeongho and Yeongho’s mother
    

    Result value

    The result of executing the prompt is as follows.

    Note
    • Since this is a type of text with a large number of output tokens, the output may take a long time.
    • If the length of the output text is short, it is recommended to run it twice or more.
    • If the generated sentence is cut off in the middle or an error occurs, it is recommended to delete the generated result and try again.
    Create a fiction including title, genre and characters.
    
    Title: An average woman
    Genre: Thriller
    Characters: Sujin, Cheolho (Sujin’s boyfriend) and Taeseong (Cheolho’s friend)
    Fiction:
    Sujin, like other women in their 20s, is dressing up for a date.
    After she meets her boyfriend Cheolho in downtown, she looks around, watches a movie, and has dinner with him..
    Watching her enjoy food by smearing it on her face, Cheolho compliments her on how she eats beautifully.
    After the date, she takes the elevator to go up to the house, and then the elevator door opens, and she appears.
    She is holding both hands full of food such as bread and snacks.
    She sets the table with the food she is holding in her hands and starts setting up a camera across the table.
    Regretting not having a camera tripod, she stacks several books on the box to set the camera at eye level.
    After pressing the video recording button on the camera, she sits down at the table and starts wolfing down the food she bought.
    After eating all that food, she saves the video of herself.
    ###
    Title: Mom's soybean paste stew
    Genre: Drama
    Characters: Yeongho and Yeongho’s mother
    
    //Output result value
    
    Fiction:
    One day, Yeongho sees his mother selling herbs in front of the subway station on his way home from work.
    Seeing his mother who looks particularly tired on that day, Yeongho stops walking and comes up to his mother.
    His mother sees Yeongho like that with a bright smile, saying that she made side dishes he likes after a long time.
    Yeongho quickly goes home to set the table for his hungry mother.
    The savory smell of the soybean paste stew called up memories of his childhood.
    His grandmother, instead of his working parents, took care of Yeongho in his early years.
    His grandmother always brought him warm meals and sometimes made soybean paste stew herself.
    Each time, Yeongho really enjoyed the meal and his grandmother looked at him with a smile.
    Now that he thinks of it, it seems that his grandmother loved her grandson Yeongho more than herself.
    Even though Yeongho was busy with his schoolwork every day, he used to visit his grandmother’s house every weekend.
    And he always ate soybean paste stew his grandmother made.
    Yeongho, who was in elementary school at that time, was almost crying because it tasted so good.
    Now Yeongho becomes a grown-up, but he cannot forget his grandmother’s soybean paste stew.
    He thought he couldn’t taste it any longer, but he could taste his grandmother’s soybean paste stew again.
    He couldn’t feel the same warm and thoughtful feelings as before, but he feels grateful.
    With the fact that he can eat it this way.
    
    ###
    Title:
    

    Create scene description sentences (short sentences)

    The following describes how to set parameters and configure prompts to generate short sentences that describe your scene.

    Set parameter

    We recommend to set the parameters as follows.

    ParameterValue
    Maximum token150~300
    Temperature0.5 or higher
    Repetition penalty5 or higher
    Stop sequence###↵, sentence:, depiction:
    Inject start text↵depiction:
    Inject restart text↵###↵sentence:

    Configure prompt

    Build the prompt as follows.

    //You should enter directives to let the generator know the context of what you want.
    
    Depict so that the sentences entered are drawn before your eyes.
    
    //Please provide sample sentences and descriptions.
    
    Sentence: She was ashamed of this situation.
    She ran away outside.
    Depiction: She kept wincing and looked all around.
    Her shoulders stiffened and rose upwards and her face glowed red.
    Whenever she was conscious of the gazes from the surroundings, she felt embarrassed as if she was standing naked in a vast square.
    She wanted to run out of the room, but she couldn’t move even a step like someone hit her legs with an ax.
      
    ###
    
    //Please enter a sentence to describe.
    
    Sentence: Fall in love.
    

    Result value

    The result of executing the prompt is as follows.

    Depict so that the sentences entered are drawn before your eyes.
    
    Sentence: She was ashamed of this situation.
    She ran away outside.
    Depiction: She kept wincing and looked all around.
    Her shoulders stiffened and rose upwards and her face glowed red.
    Whenever she was conscious of the gazes from the surroundings, she felt embarrassed as if she was standing naked in a vast square.
    She wanted to run out of the room, but she couldn’t move even a step like someone hit her legs with an ax.
      
    ###
    Sentence: Fall in love.
    
    //Result value
    
    Depiction: At first, I thought it was just curiosity.
    But as time went by, I couldn't control my feelings becoming more intense.
    I couldn't wait to see the person if I didn't see the person even for a day.
    I’ve never felt such a fluttering heart before.
    
    ###
    Sentence:
    

    Create emotional marketing messages (short sentences)

    The following describes how to set parameters and configure prompts to create sentimental marketing copy.

    Set parameter

    We recommend to set the parameters as follows.

    ParameterValue
    Maximum token150 or lower
    Temperature0.5 or higher
    Repetition penalty5 or higher
    Stop sequence###↵, product:, copy:
    Inject start text↵copy:
    Inject restart text↵###↵product:

    Configure prompt

    Build the prompt as follows.

    //You should enter directives to let the generator know the context of what you want.
    
    Write emotional marketing phrases.
    
    //Please enter sample product and emotional marketing copy.
    
    ###
    Product: Duffel coat
    Phrase: A classic item with formal elegance and sophisticated silhouette
    ###
    Product: Linen dress
    Phrase: Express a heart-throbbing feeling this spring with a new linen dress.
    ###
    
    //Please enter the product to generate emotional marketing copy for.
    
    Product: Lotion
    

    Result value

    The result of executing the prompt is as follows.

    Write emotional marketing phrases.
    
    ###
    Product: Duffel coat
    Phrase: A classic item with formal elegance and sophisticated silhouette
    ###
    Product: Linen dress
    Phrase: Express a heart-throbbing feeling this spring with a new linen dress.
    ###
    Product: Lotion
    
    //Result value
    
    Phrase: Moisture absorbed as soon as it touches your skin
    
    ###
    Product:
    

    Formal texts that require originality

    The following is an example of generating an original, but formatted post:

    Cover letter (long sentence)

    The following describes how to set the parameters and configure the prompts to create a long piece of cover letter.

    Set parameter

    We recommend to set the parameters as follows.

    parametersvalue
    Maximum token600~700
    Temperature0.5
    Repetition penalty8
    Stop sequence###↵, [draft], [cover letter]
    Inject start text↵[cover letter]↵
    Inject restart text↵###↵[Draft]↵

    Configure prompt

    Build the prompt as follows.

    //You should enter directives to let the generator know the context of what you want.
    
    Create your self-introduction letter based on the information below.
    
    //Please enter the company name, company's ideal talent, job title, personal history, and sample cover letter.
    
    [First draft]
    Company name: CLOVA
    1. Company's concept of talent / value: Ceaseless challenge and innovation
    2. Duty description: Marketer who delivers attractive values to customers
    3. Personal history: Media studies classes taken
    Successfully carried out the group project about a strategy for the marketing method of a startup company as a team leader
    Worked as a marketing intern at the startup company
    Worked as a content marketer in LINE FRIENDS
    Produced related card news and videos
    I enjoyed giving presentations in public since childhood.
    I have always enjoyed expressing what I know to others in an as attractive way as possible.
    So, in college, I majored in media and always took a team-lead role in the class.
    As part of the group project, we established a strategy for the marketing method of a startup company. We successfully gave a presentation and the company adopted our strategy...(omitted)...
    Like this, I have grown as a marketer through various challenges.
    I would like to work at CLOVA as an attractive marketer who can fascinate people with constant challenge and innovation.
    
    //Please enter the necessary information for the newly created cover letter.
    
    ###
    [First draft]
    Company name: LINE
    1. Company's concept of talent / value: Talents taking the lead in the global market
    2. Duty description: HR manager who leads the growth of not only individuals, but also the entire company
    3. Personal history: Education studies classes taken
    Acquired related work while working as a contract worker at a headhunting firm
    Enter the personal history of the self-introduction letter you want to newly create.
    

    Result value

    The result of executing the prompt is as follows.

    Note
    • Since this is a type of text with a large number of output tokens, the output may take a long time.
    • If the length of the output text is short, it is recommended to run it twice or more.
    • If the generated sentence is cut off in the middle or an error occurs, it is recommended to delete the generated result and try again.
    Create your self-introduction letter based on the information below.
    
    [First draft]
    Company name: CLOVA
    1. Company's concept of talent / value: Ceaseless challenge and innovation
    2. Duty description: Marketer who delivers attractive values to customers
    3. Personal history: Media studies classes taken
    Successfully carried out the group project about a strategy for the marketing method of a startup company as a team leader
    Worked as a marketing intern at the startup company
    Worked as a content marketer in LINE FRIENDS
    Produced related card news and videos
    [Cover letter] 
    I enjoyed giving presentations in public since childhood.
    I have always enjoyed expressing what I know to others in an as attractive way as possible.
    So, in college, I majored in media and always took a team-lead role in the class.
    As part of the group project, we established a strategy for the marketing method of a startup company. We successfully gave a presentation and the company adopted our strategy...(omitted)...
    Like this, I have grown as a marketer through various challenges.
    I would like to work at CLOVA as an attractive marketer who can fascinate people with constant challenge and innovation.
    
    ###
    [First draft]
    Company name: LINE
    1. Company's concept of talent / value: Talents taking the lead in the global market
    2. Duty description: HR manager who leads the growth of not only individuals, but also the entire company
    3. Personal history: Education studies classes taken
    Acquired related work while working as a contract worker at a headhunting firm
    Enter the personal history of the self-introduction letter you want to newly create.
    
    //Result value
    
    [Cover letter]
    I accumulated general knowledge of education by taking a course in education.
    I agonized about the effectiveness of education while taking educational psychology courses, and I realized that the educational environment is important to enhance the effectiveness of education.
    This has raised my interest in the educational environment, and I'll work hard to improve the educational environment...(the rest omitted)
    

    Formal texts that do not require originality

    The following is an example of creating a post with a set content and a specific format:

    Email (long sentence)

    The following describes how to set the parameters and configure the prompts to create a long piece of e-mail.

    Set parameter

    We recommend to set the parameters as follows.

    ParameterValue
    Maximum token150 or lower
    Temperature0.5 or lower
    Repetition penalty1~3
    Stop sequence###↵, keyword:, mail:
    Inject start text↵mail:
    Inject restart text↵###↵keyword:↵

    Configure prompt

    Build the prompt as follows.

    //You should enter directives to let the generator know the context of what you want.
    
    Create email content including keywords.
    
    //Please enter your keywords and email sample.
    
    Keywords:
    * Topic: Business cooperation
    * Requirements: I worked on what you requested.
    Please check again.
    * Sender: Sohui Im
    * Recipient: Juhui Choe
    Email:
    Dear Juhui Choe,
    I would like to talk about the project being conducted by our company.
    We have a website currently under development, so can you see its design draft if you're okay?
    If possible, I would like to see you at 3:00 PM this afternoon.
    Thank you.
    Sincerely yours, Sohui Im
    
    ###
    
    //Please enter the email information to be newly created.
    
    Keywords:
    * Topic: Sharing meeting files
    * Requirements: Please send the files you showed me at the meeting.
    * Sender: Sarang Kim
    * Recipient: Hana Yu
    

    Result value

    The result of executing the prompt is as follows.

    Note

    If the generated sentence is cut off in the middle or an error occurs, it is recommended to delete the generated result and try again.

    Create email content including keywords.
    
    Keywords:
    * Topic: Business cooperation
    * Requirements: I worked on what you requested.
    Please check again.
    * Sender: Sohui Im
    * Recipient: Juhui Choe
    Email:
    Dear Juhui Choe,
    I would like to talk about the project being conducted by our company.
    We have a website currently under development, so can you see its design draft if you're okay?
    If possible, I would like to see you at 3:00 PM this afternoon.
    Thank you.
    Sincerely yours, Sohui Im
    
    ###
    Keywords:
    * Topic: Sharing meeting files
    * Requirements: Please send the files you showed me at the meeting.
    * Sender: Sarang Kim
    * Recipient: Hana Yu
    
    //Result value
    
    Email:
    Dear Hana Yu,
    I'm Sarang Kim working as an AI service planner.
    Can I get the materials you showed me at the meeting last week?
    I know you're busy, but I'll appreciate it if you can send them to me.
    Sincerely yours, Sarang Kim
    
    ###
    Keywords:
    

    Report sentence (short sentence)

    The following is how to set parameters and configure prompts to generate short report content.

    Set parameter

    We recommend to set the parameters as follows.

    ParameterValue
    Maximum token200~300
    Temperature0.5
    Repetition penalty5
    Stop sequence###↵, keyword:, report sentence:
    Inject start text↵report sentence:
    Inject restart text↵###↵keyword:↵

    Configure prompt

    Build the prompt as follows.

    //You should enter directives to let the generator know the context of what you want.
    
    Gather up keywords and create sentences in the report.
    
    //Please enter your keywords and sample report sentences.
    
    Keywords:
    Business trip report, visited 3 clients in New York, U.S., from July 1st to July 7th, attracted new contracts, expense details attached separately.
    Sentences in the report:
    I went on a business trip to New York, U.S. from July 1st to July 7th and visited 3 clients to attract new contracts. Expense details are attached separately.
    
    ###
    
    //Please enter the report information to be newly created.
    
    Keywords:
    Business trip report, Gangwon-do factory, check the production pipeline, from May 3rd to May 4th, all clear according to inspection results, plan to visit there again in early June.
    

    Result value

    The result of executing the prompt is as follows.

    Note

    If the generated sentence is cut off in the middle or an error occurs, it is recommended to delete the generated result and try again.

    Gather up keywords and create sentences in the report.
    
    Keywords:
    Business trip report, visited 3 clients in New York, U.S., from July 1st to July 7th, attracted new contracts, expense details attached separately.
    Sentences in the report:
    I went on a business trip to New York, U.S. from July 1st to July 7th and visited 3 clients to attract new contracts.
    Expense details are attached separately.
    
    ###
    Keywords:
    Business trip report, Gangwon-do factory, check the production pipeline, from May 3rd to May 4th, all clear according to inspection results, plan to visit there again in early June.
    
    //Result value
    
    Sentences in the report:
    We visited the factory located in Gangwon-do from May 3rd to May 4th.
    We checked whether there are any issues with the production pipeline and the inspection result showed that it was all clear.
    However, we plan to visit there again in early June for continuous monitoring.
    
    ###
    Keywords:
    

    Was this article helpful?

    What's Next
    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.