Question about Chatscript engine.

  • 38 Replies
  • 16161 Views
*

Bragi

  • Trusty Member
  • ********
  • Replicant
  • *
  • 564
    • Neural network design blog
Re: Question about Chatscript engine.
« Reply #30 on: July 16, 2011, 01:18:51 pm »
My bad, I was mixing the interop problems with the speechlib issue. Otherwise I would have asked why not use the .net versions?

*

Freddy

  • Administrator
  • **********************
  • Colossus
  • *
  • 6855
  • Mostly Harmless
Re: Question about Chatscript engine.
« Reply #31 on: July 16, 2011, 05:30:02 pm »
OK well I seem to to be doing something right.  I picked out the server connection part from your script Dave thanks.

I'm getting a response from the bot and that is 'I don't know what to say'...

I think that's it isn't it ?  Are there any bots yet we can load up ?

*

DaveMorton

  • Trusty Member
  • ********
  • Replicant
  • *
  • 636
  • Safe, Reliable Insanity, Since 1961
    • Geek Cave Creations
Re: Question about Chatscript engine.
« Reply #32 on: July 16, 2011, 05:32:42 pm »
You may want to ask Bruce. I have a minimal bot file for Morti, that covers some of the rudimentary stuff, but I haven't delved into it all that much yet. More irons in the fire than I care to admit.

If you like, I'll zip them up, and email them to you.
Comforting the Disturbed, Disturbing the Comfortable
Chat with Morti!
LinkedIn Profile
CAPTCHA4us

*

Freddy

  • Administrator
  • **********************
  • Colossus
  • *
  • 6855
  • Mostly Harmless
Re: Question about Chatscript engine.
« Reply #33 on: July 16, 2011, 05:51:56 pm »
To be honest at the moment I wouldn't know what to do with them.

Is there a difference between the bot harry in the exe and the server one ?

I mean for example, if I ask Harry (exe) 'What is your name ?', he replies my name is Harry.

Yet on the server version it says 'I don't know what to say'.

Presumably I am missing moving files to some place - probably the LIVEDATA folder yes ?

Probably should read the manual  :idiot2:

*

Freddy

  • Administrator
  • **********************
  • Colossus
  • *
  • 6855
  • Mostly Harmless
Re: Question about Chatscript engine.
« Reply #34 on: July 16, 2011, 06:41:22 pm »
This is a bit daft, but how do you import SpeechLib ?

I did it the other day, but for the life of me I cannot figure out how to do it now.  :tickedoff:

*

DaveMorton

  • Trusty Member
  • ********
  • Replicant
  • *
  • 636
  • Safe, Reliable Insanity, Since 1961
    • Geek Cave Creations
Re: Question about Chatscript engine.
« Reply #35 on: July 16, 2011, 06:50:25 pm »
Look in %programFiles% (both _X86 and _X64) for SAPI5.dll, and add the file as a reference. Then place at the beginning of the class declaration for your main form, "Imports SpeechLib". That should take care of it.

At least, That's what I did. :)
Comforting the Disturbed, Disturbing the Comfortable
Chat with Morti!
LinkedIn Profile
CAPTCHA4us

*

DaveMorton

  • Trusty Member
  • ********
  • Replicant
  • *
  • 636
  • Safe, Reliable Insanity, Since 1961
    • Geek Cave Creations
Re: Question about Chatscript engine.
« Reply #36 on: July 16, 2011, 06:54:00 pm »
Oops? I lied. Do an advanced search on your computer for *SpeechLib.dll - and add that file as a reference. SAPI5.dll was an earlier (failed) attempt at making SR and TTS work. Sorry. :)
Comforting the Disturbed, Disturbing the Comfortable
Chat with Morti!
LinkedIn Profile
CAPTCHA4us

*

Freddy

  • Administrator
  • **********************
  • Colossus
  • *
  • 6855
  • Mostly Harmless
Re: Question about Chatscript engine.
« Reply #37 on: July 16, 2011, 07:02:00 pm »
Ahh...well I think it's changed maybe, not sure to be honest, that must be the way i did it before and I found the dll, but I swear it did that automagically before somehow  :-\

I managed to find that sapi.dll exists.  Under references on my system it comes up as Microsoft Speech Object Library, and then when you click okay to add it it appears in the solution explorer as 'Interop.SpeechLib'

So something changed somewhere.  It appears to work okay anyway.

I so wish the add references section had a search function, it's full of stuff and you can easily miss things like I did.  :knuppel2:

*

DaveMorton

  • Trusty Member
  • ********
  • Replicant
  • *
  • 636
  • Safe, Reliable Insanity, Since 1961
    • Geek Cave Creations
Re: Question about Chatscript engine.
« Reply #38 on: July 16, 2011, 07:47:22 pm »
That's been my experience, as well, so don't feel bad. I usually get done what I need to, though. :)
Comforting the Disturbed, Disturbing the Comfortable
Chat with Morti!
LinkedIn Profile
CAPTCHA4us

 


OpenAI Speech-to-Speech Reasoning Demo
by ivan.moony (AI News )
Today at 01:31: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

309 Guests, 0 Users

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

Articles