From 0bdb17eca86398ef34aaff20b1d7fea0662d0d09 Mon Sep 17 00:00:00 2001 From: Krrish Dholakia Date: Thu, 19 Sep 2024 14:47:52 -0700 Subject: [PATCH] docs(vertex.md): fix example with GOOGLE_APPLICATION_CREDENTIALS --- docs/my-website/docs/providers/vertex.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/docs/my-website/docs/providers/vertex.md b/docs/my-website/docs/providers/vertex.md index baa5e3623bf..8e48780b0fa 100644 --- a/docs/my-website/docs/providers/vertex.md +++ b/docs/my-website/docs/providers/vertex.md @@ -2129,6 +2129,9 @@ Here's the code for storing your service account credentials as `GOOGLE_APPLICAT ```python +import os +import tempfile + def load_vertex_ai_credentials(): # Define the path to the vertex_key.json file print("loading vertex ai credentials")