Class LocalVecConfig

java.lang.Object
com.google.genkit.plugins.localvec.LocalVecConfig

public class LocalVecConfig extends Object
Configuration for a local vector store.
  • Method Details

    • builder

      public static LocalVecConfig.Builder builder()
      Creates a new builder.
      Returns:
      a new builder
    • getIndexName

      public String getIndexName()
      Gets the index name.
      Returns:
      the index name
    • getEmbedder

      public Embedder getEmbedder()
      Gets the embedder.
      Returns:
      the embedder
    • getEmbedderName

      public String getEmbedderName()
      Gets the embedder name for deferred resolution.
      Returns:
      the embedder name, or null if embedder was set directly
    • getDirectory

      public Path getDirectory()
      Gets the directory where data is stored.
      Returns:
      the directory path
    • getEmbedderOptions

      public Object getEmbedderOptions()
      Gets the embedder options.
      Returns:
      the embedder options, or null
    • getFilename

      public String getFilename()
      Gets the filename for this index.
      Returns:
      the filename
    • getFilePath

      public Path getFilePath()
      Gets the full path to the data file.
      Returns:
      the full file path