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

FEATURE: AI image caption #470

Merged
merged 22 commits into from Feb 19, 2024
Merged

FEATURE: AI image caption #470

merged 22 commits into from Feb 19, 2024

Conversation

keegangeorge
Copy link
Member

@keegangeorge keegangeorge commented Feb 12, 2024

This PR adds a new feature where you can generate captions for images in the composer using AI.

Preview

ai-image-caption-demo.mov

@@ -51,7 +51,7 @@ def validate_message(message)
raise ArgumentError, "message contains invalid keys: #{invalid_keys}"
end

raise ArgumentError, "message content must be a string" if !message[:content].is_a?(String)
#raise ArgumentError, "message content must be a string" if !message[:content].is_a?(String)
Copy link
Member

Choose a reason for hiding this comment

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

@keegangeorge
Copy link
Member Author

@romanrizzi / @xfalcox

Do you know why these specs are failing? I can't seem to pinpoint the issue here.

@xfalcox xfalcox marked this pull request as ready for review February 19, 2024 17:45
@xfalcox xfalcox merged commit a9b2d6a into main Feb 19, 2024
5 checks passed
@xfalcox xfalcox deleted the ai-image-caption branch February 19, 2024 17:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
3 participants