DQM
- 7 Devlogs
- 8 Total hours
Deterministic Query Model (aka DQM) is a trie-based lookup engine that connects to external “brain” files for info. This project was built using Python.
Deterministic Query Model (aka DQM) is a trie-based lookup engine that connects to external “brain” files for info. This project was built using Python.
Hey people! I just wrote the README and now, I’m ready to ship. Wish me luck!
GUYS! I just added a web-demo using python, js, and html using vercel beta python runtime! please do check it out at https://dqm.cyberslayercorpz.dev/
guys, i just built a web page (html + css + tailwind) for DQM it’s still in localhost but I’m deploying it in a bit (be sure to visit “dqm.cyberslayercorpz.dev”!)
heyya! I just added more features and bug-fixes. wanna see? :D
Changelog (v2.1.0)
.tqm brainmain.tqm brainguys, i just fixed a few bugs now. wanna see what i did? :D
Changelog (v2.0.1):
nodes.py
random.choice() to pick onemain.tqm drastically (that was done in the last commit itself but i didn’t write a devlog lol)guys so i just added a punctuation system that translates “who’s” to “who is” and so on and added a few responses to every tree so if you say “hi” first time it’ll give you a response and the next time, it’ll give you another response by importing random. I have also made the “brain” (main.tqm) HUGE with a LOT of data (the brain was written by gemini so shout out flash 3.8!) and that’s it for now!
Sup folks! So this is the first devlog for this project. This is DQM otherwise known as Deterministic Query Model. So basically this is an old technique where you split a prompt into words and compare against a tree file (.tqm but it’s just a json file lol) and goes thru. E.g. “who is max verstappen” goes thru “who” > “is” > “max” > “verstappen” then finds the answer inside and tells you it. This is all hardcoded and you can change the stuff inside these so-called “brains”. This project is made in python (i’m a newbie and i’m learning along the way) and I used google gemini to write all the “brains” because it’s way too much work for my “potato brain” lol. So python was really sweet and looking forward to adding more features. Cya!