neo4j-labs/genkitx-neo4j ? reverse-engineered prompt

Reverse engineered prompt

Build me a TypeScript plugin for Genkit that connects to Neo4j and lets me store and search embedded documents with vector indexing and retrieval.

I want to be able to configure a Neo4j connection with environment variables for the URI, username, and password, then register one or more indexes by name with an embedder. After that, I should be able to create an indexer ref and pass documents into Genkit to save them, and create a retriever ref to query the same data back with a natural language search.

Please make the usage feel simple and match the Genkit style, with a clean plugin function plus helpers for indexers and retrievers. It should work like a normal npm package I can install and import in a Genkit app. If you need to check current Genkit or Neo4j docs while wiring it up, feel free to look them up online.

Are you gonna build this?

make sure you review the code using arcumet

Try freeSponsored — opens Arcumet in a new tab