if (FALSE) {
# Issue a token using token.vertex() first
my_token <- token.vertex(
jsonkey = "your-service-account.json",
region = "us-central1",
model_id = "mistral-ocr-2505"
)
result <- gemini_garden(
token = my_token,
project_id = "your-project-id",
pdf_path = "sample.pdf"
)
print(result)
}
Run the code above in your browser using DataLab