Skip to content

Commit

Permalink
Merge pull request trueagi-io#551 from CICS-Oleg/main
Browse files Browse the repository at this point in the history
Fix for dasgate.py to work with das-query-engine v0.3.16
  • Loading branch information
Necr0x0Der authored Jan 29, 2024
2 parents 598a051 + 6a3eab6 commit 66e81e0
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
3 changes: 2 additions & 1 deletion python/sandbox/das_gate/dasgate.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,8 @@


from hyperon_das import DistributedAtomSpace
from hyperon_das.utils import QueryOutputFormat
# from hyperon_das.utils import QueryOutputFormat
from hyperon_das.constants import QueryOutputFormat
import time

from hyperon_das.pattern_matcher import (
Expand Down
4 changes: 2 additions & 2 deletions python/sandbox/das_gate/test_das.metta
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
!(extend-py! dasgate)

;!(bind! &das (new-das))
!(bind! &das (new-remote-das (Error "Put your IP here" ()) 8081))
!(bind! &das (new-das))
;!(bind! &das (new-remote-das (Error "Put your IP here" ()) 8081))

!(add-atom &das (Test (Test 2)))
!(add-atom &das (Best (Test 2)))
Expand Down

0 comments on commit 66e81e0

Please sign in to comment.