Custom Space
Classes
CustomSpace(vector: superlinked.framework.common.schema.schema_object.FloatList | list[superlinked.framework.common.schema.schema_object.FloatList], length: int, description: str | None = None)
: CustomSpace is the instrument of ingesting your own vectors into Superlinked. This way you can use your own vectors right away. What you need to know: (you can use numbering too) - vectors need to have the same length - vectors will be L2Norm normalized to ensure weighting makes sense - weighting can be performed (query-time) - you are going to need an FloatList typed SchemaField to supply your data - the FloatList field will be able to parse any Sequence[float | int]
Last updated