We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 440b38d commit 016c79aCopy full SHA for 016c79a
backend/src/gemini_llm.py
@@ -297,6 +297,10 @@ def get_graph_from_Gemini(model_version,
297
location = "us-central1"
298
#project_id = "llm-experiments-387609"
299
credentials, project_id = google.auth.default()
300
+ if hasattr(credentials, "service_account_email"):
301
+ logging.info(credentials.service_account_email)
302
+ else:
303
+ logging.info("WARNING: no service account credential. User account credential?")
304
vertexai.init(project=project_id, location=location)
305
306
# combined_chunk_document_list=[]
0 commit comments