This website uses Cookies. Click Accept to agree to our website's cookie use as described in our Privacy Policy. Click Preferences to customize your cookie settings.
Hey! You can now count tokens locally with the Vertex AI SDK for Python
(starting with version 1.57.0). Check out this Medium article for
details: Counting Gemini text tokens locally.
Hi Kervin, Is the csv file dynamically uploaded or part of your source
code? If you deploy it with your source code, the containing folder may
be read-only (TODO: find reference). Can you check the log and share the
error message you're getting? Note...
Hi,You can return a standard HTTP response and specify your image mime
type. The framework you use should let you do it idiomatically. Here is
an example in
Python:https://codelabs.developers.google.com/codelabs/cloud-functions-python-http#5
Hi, Could it be due to the file folder location? With Cloud Functions
and App Engine, you can only write files under the in-memory temporary
("/tmp") filesystem. May using os.tmpdir() - or equivalent, I'm not a
Node.js dev - as the root folder solve ...