opennars / OpenNARS-for-Applications

General reasoning component for applications based on NARS theory.
https://cis.temple.edu/~pwang/NARS-Intro.html
MIT License
89 stars 39 forks source link

TODO *query functionality #256

Closed patham9 closed 1 year ago

patham9 commented 1 year ago

Allow query truth_exp_threshold term to query for all answers above the truth expectation threshold. This could allow to do queries such as: query 0.6 <{?1} --> [left]>? :|: "List all the instance which are currently known to be on the left side with truth expectation > 0.6".

This is different to input question <{?1} --> [left]>? :|: which gives the most certain answer only with the most certain instance.

patham9 commented 1 year ago

implemented https://github.com/opennars/OpenNARS-for-Applications/commit/da8cf53ebf3a8df351c540a15430c7c61f600041

MinaGabriel commented 1 year ago

this feature is an essential addition, I am testing it now

patham9 commented 1 year ago

Please let me know how it goes! :) Else I will reopen the issue & fix.