googleapis / googleapis/python-aiplatform

fps option is missing in VideoMetadata

Offen
#6,073 0 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
api: vertex-ai
Vorherrschende Sprache
Python
Sterne
905
Forks
465
Ø Merge
1 T. 13 Std.
Gemergte PRs (30 T.)
44

Beschreibung

FPS option is missed in `class VideoMetadata(proto.Message)` in types/content.py

It should exist according to both docs (v1 and v1beta1):
https://cloud.google.com/vertex-ai/generative-ai/docs/reference/rest/v1/Content
https://cloud.google.com/vertex-ai/generative-ai/docs/reference/rest/v1beta1/Content

And also is existent in VideoMetadata in `content.proto`:
https://github.com/googleapis/googleapis/blob/97763d6efb2d35474e0363c254ee6994837a08fa/google/ai/generativelanguage/v1/content.proto#L107
as:
```
message VideoMetadata {
// Optional. The start offset of the video.
google.protobuf.Duration start_offset = 1
[(google.api.field_behavior) = OPTIONAL];

// Optional. The end offset of the video.
google.protobuf.Duration end_offset = 2
[(google.api.field_behavior) = OPTIONAL];

// Optional. The frame rate of the video sent to the model. If not specified,
// the default value will be 1.0. The fps range is (0.0, 24.0].
double fps = 3 [(google.api.field_behavior) = OPTIONAL];
}
```

Beitragsleitfaden

Beitragsleitfaden öffnen

Bewertung

Dieses Issue wurde noch nicht bewertet.

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.