Skip to content

Default values for Usage metrics #2278

@basitanees

Description

@basitanees

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

Could we set the default value for Usage metrics as an integer (0)? This prevents the parser from setting it to None which prevents errors in some other open source libraries.

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