repo stringlengths 7 90 | file_url stringlengths 81 315 | file_path stringlengths 4 228 | content stringlengths 0 32.8k | language stringclasses 1
value | license stringclasses 7
values | commit_sha stringlengths 40 40 | retrieved_at stringdate 2026-01-04 14:38:15 2026-01-05 02:33:18 | truncated bool 2
classes |
|---|---|---|---|---|---|---|---|---|
openai/openai-python | https://github.com/openai/openai-python/blob/d3e632171c7842abf97b26379f564531d80ad096/src/openai/types/batch_usage.py | src/openai/types/batch_usage.py | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
from .._models import BaseModel
__all__ = ["BatchUsage", "InputTokensDetails", "OutputTokensDetails"]
class InputTokensDetails(BaseModel):
"""A detailed breakdown of the input tokens."""
cached_tokens: int
"""The numb... | python | Apache-2.0 | d3e632171c7842abf97b26379f564531d80ad096 | 2026-01-04T14:43:29.641198Z | false |
openai/openai-python | https://github.com/openai/openai-python/blob/d3e632171c7842abf97b26379f564531d80ad096/src/openai/types/audio_model.py | src/openai/types/audio_model.py | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
from typing_extensions import Literal, TypeAlias
__all__ = ["AudioModel"]
AudioModel: TypeAlias = Literal[
"whisper-1",
"gpt-4o-transcribe",
"gpt-4o-mini-transcribe",
"gpt-4o-mini-transcribe-2025-12-15",
"gpt-4o... | python | Apache-2.0 | d3e632171c7842abf97b26379f564531d80ad096 | 2026-01-04T14:43:29.641198Z | false |
openai/openai-python | https://github.com/openai/openai-python/blob/d3e632171c7842abf97b26379f564531d80ad096/src/openai/types/container_retrieve_response.py | src/openai/types/container_retrieve_response.py | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
from typing import Optional
from typing_extensions import Literal
from .._models import BaseModel
__all__ = ["ContainerRetrieveResponse", "ExpiresAfter"]
class ExpiresAfter(BaseModel):
"""
The container will expire after ... | python | Apache-2.0 | d3e632171c7842abf97b26379f564531d80ad096 | 2026-01-04T14:43:29.641198Z | false |
openai/openai-python | https://github.com/openai/openai-python/blob/d3e632171c7842abf97b26379f564531d80ad096/src/openai/types/batch_error.py | src/openai/types/batch_error.py | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
from typing import Optional
from .._models import BaseModel
__all__ = ["BatchError"]
class BatchError(BaseModel):
code: Optional[str] = None
"""An error code identifying the error type."""
line: Optional[int] = None
... | python | Apache-2.0 | d3e632171c7842abf97b26379f564531d80ad096 | 2026-01-04T14:43:29.641198Z | false |
openai/openai-python | https://github.com/openai/openai-python/blob/d3e632171c7842abf97b26379f564531d80ad096/src/openai/types/chat/chat_completion_content_part_param.py | src/openai/types/chat/chat_completion_content_part_param.py | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
from __future__ import annotations
from typing import Union
from typing_extensions import Literal, Required, TypeAlias, TypedDict
from .chat_completion_content_part_text_param import ChatCompletionContentPartTextParam
from .chat_co... | python | Apache-2.0 | d3e632171c7842abf97b26379f564531d80ad096 | 2026-01-04T14:43:29.641198Z | false |
openai/openai-python | https://github.com/openai/openai-python/blob/d3e632171c7842abf97b26379f564531d80ad096/src/openai/types/chat/chat_completion_chunk.py | src/openai/types/chat/chat_completion_chunk.py | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
from typing import List, Optional
from typing_extensions import Literal
from ..._models import BaseModel
from ..completion_usage import CompletionUsage
from .chat_completion_token_logprob import ChatCompletionTokenLogprob
__all__ =... | python | Apache-2.0 | d3e632171c7842abf97b26379f564531d80ad096 | 2026-01-04T14:43:29.641198Z | false |
openai/openai-python | https://github.com/openai/openai-python/blob/d3e632171c7842abf97b26379f564531d80ad096/src/openai/types/chat/chat_completion_message_custom_tool_call.py | src/openai/types/chat/chat_completion_message_custom_tool_call.py | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
from typing_extensions import Literal
from ..._models import BaseModel
__all__ = ["ChatCompletionMessageCustomToolCall", "Custom"]
class Custom(BaseModel):
"""The custom tool that the model called."""
input: str
"""T... | python | Apache-2.0 | d3e632171c7842abf97b26379f564531d80ad096 | 2026-01-04T14:43:29.641198Z | false |
openai/openai-python | https://github.com/openai/openai-python/blob/d3e632171c7842abf97b26379f564531d80ad096/src/openai/types/chat/parsed_function_tool_call.py | src/openai/types/chat/parsed_function_tool_call.py | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
from typing import Optional
from .chat_completion_message_function_tool_call import Function, ChatCompletionMessageFunctionToolCall
__all__ = ["ParsedFunctionToolCall", "ParsedFunction"]
# we need to disable this check because we'... | python | Apache-2.0 | d3e632171c7842abf97b26379f564531d80ad096 | 2026-01-04T14:43:29.641198Z | false |
openai/openai-python | https://github.com/openai/openai-python/blob/d3e632171c7842abf97b26379f564531d80ad096/src/openai/types/chat/chat_completion_system_message_param.py | src/openai/types/chat/chat_completion_system_message_param.py | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
from __future__ import annotations
from typing import Union, Iterable
from typing_extensions import Literal, Required, TypedDict
from .chat_completion_content_part_text_param import ChatCompletionContentPartTextParam
__all__ = ["C... | python | Apache-2.0 | d3e632171c7842abf97b26379f564531d80ad096 | 2026-01-04T14:43:29.641198Z | false |
openai/openai-python | https://github.com/openai/openai-python/blob/d3e632171c7842abf97b26379f564531d80ad096/src/openai/types/chat/chat_completion_function_message_param.py | src/openai/types/chat/chat_completion_function_message_param.py | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
from __future__ import annotations
from typing import Optional
from typing_extensions import Literal, Required, TypedDict
__all__ = ["ChatCompletionFunctionMessageParam"]
class ChatCompletionFunctionMessageParam(TypedDict, total=... | python | Apache-2.0 | d3e632171c7842abf97b26379f564531d80ad096 | 2026-01-04T14:43:29.641198Z | false |
openai/openai-python | https://github.com/openai/openai-python/blob/d3e632171c7842abf97b26379f564531d80ad096/src/openai/types/chat/chat_completion_message_tool_call_param.py | src/openai/types/chat/chat_completion_message_tool_call_param.py | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
from __future__ import annotations
from typing_extensions import TypeAlias
from .chat_completion_message_function_tool_call_param import (
Function as Function,
ChatCompletionMessageFunctionToolCallParam,
)
__all__ = ["Cha... | python | Apache-2.0 | d3e632171c7842abf97b26379f564531d80ad096 | 2026-01-04T14:43:29.641198Z | false |
openai/openai-python | https://github.com/openai/openai-python/blob/d3e632171c7842abf97b26379f564531d80ad096/src/openai/types/chat/chat_completion_content_part_text_param.py | src/openai/types/chat/chat_completion_content_part_text_param.py | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
from __future__ import annotations
from typing_extensions import Literal, Required, TypedDict
__all__ = ["ChatCompletionContentPartTextParam"]
class ChatCompletionContentPartTextParam(TypedDict, total=False):
"""
Learn ab... | python | Apache-2.0 | d3e632171c7842abf97b26379f564531d80ad096 | 2026-01-04T14:43:29.641198Z | false |
openai/openai-python | https://github.com/openai/openai-python/blob/d3e632171c7842abf97b26379f564531d80ad096/src/openai/types/chat/completion_list_params.py | src/openai/types/chat/completion_list_params.py | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
from __future__ import annotations
from typing import Optional
from typing_extensions import Literal, TypedDict
from ..shared_params.metadata import Metadata
__all__ = ["CompletionListParams"]
class CompletionListParams(TypedDic... | python | Apache-2.0 | d3e632171c7842abf97b26379f564531d80ad096 | 2026-01-04T14:43:29.641198Z | false |
openai/openai-python | https://github.com/openai/openai-python/blob/d3e632171c7842abf97b26379f564531d80ad096/src/openai/types/chat/chat_completion_function_call_option_param.py | src/openai/types/chat/chat_completion_function_call_option_param.py | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
from __future__ import annotations
from typing_extensions import Required, TypedDict
__all__ = ["ChatCompletionFunctionCallOptionParam"]
class ChatCompletionFunctionCallOptionParam(TypedDict, total=False):
"""
Specifying ... | python | Apache-2.0 | d3e632171c7842abf97b26379f564531d80ad096 | 2026-01-04T14:43:29.641198Z | false |
openai/openai-python | https://github.com/openai/openai-python/blob/d3e632171c7842abf97b26379f564531d80ad096/src/openai/types/chat/chat_completion_role.py | src/openai/types/chat/chat_completion_role.py | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
from typing_extensions import Literal, TypeAlias
__all__ = ["ChatCompletionRole"]
ChatCompletionRole: TypeAlias = Literal["developer", "system", "user", "assistant", "tool", "function"]
| python | Apache-2.0 | d3e632171c7842abf97b26379f564531d80ad096 | 2026-01-04T14:43:29.641198Z | false |
openai/openai-python | https://github.com/openai/openai-python/blob/d3e632171c7842abf97b26379f564531d80ad096/src/openai/types/chat/chat_completion_reasoning_effort.py | src/openai/types/chat/chat_completion_reasoning_effort.py | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
from ..shared.reasoning_effort import ReasoningEffort
__all__ = ["ChatCompletionReasoningEffort"]
ChatCompletionReasoningEffort = ReasoningEffort
| python | Apache-2.0 | d3e632171c7842abf97b26379f564531d80ad096 | 2026-01-04T14:43:29.641198Z | false |
openai/openai-python | https://github.com/openai/openai-python/blob/d3e632171c7842abf97b26379f564531d80ad096/src/openai/types/chat/chat_completion_content_part_refusal_param.py | src/openai/types/chat/chat_completion_content_part_refusal_param.py | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
from __future__ import annotations
from typing_extensions import Literal, Required, TypedDict
__all__ = ["ChatCompletionContentPartRefusalParam"]
class ChatCompletionContentPartRefusalParam(TypedDict, total=False):
refusal: R... | python | Apache-2.0 | d3e632171c7842abf97b26379f564531d80ad096 | 2026-01-04T14:43:29.641198Z | false |
openai/openai-python | https://github.com/openai/openai-python/blob/d3e632171c7842abf97b26379f564531d80ad096/src/openai/types/chat/chat_completion_developer_message_param.py | src/openai/types/chat/chat_completion_developer_message_param.py | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
from __future__ import annotations
from typing import Union, Iterable
from typing_extensions import Literal, Required, TypedDict
from .chat_completion_content_part_text_param import ChatCompletionContentPartTextParam
__all__ = ["C... | python | Apache-2.0 | d3e632171c7842abf97b26379f564531d80ad096 | 2026-01-04T14:43:29.641198Z | false |
openai/openai-python | https://github.com/openai/openai-python/blob/d3e632171c7842abf97b26379f564531d80ad096/src/openai/types/chat/chat_completion_stream_options_param.py | src/openai/types/chat/chat_completion_stream_options_param.py | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
from __future__ import annotations
from typing_extensions import TypedDict
__all__ = ["ChatCompletionStreamOptionsParam"]
class ChatCompletionStreamOptionsParam(TypedDict, total=False):
"""Options for streaming response. Only... | python | Apache-2.0 | d3e632171c7842abf97b26379f564531d80ad096 | 2026-01-04T14:43:29.641198Z | false |
openai/openai-python | https://github.com/openai/openai-python/blob/d3e632171c7842abf97b26379f564531d80ad096/src/openai/types/chat/chat_completion_function_tool_param.py | src/openai/types/chat/chat_completion_function_tool_param.py | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
from __future__ import annotations
from typing_extensions import Literal, Required, TypedDict
from ..shared_params.function_definition import FunctionDefinition
__all__ = ["ChatCompletionFunctionToolParam"]
class ChatCompletionF... | python | Apache-2.0 | d3e632171c7842abf97b26379f564531d80ad096 | 2026-01-04T14:43:29.641198Z | false |
openai/openai-python | https://github.com/openai/openai-python/blob/d3e632171c7842abf97b26379f564531d80ad096/src/openai/types/chat/chat_completion_content_part_text.py | src/openai/types/chat/chat_completion_content_part_text.py | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
from typing_extensions import Literal
from ..._models import BaseModel
__all__ = ["ChatCompletionContentPartText"]
class ChatCompletionContentPartText(BaseModel):
"""
Learn about [text inputs](https://platform.openai.com/... | python | Apache-2.0 | d3e632171c7842abf97b26379f564531d80ad096 | 2026-01-04T14:43:29.641198Z | false |
openai/openai-python | https://github.com/openai/openai-python/blob/d3e632171c7842abf97b26379f564531d80ad096/src/openai/types/chat/chat_completion_allowed_tool_choice_param.py | src/openai/types/chat/chat_completion_allowed_tool_choice_param.py | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
from __future__ import annotations
from typing_extensions import Literal, Required, TypedDict
from .chat_completion_allowed_tools_param import ChatCompletionAllowedToolsParam
__all__ = ["ChatCompletionAllowedToolChoiceParam"]
cl... | python | Apache-2.0 | d3e632171c7842abf97b26379f564531d80ad096 | 2026-01-04T14:43:29.641198Z | false |
openai/openai-python | https://github.com/openai/openai-python/blob/d3e632171c7842abf97b26379f564531d80ad096/src/openai/types/chat/chat_completion_message_tool_call.py | src/openai/types/chat/chat_completion_message_tool_call.py | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
from typing import Union
from typing_extensions import Annotated, TypeAlias
from ..._utils import PropertyInfo
from .chat_completion_message_custom_tool_call import ChatCompletionMessageCustomToolCall
from .chat_completion_message_f... | python | Apache-2.0 | d3e632171c7842abf97b26379f564531d80ad096 | 2026-01-04T14:43:29.641198Z | false |
openai/openai-python | https://github.com/openai/openai-python/blob/d3e632171c7842abf97b26379f564531d80ad096/src/openai/types/chat/chat_completion_message_param.py | src/openai/types/chat/chat_completion_message_param.py | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
from __future__ import annotations
from typing import Union
from typing_extensions import TypeAlias
from .chat_completion_tool_message_param import ChatCompletionToolMessageParam
from .chat_completion_user_message_param import Chat... | python | Apache-2.0 | d3e632171c7842abf97b26379f564531d80ad096 | 2026-01-04T14:43:29.641198Z | false |
openai/openai-python | https://github.com/openai/openai-python/blob/d3e632171c7842abf97b26379f564531d80ad096/src/openai/types/chat/chat_completion_message_function_tool_call.py | src/openai/types/chat/chat_completion_message_function_tool_call.py | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
from typing_extensions import Literal
from ..._models import BaseModel
__all__ = ["ChatCompletionMessageFunctionToolCall", "Function"]
class Function(BaseModel):
"""The function that the model called."""
arguments: str
... | python | Apache-2.0 | d3e632171c7842abf97b26379f564531d80ad096 | 2026-01-04T14:43:29.641198Z | false |
openai/openai-python | https://github.com/openai/openai-python/blob/d3e632171c7842abf97b26379f564531d80ad096/src/openai/types/chat/chat_completion_content_part_image_param.py | src/openai/types/chat/chat_completion_content_part_image_param.py | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
from __future__ import annotations
from typing_extensions import Literal, Required, TypedDict
__all__ = ["ChatCompletionContentPartImageParam", "ImageURL"]
class ImageURL(TypedDict, total=False):
url: Required[str]
"""Eit... | python | Apache-2.0 | d3e632171c7842abf97b26379f564531d80ad096 | 2026-01-04T14:43:29.641198Z | false |
openai/openai-python | https://github.com/openai/openai-python/blob/d3e632171c7842abf97b26379f564531d80ad096/src/openai/types/chat/chat_completion_modality.py | src/openai/types/chat/chat_completion_modality.py | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
from typing_extensions import Literal, TypeAlias
__all__ = ["ChatCompletionModality"]
ChatCompletionModality: TypeAlias = Literal["text", "audio"]
| python | Apache-2.0 | d3e632171c7842abf97b26379f564531d80ad096 | 2026-01-04T14:43:29.641198Z | false |
openai/openai-python | https://github.com/openai/openai-python/blob/d3e632171c7842abf97b26379f564531d80ad096/src/openai/types/chat/chat_completion_tool_union_param.py | src/openai/types/chat/chat_completion_tool_union_param.py | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
from __future__ import annotations
from typing import Union
from typing_extensions import TypeAlias
from .chat_completion_custom_tool_param import ChatCompletionCustomToolParam
from .chat_completion_function_tool_param import ChatC... | python | Apache-2.0 | d3e632171c7842abf97b26379f564531d80ad096 | 2026-01-04T14:43:29.641198Z | false |
openai/openai-python | https://github.com/openai/openai-python/blob/d3e632171c7842abf97b26379f564531d80ad096/src/openai/types/chat/chat_completion_token_logprob.py | src/openai/types/chat/chat_completion_token_logprob.py | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
from typing import List, Optional
from ..._models import BaseModel
__all__ = ["ChatCompletionTokenLogprob", "TopLogprob"]
class TopLogprob(BaseModel):
token: str
"""The token."""
bytes: Optional[List[int]] = None
... | python | Apache-2.0 | d3e632171c7842abf97b26379f564531d80ad096 | 2026-01-04T14:43:29.641198Z | false |
openai/openai-python | https://github.com/openai/openai-python/blob/d3e632171c7842abf97b26379f564531d80ad096/src/openai/types/chat/chat_completion_message.py | src/openai/types/chat/chat_completion_message.py | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
from typing import List, Optional
from typing_extensions import Literal
from ..._models import BaseModel
from .chat_completion_audio import ChatCompletionAudio
from .chat_completion_message_tool_call import ChatCompletionMessageTool... | python | Apache-2.0 | d3e632171c7842abf97b26379f564531d80ad096 | 2026-01-04T14:43:29.641198Z | false |
openai/openai-python | https://github.com/openai/openai-python/blob/d3e632171c7842abf97b26379f564531d80ad096/src/openai/types/chat/chat_completion_tool_message_param.py | src/openai/types/chat/chat_completion_tool_message_param.py | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
from __future__ import annotations
from typing import Union, Iterable
from typing_extensions import Literal, Required, TypedDict
from .chat_completion_content_part_text_param import ChatCompletionContentPartTextParam
__all__ = ["C... | python | Apache-2.0 | d3e632171c7842abf97b26379f564531d80ad096 | 2026-01-04T14:43:29.641198Z | false |
openai/openai-python | https://github.com/openai/openai-python/blob/d3e632171c7842abf97b26379f564531d80ad096/src/openai/types/chat/chat_completion_content_part_image.py | src/openai/types/chat/chat_completion_content_part_image.py | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
from typing import Optional
from typing_extensions import Literal
from ..._models import BaseModel
__all__ = ["ChatCompletionContentPartImage", "ImageURL"]
class ImageURL(BaseModel):
url: str
"""Either a URL of the image ... | python | Apache-2.0 | d3e632171c7842abf97b26379f564531d80ad096 | 2026-01-04T14:43:29.641198Z | false |
openai/openai-python | https://github.com/openai/openai-python/blob/d3e632171c7842abf97b26379f564531d80ad096/src/openai/types/chat/chat_completion_store_message.py | src/openai/types/chat/chat_completion_store_message.py | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
from typing import List, Union, Optional
from typing_extensions import TypeAlias
from .chat_completion_message import ChatCompletionMessage
from .chat_completion_content_part_text import ChatCompletionContentPartText
from .chat_comp... | python | Apache-2.0 | d3e632171c7842abf97b26379f564531d80ad096 | 2026-01-04T14:43:29.641198Z | false |
openai/openai-python | https://github.com/openai/openai-python/blob/d3e632171c7842abf97b26379f564531d80ad096/src/openai/types/chat/chat_completion_prediction_content_param.py | src/openai/types/chat/chat_completion_prediction_content_param.py | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
from __future__ import annotations
from typing import Union, Iterable
from typing_extensions import Literal, Required, TypedDict
from .chat_completion_content_part_text_param import ChatCompletionContentPartTextParam
__all__ = ["C... | python | Apache-2.0 | d3e632171c7842abf97b26379f564531d80ad096 | 2026-01-04T14:43:29.641198Z | false |
openai/openai-python | https://github.com/openai/openai-python/blob/d3e632171c7842abf97b26379f564531d80ad096/src/openai/types/chat/chat_completion_custom_tool_param.py | src/openai/types/chat/chat_completion_custom_tool_param.py | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
from __future__ import annotations
from typing import Union
from typing_extensions import Literal, Required, TypeAlias, TypedDict
__all__ = [
"ChatCompletionCustomToolParam",
"Custom",
"CustomFormat",
"CustomFormatT... | python | Apache-2.0 | d3e632171c7842abf97b26379f564531d80ad096 | 2026-01-04T14:43:29.641198Z | false |
openai/openai-python | https://github.com/openai/openai-python/blob/d3e632171c7842abf97b26379f564531d80ad096/src/openai/types/chat/parsed_chat_completion.py | src/openai/types/chat/parsed_chat_completion.py | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
from typing import List, Generic, TypeVar, Optional
from ..._models import GenericModel
from .chat_completion import Choice, ChatCompletion
from .chat_completion_message import ChatCompletionMessage
from .parsed_function_tool_call i... | python | Apache-2.0 | d3e632171c7842abf97b26379f564531d80ad096 | 2026-01-04T14:43:29.641198Z | false |
openai/openai-python | https://github.com/openai/openai-python/blob/d3e632171c7842abf97b26379f564531d80ad096/src/openai/types/chat/chat_completion.py | src/openai/types/chat/chat_completion.py | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
from typing import List, Optional
from typing_extensions import Literal
from ..._models import BaseModel
from ..completion_usage import CompletionUsage
from .chat_completion_message import ChatCompletionMessage
from .chat_completion... | python | Apache-2.0 | d3e632171c7842abf97b26379f564531d80ad096 | 2026-01-04T14:43:29.641198Z | false |
openai/openai-python | https://github.com/openai/openai-python/blob/d3e632171c7842abf97b26379f564531d80ad096/src/openai/types/chat/chat_completion_audio_param.py | src/openai/types/chat/chat_completion_audio_param.py | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
from __future__ import annotations
from typing import Union
from typing_extensions import Literal, Required, TypedDict
__all__ = ["ChatCompletionAudioParam"]
class ChatCompletionAudioParam(TypedDict, total=False):
"""Paramete... | python | Apache-2.0 | d3e632171c7842abf97b26379f564531d80ad096 | 2026-01-04T14:43:29.641198Z | false |
openai/openai-python | https://github.com/openai/openai-python/blob/d3e632171c7842abf97b26379f564531d80ad096/src/openai/types/chat/chat_completion_tool_param.py | src/openai/types/chat/chat_completion_tool_param.py | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
from __future__ import annotations
from typing_extensions import TypeAlias
from .chat_completion_function_tool_param import (
FunctionDefinition as FunctionDefinition,
ChatCompletionFunctionToolParam,
)
__all__ = ["ChatCom... | python | Apache-2.0 | d3e632171c7842abf97b26379f564531d80ad096 | 2026-01-04T14:43:29.641198Z | false |
openai/openai-python | https://github.com/openai/openai-python/blob/d3e632171c7842abf97b26379f564531d80ad096/src/openai/types/chat/chat_completion_assistant_message_param.py | src/openai/types/chat/chat_completion_assistant_message_param.py | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
from __future__ import annotations
from typing import Union, Iterable, Optional
from typing_extensions import Literal, Required, TypeAlias, TypedDict
from .chat_completion_content_part_text_param import ChatCompletionContentPartTex... | python | Apache-2.0 | d3e632171c7842abf97b26379f564531d80ad096 | 2026-01-04T14:43:29.641198Z | false |
openai/openai-python | https://github.com/openai/openai-python/blob/d3e632171c7842abf97b26379f564531d80ad096/src/openai/types/chat/chat_completion_message_function_tool_call_param.py | src/openai/types/chat/chat_completion_message_function_tool_call_param.py | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
from __future__ import annotations
from typing_extensions import Literal, Required, TypedDict
__all__ = ["ChatCompletionMessageFunctionToolCallParam", "Function"]
class Function(TypedDict, total=False):
"""The function that t... | python | Apache-2.0 | d3e632171c7842abf97b26379f564531d80ad096 | 2026-01-04T14:43:29.641198Z | false |
openai/openai-python | https://github.com/openai/openai-python/blob/d3e632171c7842abf97b26379f564531d80ad096/src/openai/types/chat/__init__.py | src/openai/types/chat/__init__.py | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
from __future__ import annotations
from .chat_completion import ChatCompletion as ChatCompletion
from .chat_completion_role import ChatCompletionRole as ChatCompletionRole
from .chat_completion_audio import ChatCompletionAudio as Ch... | python | Apache-2.0 | d3e632171c7842abf97b26379f564531d80ad096 | 2026-01-04T14:43:29.641198Z | false |
openai/openai-python | https://github.com/openai/openai-python/blob/d3e632171c7842abf97b26379f564531d80ad096/src/openai/types/chat/chat_completion_function_tool.py | src/openai/types/chat/chat_completion_function_tool.py | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
from typing_extensions import Literal
from ..._models import BaseModel
from ..shared.function_definition import FunctionDefinition
__all__ = ["ChatCompletionFunctionTool"]
class ChatCompletionFunctionTool(BaseModel):
"""A fun... | python | Apache-2.0 | d3e632171c7842abf97b26379f564531d80ad096 | 2026-01-04T14:43:29.641198Z | false |
openai/openai-python | https://github.com/openai/openai-python/blob/d3e632171c7842abf97b26379f564531d80ad096/src/openai/types/chat/chat_completion_tool_choice_option_param.py | src/openai/types/chat/chat_completion_tool_choice_option_param.py | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
from __future__ import annotations
from typing import Union
from typing_extensions import Literal, TypeAlias
from .chat_completion_named_tool_choice_param import ChatCompletionNamedToolChoiceParam
from .chat_completion_allowed_tool... | python | Apache-2.0 | d3e632171c7842abf97b26379f564531d80ad096 | 2026-01-04T14:43:29.641198Z | false |
openai/openai-python | https://github.com/openai/openai-python/blob/d3e632171c7842abf97b26379f564531d80ad096/src/openai/types/chat/chat_completion_content_part_input_audio_param.py | src/openai/types/chat/chat_completion_content_part_input_audio_param.py | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
from __future__ import annotations
from typing_extensions import Literal, Required, TypedDict
__all__ = ["ChatCompletionContentPartInputAudioParam", "InputAudio"]
class InputAudio(TypedDict, total=False):
data: Required[str]
... | python | Apache-2.0 | d3e632171c7842abf97b26379f564531d80ad096 | 2026-01-04T14:43:29.641198Z | false |
openai/openai-python | https://github.com/openai/openai-python/blob/d3e632171c7842abf97b26379f564531d80ad096/src/openai/types/chat/chat_completion_named_tool_choice_custom_param.py | src/openai/types/chat/chat_completion_named_tool_choice_custom_param.py | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
from __future__ import annotations
from typing_extensions import Literal, Required, TypedDict
__all__ = ["ChatCompletionNamedToolChoiceCustomParam", "Custom"]
class Custom(TypedDict, total=False):
name: Required[str]
"""T... | python | Apache-2.0 | d3e632171c7842abf97b26379f564531d80ad096 | 2026-01-04T14:43:29.641198Z | false |
openai/openai-python | https://github.com/openai/openai-python/blob/d3e632171c7842abf97b26379f564531d80ad096/src/openai/types/chat/chat_completion_deleted.py | src/openai/types/chat/chat_completion_deleted.py | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
from typing_extensions import Literal
from ..._models import BaseModel
__all__ = ["ChatCompletionDeleted"]
class ChatCompletionDeleted(BaseModel):
id: str
"""The ID of the chat completion that was deleted."""
deleted... | python | Apache-2.0 | d3e632171c7842abf97b26379f564531d80ad096 | 2026-01-04T14:43:29.641198Z | false |
openai/openai-python | https://github.com/openai/openai-python/blob/d3e632171c7842abf97b26379f564531d80ad096/src/openai/types/chat/chat_completion_allowed_tools_param.py | src/openai/types/chat/chat_completion_allowed_tools_param.py | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
from __future__ import annotations
from typing import Dict, Iterable
from typing_extensions import Literal, Required, TypedDict
__all__ = ["ChatCompletionAllowedToolsParam"]
class ChatCompletionAllowedToolsParam(TypedDict, total=... | python | Apache-2.0 | d3e632171c7842abf97b26379f564531d80ad096 | 2026-01-04T14:43:29.641198Z | false |
openai/openai-python | https://github.com/openai/openai-python/blob/d3e632171c7842abf97b26379f564531d80ad096/src/openai/types/chat/chat_completion_user_message_param.py | src/openai/types/chat/chat_completion_user_message_param.py | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
from __future__ import annotations
from typing import Union, Iterable
from typing_extensions import Literal, Required, TypedDict
from .chat_completion_content_part_param import ChatCompletionContentPartParam
__all__ = ["ChatComple... | python | Apache-2.0 | d3e632171c7842abf97b26379f564531d80ad096 | 2026-01-04T14:43:29.641198Z | false |
openai/openai-python | https://github.com/openai/openai-python/blob/d3e632171c7842abf97b26379f564531d80ad096/src/openai/types/chat/completion_create_params.py | src/openai/types/chat/completion_create_params.py | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
from __future__ import annotations
from typing import Dict, List, Union, Iterable, Optional
from typing_extensions import Literal, Required, TypeAlias, TypedDict
from ..._types import SequenceNotStr
from ..shared.chat_model import ... | python | Apache-2.0 | d3e632171c7842abf97b26379f564531d80ad096 | 2026-01-04T14:43:29.641198Z | false |
openai/openai-python | https://github.com/openai/openai-python/blob/d3e632171c7842abf97b26379f564531d80ad096/src/openai/types/chat/chat_completion_audio.py | src/openai/types/chat/chat_completion_audio.py | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
from ..._models import BaseModel
__all__ = ["ChatCompletionAudio"]
class ChatCompletionAudio(BaseModel):
"""
If the audio output modality is requested, this object contains data
about the audio response from the model.... | python | Apache-2.0 | d3e632171c7842abf97b26379f564531d80ad096 | 2026-01-04T14:43:29.641198Z | false |
openai/openai-python | https://github.com/openai/openai-python/blob/d3e632171c7842abf97b26379f564531d80ad096/src/openai/types/chat/chat_completion_named_tool_choice_param.py | src/openai/types/chat/chat_completion_named_tool_choice_param.py | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
from __future__ import annotations
from typing_extensions import Literal, Required, TypedDict
__all__ = ["ChatCompletionNamedToolChoiceParam", "Function"]
class Function(TypedDict, total=False):
name: Required[str]
"""The... | python | Apache-2.0 | d3e632171c7842abf97b26379f564531d80ad096 | 2026-01-04T14:43:29.641198Z | false |
openai/openai-python | https://github.com/openai/openai-python/blob/d3e632171c7842abf97b26379f564531d80ad096/src/openai/types/chat/completion_update_params.py | src/openai/types/chat/completion_update_params.py | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
from __future__ import annotations
from typing import Optional
from typing_extensions import Required, TypedDict
from ..shared_params.metadata import Metadata
__all__ = ["CompletionUpdateParams"]
class CompletionUpdateParams(Typ... | python | Apache-2.0 | d3e632171c7842abf97b26379f564531d80ad096 | 2026-01-04T14:43:29.641198Z | false |
openai/openai-python | https://github.com/openai/openai-python/blob/d3e632171c7842abf97b26379f564531d80ad096/src/openai/types/chat/chat_completion_message_tool_call_union_param.py | src/openai/types/chat/chat_completion_message_tool_call_union_param.py | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
from __future__ import annotations
from typing import Union
from typing_extensions import TypeAlias
from .chat_completion_message_custom_tool_call_param import ChatCompletionMessageCustomToolCallParam
from .chat_completion_message_... | python | Apache-2.0 | d3e632171c7842abf97b26379f564531d80ad096 | 2026-01-04T14:43:29.641198Z | false |
openai/openai-python | https://github.com/openai/openai-python/blob/d3e632171c7842abf97b26379f564531d80ad096/src/openai/types/chat/chat_completion_message_custom_tool_call_param.py | src/openai/types/chat/chat_completion_message_custom_tool_call_param.py | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
from __future__ import annotations
from typing_extensions import Literal, Required, TypedDict
__all__ = ["ChatCompletionMessageCustomToolCallParam", "Custom"]
class Custom(TypedDict, total=False):
"""The custom tool that the ... | python | Apache-2.0 | d3e632171c7842abf97b26379f564531d80ad096 | 2026-01-04T14:43:29.641198Z | false |
openai/openai-python | https://github.com/openai/openai-python/blob/d3e632171c7842abf97b26379f564531d80ad096/src/openai/types/chat/completions/message_list_params.py | src/openai/types/chat/completions/message_list_params.py | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
from __future__ import annotations
from typing_extensions import Literal, TypedDict
__all__ = ["MessageListParams"]
class MessageListParams(TypedDict, total=False):
after: str
"""Identifier for the last message from the p... | python | Apache-2.0 | d3e632171c7842abf97b26379f564531d80ad096 | 2026-01-04T14:43:29.641198Z | false |
openai/openai-python | https://github.com/openai/openai-python/blob/d3e632171c7842abf97b26379f564531d80ad096/src/openai/types/chat/completions/__init__.py | src/openai/types/chat/completions/__init__.py | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
from __future__ import annotations
from .message_list_params import MessageListParams as MessageListParams
| python | Apache-2.0 | d3e632171c7842abf97b26379f564531d80ad096 | 2026-01-04T14:43:29.641198Z | false |
openai/openai-python | https://github.com/openai/openai-python/blob/d3e632171c7842abf97b26379f564531d80ad096/src/openai/types/evals/run_delete_response.py | src/openai/types/evals/run_delete_response.py | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
from typing import Optional
from ..._models import BaseModel
__all__ = ["RunDeleteResponse"]
class RunDeleteResponse(BaseModel):
deleted: Optional[bool] = None
object: Optional[str] = None
run_id: Optional[str] = No... | python | Apache-2.0 | d3e632171c7842abf97b26379f564531d80ad096 | 2026-01-04T14:43:29.641198Z | false |
openai/openai-python | https://github.com/openai/openai-python/blob/d3e632171c7842abf97b26379f564531d80ad096/src/openai/types/evals/run_create_response.py | src/openai/types/evals/run_create_response.py | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
from typing import Dict, List, Union, Optional
from typing_extensions import Literal, Annotated, TypeAlias
from pydantic import Field as FieldInfo
from ..._utils import PropertyInfo
from ..._models import BaseModel
from .eval_api_e... | python | Apache-2.0 | d3e632171c7842abf97b26379f564531d80ad096 | 2026-01-04T14:43:29.641198Z | false |
openai/openai-python | https://github.com/openai/openai-python/blob/d3e632171c7842abf97b26379f564531d80ad096/src/openai/types/evals/create_eval_jsonl_run_data_source.py | src/openai/types/evals/create_eval_jsonl_run_data_source.py | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
from typing import Dict, List, Union, Optional
from typing_extensions import Literal, Annotated, TypeAlias
from ..._utils import PropertyInfo
from ..._models import BaseModel
__all__ = ["CreateEvalJSONLRunDataSource", "Source", "So... | python | Apache-2.0 | d3e632171c7842abf97b26379f564531d80ad096 | 2026-01-04T14:43:29.641198Z | false |
openai/openai-python | https://github.com/openai/openai-python/blob/d3e632171c7842abf97b26379f564531d80ad096/src/openai/types/evals/run_create_params.py | src/openai/types/evals/run_create_params.py | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
from __future__ import annotations
from typing import Dict, Union, Iterable, Optional
from typing_extensions import Literal, Required, TypeAlias, TypedDict
from ..._types import SequenceNotStr
from ..responses.tool_param import Too... | python | Apache-2.0 | d3e632171c7842abf97b26379f564531d80ad096 | 2026-01-04T14:43:29.641198Z | false |
openai/openai-python | https://github.com/openai/openai-python/blob/d3e632171c7842abf97b26379f564531d80ad096/src/openai/types/evals/run_cancel_response.py | src/openai/types/evals/run_cancel_response.py | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
from typing import Dict, List, Union, Optional
from typing_extensions import Literal, Annotated, TypeAlias
from pydantic import Field as FieldInfo
from ..._utils import PropertyInfo
from ..._models import BaseModel
from .eval_api_e... | python | Apache-2.0 | d3e632171c7842abf97b26379f564531d80ad096 | 2026-01-04T14:43:29.641198Z | false |
openai/openai-python | https://github.com/openai/openai-python/blob/d3e632171c7842abf97b26379f564531d80ad096/src/openai/types/evals/create_eval_jsonl_run_data_source_param.py | src/openai/types/evals/create_eval_jsonl_run_data_source_param.py | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
from __future__ import annotations
from typing import Dict, Union, Iterable
from typing_extensions import Literal, Required, TypeAlias, TypedDict
__all__ = [
"CreateEvalJSONLRunDataSourceParam",
"Source",
"SourceFileCon... | python | Apache-2.0 | d3e632171c7842abf97b26379f564531d80ad096 | 2026-01-04T14:43:29.641198Z | false |
openai/openai-python | https://github.com/openai/openai-python/blob/d3e632171c7842abf97b26379f564531d80ad096/src/openai/types/evals/eval_api_error.py | src/openai/types/evals/eval_api_error.py | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
from ..._models import BaseModel
__all__ = ["EvalAPIError"]
class EvalAPIError(BaseModel):
"""An object representing an error response from the Eval API."""
code: str
"""The error code."""
message: str
"""The... | python | Apache-2.0 | d3e632171c7842abf97b26379f564531d80ad096 | 2026-01-04T14:43:29.641198Z | false |
openai/openai-python | https://github.com/openai/openai-python/blob/d3e632171c7842abf97b26379f564531d80ad096/src/openai/types/evals/run_retrieve_response.py | src/openai/types/evals/run_retrieve_response.py | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
from typing import Dict, List, Union, Optional
from typing_extensions import Literal, Annotated, TypeAlias
from pydantic import Field as FieldInfo
from ..._utils import PropertyInfo
from ..._models import BaseModel
from .eval_api_e... | python | Apache-2.0 | d3e632171c7842abf97b26379f564531d80ad096 | 2026-01-04T14:43:29.641198Z | false |
openai/openai-python | https://github.com/openai/openai-python/blob/d3e632171c7842abf97b26379f564531d80ad096/src/openai/types/evals/create_eval_completions_run_data_source_param.py | src/openai/types/evals/create_eval_completions_run_data_source_param.py | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
from __future__ import annotations
from typing import Dict, Union, Iterable, Optional
from typing_extensions import Literal, Required, TypeAlias, TypedDict
from ..shared_params.metadata import Metadata
from ..shared.reasoning_effor... | python | Apache-2.0 | d3e632171c7842abf97b26379f564531d80ad096 | 2026-01-04T14:43:29.641198Z | false |
openai/openai-python | https://github.com/openai/openai-python/blob/d3e632171c7842abf97b26379f564531d80ad096/src/openai/types/evals/run_list_params.py | src/openai/types/evals/run_list_params.py | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
from __future__ import annotations
from typing_extensions import Literal, TypedDict
__all__ = ["RunListParams"]
class RunListParams(TypedDict, total=False):
after: str
"""Identifier for the last run from the previous pagi... | python | Apache-2.0 | d3e632171c7842abf97b26379f564531d80ad096 | 2026-01-04T14:43:29.641198Z | false |
openai/openai-python | https://github.com/openai/openai-python/blob/d3e632171c7842abf97b26379f564531d80ad096/src/openai/types/evals/__init__.py | src/openai/types/evals/__init__.py | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
from __future__ import annotations
from .eval_api_error import EvalAPIError as EvalAPIError
from .run_list_params import RunListParams as RunListParams
from .run_create_params import RunCreateParams as RunCreateParams
from .run_list... | python | Apache-2.0 | d3e632171c7842abf97b26379f564531d80ad096 | 2026-01-04T14:43:29.641198Z | false |
openai/openai-python | https://github.com/openai/openai-python/blob/d3e632171c7842abf97b26379f564531d80ad096/src/openai/types/evals/create_eval_completions_run_data_source.py | src/openai/types/evals/create_eval_completions_run_data_source.py | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
from typing import Dict, List, Union, Optional
from typing_extensions import Literal, Annotated, TypeAlias
from ..._utils import PropertyInfo
from ..._models import BaseModel
from ..shared.metadata import Metadata
from ..graders.gra... | python | Apache-2.0 | d3e632171c7842abf97b26379f564531d80ad096 | 2026-01-04T14:43:29.641198Z | false |
openai/openai-python | https://github.com/openai/openai-python/blob/d3e632171c7842abf97b26379f564531d80ad096/src/openai/types/evals/run_list_response.py | src/openai/types/evals/run_list_response.py | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
from typing import Dict, List, Union, Optional
from typing_extensions import Literal, Annotated, TypeAlias
from pydantic import Field as FieldInfo
from ..._utils import PropertyInfo
from ..._models import BaseModel
from .eval_api_e... | python | Apache-2.0 | d3e632171c7842abf97b26379f564531d80ad096 | 2026-01-04T14:43:29.641198Z | false |
openai/openai-python | https://github.com/openai/openai-python/blob/d3e632171c7842abf97b26379f564531d80ad096/src/openai/types/evals/runs/output_item_retrieve_response.py | src/openai/types/evals/runs/output_item_retrieve_response.py | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
from typing import TYPE_CHECKING, Dict, List, Optional
from typing_extensions import Literal
from pydantic import Field as FieldInfo
from ...._models import BaseModel
from ..eval_api_error import EvalAPIError
__all__ = ["OutputIte... | python | Apache-2.0 | d3e632171c7842abf97b26379f564531d80ad096 | 2026-01-04T14:43:29.641198Z | false |
openai/openai-python | https://github.com/openai/openai-python/blob/d3e632171c7842abf97b26379f564531d80ad096/src/openai/types/evals/runs/output_item_list_response.py | src/openai/types/evals/runs/output_item_list_response.py | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
from typing import TYPE_CHECKING, Dict, List, Optional
from typing_extensions import Literal
from pydantic import Field as FieldInfo
from ...._models import BaseModel
from ..eval_api_error import EvalAPIError
__all__ = ["OutputIte... | python | Apache-2.0 | d3e632171c7842abf97b26379f564531d80ad096 | 2026-01-04T14:43:29.641198Z | false |
openai/openai-python | https://github.com/openai/openai-python/blob/d3e632171c7842abf97b26379f564531d80ad096/src/openai/types/evals/runs/__init__.py | src/openai/types/evals/runs/__init__.py | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
from __future__ import annotations
from .output_item_list_params import OutputItemListParams as OutputItemListParams
from .output_item_list_response import OutputItemListResponse as OutputItemListResponse
from .output_item_retrieve_... | python | Apache-2.0 | d3e632171c7842abf97b26379f564531d80ad096 | 2026-01-04T14:43:29.641198Z | false |
openai/openai-python | https://github.com/openai/openai-python/blob/d3e632171c7842abf97b26379f564531d80ad096/src/openai/types/evals/runs/output_item_list_params.py | src/openai/types/evals/runs/output_item_list_params.py | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
from __future__ import annotations
from typing_extensions import Literal, Required, TypedDict
__all__ = ["OutputItemListParams"]
class OutputItemListParams(TypedDict, total=False):
eval_id: Required[str]
after: str
"... | python | Apache-2.0 | d3e632171c7842abf97b26379f564531d80ad096 | 2026-01-04T14:43:29.641198Z | false |
openai/openai-python | https://github.com/openai/openai-python/blob/d3e632171c7842abf97b26379f564531d80ad096/src/openai/types/shared_params/response_format_json_object.py | src/openai/types/shared_params/response_format_json_object.py | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
from __future__ import annotations
from typing_extensions import Literal, Required, TypedDict
__all__ = ["ResponseFormatJSONObject"]
class ResponseFormatJSONObject(TypedDict, total=False):
"""JSON object response format.
... | python | Apache-2.0 | d3e632171c7842abf97b26379f564531d80ad096 | 2026-01-04T14:43:29.641198Z | false |
openai/openai-python | https://github.com/openai/openai-python/blob/d3e632171c7842abf97b26379f564531d80ad096/src/openai/types/shared_params/reasoning_effort.py | src/openai/types/shared_params/reasoning_effort.py | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
from __future__ import annotations
from typing import Optional
from typing_extensions import Literal, TypeAlias
__all__ = ["ReasoningEffort"]
ReasoningEffort: TypeAlias = Optional[Literal["none", "minimal", "low", "medium", "high"... | python | Apache-2.0 | d3e632171c7842abf97b26379f564531d80ad096 | 2026-01-04T14:43:29.641198Z | false |
openai/openai-python | https://github.com/openai/openai-python/blob/d3e632171c7842abf97b26379f564531d80ad096/src/openai/types/shared_params/function_definition.py | src/openai/types/shared_params/function_definition.py | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
from __future__ import annotations
from typing import Optional
from typing_extensions import Required, TypedDict
from .function_parameters import FunctionParameters
__all__ = ["FunctionDefinition"]
class FunctionDefinition(Typed... | python | Apache-2.0 | d3e632171c7842abf97b26379f564531d80ad096 | 2026-01-04T14:43:29.641198Z | false |
openai/openai-python | https://github.com/openai/openai-python/blob/d3e632171c7842abf97b26379f564531d80ad096/src/openai/types/shared_params/metadata.py | src/openai/types/shared_params/metadata.py | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
from __future__ import annotations
from typing import Dict
from typing_extensions import TypeAlias
__all__ = ["Metadata"]
Metadata: TypeAlias = Dict[str, str]
| python | Apache-2.0 | d3e632171c7842abf97b26379f564531d80ad096 | 2026-01-04T14:43:29.641198Z | false |
openai/openai-python | https://github.com/openai/openai-python/blob/d3e632171c7842abf97b26379f564531d80ad096/src/openai/types/shared_params/response_format_text.py | src/openai/types/shared_params/response_format_text.py | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
from __future__ import annotations
from typing_extensions import Literal, Required, TypedDict
__all__ = ["ResponseFormatText"]
class ResponseFormatText(TypedDict, total=False):
"""Default response format. Used to generate tex... | python | Apache-2.0 | d3e632171c7842abf97b26379f564531d80ad096 | 2026-01-04T14:43:29.641198Z | false |
openai/openai-python | https://github.com/openai/openai-python/blob/d3e632171c7842abf97b26379f564531d80ad096/src/openai/types/shared_params/chat_model.py | src/openai/types/shared_params/chat_model.py | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
from __future__ import annotations
from typing_extensions import Literal, TypeAlias
__all__ = ["ChatModel"]
ChatModel: TypeAlias = Literal[
"gpt-5.2",
"gpt-5.2-2025-12-11",
"gpt-5.2-chat-latest",
"gpt-5.2-pro",
... | python | Apache-2.0 | d3e632171c7842abf97b26379f564531d80ad096 | 2026-01-04T14:43:29.641198Z | false |
openai/openai-python | https://github.com/openai/openai-python/blob/d3e632171c7842abf97b26379f564531d80ad096/src/openai/types/shared_params/__init__.py | src/openai/types/shared_params/__init__.py | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
from .metadata import Metadata as Metadata
from .reasoning import Reasoning as Reasoning
from .chat_model import ChatModel as ChatModel
from .compound_filter import CompoundFilter as CompoundFilter
from .responses_model import Respon... | python | Apache-2.0 | d3e632171c7842abf97b26379f564531d80ad096 | 2026-01-04T14:43:29.641198Z | false |
openai/openai-python | https://github.com/openai/openai-python/blob/d3e632171c7842abf97b26379f564531d80ad096/src/openai/types/shared_params/custom_tool_input_format.py | src/openai/types/shared_params/custom_tool_input_format.py | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
from __future__ import annotations
from typing import Union
from typing_extensions import Literal, Required, TypeAlias, TypedDict
__all__ = ["CustomToolInputFormat", "Text", "Grammar"]
class Text(TypedDict, total=False):
"""U... | python | Apache-2.0 | d3e632171c7842abf97b26379f564531d80ad096 | 2026-01-04T14:43:29.641198Z | false |
openai/openai-python | https://github.com/openai/openai-python/blob/d3e632171c7842abf97b26379f564531d80ad096/src/openai/types/shared_params/responses_model.py | src/openai/types/shared_params/responses_model.py | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
from __future__ import annotations
from typing import Union
from typing_extensions import Literal, TypeAlias
from ..shared.chat_model import ChatModel
__all__ = ["ResponsesModel"]
ResponsesModel: TypeAlias = Union[
str,
C... | python | Apache-2.0 | d3e632171c7842abf97b26379f564531d80ad096 | 2026-01-04T14:43:29.641198Z | false |
openai/openai-python | https://github.com/openai/openai-python/blob/d3e632171c7842abf97b26379f564531d80ad096/src/openai/types/shared_params/response_format_json_schema.py | src/openai/types/shared_params/response_format_json_schema.py | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
from __future__ import annotations
from typing import Dict, Optional
from typing_extensions import Literal, Required, TypedDict
__all__ = ["ResponseFormatJSONSchema", "JSONSchema"]
class JSONSchema(TypedDict, total=False):
""... | python | Apache-2.0 | d3e632171c7842abf97b26379f564531d80ad096 | 2026-01-04T14:43:29.641198Z | false |
openai/openai-python | https://github.com/openai/openai-python/blob/d3e632171c7842abf97b26379f564531d80ad096/src/openai/types/shared_params/comparison_filter.py | src/openai/types/shared_params/comparison_filter.py | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
from __future__ import annotations
from typing import Union
from typing_extensions import Literal, Required, TypedDict
from ..._types import SequenceNotStr
__all__ = ["ComparisonFilter"]
class ComparisonFilter(TypedDict, total=F... | python | Apache-2.0 | d3e632171c7842abf97b26379f564531d80ad096 | 2026-01-04T14:43:29.641198Z | false |
openai/openai-python | https://github.com/openai/openai-python/blob/d3e632171c7842abf97b26379f564531d80ad096/src/openai/types/shared_params/reasoning.py | src/openai/types/shared_params/reasoning.py | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
from __future__ import annotations
from typing import Optional
from typing_extensions import Literal, TypedDict
from ..shared.reasoning_effort import ReasoningEffort
__all__ = ["Reasoning"]
class Reasoning(TypedDict, total=False... | python | Apache-2.0 | d3e632171c7842abf97b26379f564531d80ad096 | 2026-01-04T14:43:29.641198Z | false |
openai/openai-python | https://github.com/openai/openai-python/blob/d3e632171c7842abf97b26379f564531d80ad096/src/openai/types/shared_params/function_parameters.py | src/openai/types/shared_params/function_parameters.py | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
from __future__ import annotations
from typing import Dict
from typing_extensions import TypeAlias
__all__ = ["FunctionParameters"]
FunctionParameters: TypeAlias = Dict[str, object]
| python | Apache-2.0 | d3e632171c7842abf97b26379f564531d80ad096 | 2026-01-04T14:43:29.641198Z | false |
openai/openai-python | https://github.com/openai/openai-python/blob/d3e632171c7842abf97b26379f564531d80ad096/src/openai/types/shared_params/compound_filter.py | src/openai/types/shared_params/compound_filter.py | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
from __future__ import annotations
from typing import Union, Iterable
from typing_extensions import Literal, Required, TypeAlias, TypedDict
from .comparison_filter import ComparisonFilter
__all__ = ["CompoundFilter", "Filter"]
Fi... | python | Apache-2.0 | d3e632171c7842abf97b26379f564531d80ad096 | 2026-01-04T14:43:29.641198Z | false |
openai/openai-python | https://github.com/openai/openai-python/blob/d3e632171c7842abf97b26379f564531d80ad096/src/openai/types/beta/assistant_tool_choice.py | src/openai/types/beta/assistant_tool_choice.py | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
from typing import Optional
from typing_extensions import Literal
from ..._models import BaseModel
from .assistant_tool_choice_function import AssistantToolChoiceFunction
__all__ = ["AssistantToolChoice"]
class AssistantToolChoic... | python | Apache-2.0 | d3e632171c7842abf97b26379f564531d80ad096 | 2026-01-04T14:43:29.641198Z | false |
openai/openai-python | https://github.com/openai/openai-python/blob/d3e632171c7842abf97b26379f564531d80ad096/src/openai/types/beta/assistant_tool_param.py | src/openai/types/beta/assistant_tool_param.py | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
from __future__ import annotations
from typing import Union
from typing_extensions import TypeAlias
from .function_tool_param import FunctionToolParam
from .file_search_tool_param import FileSearchToolParam
from .code_interpreter_t... | python | Apache-2.0 | d3e632171c7842abf97b26379f564531d80ad096 | 2026-01-04T14:43:29.641198Z | false |
openai/openai-python | https://github.com/openai/openai-python/blob/d3e632171c7842abf97b26379f564531d80ad096/src/openai/types/beta/thread_create_and_run_params.py | src/openai/types/beta/thread_create_and_run_params.py | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
from __future__ import annotations
from typing import Union, Iterable, Optional
from typing_extensions import Literal, Required, TypeAlias, TypedDict
from ..._types import SequenceNotStr
from ..shared.chat_model import ChatModel
fr... | python | Apache-2.0 | d3e632171c7842abf97b26379f564531d80ad096 | 2026-01-04T14:43:29.641198Z | false |
openai/openai-python | https://github.com/openai/openai-python/blob/d3e632171c7842abf97b26379f564531d80ad096/src/openai/types/beta/thread.py | src/openai/types/beta/thread.py | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
from typing import List, Optional
from typing_extensions import Literal
from ..._models import BaseModel
from ..shared.metadata import Metadata
__all__ = ["Thread", "ToolResources", "ToolResourcesCodeInterpreter", "ToolResourcesFil... | python | Apache-2.0 | d3e632171c7842abf97b26379f564531d80ad096 | 2026-01-04T14:43:29.641198Z | false |
openai/openai-python | https://github.com/openai/openai-python/blob/d3e632171c7842abf97b26379f564531d80ad096/src/openai/types/beta/assistant_response_format_option.py | src/openai/types/beta/assistant_response_format_option.py | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
from typing import Union
from typing_extensions import Literal, TypeAlias
from ..shared.response_format_text import ResponseFormatText
from ..shared.response_format_json_object import ResponseFormatJSONObject
from ..shared.response_... | python | Apache-2.0 | d3e632171c7842abf97b26379f564531d80ad096 | 2026-01-04T14:43:29.641198Z | false |
openai/openai-python | https://github.com/openai/openai-python/blob/d3e632171c7842abf97b26379f564531d80ad096/src/openai/types/beta/assistant_stream_event.py | src/openai/types/beta/assistant_stream_event.py | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
from typing import Union, Optional
from typing_extensions import Literal, Annotated, TypeAlias
from .thread import Thread
from ..._utils import PropertyInfo
from ..._models import BaseModel
from .threads.run import Run
from .threads... | python | Apache-2.0 | d3e632171c7842abf97b26379f564531d80ad096 | 2026-01-04T14:43:29.641198Z | false |
openai/openai-python | https://github.com/openai/openai-python/blob/d3e632171c7842abf97b26379f564531d80ad096/src/openai/types/beta/function_tool.py | src/openai/types/beta/function_tool.py | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
from typing_extensions import Literal
from ..._models import BaseModel
from ..shared.function_definition import FunctionDefinition
__all__ = ["FunctionTool"]
class FunctionTool(BaseModel):
function: FunctionDefinition
ty... | python | Apache-2.0 | d3e632171c7842abf97b26379f564531d80ad096 | 2026-01-04T14:43:29.641198Z | false |
openai/openai-python | https://github.com/openai/openai-python/blob/d3e632171c7842abf97b26379f564531d80ad096/src/openai/types/beta/assistant_create_params.py | src/openai/types/beta/assistant_create_params.py | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
from __future__ import annotations
from typing import Union, Iterable, Optional
from typing_extensions import Literal, Required, TypeAlias, TypedDict
from ..._types import SequenceNotStr
from ..shared.chat_model import ChatModel
fr... | python | Apache-2.0 | d3e632171c7842abf97b26379f564531d80ad096 | 2026-01-04T14:43:29.641198Z | false |
openai/openai-python | https://github.com/openai/openai-python/blob/d3e632171c7842abf97b26379f564531d80ad096/src/openai/types/beta/assistant.py | src/openai/types/beta/assistant.py | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
from typing import List, Optional
from typing_extensions import Literal
from ..._models import BaseModel
from .assistant_tool import AssistantTool
from ..shared.metadata import Metadata
from .assistant_response_format_option import ... | python | Apache-2.0 | d3e632171c7842abf97b26379f564531d80ad096 | 2026-01-04T14:43:29.641198Z | false |
openai/openai-python | https://github.com/openai/openai-python/blob/d3e632171c7842abf97b26379f564531d80ad096/src/openai/types/beta/assistant_update_params.py | src/openai/types/beta/assistant_update_params.py | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
from __future__ import annotations
from typing import Union, Iterable, Optional
from typing_extensions import Literal, TypedDict
from ..._types import SequenceNotStr
from .assistant_tool_param import AssistantToolParam
from ..share... | python | Apache-2.0 | d3e632171c7842abf97b26379f564531d80ad096 | 2026-01-04T14:43:29.641198Z | false |
openai/openai-python | https://github.com/openai/openai-python/blob/d3e632171c7842abf97b26379f564531d80ad096/src/openai/types/beta/assistant_tool.py | src/openai/types/beta/assistant_tool.py | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
from typing import Union
from typing_extensions import Annotated, TypeAlias
from ..._utils import PropertyInfo
from .function_tool import FunctionTool
from .file_search_tool import FileSearchTool
from .code_interpreter_tool import C... | python | Apache-2.0 | d3e632171c7842abf97b26379f564531d80ad096 | 2026-01-04T14:43:29.641198Z | false |
openai/openai-python | https://github.com/openai/openai-python/blob/d3e632171c7842abf97b26379f564531d80ad096/src/openai/types/beta/assistant_tool_choice_option.py | src/openai/types/beta/assistant_tool_choice_option.py | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
from typing import Union
from typing_extensions import Literal, TypeAlias
from .assistant_tool_choice import AssistantToolChoice
__all__ = ["AssistantToolChoiceOption"]
AssistantToolChoiceOption: TypeAlias = Union[Literal["none", ... | python | Apache-2.0 | d3e632171c7842abf97b26379f564531d80ad096 | 2026-01-04T14:43:29.641198Z | false |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.