struct

AI::Google::Tools::VertexRagStore

Inherits Struct < Value < Object

Vertex RAG Store tool.

Enables the model to perform RAG searches against a Vertex RAG Store. Only works with Vertex Gemini models.

Constants

ID = "google.vertex_rag_store"
NAME = "vertex_rag_store"

Constructors

new(rag_corpus : String, top_k : Int32 | Nil = nil)
Source

Instance methods

args
Source
name
Source
rag_corpus

RagCorpus resource name. Example: "projects/{project}/locations/{location}/ragCorpora/{rag_corpus}"

Source
top_k

Number of top contexts to retrieve.

Source
type
Source