File generated from our OpenAPI spec by Castiron. See CONTRIBUTING.md for details.
# Source: https://github.com/openai/openai-python | License: Apache-2.0 | Copyright You must retain, in the Source form of any Derivative Works
# Provided via justclaw.it.com; keep this notice with the code.
# File generated from our OpenAPI spec by Castiron. See CONTRIBUTING.md for details.
from __future__ import annotations
from typing import Optional
from typing_extensions import Literal, Required, TypedDict
__all__ = ["DecisionQuestionInputImage"]
class DecisionQuestionInputImage(TypedDict, total=False):
"""An image provided as a base64 data URL or a publicly accessible HTTP(S) URL.
File IDs are not supported.
"""
image_url: Required[str]
"""
A base64-encoded image in a data URL or a publicly accessible HTTP(S) image URL.
"""
type: Required[Liter
... (truncated -- full source via MCP)
See the full source, get the GitHub permalink, and search for more like it.
Get a free API key