-
Notifications
You must be signed in to change notification settings - Fork 330
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
Add support of GPT provider. #1567
Comments
I'm currently working on this, but help is welcome. |
Hi @lk-geimfari , If you are not working on this I could create this plugin from your example code. |
Sure! |
Hi @lk-geimfari , couple of thoughts. For the accessibility should use free LLM to generate the results like random text, image, and audio based on the prompt. It will unlock lot of users who can test us without any subscription to chatgpt plus or to even chatgpt. |
I'd prefer to avoid a lot of optional deps, but overall the idea is a good one. |
@lk-geimfari check this draft PR. After this I can create an Image based one and audio based one. |
I like it! Looks good. A good idea would be to use try/except when importing libs that will be optional. See the example in plugins/pytest.py. Also, do not foget include optional deps to pyproject.toml so we will be able to install all optional AI-related deps like this:
|
Also, don't forget the tests. Tests are good, we love them. |
Hi man @lk-geimfari , added a draft PR. Please add some comments If you think something needs a change. |
If something the user needs is not supported by Mimesis, they can generate it using OpenAI, like this:
This is just an example; the API is not finalized yet.
The text was updated successfully, but these errors were encountered: