googleapis / googleapis/nodejs-agentplatform
Support `fileUri`s to contain HTTP URLs & YouTube urls
Open
api: aiplatform
priority: p3
type: feature request
- Dominant language
- TypeScript
- Stars
- 182
- Forks
- 69
- Avg merge
- 1d 8h
- Merged PRs (30d)
- 10
Description
YouTube & HTTP URLs are supported according to the vertex-ai api: https://cloud.google.com/vertex-ai/generative-ai/docs/model-reference/inference
But this package does some processing which only allows GCS URIs:
```
URIError: Found invalid Google Cloud Storage URI https://youtube.com/watch?v=dQw4w9WgXcQ, Google Cloud Storage URIs must start with gs://
```
https://github.com/googleapis/nodejs-vertexai/blob/main/src/functions/pre_fetch_processing.ts#L53
Contributor guide
Assessment
This issue has not been assessed yet.