vertex ai openai-compatible api #4155
Replies: 1 comment 2 replies
-
This is what I would do (this would also make for a better caching experience IMO):
3a. (for Vertex AI) e.g. use 3b. (for GPT-4, GPT-3.5, etc) Using the S3 API (which GCS supports), generate a presigned URL of it as the This would allow the uploading of files to be united across different providers, since we would be always using the S3 API for uploading files. It would only differ at the end. |
Beta Was this translation helpful? Give feedback.
-
Just looked at the vertex ai openai compatible api - https://cloud.google.com/vertex-ai/generative-ai/docs/multimodal/call-gemini-using-openai-library
Realized they only let you pass images in the 'image_url' param.
LiteLLM supports passing pdf/video/etc. through this to gemini, so this would be a regression for us to support.
Leaving this discussion open, in case things change
Beta Was this translation helpful? Give feedback.
All reactions