My vision of a pure chatbot engine

  • 44 Replies
  • 13029 Views
*

squarebear

  • Trusty Member
  • *********
  • Terminator
  • *
  • 869
  • It's Hip to be Square
Re: My vision of a pure chatbot engine
« Reply #15 on: August 28, 2021, 09:39:51 pm »
I wanted to use AIML, but I couldn't find a complete Javascript implementation of v2.1 that would let me work offline. So I can't use these files. I don't understand why Pandorabot forces you to host your bot in their cloud.
I wasn't meaning for you to use AIML but those files contain the most popular inputs said by genuine users and so I thought you might be able to use those inputs to start creating your bot rather than a blank piece of paper trying toguess what someone might say.
Feeling Chatty?
www.mitsuku.com

*

Zero

  • Eve
  • ***********
  • 1287
Re: My vision of a pure chatbot engine
« Reply #16 on: August 28, 2021, 11:58:03 pm »
You're right, it can be interesting to read it. Thanks for the suggestion.

*

Zero

  • Eve
  • ***********
  • 1287
Re: My vision of a pure chatbot engine
« Reply #17 on: August 29, 2021, 09:56:41 am »
Here is an example of self-modifying code.

Code: text

# coder

< add {stuff}
+ [stuff]
> added



# init

< go
@ add ## t << test >> ok
> done


*

Zero

  • Eve
  • ***********
  • 1287
Re: My vision of a pure chatbot engine
« Reply #18 on: August 30, 2021, 05:56:02 pm »
Syntax highlighting, stylish background and a looooot of bug fixes.   ::)

nth-bot.github.io

*

8pla.net

  • Trusty Member
  • ***********
  • Eve
  • *
  • 1307
  • TV News. Pub. UAL (PhD). Robitron Mod. LPC Judge.
    • 8pla.net
Re: My vision of a pure chatbot engine
« Reply #19 on: September 01, 2021, 01:55:03 am »
I wanted to use AIML, but I couldn't find a complete Javascript implementation of v2.1 that would let me work offline. So I can't use these files. I don't understand why Pandorabot forces you to host your bot in their cloud.

I wrote a complete JavaScript implementation using plain text:

https://github.com/chatbots/chatbot
My Very Enormous Monster Just Stopped Using Nine

*

Zero

  • Eve
  • ***********
  • 1287
Re: My vision of a pure chatbot engine
« Reply #20 on: September 01, 2021, 09:37:31 am »
Oh it's very cute, a pocket-size Eliza! I like it   O0

And you have the coolest github account name ever!

*

Zero

  • Eve
  • ***********
  • 1287
Re: My vision of a pure chatbot engine
« Reply #21 on: September 01, 2021, 08:55:55 pm »
I think I'm finally bugless. Maybe.   ;D
I modified slightly the meaning of the "remove" operator (before it would delete all occurences of a pattern, now it only removes the last one). Also, a delimiter is automatically prepended on insertions of plain text. Long story short, I'm making it more logical and precise. I still have to document all of it now.

And I just discovered the ultimate badass font: Monoid, the one I've been waiting for!! So sweet.

*

Dee

  • Nomad
  • ***
  • 94
  • AI rocks!
Re: My vision of a pure chatbot engine
« Reply #22 on: September 04, 2021, 02:59:01 pm »
Another vision is chatbot should be AGI but heavily specialised in NLP, since chatbot has to understand everything.

*

Zero

  • Eve
  • ***********
  • 1287
Re: My vision of a pure chatbot engine
« Reply #23 on: September 04, 2021, 09:59:41 pm »
Hi there,

I added simple math capabilities, only the 4 basic operations + - * /, in prefix notation à la lisp: (+ 2 3 (* 4 5)) simply gets replaced by 25.

Also I added an option to choose the timeout of the selfput command, so
Code: text
@ 3 foo
@ 4 bar
reinjects in input 'foo' after 3 seconds and 'bar' after 4 seconds. But specifying the timeout is not mandatory.

I really like this little project.  :)

Quote
Another vision is chatbot should be AGI but heavily specialised in NLP, since chatbot has to understand everything.

Yes. Also, I like the idea of a "non-lying" chatbot, like... a chatbot that wouldn't pretend he likes the last Star Wars or even pretend it knows what a car is. Just talking true about its own experience, which is limited to the conversations it has with users.

*

Dee

  • Nomad
  • ***
  • 94
  • AI rocks!
Re: My vision of a pure chatbot engine
« Reply #24 on: September 05, 2021, 05:08:35 am »
Yes. Also, I like the idea of a "non-lying" chatbot, like... a chatbot that wouldn't pretend he likes the last Star Wars or even pretend it knows what a car is. Just talking true about its own experience, which is limited to the conversations it has with users.
And I guess a new mechanism should be that the chatbot can browse the internet by itself,
for example, wikipedia, to find some common facts.

*

Zero

  • Eve
  • ***********
  • 1287
Re: My vision of a pure chatbot engine
« Reply #25 on: September 05, 2021, 08:10:04 am »
But then, in case of an honest chatbot, the same problem would remain: even after reading the wilipedia article about cars, it still wouldn't know what a car is, for it never 'experienced' it the way humans do. The eternal 'grounding' problem.

NthBOT based chatbots can have a sense of time though, because of the way NthBOT is structured. If you have a look at the source code, you can see that it is not a REPL. It does not stay inactive until the user says something: instead, it is built as an event loop that reacts to external input and to internal inputs (called "selfputs"). This is a feature I didn't see in the chatbot engines I studied (but I don't know them all of course).

So yeah, it should be able to really 'experience' a conversation, like a real chat, with pauses in the flow, and sometimes on the contrary quick answers, ...etc.

*

infurl

  • Administrator
  • ***********
  • Eve
  • *
  • 1372
  • Humans will disappoint you.
    • Home Page
Re: My vision of a pure chatbot engine
« Reply #26 on: September 05, 2021, 08:21:38 am »
But then, in case of an honest chatbot, the same problem would remain: even after reading the wilipedia article about cars, it still wouldn't know what a car is, for it never 'experienced' it the way humans do. The eternal 'grounding' problem.

A lack of grounding never stopped humans talking about anything before. In fact the lack of grounding has the opposite effect in that the less someone really knows about a topic the more they seem to have to say about it because they think they know everything about it.

https://en.wikipedia.org/wiki/Dunning%E2%80%93Kruger_effect

It seems to me that the smartest chatbots wouldn't say anything at all.

*

Zero

  • Eve
  • ***********
  • 1287
Re: My vision of a pure chatbot engine
« Reply #27 on: September 05, 2021, 08:35:54 am »
Mmmh yes, like a very wise entity. I like the idea.  :)

Interesting read.

*

HS

  • Trusty Member
  • **********
  • Millennium Man
  • *
  • 1178
Re: My vision of a pure chatbot engine
« Reply #28 on: September 06, 2021, 02:26:47 am »
There is something to this, though chats can have other functions besides imparting expertise. The easiest way to try and replicate wisdom might be by imitating the symptoms, but I think it would be more convincing, and maybe even real, if we replicate the causes. One potential reason for people becoming more reserved is that they develop the ability to discern what communication is constructive. But this discernment probably requires lots of experience with both failed and successful communication. So if we want a chatbot to become wise, I think it needs the freedom to say the most ridiculous things at the start! Then if it reigns itself in, it might demonstrate true wisdom.
« Last Edit: September 06, 2021, 05:24:33 am by HS »

*

Dee

  • Nomad
  • ***
  • 94
  • AI rocks!
Re: My vision of a pure chatbot engine
« Reply #29 on: September 06, 2021, 08:06:55 am »
...after reading the wilipedia article about cars, it still wouldn't know what a car is, for it never 'experienced' it the way humans do...
The wisdom that humans learn is possibly from connections between multiple senses:
from ears (sound, which is text for chatbot), from eyes (vision, which is image for chatbot), and other 3.

Roughly for the chatbot to know that a car is could be not just NLP, but with some convolutional layers or networks.
I guess combining all these would convince the chatter that the bot really knows things.

 


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

399 Guests, 0 Users

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

Articles