pgvector
extension, Neon provides a vector store that can be used with LangChain.js to store and query embeddings.
neondb
that you can use to store embeddings. Navigate to
the Connection Details section to find your database connection string. It should look similar to this:
@neondatabase/serverless
package which provides a JavaScript/TypeScript
driver to connect to the database.
NeonPostgres
vectorstore, you need to provide your Neon database connection string. You can use the connection string
we fetched above directly, or store it as an environment variable and use it in your code.