Hi,

I am trying to store my custom embeddings in graph database as a property and the length of the vector is getting truncated to 500 length but my original embedding length is 512 vector.

Comments
Joel
Ninja
Ninja

How are you storing the vector (e.g. property data type?)

I want to store it as a array data type but i was not able to do it directly from csv as it is giving me string data type by default and the vector 512 are getting stored but the problem is mainly i have written like this [row[1], row[2],..... row[512]] but this becomes hectic. So how can add array of floats directly with writing manually array data type

Cobra
Ninja
Ninja

Hello @sravan.neeli267 and welcome to the Neo4j community

You cannot store an array as property in Neo4j, you will have to store it as a string if you want keep your array. Can we know the use case and why you decided to store these values as array?

Regards,
Cobra

I need to store embeddings of a string for NLP purpose like using universal sentence encoder

Version history
Last update:
‎09-08-2020 05:14 AM
Updated by:
Contributors