Skip to content

Local Vector Store

<dependency>
<groupId>com.google.genkit</groupId>
<artifactId>genkit-plugin-localvec</artifactId>
<version>1.0.0-SNAPSHOT</version>
</dependency>

The local vector store is ideal for development and testing. It stores vectors in local files.

import com.google.genkit.plugins.localvec.LocalVecPlugin;
Genkit genkit = Genkit.builder()
.plugin(LocalVecPlugin.create())
.build();
  • Local development and prototyping
  • Unit testing RAG pipelines
  • Quick experiments without external dependencies

For production, use Weaviate, PostgreSQL, Pinecone, or Firebase Firestore.

See the rag sample.