#Creating Float Array Field for Text Embedding

6 messages · Page 1 of 1 (latest)

pliant vortexBOT
#

Hi guys, does anyone know how to create a field with float[]. so that it is just an array and not an array with value and key. I would like to create a text embedding for my product in the database but I do not have the option to create a Float[] field to save vectors. Anyone know how to solve this? Maybe without adding it to the collection, just in the beforeChange hook or something

true iglooBOT
#

Original message from @haughty ermine - Moved from #general message

dense sparrow
#

@haughty ermine you can use hasMany on the number field for that

haughty ermine
#

omg, thx ❤️