generative-ai-python icon indicating copy to clipboard operation
generative-ai-python copied to clipboard

I can't upload file with a credential

Open Gekko0114 opened this issue 6 months ago • 6 comments

Description of the bug:

I can't run the method upload_file with a google cloud credential. I would like to upload file using json key. However, I can't upload file with that credential. To upload file, I need API Key for google cloud.

Actual vs expected behavior:

I am not sure this behavior is intentional or not, but I prefer uploading file with a credential instead of API key.

Any other information you'd like to share?

If this is just a bug, I can contribute to fix it.

Gekko0114 avatar Aug 17 '24 12:08 Gekko0114