I attempted to define an object using defineObject that includes vectors, ie:
embeddings: {
displayName: 'Embeddings',
description: 'Embeddings',
type: {
type: 'vector',
vector: {
dimension: 1536,
supportsSearchWith: ['COSINE_SIMILARITY'],
},
} as any,
},
I didn’t get any TS errors with this definition so I assume it is correct. But I get a validation error saying unsupported type. I changed it to string and figure I have to manually fix this in the ontology manager. Is the type definition correct? If so can the OSDK be updated to support vector types?