Class VideoEmbedding (1.59.0)

VideoEmbedding(
    start_offset_sec: int, end_offset_sec: int, embedding: typing.List[float]
)

Embeddings generated from video with offset times.

Methods

VideoEmbedding

VideoEmbedding(
    start_offset_sec: int, end_offset_sec: int, embedding: typing.List[float]
)

Creates a VideoEmbedding object.

Parameters
Name Description
start_offset_sec int

Start time offset (in seconds) of generated embeddings.

end_offset_sec int

End time offset (in seconds) of generated embeddings.

embedding typing.List[float]

Generated embedding for interval.