Get hands-on experience with 20+ free Google Cloud products and $300 in free credit for new customers.

RAG on GCP

HI Folks ,
I was looking for RAG implementation in GCP so where ,I come across  a small confusion i.e 

I found two possibilities
1: rag api
For rag api in gcp requires vertexai api ,
2: RAG implementaion on GCP
For rag flow using document ai ,google storage ,embeddings and generation models we need document ai api ,cloud storage api,vertexai api
in this case which is more feasible ,
if rag api fullfils all requirements in single vertexai api what is the use of rag flow
can anyone explain in better way and reasons for these approaches 
Thanks .
@

1 REPLY 1