Class LocalVecConfig
java.lang.Object
com.google.genkit.plugins.localvec.LocalVecConfig
Configuration for a local vector store.
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionstatic LocalVecConfig.Builderbuilder()Creates a new builder.Gets the directory where data is stored.Gets the embedder.Gets the embedder name for deferred resolution.Gets the embedder options.Gets the filename for this index.Gets the full path to the data file.Gets the index name.
-
Method Details
-
builder
Creates a new builder.- Returns:
- a new builder
-
getIndexName
Gets the index name.- Returns:
- the index name
-
getEmbedder
Gets the embedder.- Returns:
- the embedder
-
getEmbedderName
Gets the embedder name for deferred resolution.- Returns:
- the embedder name, or null if embedder was set directly
-
getDirectory
Gets the directory where data is stored.- Returns:
- the directory path
-
getEmbedderOptions
Gets the embedder options.- Returns:
- the embedder options, or null
-
getFilename
Gets the filename for this index.- Returns:
- the filename
-
getFilePath
Gets the full path to the data file.- Returns:
- the full file path
-