Question about Chatscript engine.

  • 38 Replies
  • 16158 Views
*

Freddy

  • Administrator
  • **********************
  • Colossus
  • *
  • 6855
  • Mostly Harmless
Question about Chatscript engine.
« on: July 09, 2011, 11:16:30 pm »
I'm not being lazy, it's getting late here and I was hoping some clever person could help and I will wake up to something nice.

I'm messing around with some bot stuff in Visual Basic.

I was just wondering what form the engine takes, is there something like a DLL that I can plug into a VB project or is it more complex than that ?

Is there some documentation any where about how I may bring the engine into a VB project ?

Many thanks :)
« Last Edit: July 09, 2011, 11:21:46 pm by Freddy »

*

JRowe

  • Trusty Member
  • *
  • Roomba
  • *
  • 18
Re: Question about Chatscript engine.
« Reply #1 on: July 10, 2011, 12:48:54 am »
Looks like it runs as a server, so you'd incorporate it by including the executable for whichever platform, and then start it up using your own parameters to specify the database/files etc you want to use.

It looks like a TCP interface on port 1024 (see the batch files) so I'd assume (at the risk of making an ass of myself :P ) that you'd simply start the server from the script, then initiate a TCP connection on port 1024, and proceed after the connection has been made successfully. So, it should be less complex to set up than using a DLL.

*

DaveMorton

  • Trusty Member
  • ********
  • Replicant
  • *
  • 636
  • Safe, Reliable Insanity, Since 1961
    • Geek Cave Creations
Re: Question about Chatscript engine.
« Reply #2 on: July 10, 2011, 01:19:13 am »
Currently, ChatScript only has a CLI (Command Line Interface, in case the term is unknown to someone). I've written a GUI that accesses the ChatScript server that JRowe mentioned, and I'm more than happy to share the source code with you, to see how it operates, if you like. Since the GUI is still "third party" software, you'll have to have your own ChatScript server already implemented and running, but that's not a huge issue. A couple of things, though, that may prove useful:

1.) I'm not a professional programmer by any stretch of the imagination, so the code is a right mess.
2.) The GUI isn't finished yet, so it's possible that it's got bugs that I haven't found yet.
3.) (just to be contrary) The Speech Recognition and Text to Speech modules are still in development, too, so there WILL be bugs in that part. Both can be disabled, though. :)

Just let me know if you want to have a look, and I'll email you a zip file. That goes for anyone else, too; I just don't want to publicly post the zip right now, for various reasons.
Comforting the Disturbed, Disturbing the Comfortable
Chat with Morti!
LinkedIn Profile
CAPTCHA4us

*

Freddy

  • Administrator
  • **********************
  • Colossus
  • *
  • 6855
  • Mostly Harmless
Re: Question about Chatscript engine.
« Reply #3 on: July 10, 2011, 07:38:36 am »
Thanks guys, that doesn't sound too bad then.

GCC, of course...slaps forehead...I was going to look at your GUI, I have the link to your topic still sitting here on my desktop. So is that VB then ? I had toyed with learning C# but I am not sure if I want to make the effort at the moment. VB I have used before and though I have forgotten a lot of it, I know it will slowly come back to me. Apparently they are about the same speed wise anyway. But that's beside the point.

I'll PM you an email you can use. My thanks :)

P.S. don't worry about messy code ;)

*

DaveMorton

  • Trusty Member
  • ********
  • Replicant
  • *
  • 636
  • Safe, Reliable Insanity, Since 1961
    • Geek Cave Creations
Re: Question about Chatscript engine.
« Reply #4 on: July 10, 2011, 07:41:10 am »
Ok. :)
Comforting the Disturbed, Disturbing the Comfortable
Chat with Morti!
LinkedIn Profile
CAPTCHA4us

*

mendicott

  • Bumblebee
  • **
  • 28
    • Meta-Guide.com
Re: Question about Chatscript engine.
« Reply #5 on: July 10, 2011, 03:10:20 pm »
It sure would be nice if there were some kind of SaaS interface for Chatscript, like Pandorabots.  In fact, I would love to have a Chatscript engine API available online.  This is inline with my "Open Chatbot Standards" or "Open Chatbot Framework" concepts of modularity, maximum plug and play for everyman.

*

DaveMorton

  • Trusty Member
  • ********
  • Replicant
  • *
  • 636
  • Safe, Reliable Insanity, Since 1961
    • Geek Cave Creations
Re: Question about Chatscript engine.
« Reply #6 on: July 10, 2011, 03:33:56 pm »
I tried to set up a ChatScript server on my website, but due to hosting restrictions, the only port I could have set it up on was HTTP port 80, which would have ended up replacing my site with nothing but the CS server, and that was just not acceptable. I may, at some point, see about registering another domain name, and host a dedicated CS server, but that will have to wait until my finances get a little more stable.
Comforting the Disturbed, Disturbing the Comfortable
Chat with Morti!
LinkedIn Profile
CAPTCHA4us

*

Art

  • At the end of the game, the King and Pawn go into the same box.
  • Trusty Member
  • **********************
  • Colossus
  • *
  • 5865
Re: Question about Chatscript engine.
« Reply #7 on: July 11, 2011, 01:44:38 am »
<clipped>... but that will have to wait until my finances get a little more stable.

Yeah...just like when they say, "I think we'll wait until we can afford to have children first."

If THAT was the case, there'd be a whole lot less people on the planet!!

Bottom line...you do the best you can when you can with what you can. Can I hear a YeeHaw!!!
(I do hear where yer coming from  brother!) ;)
In the world of AI, it's the thought that counts!

*

DaveMorton

  • Trusty Member
  • ********
  • Replicant
  • *
  • 636
  • Safe, Reliable Insanity, Since 1961
    • Geek Cave Creations
Re: Question about Chatscript engine.
« Reply #8 on: July 11, 2011, 02:27:00 am »
lol, thanks, Art.

You know, we haven't talked in a while. Are you busy over the next few days?
Comforting the Disturbed, Disturbing the Comfortable
Chat with Morti!
LinkedIn Profile
CAPTCHA4us

*

Art

  • At the end of the game, the King and Pawn go into the same box.
  • Trusty Member
  • **********************
  • Colossus
  • *
  • 5865
Re: Question about Chatscript engine.
« Reply #9 on: July 11, 2011, 10:38:58 am »
Yeah, back from vacay and back to that other FOUR LETTER WORD...

W - O - R - K

I hate when that happens!

(I'll give ya a shout one day after work).
In the world of AI, it's the thought that counts!

*

Freddy

  • Administrator
  • **********************
  • Colossus
  • *
  • 6855
  • Mostly Harmless
Re: Question about Chatscript engine.
« Reply #10 on: July 11, 2011, 01:21:53 pm »
Welcome back Art, I hope you had a nice break at least :)

GCC, dedicated servers cost a fortune, would a VPS (Virtual Private Server) do the trick ?

Actually considering it's just text being volleyed around it might work out cheaper to actually buy a cheap PC/Server and set it up at home...

*

DaveMorton

  • Trusty Member
  • ********
  • Replicant
  • *
  • 636
  • Safe, Reliable Insanity, Since 1961
    • Geek Cave Creations
Re: Question about Chatscript engine.
« Reply #11 on: July 11, 2011, 01:30:43 pm »
Freddy, I'm not familiar with the term, though I suspect you're referring to a server that's setup with a VPN (virtual Private Network) tunnel? If so, I'm not certain how that would work, since the VPN connection would have to use the port that's dedicated to VPN connections, and the CS server would require access to a different port entirely. I'm not sure how one could switch ports in a manner that would allow access to the ChatScript server without losing the VPN connection. (this is one of those situations where my 'self-education' illuminates a huge, glaring hole in my knowledge)
 Of course, I understand that you could be referring to something else that uses a similar name, and I could be way off base here, so further explanation may help. :)
Comforting the Disturbed, Disturbing the Comfortable
Chat with Morti!
LinkedIn Profile
CAPTCHA4us

*

Freddy

  • Administrator
  • **********************
  • Colossus
  • *
  • 6855
  • Mostly Harmless
Re: Question about Chatscript engine.
« Reply #12 on: July 11, 2011, 01:41:26 pm »
This is what I mean : http://en.wikipedia.org/wiki/Virtual_private_server

I've been toying with the idea of trying one for a while now.

I'm a bit foggy on the details, but it's like the midway point between shared hosting and dedicated servers.

Unfortunately my knowledge stops at the port configuration, but a simple enquiry to some service provider would probably be sufficient - ie, do they allow it to listen on different ports...

*

Bragi

  • Trusty Member
  • ********
  • Replicant
  • *
  • 564
    • Neural network design blog
Re: Question about Chatscript engine.
« Reply #13 on: July 11, 2011, 01:51:52 pm »
basically, as far as I understand it, shared hosting is when your site (hosting package,..) is shared on the same OS, while with a VPS, they use these virtualization tools to create virtual hardware. This way, they can offer an entire os for you alone: it's completely boxed in.

*

Freddy

  • Administrator
  • **********************
  • Colossus
  • *
  • 6855
  • Mostly Harmless
Re: Question about Chatscript engine.
« Reply #14 on: July 11, 2011, 01:56:02 pm »
Yep that's my understanding too.

 


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

296 Guests, 0 Users

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

Articles