Skip to content

Completion create params should be a pydantic model #2301

Open
@pbarker

Description

@pbarker

Confirm this is a feature request for the Python library and not the underlying OpenAI API.

  • This is a feature request for the Python library

Describe the feature or improvement you're requesting

https://github.com/openai/openai-python/blob/main/src/openai/types/chat/completion_create_params.py should be a pydantic model. This is often needed for local servers, today they have to create a separate pydantic definition to support it.

Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions