Sha256: 0e06a6730facdd5e0dafece462385f05f4d0c82618ab1d34da546f1a3660116d

Contents?: true

Size: 1.16 KB

Versions: 4

Compression:

Stored size: 1.16 KB

Contents

workflow :youtube_launch_optimizer do
  description 'Optimize video publishing for YouTube titles, descriptions, thumbnails, and social content'

  settings do
    prompt_path 'prompts/youtube/launch_optimizer'
    default_llm :gpt4o
  end

  prompts do
    prompt :title_generator, content: 'Generate an engaging YouTube video title based on the following description.'
    prompt :description_generator, content: 'Create a detailed YouTube video description.'
    prompt :thumbnail_idea, content: 'Suggest creative thumbnail ideas for the video.'
  end

  section :title_optimization, count: 3, active: true do
    step :generate_title do
      input :video_description

      prompt :title_generator

      output :video_title
    end
    step :generate_description do
      input :video_title
      input :video_keywords

      prompt :description_generator

      output :video_description
    end
  end

  section :thumbnail_optimization do
    step :generate_thumbnail_ideas do
      input :video_description

      prompt :thumbnail_idea

      output :thumbnail_suggestions
    end
  end

  actions do
    save
    save_json 'outputs/youtube_launch_optimizer.json'
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
klue-langcraft-0.4.0 docs/dsl-samples/youtube-launch-optimizer-strawberry.klue
klue-langcraft-0.3.0 docs/dsl-samples/youtube-launch-optimizer-strawberry.klue
klue-langcraft-0.2.0 docs/dsl-samples/youtube-launch-optimizer-strawberry.klue
klue-langcraft-0.1.1 docs/dsl-samples/youtube-launch-optimizer-strawberry.klue