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

Implement "paint" action for image generation in solve_github_issue. #419

Merged
merged 5 commits into from
Oct 27, 2024

Conversation

github-actions[bot]
Copy link
Contributor

This message was generated by git-bob (version: 0.11.2dev, model: gpt-4o-2024-08-06, log), an experimental AI-based assistant. It can make mistakes and has limitations. Check its messages carefully.

This pull request implements a new "paint" action in the solve_github_issue function within _ai_github_utilities.py, which allows for image generation via a prompt. The paint_image function was introduced to generate and save images using PIL directly. Additionally, _utilities.py was modified to include the images_from_url_responses function, which processes OpenAI's URL responses into PIL images instead of numpy arrays. These changes facilitate the integration of visual content into the project, enabling users to create images from textual prompts seamlessly.

closes #418

@haesleinhuepf
Copy link
Owner

Instead of from ._create import create please take over code from the function create from here: https://github.com/haesleinhuepf/darth-d/blob/main/darth_d/_create.py and integrats its code into the paint_image function.

git-bob implement this

Copy link
Contributor Author

This message was generated by git-bob (version: 0.11.2dev, model: gpt-4o-2024-08-06, log), an experimental AI-based assistant. It can make mistakes and has limitations. Check its messages carefully.

This update introduces a "paint" action for the solve_github_issue function within _ai_github_utilities.py, allowing for image generation via a prompt using the PIL library. It also integrates a new function in _utilities.py called images_from_url_responses, designed to process OpenAI's URL responses into PIL images, enhancing the project's capability to incorporate visual content.

@haesleinhuepf haesleinhuepf merged commit 2c8aaa0 into main Oct 27, 2024
4 checks passed
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.

Add new "paint" action
1 participant