https://discord.gg/botpress logo
#👀feature-requests
AI-Generated Utterances
# 👀feature-requests
c

clean-xylophone-13519

09/25/2023, 7:13 AM
From what I have seen, all utterances have to be manually entered by us. It would be great if AI could generate additional utterances for us from the examples we give it about any intents we're creating. I've used another chatbot builder and this was a feature it had that made creating a variety of utterances easy as the AI can create ones you wouldn't think of quickly. Have a button to click and automatically generate 5, 10 or 20 additional utterances. This way you know you're covering a wide array of things a user might say. Thanks.
f

famous-jewelry-85388

09/25/2023, 8:47 PM
Can you tell me more about you use case? Why don't you use AI Task to detect the intent? or AI transition?
@mysterious-cricket-72777 can you give me an example of what can be achieved using utterances and not using AI Task or AI Transition
c

crooked-van-25152

09/25/2023, 8:48 PM
I believe you tagged the wrong person here Bassam.
@clean-xylophone-13519 🙂
f

famous-jewelry-85388

09/25/2023, 8:48 PM
Nope, I tagged the one who added an emoji 🙂
I was looking for more thatn souce of examples
thanks Sabrina for mentioning the right owner too 🙂
c

crooked-van-25152

09/25/2023, 8:50 PM
Ohhh haha! Wow good catch with the Emoji.
f

famous-jewelry-85388

09/25/2023, 8:52 PM
😄
c

cool-policeman-94412

09/25/2023, 9:25 PM
Intent is not an AI task. A competiutor sdoes that acutally nicely - genrate the utterances via AI (so the user then can delete them) and also has negative utterances that can be added (i.e. if you THINK it is that intent, but one of those trigger, then no, it is not that intent)
f

famous-jewelry-85388

09/25/2023, 9:27 PM
Can you give me an actual example that can't be achieve with AI task or AI Transition?
I am not chanllenging you, I seriously want to learn 🙂
c

cool-policeman-94412

09/25/2023, 9:35 PM
simple. YOu assume an AI task, which is AN AI run. I have a simple support bot and my Intent switch has right now 8 intents. They are way faster than AI integration and provide less cost. Problem is that for every of the 8 I need to sit down and think of all kinds of wordings. What he asks for is basically that the designer can be asekd to generate another 20 variatns of the same intent, which the user can then filter. I know - and to a degree I agree - that AI is a solution for that - ONE DAY. Right now AI is still slower and costier, and by your words one could well remove the intent at all, instead using a (btw., quite complex to get right) AI task to find which of the X intents it mAY be (something olde models like 3.5 may easily hallucinate in). There is a good reason to keep the NKP taks aeound - mostly final user say, like taking the 20 generated utterances and eliminate bad ones.
m

mysterious-cricket-72777

09/26/2023, 5:03 AM
I feel like I may be in a corner here
c

cool-policeman-94412

09/26/2023, 7:48 AM
Just saw the new AI based intent determination and seriously, whoever thought that out never did consider limitations in complex cases (which seems to be standard for those things). YOu literally have to rely on the AI to take the meaning from a short intent - there is no way to even have alterantive utterances without cluttering your workflow. And GPT 3.5 is known problematic for certain things - 4.0 ios better at it - that are too simple. Like the auto translation (which seems to change languages on email addresses and other short sentences due to not considering to filter non-sentences out) - I would consider it close to unusable in anything except the most obvious edge case.
c

clean-xylophone-13519

09/26/2023, 10:25 AM
How would you use AI Task or Transition to detect intent? See the response below from @cool-policeman-94412. He seems to know which one I'm referring to. Also, the negative intents are a good one to note. When creating intents in Botpress we have to enter a list of utterances so instead of manually entering a list of utterances, AI could generate a range of utterances based on the few-shot examples we give it. In the screenshot, I create an intent but I have to enter ALL the phrases I think the user will use. Rather than me having to enter all that I think, AI would be able to generate a list of possible utterances based on the few examples I've given.
c

cool-policeman-94412

09/26/2023, 11:07 AM
Simply speaking - go to voiceflow, see how they do it.
c

clean-xylophone-13519

09/26/2023, 11:35 AM
Lol, that's the one.
f

famous-jewelry-85388

09/26/2023, 2:58 PM
I agree with you theoritically, but can I have real examples? I just want to try on my end. As I said I want to learn that's all 😉
Okay, thanks for the explanation 🙂.
the negative intents
that's good one 👍
c

clean-xylophone-13519

09/26/2023, 4:54 PM
Hey, do you still need examples or did the screenshot I provided suffice? In the screenshot, it says, "add 7 more utterances to make" it more resilient. So, the idea is, instead of the bot builder needing to** 'think' **of 7 more utterances a user could make, there is an AI function enabled where I can click a button to generate 7 or more utterances based on the examples I've already given it. In this case, I gave it three. Hopefully, that makes more sense. And then the negative intents as you've noted.
f

famous-jewelry-85388

09/26/2023, 5:36 PM
@clean-xylophone-13519 I understood your request and I agree to it
I just wanted real case scenarios where the AI Task doesn't work instead of intents. Just to learn more 🙂
That's it
c

clean-xylophone-13519

09/26/2023, 5:51 PM
I don't have a real case scenario where the AI Task doesn't work but wouldn't it be the AI Transition I'd use to detect intent? Now, the question I have coming up is when do we use intents vs. AI Transition which also detects intent? Perhaps @bumpy-butcher-41910 can shed some light on this. If there is a tutorial on this, please direct me to it. Thanks
c

cool-policeman-94412

09/26/2023, 7:54 PM
I had a problem with different appointments depending on wording. This is where the AI limitations show because you have not enough control to tell it what is NOT a particular intent.
f

famous-jewelry-85388

09/27/2023, 1:39 AM
Sorry I didn't get that
c

cool-policeman-94412

09/27/2023, 7:41 AM
It is what I said - we have different flows based on intent, and it was getting confused between an intiial call and a service request for existing customers at this point. Could not really rule it out becuase i lacked negative intent to limit them - too similar otherwise.
f

famous-jewelry-85388

09/27/2023, 2:33 PM
kk, so it was about negative intent too. Understood. thanks
I am just still curious about why would you use negative intents 😄 ... I have never seen that before 😄
c

cool-policeman-94412

09/27/2023, 7:51 PM
Because AI is not human. it still makes way mre errors and sometimes intents are quite similar.
f

famous-jewelry-85388

09/27/2023, 8:16 PM
I understood that, I still can't think of business need. I just want an example to imagine it
c

cool-policeman-94412

09/27/2023, 9:57 PM
We have multiple types of appointment in a bot. Sadly the AI seems to ignore the various ways people address them, often falling back to the first.
f

famous-jewelry-85388

09/27/2023, 10:06 PM
We are going in circles 😄
I just want an example 😄
exmaple of a business need to have negative intent
that's it 😄
c

cool-policeman-94412

09/28/2023, 8:34 AM
We are not going in circles. YOu ask for details that are non public. SImple like that. Maybe read the voiceflow documentation on their implementation? Here is a link that also gives a use case: https://learn.voiceflow.com/hc/en-us/articles/18749046327821-The-NLU-Fallback-Intent-Avoiding-False-Positives
Well, here is one. I have a "I am finished" intent that triggers on that and "stop the hat" , "just stop", "end it","good bye" - well, it also triggers on THIS input: "Well, it tried to sell me on automation. I own a woodworking business in Dubai. How could it help me?" and i have NO way to override that.