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: Add script generation to 'Generate script with AI' tab #144

Closed
7 tasks
o-nedashkivska opened this issue Sep 3, 2024 · 1 comment · Fixed by #228
Closed
7 tasks

FEAT: Add script generation to 'Generate script with AI' tab #144

o-nedashkivska opened this issue Sep 3, 2024 · 1 comment · Fixed by #228
Assignees
Labels
FE Fronted feature

Comments

@o-nedashkivska
Copy link
Collaborator

o-nedashkivska commented Sep 3, 2024

What feature?

On the video modal component there is 'Generate script with AI' tab. When a user fills form and click 'Generate script' button, the script must be generated (using chat controller) and placed on the right side of the tab (see https://heygen.com/ for reference).

For now chat controller accepts only message property, so make a helper that creates one single message from all fields on the form (e.g 'Please generate script on topic [topic from the form] in [language from the form] ...').

When script is generated change button text to 'Regenerate'. If user click on 'Regenerate' button regenerate the script (e.g. send message to chat 'Please, generate another script from the info I have provided before').

When script is generated place 'Create video' button under the script. The button should not do anything for now.

Use HeyGen as a reference but apply our app colors.

Video modal pr
'Generate script with AI' tab pr
Chat controller pr

Add screenshots

HeyGen reference:
Screenshot 2024-09-03 at 19 50 04

Acceptance criteria

  • 'Generate script with AI' tab should allow allows the user to generate a video script using AI assistance
  • 'Generate script with AI' tab should contain the following input fields: 'Topic', 'Target language', 'Tone', 'Additional info' and 'Generate'/'Re-generate' button
  • The 'Topic' input field should accept the topic of the script (text)
  • The 'Target language' drop-down list should accept the language of the script ('English' for now)
  • The 'Tone' input field should accept the tone of the script
  • The 'Additional info' input field should accept the any additional information the user wants to provide about the script
  • The 'Generate' button should be replaced with 'Re-generate' button after the script is generated

Testing documentation

https://docs.google.com/spreadsheets/d/1lgdyHPqr2DC5LSHVuBjRte31Mw1jXOlH1tkoTQ-MpIc/edit?gid=1927397104#gid=1927397104

@o-nedashkivska o-nedashkivska added the FE Fronted feature label Sep 3, 2024
@o-nedashkivska o-nedashkivska added this to the Release 1.0 milestone Sep 3, 2024
@lfelix3011 lfelix3011 self-assigned this Sep 3, 2024
@lfelix3011 lfelix3011 moved this from Backlog to Todo in bsa-2024-outreachvids Sep 3, 2024
@o-nedashkivska o-nedashkivska moved this from Todo to Backlog in bsa-2024-outreachvids Sep 3, 2024
@lfelix3011 lfelix3011 moved this from Todo to In Progress in bsa-2024-outreachvids Sep 5, 2024
@lfelix3011 lfelix3011 moved this from In Progress to Peer Review in bsa-2024-outreachvids Sep 10, 2024
@o-nedashkivska
Copy link
Collaborator Author

Please, attach PR to the ticket

@nikita-remeslov nikita-remeslov moved this from Peer Review to In Progress in bsa-2024-outreachvids Sep 10, 2024
@lfelix3011 lfelix3011 linked a pull request Sep 10, 2024 that will close this issue
@lfelix3011 lfelix3011 moved this from In Progress to Peer Review in bsa-2024-outreachvids Sep 10, 2024
@nikita-remeslov nikita-remeslov moved this from Peer Review to In Progress in bsa-2024-outreachvids Sep 11, 2024
@sofiia-trokhymchuk sofiia-trokhymchuk added the MERGE CONFLICTS Merge conflicts while merging the PR label Sep 11, 2024
@lfelix3011 lfelix3011 moved this from In Progress to Peer Review in bsa-2024-outreachvids Sep 11, 2024
@lfelix3011 lfelix3011 removed the MERGE CONFLICTS Merge conflicts while merging the PR label Sep 11, 2024
@github-project-automation github-project-automation bot moved this from Peer Review to To Be Tested in bsa-2024-outreachvids Sep 12, 2024
@alien513 alien513 self-assigned this Sep 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
FE Fronted feature
Projects
Status: In Testing
Development

Successfully merging a pull request may close this issue.

5 participants