Chatbot Choice

  • 4 Replies
  • 2753 Views
*

8pla.net

  • Trusty Member
  • ***********
  • Eve
  • *
  • 1307
  • 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
  • *
  • 1307
  • 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
  • *
  • 1307
  • 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

 


Requirements for functional equivalence to conscious processing?
by DaltonG (General AI Discussion)
November 19, 2024, 11:56:05 am
Will LLMs ever learn what is ... is?
by HS (Future of AI)
November 10, 2024, 06:28:10 pm
Who's the AI?
by frankinstien (Future of AI)
November 04, 2024, 05:45:05 am
Project Acuitas
by WriterOfMinds (General Project Discussion)
October 27, 2024, 09:17:10 pm
Ai improving AI
by infurl (AI Programming)
October 19, 2024, 03:43:29 am
Atronach's Eye
by WriterOfMinds (Home Made Robots)
October 13, 2024, 09:52:42 pm
Running local AI models
by spydaz (AI Programming)
October 07, 2024, 09:00:53 am
Hi IM BAA---AAACK!!
by MagnusWootton (Home Made Robots)
September 16, 2024, 09:49:10 pm
LLaMA2 Meta's chatbot released
by spydaz (AI News )
August 24, 2024, 02:58:36 pm
ollama and llama3
by spydaz (AI News )
August 24, 2024, 02:55:13 pm
AI controlled F-16, for real!
by frankinstien (AI News )
June 15, 2024, 05:40:28 am
Open AI GPT-4o - audio, vision, text combined reasoning
by MikeB (AI News )
May 14, 2024, 05:46:48 am
OpenAI Speech-to-Speech Reasoning Demo
by MikeB (AI News )
March 31, 2024, 01:00:53 pm
Say good-bye to GPUs...
by MikeB (AI News )
March 23, 2024, 09:23:52 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

Users Online

305 Guests, 0 Users

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

Articles