Class RetrieverOptions
java.lang.Object
com.google.genkit.plugins.localvec.RetrieverOptions
Options for the local vector store retriever.
-
Constructor Summary
ConstructorsConstructorDescriptionDefault constructor.RetrieverOptions(int k) Creates options with specified k value. -
Method Summary
-
Constructor Details
-
RetrieverOptions
public RetrieverOptions()Default constructor. -
RetrieverOptions
public RetrieverOptions(int k) Creates options with specified k value.- Parameters:
k- the number of documents to retrieve
-
-
Method Details
-
getK
public int getK()Gets the number of documents to retrieve.- Returns:
- the k value
-
setK
public void setK(int k) Sets the number of documents to retrieve.- Parameters:
k- the k value
-