Skip to content
Discussion options

You must be logged in to vote

Hey @matthiasautrata. Thanks for these excellent questions and reminding me to look into cozo. Regarding the "meaning gap" between discrete symbolic links and continuous semantic proximity my current approach is:

Query Interface

Both forms work, and they serve different purposes:

;; Predicate: filters existing bindings by proximity
[(proximal? ?e1 ?e2 0.3)]

;; Function: generates new bindings from vector search
[(nearest ?vec 10) [[?neighbor ?distance]]]

In Datahike's Datalog, the function form is more general because it integrates with the standard :where binding pattern. The predicate form is useful when you already have entity bindings and want to filter by semantic distance.

Hyper-Re…

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by matthiasautrata
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants