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

feat: Added ImageBot to generate images #19

Merged
merged 3 commits into from
Nov 11, 2023
Merged

feat: Added ImageBot to generate images #19

merged 3 commits into from
Nov 11, 2023

Conversation

ericmjl
Copy link
Owner

@ericmjl ericmjl commented Nov 11, 2023

  • Added ImageBot class to bot module for generating images based on prompts.
  • Updated init.py files to include ImageBot in the module exports.
  • Created tests for ImageBot functionality.
  • Added documentation notebook to showcase ImageBot usage.

- Added ImageBot class to bot module for generating images based on prompts.
- Updated __init__.py files to include ImageBot in the module exports.
- Created tests for ImageBot functionality.
This commit introduces a new Jupyter notebook under the docs/examples directory.
The notebook demonstrates how to use the ImageBot API to generate images from text using the OpenAI API.
It also shows how ImageBot can be combined with other bots to create rich content.
This commit removes the deadline for the simple bot initialization test to prevent false negatives due to time constraints.
Copy link

codecov bot commented Nov 11, 2023

Codecov Report

Attention: 6 lines in your changes are missing coverage. Please review.

Comparison is base (0385994) 61.02% compared to head (16ee108) 62.31%.

Additional details and impacted files
@@            Coverage Diff             @@
##             main      #19      +/-   ##
==========================================
+ Coverage   61.02%   62.31%   +1.29%     
==========================================
  Files          45       47       +2     
  Lines        1724     1799      +75     
==========================================
+ Hits         1052     1121      +69     
- Misses        672      678       +6     
Files Coverage Δ
llamabot/__init__.py 100.00% <100.00%> (ø)
llamabot/bot/__init__.py 89.47% <100.00%> (+0.58%) ⬆️
tests/bot/test_imagebot.py 100.00% <100.00%> (ø)
tests/bot/test_simplebot.py 100.00% <100.00%> (ø)
llamabot/bot/imagebot.py 82.35% <82.35%> (ø)

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@ericmjl ericmjl merged commit 4337998 into main Nov 11, 2023
6 checks passed
@ericmjl ericmjl deleted the imagebot branch November 11, 2023 15:46
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.

1 participant