Question about Chatscript engine.

  • 38 Replies
  • 16273 Views
*

Bragi

  • Trusty Member
  • ********
  • Replicant
  • *
  • 564
    • Neural network design blog
Re: Question about Chatscript engine.
« Reply #15 on: July 11, 2011, 02:24:28 pm »
well, my tiny little dog just decided to take a nose dive off a 3 meter high rooftop. Off to the vet I guess.   :-\

*

DaveMorton

  • Trusty Member
  • ********
  • Replicant
  • *
  • 636
  • Safe, Reliable Insanity, Since 1961
    • Geek Cave Creations
Re: Question about Chatscript engine.
« Reply #16 on: July 11, 2011, 03:20:10 pm »
Jan, I hope your pooch is ok. Sorry to hear that it failed to master the fundamentals of flight in time. :(
That explains it, Freddy. I'd heard of VDS before, as it's a common practice with some hosting companies. I'd not heard of it being called VPS though. I'll explore pricing options for that sort of thing, and see if it's something that I can swing.
Comforting the Disturbed, Disturbing the Comfortable
Chat with Morti!
LinkedIn Profile
CAPTCHA4us

*

Bragi

  • Trusty Member
  • ********
  • Replicant
  • *
  • 564
    • Neural network design blog
Re: Question about Chatscript engine.
« Reply #17 on: July 11, 2011, 04:59:07 pm »
back from the vet, no broken bones ( :P ), 3 paws should be fine, the 4th needs some more healing. 2 weeks rest (hard for a dog)
That fence is a coming back up :tickedoff:

*

Freddy

  • Administrator
  • **********************
  • Colossus
  • *
  • 6855
  • Mostly Harmless
Re: Question about Chatscript engine.
« Reply #18 on: July 12, 2011, 08:27:22 pm »
Oh not too bad then, poor doggy.

*

DaveMorton

  • Trusty Member
  • ********
  • Replicant
  • *
  • 636
  • Safe, Reliable Insanity, Since 1961
    • Geek Cave Creations
Re: Question about Chatscript engine.
« Reply #19 on: July 12, 2011, 08:50:06 pm »
How's the GUI code looking, Freddy?
Comforting the Disturbed, Disturbing the Comfortable
Chat with Morti!
LinkedIn Profile
CAPTCHA4us

*

Freddy

  • Administrator
  • **********************
  • Colossus
  • *
  • 6855
  • Mostly Harmless
Re: Question about Chatscript engine.
« Reply #20 on: July 15, 2011, 02:42:57 pm »
I'm having a little difficulty actually.  What IDE did you use to make it ?

And should I be installing the ChatScript engine first ?

 :uglystupid2:

*

DaveMorton

  • Trusty Member
  • ********
  • Replicant
  • *
  • 636
  • Safe, Reliable Insanity, Since 1961
    • Geek Cave Creations
Re: Question about Chatscript engine.
« Reply #21 on: July 15, 2011, 03:21:14 pm »
Yes, you should have ChatScript up and running first; and the program was written in Visual Basic, using Visual Studio 2008. What sort of error are you having, and which OS are you developing on?
Comforting the Disturbed, Disturbing the Comfortable
Chat with Morti!
LinkedIn Profile
CAPTCHA4us

*

Freddy

  • Administrator
  • **********************
  • Colossus
  • *
  • 6855
  • Mostly Harmless
Re: Question about Chatscript engine.
« Reply #22 on: July 15, 2011, 03:23:14 pm »
Ah right okay.... I'll go and figure out how to install CS now.

My OS in Windows 7, I'm using Visual Studio 2010...

Back in a bit.

*

Freddy

  • Administrator
  • **********************
  • Colossus
  • *
  • 6855
  • Mostly Harmless
Re: Question about Chatscript engine.
« Reply #23 on: July 15, 2011, 03:33:49 pm »
OK, with regard to the CS engine, do I simply have to run the chatscript.exe to get the server up and running ?  It comes up with a CLI and seems to work fine like that.

Now on to your GUI.  It appears to have converted okay to VB 2010, but I get the following error when trying to run it :

Quote
{"An error occurred creating the form. See Exception.InnerException for details.  The error is: Could not load file or assembly 'Interop.SpeechLib, Version=5.4.0.0, Culture=neutral, PublicKeyToken=null' or one of its dependencies. An attempt was made to load a program with an incorrect format."}
« Last Edit: July 15, 2011, 06:01:00 pm by Freddy »

*

DaveMorton

  • Trusty Member
  • ********
  • Replicant
  • *
  • 636
  • Safe, Reliable Insanity, Since 1961
    • Geek Cave Creations
Re: Question about Chatscript engine.
« Reply #24 on: July 15, 2011, 03:42:57 pm »
Ok, the problem with that is probably that you'll have to remove the reference to the SpeechLib DLL, and locate/reference the same DLL that's in Win 7. This is one of the difficulties with writing programs on an older OS and running said programs on a new OS. (it seems to me that when I wrote StickyNotes we had similar problems)

As for running CS as a server, look in the CS directory for server.bat and run that. Then minimize the window, because nothing at all interesting will happen there.
Comforting the Disturbed, Disturbing the Comfortable
Chat with Morti!
LinkedIn Profile
CAPTCHA4us

*

Freddy

  • Administrator
  • **********************
  • Colossus
  • *
  • 6855
  • Mostly Harmless
Re: Question about Chatscript engine.
« Reply #25 on: July 15, 2011, 04:04:17 pm »
I was using speechLib just the other day funnily enough.  I copied the dll from my new project over to this one, but still no go.

I have been away from VB too long to figure out what's going on very quickly.

Two errors now :

Quote
Error   1   Unable to open module file 'C:\Users\me\AppData\Local\Temp\.NETFramework,Version=v4.0.AssemblyAttributes.vb': System Error &H80041feb&   C:\Users\me\AppData\Local\Temp\.NETFramework,Version=v4.0.AssemblyAttributes.vb   1   1   ChatScriptGUI

Quote
Error   2   Interop type 'SpSharedRecoContextClass' cannot be embedded. Use the applicable interface instead.   C:\Users\me\Downloads\ChatScriptGUI\ChatScriptGUI\Form1.vb   45   27   ChatScriptGUI

But yeah going from one version of VB to the next is always a pain in the bottom.  Do those make any sense to you ?

*

DaveMorton

  • Trusty Member
  • ********
  • Replicant
  • *
  • 636
  • Safe, Reliable Insanity, Since 1961
    • Geek Cave Creations
Re: Question about Chatscript engine.
« Reply #26 on: July 15, 2011, 04:29:15 pm »
A quick Google search turned up this article from the MSDN blogs:

http://blogs.msdn.com/b/mshneer/archive/2009/12/07/interop-type-xxx-cannot-be-embedded-use-the-applicable-interface-instead.aspx

Give that a quick read, and see if it helps. That's about the best I can offer for now.
Comforting the Disturbed, Disturbing the Comfortable
Chat with Morti!
LinkedIn Profile
CAPTCHA4us

*

Freddy

  • Administrator
  • **********************
  • Colossus
  • *
  • 6855
  • Mostly Harmless
Re: Question about Chatscript engine.
« Reply #27 on: July 15, 2011, 05:48:58 pm »
Okay thanks.  I think I will refer to your code and try to write something rather than spend time trying to get the whole application to convert.  Cheers  O0

*

Bragi

  • Trusty Member
  • ********
  • Replicant
  • *
  • 564
    • Neural network design blog
Re: Question about Chatscript engine.
« Reply #28 on: July 16, 2011, 09:07:42 am »
gcc, are you still using vb6 or are you using one of the vb.net versions?

*

DaveMorton

  • Trusty Member
  • ********
  • Replicant
  • *
  • 636
  • Safe, Reliable Insanity, Since 1961
    • Geek Cave Creations
Re: Question about Chatscript engine.
« Reply #29 on: July 16, 2011, 12:12:46 pm »
I've got Visual studio 2008, but I've not really explored all of it's possibilities beyond VB.net. Add to that the fact that everything I know of any programming language is what I've learned on my own and... well... :)
Comforting the Disturbed, Disturbing the Comfortable
Chat with Morti!
LinkedIn Profile
CAPTCHA4us

 


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
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

257 Guests, 0 Users

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

Articles