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.

Constructors

Link copied to clipboard
constructor(ragCorpora: List<String>? = null, ragResources: List<VertexRagStoreRagResource>? = null, similarityTopK: Int? = null, vectorDistanceThreshold: Double? = null)

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.