d2jsp
Log InRegister
d2jsp Forums > Off-Topic > Computers & IT > Programming & Development > Chat Ai
Prev12347Next
Add Reply New Topic New Poll
Member
Posts: 13,425
Joined: Sep 29 2007
Gold: 0.00
Warn: 20%
Mar 15 2016 07:12pm
Quote (carteblanche @ Mar 15 2016 08:57pm)
if i was a real developer who knew anything, i wouldn't be trolling gaming forums.

and i didnt follow you when you suggested dynamically creating tables. can't you just have three columns? input, word, nextword. it's a very linked-list kind of structure though


Each input needs to be attached to multiple linked lists if you think of it like that.

Code
input => [["this", "is", "a", "text"], ["woah", "another", "test"]]


Table would look something like

Code
Table Inputs (question Text, Linked_Lists as Text)
Table Linked_List_For_Answer1(start_word as Integer, word as Text, next_word as Text)


Data for an Input would be something like

Code
>select linked_lists from Inputs where question like "Hello %";
"Linked_List_For_Answer1"

>select word, next_word from Linked_List_For_Answer1 where start_word = 1 order by random();
"This", "is"

>select word, next_word from Linked_List_For_Answer1 where word = "is" order by random();
"is", "a"


Basically for each unique question input there needs to be a way to segregate multiple linked lists that belong to that input.

I could potentially add a input column and match something like

Code
select word, next_word from inputs where input = "Hello %"...


But multiple unique tables for each input seems like a better way to organize it.
Member
Posts: 62,215
Joined: Jun 3 2007
Gold: 9,039.20
Mar 15 2016 09:46pm
i believe in you
Member
Posts: 14,631
Joined: Sep 14 2006
Gold: 575.56
Mar 16 2016 05:17am
Quote (carteblanche @ Mar 15 2016 06:57pm)
if i was a real developer who knew anything, i wouldn't be trolling gaming forums.

and i didnt follow you when you suggested dynamically creating tables. can't you just have three columns? input, word, nextword. it's a very linked-list kind of structure though


it's not gonna work there are at least 4 logic problems that he doesnt know how to deal with
and he doesn't know sql to know why

This post was edited by Ideophobe on Mar 16 2016 05:34am
Member
Posts: 13,425
Joined: Sep 29 2007
Gold: 0.00
Warn: 20%
Mar 16 2016 06:41am
Quote (Ideophobe @ Mar 16 2016 07:17am)
it's not gonna work there are at least 4 logic problems that he doesnt know how to deal with
and he doesn't know sql to know why


Then explain them. Where are these so called problems so I can fix them before I implement this. If you're talking about the pseudo SQL statements, of course they won't work. They are there to get the point across.

I have a working sql based first, second, and third order Markov chain implemtation already and I don't see any problems with bow this new setup is organized.

Sounds like you're talking just to be heard and have no real idea of what anything in this topic actually means.

This post was edited by AbDuCt on Mar 16 2016 06:42am
Member
Posts: 161,550
Joined: Oct 18 2006
Gold: 4.03
Warn: 20%
Mar 16 2016 06:47am
no I will not help you make your virtual wife..
Member
Posts: 13,425
Joined: Sep 29 2007
Gold: 0.00
Warn: 20%
Mar 16 2016 06:48am
Quote (GRATS @ Mar 16 2016 08:47am)
no I will not help you make your virtual wife..


Thanks bae.
Member
Posts: 161,550
Joined: Oct 18 2006
Gold: 4.03
Warn: 20%
Mar 16 2016 06:52am
Quote (AbDuCt @ Mar 16 2016 05:48am)
Thanks bae.


np
I'm baking cookies
Member
Posts: 13,425
Joined: Sep 29 2007
Gold: 0.00
Warn: 20%
Mar 16 2016 07:07am
Quote (GRATS @ Mar 16 2016 08:52am)
np
I'm baking cookies


Can satoko and I have some. PS satoko is my ai girlfriend.
Member
Posts: 161,550
Joined: Oct 18 2006
Gold: 4.03
Warn: 20%
Mar 16 2016 07:25am
Quote (AbDuCt @ Mar 16 2016 06:07am)
Can satoko and I have some. PS satoko is my ai girlfriend.


yes but I put brownie mix in the cookies too :3
Member
Posts: 14,631
Joined: Sep 14 2006
Gold: 575.56
Mar 16 2016 07:33am
Quote (AbDuCt @ Mar 16 2016 06:41am)
Then explain them. Where are these so called problems so I can fix them before I implement this. If you're talking about the pseudo SQL statements, of course they won't work. They are there to get the point across.

I have a working sql based first, second, and third order Markov chain implemtation already and I don't see any problems with bow this new setup is organized.

Sounds like you're talking just to be heard and have no real idea of what anything in this topic actually means.


noone here knows what you are working with, if you would post something that actually worked instead of a bunch of pseudocode with nasty selects relating fields to entities, using aliases as datatype definitions and selecting fields that dont exist maybe you could show how this system could ever possibly work
Go Back To Programming & Development Topic List
Prev12347Next
Add Reply New Topic New Poll