Hi, I am trying to get my Vertex AI Search app to answer questions via code, using the python code sample here:
https://cloud.google.com/generative-ai-app-builder/docs/samples/genappbuilder-answer-query
I use Google colab and I first authenticate with:
InvalidArgument: 400 Blended search support needs allowlisting. Please contact with Google support team.
If I try another app that does not have blended search (only uses 1 datastore) I get
InternalServerError: 500 Internal error encountered. Please try again. If the issue persists, please contact our support team.
Ideally I would like to solve the fist error but it seems first of all I have to deal with the second one . Any Ideas what the problems are?
Thanks
Hi @GiaZ,
Welcome to Google Cloud Community!
The error message "InvalidArgument: 400 Blended search support needs allowlisting" indicates that your app is attempting to use a feature that is not yet enabled on your project. To enable blended search functionality, your project will need to be allowlisted.
With this, you may contact your Google account team (if you have) or Google Cloud Support to request access to this feature.
Regarding the "InternalServerError: 500 Internal error encountered" message, as noted in the documentation, these errors are typically temporary. Please try resubmitting your request, which may resolve the issue. If the problem persists, you can reach out to the support team or open a new thread on the issue tracker describing your issue.
I hope the above information is helpful.
Hi @paulynann,
The 500 Internal error encountered was due to trying to use gemini-1.5-flash-001/answer_gen/v2, while it works fine with gemini-1.5-flash-001/answer_gen/v1.
I can call an agent that doesn't have blended search and only uses one datastore. Otherwise, I still get the InvalidArgument: 400 Blended search support needs allowlisting. BUT I CAN USE IT WITHOUT PROBLEMS ON THE AGENT BUILDER PLATFORM. Why not via code?
What does it mean to get the project "allowlisted", and how can I make it so?
Thanks
User | Count |
---|---|
2 | |
2 | |
1 | |
1 | |
1 |