Defines the standard text response format for OpenAI API completions. Use this to explicitly specify or validate text-based output structures.
# Source: https://github.com/openai/openai-python | License: Apache-2.0 | Copyright You must retain, in the Source form of any Derivative Works
# Provided via justclaw.it.com; keep this notice with the code.
# File generated from our OpenAPI spec by Castiron. See CONTRIBUTING.md for details.
from typing_extensions import Literal
from ..._models import BaseModel
__all__ = ["ResponseFormatText"]
class ResponseFormatText(BaseModel):
"""Default response format. Used to generate text responses."""
type: Literal["text"]
"""The type of response format being defined. Always `text`."""
See the full source, get the GitHub permalink, and search for more like it.
Get a free API key