chobitv2 personality upgrade

  • 1 Replies
  • 1387 Views
*

yotamarker

  • Trusty Member
  • **********
  • Millennium Man
  • *
  • 1003
  • battle programmer
    • battle programming
chobitv2 personality upgrade
« on: March 07, 2021, 12:25:02 am »
I am a lazy coder
which is why I really like the concept of one line of code to add a skill to the waifubot AGI.
but I understand I was not lazy enough.
indeed this is the most efficient way to code, and it offers customization, flexability and speed but
overall a waifubot has several skills in total, one could find himself writing 9 maybe even 20 lines of code
to fully load a bots personality.

what more I was thinking about gaming. some games would require many different AIs with different personality.

so, I beefed up the my waifubots c'tor !
1 line of code to add an entire personality(skill set) of the coders choice. you can not get lazier than that.
that's like chew my food lazy.

this class is used in the ChobitV2 c'tor.
it enables loading a complete skill set (a sub class of the personality class)
using 1 line of code. of course you can also select specific skills to add from
the subclasses c'tor. see also Personality1 for example.

https://www.yotamarker.com/t356-chobitv2-personality-upgrade#988

so
chii = ChobitV2(Personality1(SharedPrefDB(this))) //this initializes a chobit only 1 line of code to add the whole skill set (personality and abilities)
chii!!.loadPersonality(Personality1(SharedPrefDB(this)))//reloading a different personality. here it's also personality1 cause I only wrote 1 such class ATM

*

MagnusWootton

  • Replicant
  • ********
  • 634
Re: chobitv2 personality upgrade
« Reply #1 on: March 07, 2021, 07:14:11 am »
1 liners are cool.

https://softwareengineering.stackexchange.com/questions/17355/what-are-some-famous-one-liner-or-two-liner-programs-and-equations/17359

Alot of mathematics is 1 liner equations too,  very powerful ones. 
I think quantum mathematics is the same,  but I cant seem to see anything useful anywhere except what seems like nonsense to me.

 


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

310 Guests, 1 User
Users active in past 15 minutes:
HS
[Trusty Member]

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

Articles