How can I use AI to create a variable?
I have step where I ask a user for their username and the response I got was something along the lines of "pretendUsername is my username but i guess i didnt set up an email with my account"
I obviously don't want that entire string to be set in my username variable. Is there a way that I can have ai understand that
pretendUsername
IS the username that needs to be used in the username
variable?2 Replies
stormy-gold•16mo ago
https://www.youtube.com/watch?v=1mL0IPXBZRU
Oh wait, to create a variable rather than use?
Can you elaborate more on exactly what your trying to do? (Maybe a screenshot of your current setup helps)
On my phone now, but I'm basically creating a form. There are a number of cases where a real person will need to intervene, like a refund.
So I ask for username, email, etc.
But often times, the users just don't respond with JUST their username or email. They'll give me a sentence that contains what I need.
So a user said this, when promoted for username.
"pretendUsername is my username but i guess i didnt set up an email with my account"
If I were to send this directly to chatgpt, it's understand that the username in this case is "pretendUsername".
I want to know if I can use AI to parse the string and extract the contents that I'm actually looking for.