ChatGPT Assisting with LLM Training

Azure AI Conversational Language Understanding (CLU), ChatGPT, Creating utterances, LLM training

MSFT CLU  Azure AI Conversational language. Very easy to add more utterances.  ChatGPT helped with the process

Brad Crain, 2 min read

I needed to add additional example utterances to the CLU intents for my online insurance chatbot. CLU has two features for this , one is to upload a file of utterances, and the other is an integration with Azure OpenAI.   The challenge was to compose these additional utterances.  

Being a lean organization, I decided to use ChatGPT for assistance. I did a hybrid approach which was to prompt ChatGPT to create additional utterances in a JSON format for my intents and then uploaded these utterances into my Azure CLU schema. 

My prompt instructed ChatGPT to provide its response in a JSON array, which is the format supported by CLU’s  upload utterance file feature.  

This process worked very well.  A summary is below.

 Here is the information exchange with ChatGPT.

My ChatGPT prompt

I need your assistance in creating example utterances to use in training LLM.  For the following sentence in quotes, provide 10 other alternative ways an english speaking person would make the same statement.  List your answers in descending order of probability that alternative statement would be found.  Your answer will be in the JSON format. 

The sentence in quotes is here "I don't understand what a copay is in insurance"

The JSON format for you answer format is illustrated by the following sample of two example utterances.  This sample for you to review is surrounded by these two characters: **. Your response of 20 alternative ways should be an JSON array as well as illustrated by this sample. 

**

[

    {

        "intent": " Information_EB.Insurance.Copay.Explain.Req",

        "language": "en-us",

        "text": "I left my heart in Alexandria Egypt"

    },

    {

         "intent": " Information_EB.Insurance.Copay.Explain.Req",

        "intent": "BookFlight",

        "text": "Book me a flight to Alexandria Egypt

    }

]

**

ChatGPT response/completion

Sure, I can help you with that. Here are 10 alternative ways an English speaking person would make the same statement “I don’t understand what a copay is in insurance” in descending order of probability that alternative statement would be found:

[

    {

        "intent": "Information_EB.Insurance.Copay.Explain.Req",

        "language": "en-us",

        "text": "What is a copay in insurance?",

    },

    {

        "intent": "Information_EB.Insurance.Copay.Explain.Req",

        "language": "en-us",

        "text": "Can you explain what a copay is in insurance?",

    },

    {

        "intent": "Information_EB.Insurance.Copay.Explain.Req",

        "language": "en-us",

        "text": "What does copay mean in insurance?",

    },

    {

        "intent": "Information_EB.Insurance.Copay.Explain.Req",

        "language": "en-us",

        "text": "What is the meaning of copay in insurance?",

    },

    {

        "intent": "Information_EB.Insurance.Copay.Explain.Req",

        "language": "en-us",

        "text": "What is the definition of copay in insurance?",

    },

    {

        "intent": "Information_EB.Insurance.Copay.Explain.Req",

        "language": "en-us",

        "text": "Can you tell me what a copay is in insurance?",

    },

    {

        "intent": "Information_EB.Insurance.Copay.Explain.Req",

        "language": "en-us",

        "text": "What exactly is a copay in insurance?",

    },

    {

        "intent": "Information_EB.Insurance.Copay.Explain.Req",

        "language": "en-us",

        "text": "What is the purpose of a copay in insurance?",

    },

    {

        "intent": "Information_EB.Insurance.Copay.Explain.Req",

        "language": "en-us",

        "text": "What are copays in insurance?"

    },

    {

        "intent": "Information_EB.Insurance.Copay.Explain.Req",

        "language": "en-us",

        "text": "What do you mean by copays in insurance?"

    }

]