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/webhooks/response_cancelled_webhook_event.py | src/openai/types/webhooks/response_cancelled_webhook_event.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__ = ["ResponseCancelledWebhookEvent", "Data"]
class Data(BaseModel):
"""Event data payload."""
id: str
"""The 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/webhooks/batch_failed_webhook_event.py | src/openai/types/webhooks/batch_failed_webhook_event.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__ = ["BatchFailedWebhookEvent", "Data"]
class Data(BaseModel):
"""Event data payload."""
id: str
"""The unique ... | 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/webhooks/response_incomplete_webhook_event.py | src/openai/types/webhooks/response_incomplete_webhook_event.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__ = ["ResponseIncompleteWebhookEvent", "Data"]
class Data(BaseModel):
"""Event data payload."""
id: 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/webhooks/fine_tuning_job_failed_webhook_event.py | src/openai/types/webhooks/fine_tuning_job_failed_webhook_event.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__ = ["FineTuningJobFailedWebhookEvent", "Data"]
class Data(BaseModel):
"""Event data payload."""
id: 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/webhooks/unwrap_webhook_event.py | src/openai/types/webhooks/unwrap_webhook_event.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 .batch_failed_webhook_event import BatchFailedWebhookEvent
from .batch_expired_webhook_event import BatchExpiredWebh... | 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/webhooks/__init__.py | src/openai/types/webhooks/__init__.py | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
from __future__ import annotations
from .unwrap_webhook_event import UnwrapWebhookEvent as UnwrapWebhookEvent
from .batch_failed_webhook_event import BatchFailedWebhookEvent as BatchFailedWebhookEvent
from .batch_expired_webhook_eve... | 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/webhooks/eval_run_failed_webhook_event.py | src/openai/types/webhooks/eval_run_failed_webhook_event.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__ = ["EvalRunFailedWebhookEvent", "Data"]
class Data(BaseModel):
"""Event data payload."""
id: str
"""The uniqu... | 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/webhooks/batch_completed_webhook_event.py | src/openai/types/webhooks/batch_completed_webhook_event.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__ = ["BatchCompletedWebhookEvent", "Data"]
class Data(BaseModel):
"""Event data payload."""
id: str
"""The uniq... | 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/webhooks/batch_expired_webhook_event.py | src/openai/types/webhooks/batch_expired_webhook_event.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__ = ["BatchExpiredWebhookEvent", "Data"]
class Data(BaseModel):
"""Event data payload."""
id: str
"""The unique... | 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/webhooks/eval_run_succeeded_webhook_event.py | src/openai/types/webhooks/eval_run_succeeded_webhook_event.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__ = ["EvalRunSucceededWebhookEvent", "Data"]
class Data(BaseModel):
"""Event data payload."""
id: str
"""The un... | 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/webhooks/response_failed_webhook_event.py | src/openai/types/webhooks/response_failed_webhook_event.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__ = ["ResponseFailedWebhookEvent", "Data"]
class Data(BaseModel):
"""Event data payload."""
id: str
"""The uniq... | 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/webhooks/fine_tuning_job_succeeded_webhook_event.py | src/openai/types/webhooks/fine_tuning_job_succeeded_webhook_event.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__ = ["FineTuningJobSucceededWebhookEvent", "Data"]
class Data(BaseModel):
"""Event data payload."""
id: 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/webhooks/eval_run_canceled_webhook_event.py | src/openai/types/webhooks/eval_run_canceled_webhook_event.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__ = ["EvalRunCanceledWebhookEvent", "Data"]
class Data(BaseModel):
"""Event data payload."""
id: str
"""The uni... | 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/uploads/part_create_params.py | src/openai/types/uploads/part_create_params.py | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
from __future__ import annotations
from typing_extensions import Required, TypedDict
from ..._types import FileTypes
__all__ = ["PartCreateParams"]
class PartCreateParams(TypedDict, total=False):
data: Required[FileTypes]
... | 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/uploads/upload_part.py | src/openai/types/uploads/upload_part.py | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
from typing_extensions import Literal
from ..._models import BaseModel
__all__ = ["UploadPart"]
class UploadPart(BaseModel):
"""The upload Part represents a chunk of bytes we can add to an Upload object."""
id: 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/uploads/__init__.py | src/openai/types/uploads/__init__.py | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
from __future__ import annotations
from .upload_part import UploadPart as UploadPart
from .part_create_params import PartCreateParams as PartCreateParams
| 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/fine_tuning/fine_tuning_job_wandb_integration.py | src/openai/types/fine_tuning/fine_tuning_job_wandb_integration.py | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
from typing import List, Optional
from ..._models import BaseModel
__all__ = ["FineTuningJobWandbIntegration"]
class FineTuningJobWandbIntegration(BaseModel):
"""The settings for your integration with Weights and Biases.
... | 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/fine_tuning/job_list_params.py | src/openai/types/fine_tuning/job_list_params.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 TypedDict
__all__ = ["JobListParams"]
class JobListParams(TypedDict, total=False):
after: str
"""Identifier for the last j... | 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/fine_tuning/dpo_hyperparameters_param.py | src/openai/types/fine_tuning/dpo_hyperparameters_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, TypedDict
__all__ = ["DpoHyperparametersParam"]
class DpoHyperparametersParam(TypedDict, total=False):
"""The hyperparameters ... | 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/fine_tuning/reinforcement_method_param.py | src/openai/types/fine_tuning/reinforcement_method_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 Required, TypeAlias, TypedDict
from ..graders.multi_grader_param import MultiGraderParam
from ..graders.python_grader_param import PythonGrad... | 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/fine_tuning/reinforcement_hyperparameters.py | src/openai/types/fine_tuning/reinforcement_hyperparameters.py | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
from typing import Union, Optional
from typing_extensions import Literal
from ..._models import BaseModel
__all__ = ["ReinforcementHyperparameters"]
class ReinforcementHyperparameters(BaseModel):
"""The hyperparameters used 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/fine_tuning/fine_tuning_job_wandb_integration_object.py | src/openai/types/fine_tuning/fine_tuning_job_wandb_integration_object.py | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
from typing_extensions import Literal
from ..._models import BaseModel
from .fine_tuning_job_wandb_integration import FineTuningJobWandbIntegration
__all__ = ["FineTuningJobWandbIntegrationObject"]
class FineTuningJobWandbIntegra... | 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/fine_tuning/supervised_method.py | src/openai/types/fine_tuning/supervised_method.py | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
from typing import Optional
from ..._models import BaseModel
from .supervised_hyperparameters import SupervisedHyperparameters
__all__ = ["SupervisedMethod"]
class SupervisedMethod(BaseModel):
"""Configuration for the supervi... | 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/fine_tuning/supervised_hyperparameters.py | src/openai/types/fine_tuning/supervised_hyperparameters.py | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
from typing import Union
from typing_extensions import Literal
from ..._models import BaseModel
__all__ = ["SupervisedHyperparameters"]
class SupervisedHyperparameters(BaseModel):
"""The hyperparameters used for the fine-tuni... | 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/fine_tuning/supervised_method_param.py | src/openai/types/fine_tuning/supervised_method_param.py | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
from __future__ import annotations
from typing_extensions import TypedDict
from .supervised_hyperparameters_param import SupervisedHyperparametersParam
__all__ = ["SupervisedMethodParam"]
class SupervisedMethodParam(TypedDict, 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/fine_tuning/dpo_method_param.py | src/openai/types/fine_tuning/dpo_method_param.py | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
from __future__ import annotations
from typing_extensions import TypedDict
from .dpo_hyperparameters_param import DpoHyperparametersParam
__all__ = ["DpoMethodParam"]
class DpoMethodParam(TypedDict, total=False):
"""Configur... | 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/fine_tuning/reinforcement_method.py | src/openai/types/fine_tuning/reinforcement_method.py | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
from typing import Union, Optional
from typing_extensions import TypeAlias
from ..._models import BaseModel
from ..graders.multi_grader import MultiGrader
from ..graders.python_grader import PythonGrader
from ..graders.score_model_g... | 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/fine_tuning/supervised_hyperparameters_param.py | src/openai/types/fine_tuning/supervised_hyperparameters_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, TypedDict
__all__ = ["SupervisedHyperparametersParam"]
class SupervisedHyperparametersParam(TypedDict, total=False):
"""The hy... | 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/fine_tuning/fine_tuning_job_event.py | src/openai/types/fine_tuning/fine_tuning_job_event.py | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
import builtins
from typing import Optional
from typing_extensions import Literal
from ..._models import BaseModel
__all__ = ["FineTuningJobEvent"]
class FineTuningJobEvent(BaseModel):
"""Fine-tuning job event 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/fine_tuning/fine_tuning_job.py | src/openai/types/fine_tuning/fine_tuning_job.py | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
from typing import List, Union, Optional
from typing_extensions import Literal
from ..._models import BaseModel
from .dpo_method import DpoMethod
from ..shared.metadata import Metadata
from .supervised_method import SupervisedMethod... | 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/fine_tuning/__init__.py | src/openai/types/fine_tuning/__init__.py | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
from __future__ import annotations
from .dpo_method import DpoMethod as DpoMethod
from .fine_tuning_job import FineTuningJob as FineTuningJob
from .job_list_params import JobListParams as JobListParams
from .dpo_method_param 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/fine_tuning/job_list_events_params.py | src/openai/types/fine_tuning/job_list_events_params.py | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
from __future__ import annotations
from typing_extensions import TypedDict
__all__ = ["JobListEventsParams"]
class JobListEventsParams(TypedDict, total=False):
after: str
"""Identifier for the last event from the previous... | 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/fine_tuning/job_create_params.py | src/openai/types/fine_tuning/job_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, TypedDict
from ..._types import SequenceNotStr
from .dpo_method_param import DpoMethodParam
from ..sha... | 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/fine_tuning/fine_tuning_job_integration.py | src/openai/types/fine_tuning/fine_tuning_job_integration.py | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
from .fine_tuning_job_wandb_integration_object import FineTuningJobWandbIntegrationObject
FineTuningJobIntegration = FineTuningJobWandbIntegrationObject
| 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/fine_tuning/reinforcement_hyperparameters_param.py | src/openai/types/fine_tuning/reinforcement_hyperparameters_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, TypedDict
__all__ = ["ReinforcementHyperparametersParam"]
class ReinforcementHyperparametersParam(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/fine_tuning/dpo_method.py | src/openai/types/fine_tuning/dpo_method.py | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
from typing import Optional
from ..._models import BaseModel
from .dpo_hyperparameters import DpoHyperparameters
__all__ = ["DpoMethod"]
class DpoMethod(BaseModel):
"""Configuration for the DPO fine-tuning method."""
hyp... | 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/fine_tuning/dpo_hyperparameters.py | src/openai/types/fine_tuning/dpo_hyperparameters.py | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
from typing import Union
from typing_extensions import Literal
from ..._models import BaseModel
__all__ = ["DpoHyperparameters"]
class DpoHyperparameters(BaseModel):
"""The hyperparameters used for the DPO fine-tuning job."""... | 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/fine_tuning/jobs/checkpoint_list_params.py | src/openai/types/fine_tuning/jobs/checkpoint_list_params.py | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
from __future__ import annotations
from typing_extensions import TypedDict
__all__ = ["CheckpointListParams"]
class CheckpointListParams(TypedDict, total=False):
after: str
"""Identifier for the last checkpoint ID from th... | 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/fine_tuning/jobs/fine_tuning_job_checkpoint.py | src/openai/types/fine_tuning/jobs/fine_tuning_job_checkpoint.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__ = ["FineTuningJobCheckpoint", "Metrics"]
class Metrics(BaseModel):
"""Metrics at the step number during the fine-tuni... | 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/fine_tuning/jobs/__init__.py | src/openai/types/fine_tuning/jobs/__init__.py | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
from __future__ import annotations
from .checkpoint_list_params import CheckpointListParams as CheckpointListParams
from .fine_tuning_job_checkpoint import FineTuningJobCheckpoint as FineTuningJobCheckpoint
| 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/fine_tuning/checkpoints/permission_retrieve_params.py | src/openai/types/fine_tuning/checkpoints/permission_retrieve_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__ = ["PermissionRetrieveParams"]
class PermissionRetrieveParams(TypedDict, total=False):
after: str
"""Identifier for the last perm... | 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/fine_tuning/checkpoints/permission_delete_response.py | src/openai/types/fine_tuning/checkpoints/permission_delete_response.py | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
from typing_extensions import Literal
from ...._models import BaseModel
__all__ = ["PermissionDeleteResponse"]
class PermissionDeleteResponse(BaseModel):
id: str
"""The ID of the fine-tuned model checkpoint permission tha... | 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/fine_tuning/checkpoints/permission_retrieve_response.py | src/openai/types/fine_tuning/checkpoints/permission_retrieve_response.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
__all__ = ["PermissionRetrieveResponse", "Data"]
class Data(BaseModel):
"""
The `checkpoint.permission` object repr... | 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/fine_tuning/checkpoints/permission_create_params.py | src/openai/types/fine_tuning/checkpoints/permission_create_params.py | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
from __future__ import annotations
from typing_extensions import Required, TypedDict
from ...._types import SequenceNotStr
__all__ = ["PermissionCreateParams"]
class PermissionCreateParams(TypedDict, total=False):
project_id... | 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/fine_tuning/checkpoints/__init__.py | src/openai/types/fine_tuning/checkpoints/__init__.py | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
from __future__ import annotations
from .permission_create_params import PermissionCreateParams as PermissionCreateParams
from .permission_create_response import PermissionCreateResponse as PermissionCreateResponse
from .permission_... | 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/fine_tuning/checkpoints/permission_create_response.py | src/openai/types/fine_tuning/checkpoints/permission_create_response.py | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
from typing_extensions import Literal
from ...._models import BaseModel
__all__ = ["PermissionCreateResponse"]
class PermissionCreateResponse(BaseModel):
"""
The `checkpoint.permission` object represents a permission for ... | 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/fine_tuning/alpha/grader_validate_params.py | src/openai/types/fine_tuning/alpha/grader_validate_params.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 Required, TypeAlias, TypedDict
from ...graders.multi_grader_param import MultiGraderParam
from ...graders.python_grader_param import PythonGr... | 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/fine_tuning/alpha/__init__.py | src/openai/types/fine_tuning/alpha/__init__.py | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
from __future__ import annotations
from .grader_run_params import GraderRunParams as GraderRunParams
from .grader_run_response import GraderRunResponse as GraderRunResponse
from .grader_validate_params import GraderValidateParams as... | 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/fine_tuning/alpha/grader_run_params.py | src/openai/types/fine_tuning/alpha/grader_run_params.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 Required, TypeAlias, TypedDict
from ...graders.multi_grader_param import MultiGraderParam
from ...graders.python_grader_param import PythonGr... | 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/fine_tuning/alpha/grader_validate_response.py | src/openai/types/fine_tuning/alpha/grader_validate_response.py | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
from typing import Union, Optional
from typing_extensions import TypeAlias
from ...._models import BaseModel
from ...graders.multi_grader import MultiGrader
from ...graders.python_grader import PythonGrader
from ...graders.score_mod... | 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/fine_tuning/alpha/grader_run_response.py | src/openai/types/fine_tuning/alpha/grader_run_response.py | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
from typing import Dict, Optional
from pydantic import Field as FieldInfo
from ...._models import BaseModel
__all__ = ["GraderRunResponse", "Metadata", "MetadataErrors"]
class MetadataErrors(BaseModel):
formula_parse_error: ... | 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/graders/python_grader.py | src/openai/types/graders/python_grader.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__ = ["PythonGrader"]
class PythonGrader(BaseModel):
"""A PythonGrader object that runs a python script on the input."""
... | 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/graders/text_similarity_grader.py | src/openai/types/graders/text_similarity_grader.py | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
from typing_extensions import Literal
from ..._models import BaseModel
__all__ = ["TextSimilarityGrader"]
class TextSimilarityGrader(BaseModel):
"""A TextSimilarityGrader object which grades text based on similarity metrics."... | 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/graders/grader_inputs.py | src/openai/types/graders/grader_inputs.py | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
from typing import List, Union, Optional
from typing_extensions import Literal, TypeAlias
from ..._models import BaseModel
from ..responses.response_input_text import ResponseInputText
from ..responses.response_input_audio import Re... | 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/graders/text_similarity_grader_param.py | src/openai/types/graders/text_similarity_grader_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__ = ["TextSimilarityGraderParam"]
class TextSimilarityGraderParam(TypedDict, total=False):
"""A TextSimilarityGrader object w... | 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/graders/string_check_grader_param.py | src/openai/types/graders/string_check_grader_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__ = ["StringCheckGraderParam"]
class StringCheckGraderParam(TypedDict, total=False):
"""
A StringCheckGrader object that ... | 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/graders/label_model_grader.py | src/openai/types/graders/label_model_grader.py | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
from typing import List, Union, Optional
from typing_extensions import Literal, TypeAlias
from ..._models import BaseModel
from .grader_inputs import GraderInputs
from ..responses.response_input_text import ResponseInputText
from ..... | 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/graders/label_model_grader_param.py | src/openai/types/graders/label_model_grader_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, TypeAlias, TypedDict
from ..._types import SequenceNotStr
from .grader_inputs_param import GraderInputsParam
fro... | 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/graders/score_model_grader_param.py | src/openai/types/graders/score_model_grader_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 .grader_inputs_param import GraderInputsParam
from ..shared.reasoning_effort... | 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/graders/__init__.py | src/openai/types/graders/__init__.py | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
from __future__ import annotations
from .multi_grader import MultiGrader as MultiGrader
from .grader_inputs import GraderInputs as GraderInputs
from .python_grader import PythonGrader as PythonGrader
from .label_model_grader 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/graders/string_check_grader.py | src/openai/types/graders/string_check_grader.py | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
from typing_extensions import Literal
from ..._models import BaseModel
__all__ = ["StringCheckGrader"]
class StringCheckGrader(BaseModel):
"""
A StringCheckGrader object that performs a string comparison between input and... | 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/graders/multi_grader_param.py | src/openai/types/graders/multi_grader_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 .python_grader_param import PythonGraderParam
from .label_model_grader_param import LabelModelGr... | 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/graders/python_grader_param.py | src/openai/types/graders/python_grader_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__ = ["PythonGraderParam"]
class PythonGraderParam(TypedDict, total=False):
"""A PythonGrader object that runs a python script... | 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/graders/multi_grader.py | src/openai/types/graders/multi_grader.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 ..._models import BaseModel
from .python_grader import PythonGrader
from .label_model_grader import LabelModelGrader
from .score_model_grader import Scor... | 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/graders/score_model_grader.py | src/openai/types/graders/score_model_grader.py | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
from typing import List, Union, Optional
from typing_extensions import Literal, TypeAlias
from ..._models import BaseModel
from .grader_inputs import GraderInputs
from ..shared.reasoning_effort import ReasoningEffort
from ..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/graders/grader_inputs_param.py | src/openai/types/graders/grader_inputs_param.py | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
from __future__ import annotations
from typing import List, Union
from typing_extensions import Literal, Required, TypeAlias, TypedDict
from ..responses.response_input_text_param import ResponseInputTextParam
from ..responses.respo... | 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/conversations/item_create_params.py | src/openai/types/conversations/item_create_params.py | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
from __future__ import annotations
from typing import List, Iterable
from typing_extensions import Required, TypedDict
from ..responses.response_includable import ResponseIncludable
from ..responses.response_input_item_param 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/conversations/input_image_content_param.py | src/openai/types/conversations/input_image_content_param.py | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
from __future__ import annotations
from ..responses.response_input_image_param import ResponseInputImageParam
InputImageContentParam = ResponseInputImageParam
| 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/conversations/input_text_content_param.py | src/openai/types/conversations/input_text_content_param.py | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
from __future__ import annotations
from ..responses.response_input_text_param import ResponseInputTextParam
InputTextContentParam = ResponseInputTextParam
| 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/conversations/input_text_content.py | src/openai/types/conversations/input_text_content.py | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
from ..responses.response_input_text import ResponseInputText
__all__ = ["InputTextContent"]
InputTextContent = ResponseInputText
| 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/conversations/conversation_item.py | src/openai/types/conversations/conversation_item.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 .message import Message
from ..._utils import PropertyInfo
from ..._models import BaseModel
from ..responses.response_re... | 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/conversations/conversation_create_params.py | src/openai/types/conversations/conversation_create_params.py | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
from __future__ import annotations
from typing import Iterable, Optional
from typing_extensions import TypedDict
from ..shared_params.metadata import Metadata
from ..responses.response_input_item_param import ResponseInputItemParam... | 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/conversations/text_content.py | src/openai/types/conversations/text_content.py | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
from typing_extensions import Literal
from ..._models import BaseModel
__all__ = ["TextContent"]
class TextContent(BaseModel):
"""A text content."""
text: str
type: Literal["text"]
| 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/conversations/refusal_content.py | src/openai/types/conversations/refusal_content.py | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
from ..responses.response_output_refusal import ResponseOutputRefusal
__all__ = ["RefusalContent"]
RefusalContent = ResponseOutputRefusal
| 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/conversations/conversation.py | src/openai/types/conversations/conversation.py | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
from typing_extensions import Literal
from ..._models import BaseModel
__all__ = ["Conversation"]
class Conversation(BaseModel):
id: str
"""The unique ID of the conversation."""
created_at: int
"""
The time a... | 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/conversations/output_text_content.py | src/openai/types/conversations/output_text_content.py | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
from ..responses.response_output_text import ResponseOutputText
__all__ = ["OutputTextContent"]
OutputTextContent = ResponseOutputText
| 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/conversations/conversation_item_list.py | src/openai/types/conversations/conversation_item_list.py | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
from typing import List
from typing_extensions import Literal
from ..._models import BaseModel
from .conversation_item import ConversationItem
__all__ = ["ConversationItemList"]
class ConversationItemList(BaseModel):
"""A lis... | 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/conversations/computer_screenshot_content.py | src/openai/types/conversations/computer_screenshot_content.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__ = ["ComputerScreenshotContent"]
class ComputerScreenshotContent(BaseModel):
"""A screenshot of a computer."""
fil... | 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/conversations/input_file_content_param.py | src/openai/types/conversations/input_file_content_param.py | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
from __future__ import annotations
from ..responses.response_input_file_param import ResponseInputFileParam
InputFileContentParam = ResponseInputFileParam
| 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/conversations/item_retrieve_params.py | src/openai/types/conversations/item_retrieve_params.py | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
from __future__ import annotations
from typing import List
from typing_extensions import Required, TypedDict
from ..responses.response_includable import ResponseIncludable
__all__ = ["ItemRetrieveParams"]
class ItemRetrieveParam... | 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/conversations/conversation_update_params.py | src/openai/types/conversations/conversation_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__ = ["ConversationUpdateParams"]
class ConversationUpdateParams... | 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/conversations/refusal_content_param.py | src/openai/types/conversations/refusal_content_param.py | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
from __future__ import annotations
from ..responses.response_output_refusal_param import ResponseOutputRefusalParam
RefusalContentParam = ResponseOutputRefusalParam
| 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/conversations/message.py | src/openai/types/conversations/message.py | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
from typing import List, Union
from typing_extensions import Literal, Annotated, TypeAlias
from ..._utils import PropertyInfo
from ..._models import BaseModel
from .text_content import TextContent
from .summary_text_content import S... | 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/conversations/input_file_content.py | src/openai/types/conversations/input_file_content.py | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
from ..responses.response_input_file import ResponseInputFile
__all__ = ["InputFileContent"]
InputFileContent = ResponseInputFile
| 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/conversations/__init__.py | src/openai/types/conversations/__init__.py | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
from __future__ import annotations
from .message import Message as Message
from .conversation import Conversation as Conversation
from .text_content import TextContent as TextContent
from .refusal_content import RefusalContent as Re... | 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/conversations/summary_text_content.py | src/openai/types/conversations/summary_text_content.py | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
from typing_extensions import Literal
from ..._models import BaseModel
__all__ = ["SummaryTextContent"]
class SummaryTextContent(BaseModel):
"""A summary text from the model."""
text: str
"""A summary of the reasonin... | 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/conversations/conversation_deleted_resource.py | src/openai/types/conversations/conversation_deleted_resource.py | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
from typing_extensions import Literal
from ..._models import BaseModel
__all__ = ["ConversationDeletedResource"]
class ConversationDeletedResource(BaseModel):
id: str
deleted: bool
object: Literal["conversation.dele... | 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/conversations/item_list_params.py | src/openai/types/conversations/item_list_params.py | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
from __future__ import annotations
from typing import List
from typing_extensions import Literal, TypedDict
from ..responses.response_includable import ResponseIncludable
__all__ = ["ItemListParams"]
class ItemListParams(TypedDi... | 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/conversations/input_image_content.py | src/openai/types/conversations/input_image_content.py | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
from ..responses.response_input_image import ResponseInputImage
__all__ = ["InputImageContent"]
InputImageContent = ResponseInputImage
| 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/conversations/output_text_content_param.py | src/openai/types/conversations/output_text_content_param.py | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
from __future__ import annotations
from ..responses.response_output_text_param import ResponseOutputTextParam
OutputTextContentParam = ResponseOutputTextParam
| 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/vector_stores/file_batch_create_params.py | src/openai/types/vector_stores/file_batch_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 Required, TypedDict
from ..._types import SequenceNotStr
from ..file_chunking_strategy_param import FileChunkingStr... | 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/vector_stores/file_content_response.py | src/openai/types/vector_stores/file_content_response.py | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
from typing import Optional
from ..._models import BaseModel
__all__ = ["FileContentResponse"]
class FileContentResponse(BaseModel):
text: Optional[str] = None
"""The text content"""
type: Optional[str] = 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/vector_stores/file_update_params.py | src/openai/types/vector_stores/file_update_params.py | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
from __future__ import annotations
from typing import Dict, Union, Optional
from typing_extensions import Required, TypedDict
__all__ = ["FileUpdateParams"]
class FileUpdateParams(TypedDict, total=False):
vector_store_id: Req... | 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/vector_stores/file_list_params.py | src/openai/types/vector_stores/file_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__ = ["FileListParams"]
class FileListParams(TypedDict, total=False):
after: str
"""A cursor for use in pagination.
`after` is ... | 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/vector_stores/file_batch_list_files_params.py | src/openai/types/vector_stores/file_batch_list_files_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__ = ["FileBatchListFilesParams"]
class FileBatchListFilesParams(TypedDict, total=False):
vector_store_id: 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/vector_stores/file_create_params.py | src/openai/types/vector_stores/file_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, Optional
from typing_extensions import Required, TypedDict
from ..file_chunking_strategy_param import FileChunkingStrategyParam
__all__ = ["FileCreateParams"]
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/vector_stores/__init__.py | src/openai/types/vector_stores/__init__.py | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
from __future__ import annotations
from .file_list_params import FileListParams as FileListParams
from .vector_store_file import VectorStoreFile as VectorStoreFile
from .file_create_params import FileCreateParams as FileCreateParams... | 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/vector_stores/vector_store_file.py | src/openai/types/vector_stores/vector_store_file.py | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
from typing import Dict, Union, Optional
from typing_extensions import Literal
from ..._models import BaseModel
from ..file_chunking_strategy import FileChunkingStrategy
__all__ = ["VectorStoreFile", "LastError"]
class LastError(... | 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/vector_stores/vector_store_file_deleted.py | src/openai/types/vector_stores/vector_store_file_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__ = ["VectorStoreFileDeleted"]
class VectorStoreFileDeleted(BaseModel):
id: str
deleted: bool
object: Literal["vector_store.file.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/vector_stores/vector_store_file_batch.py | src/openai/types/vector_stores/vector_store_file_batch.py | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
from typing_extensions import Literal
from ..._models import BaseModel
__all__ = ["VectorStoreFileBatch", "FileCounts"]
class FileCounts(BaseModel):
cancelled: int
"""The number of files that where cancelled."""
comp... | 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.