Closed francis closed 1 year ago
That would be fine for Active Record.
I am also trying to keep things running from just Ruby without Active Record. I think this should be possible to follow how you build the current vector store. Does that seem possible to you?
https://github.com/pgvector/pgvector-ruby would be the gem to focus for that case in my opinion.
adding cube and vector types was not straight forward and then i postponed to continue for rom-sql
Ok @jaigouk let me know if I can help in some way.
I will start looking into this in this weekend
https://github.com/BoxcarsAI/boxcars/pull/80 is ready for review
I guess https://github.com/ankane/neighbor is the fastest way to add pgvector to activerecord
I was not able to find a compatible gem for rom.rb so I created https://github.com/jaigouk/rom-neighbor but it is more like a place holder as of now.