Is there a "real time" chatbot engine?

  • 24 Replies
  • 10651 Views
*

Zero

  • Eve
  • ***********
  • 1287
Is there a "real time" chatbot engine?
« on: June 24, 2017, 09:15:43 am »
Hi guys,

Yeah, "real time" isn't the right way to say it.

What I mean is... Chatbot engines I know about, Rivescript, AIML, give you an answer instantly, as soon as you keypress Enter. But when you're in a chatroom, people don't answer intantly: you wait a few seconds, then someone says something, then a few seconds later, someone else says something, ...etc.

I know we can easily simulate a delay before the answer of the chatbot, so it feels like someone is typing on a keyboard, but that's not my question.

Chatbot engines I know work like a REPL. But is there a chatbot engine that would work like some sort of TCP server.

I imagine an engine that's permanently looping, thinking. Sometimes it receives a message from its botmaster, sometimes it sends a message. The messages it receives modify its thinking process. It's "real time". Is there such an engine somewhere?

Am I being understandable at least?


*

LOCKSUIT

  • Emerged from nothing
  • Trusty Member
  • *******************
  • Prometheus
  • *
  • 4659
  • First it wiggles, then it is rewarded.
    • Main Project Thread
Re: Is there a "real time" chatbot engine?
« Reply #1 on: June 24, 2017, 09:55:26 am »
So you want a real-time chatbot that answers with a delay but decides/computes instantly but also uses time to loop and think.

I understand your question too :).

Btw real-time is an opinion. Optical AIs would be waiting billions of years for our chatbots to finish. And even they HAVE to wait for some things.
Emergent          https://openai.com/blog/

*

Zero

  • Eve
  • ***********
  • 1287
Re: Is there a "real time" chatbot engine?
« Reply #2 on: June 24, 2017, 10:07:43 am »
Yes, if it's very fast, we look very slow, like bullet-time.

But the program could adjust the "depth" to balance the time effect. On a fast computer, the think process is very deep (so it takes time). On a slower computer, the think process is more superficial (it takes less time). The depth adjust real-time to balance the subjective speed of the world (the speed of world in AI's eye).

But, yeah that's the idea, it uses time to loop and think, do heurisitics, calculate probabilities about future, explore paths, try to understand better the botmaster's inputs...

*

LOCKSUIT

  • Emerged from nothing
  • Trusty Member
  • *******************
  • Prometheus
  • *
  • 4659
  • First it wiggles, then it is rewarded.
    • Main Project Thread
Re: Is there a "real time" chatbot engine?
« Reply #3 on: June 24, 2017, 10:16:53 am »
Quote
But, yeah that's the idea, it uses time to loop and think, do heuristics, calculate probabilities about future, explore paths, try to understand better the botmaster's inputs...

At the end of your reply you mean this is what you're looking for on top what I said you want.

Quote
So you want a real-time chatbot that answers with a delay but decides/computes instantly but also uses time to loop and think.
Emergent          https://openai.com/blog/

*

Zero

  • Eve
  • ***********
  • 1287
Re: Is there a "real time" chatbot engine?
« Reply #4 on: June 24, 2017, 10:26:17 am »
I was just confirming that you indeed understood my question. :)

Interesting subject, isn't it?

BTW, that's another point about programming languages: they are perfectly non-ambigous, so they're a perfect way to communicate. See how we misunderstand each other sometimes? Well, this can't happen when you read source code. Maybe we lack a non-ambigous language to describe AGI.

*

ivan.moony

  • Trusty Member
  • ************
  • Bishop
  • *
  • 1729
    • mind-child
Re: Is there a "real time" chatbot engine?
« Reply #5 on: June 24, 2017, 11:21:03 am »
I heard that Siri (Apple's assistant) is taking some time to process information before it answers. As I recall, people complained about its speed.

About ambiguity, you might be surprised, but the language I'm working on relies on ambiguities to form sets of data. So, instead of unambiguous natural language, I get ambiguous programming language. :idiot2:

*

Zero

  • Eve
  • ***********
  • 1287
Re: Is there a "real time" chatbot engine?
« Reply #6 on: June 24, 2017, 12:14:17 pm »
Does Siri sometimes speaks autonomously, without being asked something, and for other things than notifications? (never tried Siri, Cortana, ...etc.)

Ambiguity: Mmmh... Interesting. But if you know what ambiguity leads to, is it still ambiguity?

*

ivan.moony

  • Trusty Member
  • ************
  • Bishop
  • *
  • 1729
    • mind-child
Re: Is there a "real time" chatbot engine?
« Reply #7 on: June 24, 2017, 12:30:46 pm »
Quote
Does Siri sometimes speaks autonomously, without being asked something, and for other things than notifications? (never tried Siri, Cortana, ...etc.)
I didn't try Siri and company either. Maybe someone else did...

Quote
Ambiguity: Mmmh... Interesting. But if you know what ambiguity leads to, is it still ambiguity?
I think it is, but in order to exploit it, you have to know exactly what you're doing. But it is not so complicated and magical thing, I'll try to write about it soon.

*

Zero

  • Eve
  • ***********
  • 1287
Re: Is there a "real time" chatbot engine?
« Reply #8 on: June 24, 2017, 12:59:14 pm »
Cool.

*

Freddy

  • Administrator
  • **********************
  • Colossus
  • *
  • 6860
  • Mostly Harmless
Re: Is there a "real time" chatbot engine?
« Reply #9 on: June 25, 2017, 09:20:13 am »
I only used Cortana a bit - she did used to do stuff at one time but she seemed to stop bugging me - I must have switched something off  ;D

Bots saying things after a period of inactivity is not new really - you could get UltraHal to do this, but it was a bit iffy I recall. That in itself is not tricky, you just need to monitor user activity if an illusion is all you need.

*

Art

  • At the end of the game, the King and Pawn go into the same box.
  • Trusty Member
  • **********************
  • Colossus
  • *
  • 5865
Re: Is there a "real time" chatbot engine?
« Reply #10 on: June 25, 2017, 03:11:35 pm »
Ya beat me Freddy...I was going to mention UltraHal. Sometimes it would take a few moments before responding and once in a great while, it would say nothing at all, as if thinking about what the user said to it. (or typed, as the case might be). Hal, as it is called, can be spoken to verbally or typed to and it can respond via any of one's assigned TTS voices.
There are parts of this chatbot that are hard-coded into its core but there are many "user modified" areas within the program.

As I understand, it is being re-written with a vastly updated / upgraded brain as well as a new avatar / character system. You can certain find out more at; www.zabaware.com

For the record, Siri, Google Now, Alexa, Cortana are NOT chatbots, they are Search Assistants and will not carry a conversation any more than maybe a couple of exchanges. I would not and do not even put them in the same category as Chatbots, who's main goal / purpose is...to Chat.
In the world of AI, it's the thought that counts!

*

Zero

  • Eve
  • ***********
  • 1287
Re: Is there a "real time" chatbot engine?
« Reply #11 on: June 26, 2017, 09:47:30 am »
Yes, they're not chatbots, I agree. I'd try Cortana if she wasn't always asking for my GPS coordinates... too bad.

Thanks, I'll see what's UltraHAL capable of.

But my question really wasn't about simulating delay (an illusion), but rather about the way the engines work internally, which seems to be "always like a REPL". 

*

Art

  • At the end of the game, the King and Pawn go into the same box.
  • Trusty Member
  • **********************
  • Colossus
  • *
  • 5865
Re: Is there a "real time" chatbot engine?
« Reply #12 on: June 26, 2017, 12:43:05 pm »
Is what you're referring to something like a programming structure within LISP which repeatedly reads input from the user, evaluates it, finds the best suited answer then displays the result?

Well most chatbots do that without the looping being done as that is wasteful of both time and CPU. Their choice is done on a case by case basis, usually as soon as the user's statement / question is completed and received by either end of vocal input or by the Enter key being pressed.

The search / Scanning process is usually pretty fast and while there might be several possible answers, the bot usually pick what it believes is the most relevant or "matching" answer. Sometimes the bot might have several from which to choose and it could simply pick the first from a list or choose one from random to simulate a more human behavior.
In the world of AI, it's the thought that counts!

*

Zero

  • Eve
  • ***********
  • 1287
Re: Is there a "real time" chatbot engine?
« Reply #13 on: June 26, 2017, 02:39:29 pm »
Is what you're referring to something like a programming structure within LISP which repeatedly reads input from the user, evaluates it, finds the best suited answer then displays the result?

Well most chatbots do that without the looping being done as that is wasteful of both time and CPU.

Yes, this is what I'm referring to. When you say "most chatbots", do you mean "all well-known chatbot engines"? I know Rivescript and AIML, but there are others...

The 3 following assertions are true:
- one of the purposes of chatbots is to pretend to be human,
- pretending to be human is a very complex task
- we have a lot of cpu cycle to waste

Then, how come we don't use the unused cpu cycles (between responses) to enhance the bot's ability to pretend to be human?

How could we use this unused energy?

Maybe we don't use it because we don't know what to do with it. Perhaps, we lack a large dataset to work on, like a huge list of interrelated sentences...

*

8pla.net

  • Trusty Member
  • ***********
  • Eve
  • *
  • 1307
  • TV News. Pub. UAL (PhD). Robitron Mod. LPC Judge.
    • 8pla.net
Re: Is there a "real time" chatbot engine?
« Reply #14 on: June 26, 2017, 03:34:02 pm »
Thank you for starting this super interesting discussion thread.  I don't see anyone mentioned it here yet... So let me add, you are discussing what is known as "message-mode" and "character-mode". 

Is there a "character-mode" chatbot competition engine?  Yes.  And, the chatbot contestants must speak the character-mode (and/or message-mode) protocol in order to enter the contest. 

In the annual Loebner Prize Competition, the traditional LPP (Loebner Prize Protocol)  used to be in character-mode (real time), but this year the new LPP is in message-mode.   So the answer is "Yes." to the question, "Is there a 'real time' chatbot engine?"

Reference: https://www.chatbots.org/ai_zone/viewthread/180/

Disclaimer:
This is limited to discussion purposes only, and is not to be used or relied upon otherwise in any way whatsoever.  Chatbot contest rules may have a high level of difficulty.  Do not use this as advice on any contest rules. 
 
« Last Edit: June 26, 2017, 05:37:38 pm by 8pla.net »
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

299 Guests, 0 Users

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

Articles