better pet convo skill for LivinGrimoire software design pattern

  • 3 Replies
  • 916 Views
*

yotamarker

  • Trusty Member
  • *********
  • Terminator
  • *
  • 996
    • battle programming
better pet convo skill for LivinGrimoire software design pattern
« on: February 13, 2021, 06:19:50 am »
https://www.yotamarker.com/t345-disoulv3-even-better-pet-waifu-convo-skills#975

I got the idea from my pet parrot. he would just love to chat and you could tell he understood the gist of things.
this skill takes the concept up a few notches tbh ngl tbph tbqh tbf tbpqh tbh tbh

but wait there is more, lets beef it up with a complimentary skill :

https://www.yotamarker.com/t344-diprefer-convo-beef-up-skill

*

infurl

  • Administrator
  • ***********
  • Eve
  • *
  • 1266
  • Humans will disappoint you.
    • Home Page
Re: better pet convo skill for LivinGrimoire software design pattern
« Reply #1 on: February 13, 2021, 06:25:57 am »
I think it's awesome that you have a pet parrot. I always wanted to have a parrot pal.

Anyway I looked through your code just now and noticed that you are hard-coding lots of words into it for various purposes. Have you considered implementing some kind of centralized lexicon manager or database? It would encourage you to develop abstractions which in turn make your code more generalizable and powerful. Sure it's harder at first but if you persevere it gets easier.

*

yotamarker

  • Trusty Member
  • *********
  • Terminator
  • *
  • 996
    • battle programming
Re: better pet convo skill for LivinGrimoire software design pattern
« Reply #2 on: February 13, 2021, 01:26:44 pm »
I think it's awesome that you have a pet parrot. I always wanted to have a parrot pal.

Anyway I looked through your code just now and noticed that you are hard-coding lots of words into it for various purposes. Have you considered implementing some kind of centralized lexicon manager or database? It would encourage you to develop abstractions which in turn make your code more generalizable and powerful. Sure it's harder at first but if you persevere it gets easier.

no, he died over a decade ago. this is more of a tribute to him.
yes much of the code is hard coded, because I view some of the human skills to be hard coded.

for example : good morning. what is the time ?
I could mount it with a translator but the gists remain the same. I find most people to react the same to the same input or problems.
and I find most conversations with people to be like reruns. only the wordings change, and in some skills what changes are variables like the item, place,
and related dangers.
having said that, it would make her "feel" more human.

therefore, centralized lexicon manager or database is a based idea so I would love for you to elaborate more on it, and just pour what ever comes to your mind regarding this concept. also reading materials would also be nice.

*

infurl

  • Administrator
  • ***********
  • Eve
  • *
  • 1266
  • Humans will disappoint you.
    • Home Page
Re: better pet convo skill for LivinGrimoire software design pattern
« Reply #3 on: February 13, 2021, 10:38:38 pm »
therefore, centralized lexicon manager or database is a based idea so I would love for you to elaborate more on it, and just pour what ever comes to your mind regarding this concept. also reading materials would also be nice.

The basic idea is to separate out everything that your software "knows" about words and language into a shared system so you can reuse it easily. That system could be as simple as a library that you link and call when your code needs some information about a word e.g. that 'wonderful' denotes 'happiness'. Much better would be a database which provides a lot more power for accessing and reusing the information via SQL.

Code
CREATE TABLE words(spelling TEXT,category TEXT,emotion TEXT);
INSERT INTO words VALUES ('wonderful','adjective','happy');

Then your program could get a list of words that match just what it needs at the time. You can keep adding to the database independently of the software that uses it and your software gets smarter automatically.

Incidentally, you're not just limited to treating the data as data either. You can use it for generating code automatically too. All this takes more time to set up but in the long run it saves a lot of time, and let's face it, these are such huge projects that we're working on that anything you can do to make development more efficient is going to pay dividends.

As far as reading material is concerned, the state of the art is currently Combinatory Categorial Grammar (CCG).

https://yoavartzi.com/tutorial/

http://groups.inf.ed.ac.uk/ccg/index.html
« Last Edit: February 13, 2021, 11:35:49 pm by infurl »

 


What's everyone up to ?
by ivan.moony (General Chat)
Today at 04:15:34 am
So what if...
by MagnusWootton (General AI Discussion)
December 06, 2021, 10:07:46 pm
I want one!
by frankinstien (General Chat)
December 03, 2021, 06:57:48 pm
Pattern based NLP
by MikeB (General Project Discussion)
December 03, 2021, 11:19:32 am
New cryopreservation method is much better
by LOCKSUIT (General Chat)
December 02, 2021, 11:42:58 am
Artificial God?
by MagnusWootton (General AI Discussion)
December 01, 2021, 07:02:41 pm
Project Acuitas
by WriterOfMinds (General Project Discussion)
November 29, 2021, 05:31:57 am
java/kotlin to python
by yotamarker (AI Programming)
November 28, 2021, 07:23:54 pm

Users Online

47 Guests, 0 Users

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

Articles