Class RagStoreConfig.Builder
java.lang.Object
com.google.genai.gaos.models.interactions.RagStoreConfig.Builder
- Enclosing class:
- RagStoreConfig
-
Method Summary
Modifier and TypeMethodDescriptionbuild()ragResources(List<RagResource> ragResources) Optional.ragRetrievalConfig(RagRetrievalConfig ragRetrievalConfig) Specifies the context retrieval config.similarityTopK(Integer similarityTopK) Deprecated.field: This will be removed in a future release, please migrate away from it as soon as possible.vectorDistanceThreshold(Double vectorDistanceThreshold) Deprecated.field: This will be removed in a future release, please migrate away from it as soon as possible.
-
Method Details
-
ragResources
Optional. The representation of the rag source. -
ragRetrievalConfig
Specifies the context retrieval config. -
similarityTopK
Deprecated.field: This will be removed in a future release, please migrate away from it as soon as possible.Optional. Number of top k results to return from the selected corpora. -
vectorDistanceThreshold
@Deprecated public RagStoreConfig.Builder vectorDistanceThreshold(@Nullable Double vectorDistanceThreshold) Deprecated.field: This will be removed in a future release, please migrate away from it as soon as possible.Optional. Only return results with vector distance smaller than the threshold. -
build
-