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

Add support for DALLE AI image generation #1

Open
icyavocado opened this issue May 25, 2023 · 2 comments
Open

Add support for DALLE AI image generation #1

icyavocado opened this issue May 25, 2023 · 2 comments
Assignees
Labels
enhancement New feature or request
Milestone

Comments

@icyavocado
Copy link
Owner

icyavocado commented May 25, 2023

Proposal

Integrate DALL-E to command /dalle prompt

  1. Add DALL·E API request, and
  2. Trigger the bot using /dalle 'prompt' command (example: dalle a dog with sun glasses)
  3. Various settings should be available:
    • Multiple images support, preview before posting support (same layout as /giphy UI)
    • Togglable command /dalle
    • Able to pass n (how many images) and size (the size of the image) to the prompt

Expected outcome

An option to enable/disable the command /dalle.

@icyavocado icyavocado added the enhancement New feature or request label May 25, 2023
@icyavocado icyavocado added this to the 0.0.8 milestone May 25, 2023
@icyavocado icyavocado self-assigned this May 25, 2023
@icyavocado
Copy link
Owner Author

icyavocado commented Jun 8, 2023

Add command /dalle to the app: a1db263

@icyavocado
Copy link
Owner Author

Using ISlashCommandPreviewItem and SlashCommandPreviewItemType to preview dalle image before sending out.
Similar to how giphy app is doing their preview section.

import { ISlashCommandPreviewItem, SlashCommandPreviewItemType } from '@rocket.chat/apps-engine/definition/slashcommands';

@icyavocado icyavocado moved this from Todo to In Progress in Rocket.Chat.OpenAI.Completions.App Jun 8, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
Status: In Progress
Development

No branches or pull requests

1 participant