Upgrade OpenAI Dependency to 1.0
Closed this issue · 3 comments
arpagon commented
Upgrade OpenAI Dependency to 1.0
Summary
The objective is to update the OpenAI dependency in the Vocode project to version >=1.0 and ensure compatibility with its updated API.
Outcome
Enhance integration capabilities and access to new features by upgrading to OpenAI 1.0, thus improving developer experience and fostering community engagement.
Technical Details
- Review the OpenAI 1.0 API documentation and identify necessary changes.
- Update the dependency in
pyproject.toml
using Poetry. - Refactor the affected code to comply with the new API.
- Test thoroughly to ensure compatibility and stability.
- Document the changes and update the project documentation.
- Address the migration of
convert_to_openai_object
as per the new API changes discussed in openai/openai-python#715. - Implement mock supports for
OpenAIObjects
as outlined in openai/openai-python#398. - Refactor the test utilities in
vocode-python
to align with the new API, specifically the changes needed in this section of the code.
github-actions commented
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
arpagon commented
This was updated in version 0.1.113.