Skip to content

FrameSettings

Source code in docs_src/capo_elementalinference/types/frame_settings.py
class FrameSettings(TypedDict, closed=True):
    frame_sampling: (
        "capo_elementalinference.types.frame_sampling_strategy.FrameSamplingStrategy"
    )
    """<p>The method for choosing which frames to send.</p>"""
    frame_size: NotRequired["capo_elementalinference.types.frame_size.FrameSize"]
    """<p>The size to resize each frame to. If you omit this structure, frames keep their source size. Smaller frames reduce the size of the model request. </p>"""

frame_sampling instance-attribute

frame_sampling: FrameSamplingStrategy

The method for choosing which frames to send.

frame_size instance-attribute

frame_size: NotRequired[FrameSize]

The size to resize each frame to. If you omit this structure, frames keep their source size. Smaller frames reduce the size of the model request.