better pet convo skill for LivinGrimoire software design pattern

  • 3 Replies
  • 2766 Views
*

yotamarker

  • Trusty Member
  • **********
  • Millennium Man
  • *
  • 1003
  • battle programmer
    • 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
  • *
  • 1372
  • 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
  • **********
  • Millennium Man
  • *
  • 1003
  • battle programmer
    • 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
  • *
  • 1372
  • 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 »

 


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

409 Guests, 0 Users

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

Articles