tonsky / datascript

Immutable database and Datalog query engine for Clojure, ClojureScript and JS
Eclipse Public License 1.0
5.45k stars 304 forks source link

do we have double vector type? #454

Closed usametov closed 1 year ago

usametov commented 1 year ago

Hi, Assuming that I want to add vector search capability to Datascript. How can I specify double array type in a schema? To clarify, I do not want a bunch of triples with double values, I just want one triple holding one value -- double array. Is it possible?

tonsky commented 1 year ago

You can just add vectors as values, this doesn’t need to be specified in schema

usametov commented 1 year ago

cool, thanks :)