Support pgvector 'vector' type #2379

Open
opened 2023-12-19 04:33:31 +00:00 by b-giggles · 2 comments

xorm should support the pgvector plugin, which establishes the vector type.

The vector type is introduced by the pgvector plugin to allow for efficient storage and retrieval of embedding vectors, which are frequently used in machine learning. In databases, vectors are most commonly used for nearest neighbors search, for which specialized algorithms exist. One example is hierarchical navigable small world (hnsw), which is also implemented in the extension.

Xorm's struct tagging system does not currently support the vector type, but the type is becoming heavily used in modern AI application stacks, especially retrieval augmented generation (RAG).

xorm should support the pgvector plugin, which establishes the `vector` type. The vector type is introduced by the pgvector plugin to allow for efficient storage and retrieval of embedding vectors, which are frequently used in machine learning. In databases, vectors are most commonly used for nearest neighbors search, for which specialized algorithms exist. One example is hierarchical navigable small world (hnsw), which is also implemented in the extension. Xorm's struct tagging system does not currently support the vector type, but the type is becoming heavily used in modern AI application stacks, especially retrieval augmented generation (RAG).
Owner

Can you give more details?

Can you give more details?
Author

Updated!

Updated!
lunny added the
kind
feature
label 2023-12-31 06:07:42 +00:00
Sign in to join this conversation.
No Milestone
No Assignees
2 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: xorm/xorm#2379
No description provided.