Skip to content

[MEDI] Clear up the key type in VectorStoreWriter #6973

@roji

Description

@roji

VectorStoreWriter currently has a random GUID generated chunk ID that's stored as a string in the database; Qdrant has a special hack to make it use GUID types, as it doesn't support string keys.

In general, wherever possible, using Guid rather than string should always be preferred; databases typically store Guids in a compact, efficient way, and allow efficient indexing over them.

One approach (probably the better one) is to simply ensure all MEVD providers support Guids - storing them as strings where not natively supported #12182; this would free the MEDI layer from having to deal about this.

We should clear this up before GA. Aside from the problematic hard-coded exception for Qdrant, changing the column type from string to GUID would be a pretty impactful breaking change later.

Metadata

Metadata

Assignees

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions