How to create vector for node property using LLM?

I install the latest 5.16 community version. It has a Movie graph with a tagline text property for each movie. How can I add an embedding vector property through openai api for tagline property? I don't find documentation on that.

Thank you for pointers.

Hi.
If you have only one property in one node, you can use a function called
genai.vector.encode
If you have several you can use a batch procedure that takes up to 2048 texts at once
genai.vector.encodeBatch

The documentation of this function and this procedure can be found here:

But if you want a simple tutorial I have done a blog post on how to use these here:

This is very helpful @christoffer.bergman