Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Document the difference between resources.completions and resources.chat.completions #4

Closed
1 task done
mmacy opened this issue Feb 18, 2024 · 1 comment
Closed
1 task done
Assignees
Labels
documentation Improvements or additions to documentation

Comments

@mmacy
Copy link
Owner

mmacy commented Feb 18, 2024

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

Neither the module docstrings (missing) nor class docstrings (missing or anemic) make it clear how these differ:

Additional context

The list of language models is different in their create() methods, but don't make the dev infer or guess which one they should use for what - tell 'em right there in the docstring so they can see it when they hover their mouse over the attribute in their IDE.

@mmacy mmacy self-assigned this Feb 18, 2024
@mmacy mmacy added the documentation Improvements or additions to documentation label Feb 18, 2024
@mmacy
Copy link
Owner Author

mmacy commented Feb 20, 2024

Fixed by #5

@mmacy mmacy closed this as completed Feb 20, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation
Projects
None yet
Development

No branches or pull requests

1 participant