You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@hop.apache.org by po...@gmx.com on 2024/01/16 20:13:40 UTC
Load data into Neo4j [Neo4J Output]
Hello Dear Hop Creators!
I'm trying to load data into Neo4j db. All works great except vector search
properties; embeddings.
In Neo4j syntax we use:
CREATE (Product1:Product {id: 10, name:'Some name', description:'Some product
desc', embedding: [-1.00518711e-01, ...,-2.13430752e-03]})
'Embedding' property is created as Array.
Problem is that with 'Neo4J Output' hop I cannot define this type of data
('Property type' in 'To node' tab).
If I send it as text it will be not searchable.
Any idea how to create nodes with right properties?
Best!
Re: Load data into Neo4j [Neo4J Output]
Posted by Bart Maertens <ba...@apache.org>.
If writing the property as String doesn't work, I guess we'll have to work
something out.
Please create a feature request ticket [1] and we'll look into it.
[1] https://github.com/apache/hop/issues
Regards,
Bart
On Tue, Jan 16, 2024 at 9:13 PM <po...@gmx.com> wrote:
>
> Hello Dear Hop Creators!
>
> I'm trying to load data into Neo4j db. All works great except vector
> search properties; embeddings.
>
> In Neo4j syntax we use:
> CREATE (Product1:Product {id: 10, name:'Some name', description:'Some
> product desc', embedding: [-1.00518711e-01, ...,-2.13430752e-03]})
>
> 'Embedding' property is created as Array.
> Problem is that with 'Neo4J Output' hop I cannot define this type of data
> ('Property type' in 'To node' tab).
> If I send it as text it will be not searchable.
>
> Any idea how to create nodes with right properties?
>
>
> Best!
>