Include `type_to_response_format_param` in public API
Open
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 31.6k
- Forks
- 5.7k
- Avg merge
- 1d 6h
- Merged PRs (30d)
- 96
Description
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
Now I have to do the following:
from openai.lib._parsing._completions import type_to_response_format_param
Please expose this publicly. You have to maintain it anyway, for the ChatCompletions.parse function.
Additional context
No response
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by inspecting openai.lib._parsing._completions and the public package exports used by ChatCompletions.parse. Determine the intended public import path, expose type_to_response_format_param there, and verify that existing ChatCompletions.parse behavior remains available through the public API.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- api
- Issue type
- Feature
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 48/100