Chatbot Choice

  • 4 Replies
  • 2357 Views
*

8pla.net

  • Trusty Member
  • ***********
  • Eve
  • *
  • 1299
  • TV News. Pub. UAL (PhD). Robitron Mod. LPC Judge.
    • 8pla.net
Chatbot Choice
« on: August 28, 2018, 05:02:46 am »
What choices does a chatbot have when it matches several responses?

1. Randomly choose a response.
2. Rank responses by the most words matched?

For example:
Code
VISITOR: Hello, can I have a computer?

CHAT: PERHAPS YOU DON'T WANT TO* 
RANK: 2
WITH: CAN I

CHAT: DO COMPUTERS WORRY YOU? 
RANK: 1
WITH: COMPUTER

CHAT: HOW DO YOU DO? PLEASE STATE YOUR PROBLEM. 
RANK: 1
WITH: HELLO


This implementation is in progress.  It lets you choose: Ranked or Random,
and remembers the choice you made.  However,  if there is a tie,  it chooses Random.

Ranked is more accurate, but it chooses the best response repeatedly which is a drawback.
Random is less accurate, but it varies the responses, which is a benefit.

http://chatbot.altervista.org/implementation
My Very Enormous Monster Just Stopped Using Nine

*

ranch vermin

  • Not much time left.
  • Terminator
  • *********
  • 947
  • Its nearly time!
Re: Chatbot Choice
« Reply #1 on: August 28, 2018, 08:32:01 am »
You need more contextual response.

*

8pla.net

  • Trusty Member
  • ***********
  • Eve
  • *
  • 1299
  • TV News. Pub. UAL (PhD). Robitron Mod. LPC Judge.
    • 8pla.net
Re: Chatbot Choice
« Reply #2 on: August 29, 2018, 01:04:38 pm »
So the question is, What is a context?

"A context includes a unique identifier for each conversation with a user, as well as a counter that is incremented with each turn of the conversation. If we don’t preserve the context,  each round of input appeared to be the start of a new conversation. We can fix that by saving the context and sending it back to the Conversation service each time." said Watson Cloud Developer Vidyasagar Machupalli.

https://www.ibm.com/blogs/bluemix/2017/03/importance-context-chatbot-conversation/

Thanks for your reply, Ranch!
My Very Enormous Monster Just Stopped Using Nine

*

LOCKSUIT

  • Emerged from nothing
  • Trusty Member
  • *******************
  • Prometheus
  • *
  • 4659
  • First it wiggles, then it is rewarded.
    • Main Project Thread
Re: Chatbot Choice
« Reply #3 on: August 29, 2018, 01:35:55 pm »
Oh I know what you want here, so you have several matching parts, some more matched than others and some equaling matching (don't call this rank nor reward), and some more loved then others (call this rank/reward).

Well, if it was full match and it had still 2 responses then it would say its favorite "go to the hospital" instead of its hated response "don't go to the hospital" because for this AI it has learnt that saying that as answer is a GOOD thing right (duh lol).

But if it matches a 2-word part and one of its responses has a high rank/love whilst it also match another part by 10 words but with lesser loved responses, then, it matches to that one as it is related/in context, and so for this one it then uses best loved answer. If there's 2 matching parts each of 2 words, then it says the response with the highest reward. If 2 2-word matching parts and both have 2 as loved responses then random pick or reason the part and the response to reply to and back with.

However 1 problem. If "Can I have a computer?" doesn't match the full thing and use best loved response, and instead has 2 small matches cus no know the big whole sentence yet cus baby, then it has TWO matches it finds "[Can I] have a [computer] ?" and so then what it does in this case is answers both input matches, it'll answer the 1st match using best loved response "Can I what?" or "it depends", then it'll answer the next match using best loved response.

So there we go. Answer all biggest matching text parts using best loved answer for each biggest match. If you have 2 equally loved responses, say both if not costly else pick one randomly or *that didn't say last time.
Emergent          https://openai.com/blog/

*

8pla.net

  • Trusty Member
  • ***********
  • Eve
  • *
  • 1299
  • TV News. Pub. UAL (PhD). Robitron Mod. LPC Judge.
    • 8pla.net
Re: Chatbot Choice
« Reply #4 on: August 29, 2018, 06:45:23 pm »
Yes LOCKSUIT!

I just got started with a simple form of contextual responses.

Quote
Hello.
HOW DO YOU DO? PLEASE STATE YOUR PROBLEM.

Whats up?
WHAT ELSE COMES TO MIND WHEN YOU ASK THAT?

I lost my train of thought.
YOU JUST SAID: WHAT'S UP?

CONTEXT:
I LOST MY TRAIN OF THOUGHT
WHAT'S UP?
HELLO


I think it is working.  Now, I have to extend it further... Any ideas?

Thanks for your reply.
My Very Enormous Monster Just Stopped Using Nine

 


Say good-bye to GPUs...
by MikeB (AI News )
March 23, 2024, 09:23:52 am
OpenAI Speech-to-Speech Reasoning Demo
by MikeB (AI News )
March 15, 2024, 08:14:02 am
Google Bard report
by ivan.moony (AI News )
February 14, 2024, 04:42:23 pm
Elon Musk's xAI Grok Chatbot
by MikeB (AI News )
December 11, 2023, 06:26:33 am
Nvidia Hype
by 8pla.net (AI News )
December 06, 2023, 10:04:52 pm
How will the OpenAI CEO being Fired affect ChatGPT?
by 8pla.net (AI News )
December 06, 2023, 09:54:25 pm
Independent AI sovereignties
by WriterOfMinds (AI News )
November 08, 2023, 04:51:21 am
LLaMA2 Meta's chatbot released
by 8pla.net (AI News )
October 18, 2023, 11:41:21 pm

Users Online

305 Guests, 0 Users

Most Online Today: 320. Most Online Ever: 2369 (November 21, 2020, 04:08:13 pm)

Articles