VertexRagStore
data class VertexRagStore(val ragCorpora: List<String>? = null, val ragResources: List<VertexRagStoreRagResource>? = null, val similarityTopK: Int? = null, val vectorDistanceThreshold: Double? = null)
Retrieve from a Vertex RAG store for grounding.
Properties
Link copied to clipboard
Deprecated. Use ragResources instead. RagCorpora resource names.
Link copied to clipboard
The RAG sources to retrieve from (one corpus, or files from one corpus).
Link copied to clipboard
Number of top k results to return from the selected corpora.
Link copied to clipboard
Only return results with a vector distance below the threshold.