Repository navigation
General advice on using pgvector with marten #3429
|
Hi, I'm building an application that has a mix of storage: I have regular relational data/documents, and I have a piece data that uses pgvector types in postgres. I would love to use Marten for my application, but I figured I can't because I have a table using vector. From what I understand, I can use marten to store most of my data. But I need to drop down to SQL for the vector related stuff. Or is there another way? |
Replies: 4 comments
|
I searched around in the docs and maybe have a solution:
Still, I'm curious if this is something that could work. |
|
Currently, there is no native support for pgvector vector type and the operations surrounding it. So what you are doing to use advanced sql is the way to go for now. I will take a look on support of it and keep you posted. But it is not going to be too quick. |
|
I can live with the advanced sql option in this case. The scenario I'm working is rather niche I think. Most people would use a regular vector store. But I want the niceties of Marten. |
|
PgVector support is available now, https://martendb.io/postgres/pgvector.html |
PgVector support is available now, https://martendb.io/postgres/pgvector.html