Skip to content

Tasks: Create recipes #19260

@BrunoQuaresma

Description

@BrunoQuaresma

User Story

As a template admin, I want to create a recipe for my AI-powered template that can be customized through parameters, so that my team can use it to run day-to-day or repetitive tasks efficiently.

Technical Considerations

  • A recipe is created when adding a preset in the template. In other words, a recipe is a preset when added into a template with AI capabilities.

Acceptance Criteria

  • The recipe is displayed on the Tasks page
  • The user can view recipe details, including:
    • Parameters
    • Prompt
    • Template

Designs

Task recipe tiles

Image

Task info dialog

Image

FE details

  • The prompt component should have a copy button to make it easier for users to copy the prompt and reuse it.
  • The recipe card should contain the recipe name and a "run button"
    • When the card is clicked, it opens the "Task info dialog"

API details

GET /ai/tasks/recipes

  • Return an array of recipes the user has access to

Recipe fields

  • Name
  • Prompt
  • Parameters
  • Template display name or name, and version

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions