Datatype class for storing vector content, such as embeddings, in the native $vector format. More...
Static Public Member Functions | |
_.Library.Vector | DisplayToLogical (_, _.Library.String val) |
DisplayToLogical - If this is passed a dynamic array e.g. More... | |
![]() | |
_.Library.Status | IsValid (_, _.Library.RawString val) |
Return $$$OK if the value is valid for the datatype, or an error code otherwise. | |
Static Public Attributes | |
DATATYPE = None | |
Datatype class for storing vector content, such as embeddings, in the native $vector format. More... | |
LEN = None | |
The number of elements the vector can contain. | |
![]() | |
INDEXNULLMARKER = None | |
Override this parameter value to specify what value should be used as a null marker when a property of the type is used in a subscript of an index map. More... | |
Datatype class for storing vector content, such as embeddings, in the native $vector format.
See also the TO_VECTOR() SQL function to convert user input to the VECTOR datatype
|
static |
DisplayToLogical - If this is passed a dynamic array e.g.
'Set dynArray=[1,2,3,4]' then detect this with $isobject(val) and then if it is an oref then test if it is a dynamic array and if so then walk this turning it into a vector so we can support JSON and dynamic arrays.
|
static |
Datatype class for storing vector content, such as embeddings, in the native $vector format.
See also the TO_VECTOR() SQL function to convert user input to the VECTOR datatype
The default type value used for this data type of vector.