VertexRagStoreRagResource

@Serializable
data class VertexRagStoreRagResource(val ragCorpus: String? = null, val ragFileIds: List<String>? = null)

The definition of the Rag resource. This data type is not supported in Gemini API.

Constructors

Link copied to clipboard
constructor(ragCorpus: String? = null, ragFileIds: List<String>? = null)

Properties

Link copied to clipboard
val ragCorpus: String? = null

Optional. RagCorpora resource name. Format: projects/{project}/locations/{location}/ragCorpora/{rag_corpus}

Link copied to clipboard
val ragFileIds: List<String>? = null

Optional. rag_file_id. The files should be in the same rag_corpus set in rag_corpus field.