Class VertexRagStore

  • All Implemented Interfaces:

    
    public abstract class VertexRagStore
    extends JsonSerializable
                        

    Retrieve from Vertex RAG Store for grounding. This data type is not supported in Gemini API.

    • Constructor Detail

      • VertexRagStore

        VertexRagStore()
    • Method Detail

      • ragResources

         abstract Optional<List<VertexRagStoreRagResource>> ragResources()

        Optional. The representation of the rag source. It can be used to specify corpus only or ragfiles. Currently only support one corpus or multiple files from one corpus. In the future we may open up multiple corpora support.

      • storeContext

         abstract Optional<Boolean> storeContext()

        Optional. Currently only supported for Gemini Multimodal Live API. In Gemini Multimodal Live API, if `store_context` bool is specified, Gemini will leverage it to automatically memorize the interactions between the client and Gemini, and retrieve context when needed to augment the response generation for users' ongoing and future interactions.