Initializes a VertexAiRagMemoryService.
OptionalragCorpus: stringThe name of the Vertex AI RAG corpus to use. Format:
projects/{project}/locations/{location}/ragCorpora/{rag_corpus_id}
or {rag_corpus_id}
OptionalsimilarityTopK: numberThe number of contexts to retrieve.
Only returns contexts with vector distance smaller than the threshold.
Adds a session to the memory service
Searches for sessions that match the query using rag.retrieval_query
A memory service that uses Vertex AI RAG for storage and retrieval.