Custom Word Embeddings with Neo4j

Hi, I would like to know if a custom embedding model can be used with Neo4j instead of open ai's embedding model ?

Yes. But you have to generate the text embedding yourself. So process would be like:

  1. Fetch identifier and text from db
  2. Generate embeddings
  3. Write embeddings back to database

I think you will be able to find several code examples to follow along in GitHub - neo4j-product-examples/genai-workshop: Generative AI Deep Dive Workshops

1 Like