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

OpenAI Integration Improvements #9225

Merged
merged 39 commits into from
May 30, 2024
Merged

OpenAI Integration Improvements #9225

merged 39 commits into from
May 30, 2024

Conversation

MinuraPunchihewa
Copy link
Contributor

@MinuraPunchihewa MinuraPunchihewa commented May 17, 2024

Description

This PR improves the OpenAI handler in order to make it Enterprise-ready.

Type of change

  • 🐛 Bug fix (non-breaking change which fixes an issue)

Verification Process

To ensure the changes are working as expected:

  • Test Location: tests/unit/ml_handlers/test_openai.py for unit tests and mindsdb/integrations/handlers/openai_handler/tests/test_openai_handler.py for integration tests.

  • Verification Steps: Run the above test modules (for integration tests, an OpenAI API key will be required).

  • My code follows the style guidelines(PEP 8) of MindsDB.

  • I have appropriately commented on my code, especially in complex areas.

  • Necessary documentation updates are either made or tracked in issues.

  • Relevant unit and integration tests are updated or added.

@MinuraPunchihewa MinuraPunchihewa changed the title OpenAI Improvements OpenAI Integration Improvements May 17, 2024
@MinuraPunchihewa MinuraPunchihewa marked this pull request as ready for review May 28, 2024 11:05
@MinuraPunchihewa
Copy link
Contributor Author

@StpMax I cannot seem to run the fine-tuning test reliably; running into a bunch of errors. So, i've just commented it out for now.

@MinuraPunchihewa
Copy link
Contributor Author

@ZoranPandovski I believe this is ready for review now.

Copy link
Member

@ZoranPandovski ZoranPandovski left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks. Before we merge let's remove the openai handler from flake ignore file https://github.com/mindsdb/mindsdb/blob/main/.flake8#L144C1-L144C49, also we can remove the commented test for now

@MinuraPunchihewa
Copy link
Contributor Author

Thanks. Before we merge let's remove the openai handler from flake ignore file https://github.com/mindsdb/mindsdb/blob/main/.flake8#L144C1-L144C49, also we can remove the commented test for now

Done.

@ZoranPandovski ZoranPandovski merged commit a1362ed into main May 30, 2024
13 checks passed
@ZoranPandovski ZoranPandovski deleted the eri/openai branch May 30, 2024 09:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants