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

VertexAI RAG Engine does not work in Europe

LJF00
New Member

Hi,

I am experimenting with Google's RAGEngine.

According to the docs it should be possible to use the RagEngine in europe-west3: https://cloud.google.com/vertex-ai/generative-ai/docs/rag-engine/rag-overview#supported-regions 

I am indeed able to create a corpus which also shows in the GCP UI in the Rag Engine View: https://console.cloud.google.com/vertex-ai/rag/corpus

 

Whenever I am trying to upload a document to the Rag Corpus though I am experiencing the following issue: ("RagCorpus '%s' is not found: %s", 'projects/[our_project]/locations/europe-west3/ragCorpora/[rag_id]', 'https://europe-west3-aiplatform.googleapis.com/upload/v1beta1/projects/[our_project]/locations/europ...')

When I use us-central1 instead everything works like a charme.

In addition I am not able to specify the embedding model that I wanna use for my RagCorpus. I am following the example from the official documentation: https://cloud.google.com/vertex-ai/generative-ai/docs/rag-engine/rag-quickstart 

In fact the embedding model always defaults to text-embedding-005, so setting:

embedding_model_config = rag.RagEmbeddingModelConfig(
    vertex_prediction_endpoint=rag.VertexPredictionEndpoint(
        publisher_model="publishers/google/models/[some-other-embedding-model]"
    )
)

is not changing the RAGs embedding model as of now whats quite contraintuitive and contradicts the python quickstart guide.

I am not the only one experiencing these issues ( https://www.googlecloudcommunity.com/gc/AI-ML/API-Vertex-AI-RAG-Engine-Upload-file-in-corpus-failed/... ) but chose to create a new thread as it might get more attention and since in the previous thread the issue with setting specific embeddings has not been described yet.

Thanks for helping me out

Lars

0 0 20
0 REPLIES 0