From 7f0d454c2cee46b9a337cfbf8a2ed22547f017a1 Mon Sep 17 00:00:00 2001 From: Marco Roth Date: Thu, 15 Aug 2024 20:59:52 +0200 Subject: [PATCH] `desciption` -> `description` --- app/jobs/analyze_talk_topics_job.rb | 2 +- app/models/talk/summary_commands.rb | 2 +- app/models/talk/transcript_commands.rb | 2 +- test/vcr_cassettes/talks/extract_topics.yml | 2 +- test/vcr_cassettes/talks/transcript-enhancement.yml | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) diff --git a/app/jobs/analyze_talk_topics_job.rb b/app/jobs/analyze_talk_topics_job.rb index 100e92da..29ff062f 100644 --- a/app/jobs/analyze_talk_topics_job.rb +++ b/app/jobs/analyze_talk_topics_job.rb @@ -49,7 +49,7 @@ def prompt(talk) 1. First, review the metadata of the video: - title: #{talk.title} - - desciption: #{talk.description} + - description: #{talk.description} - speaker name: #{talk.speakers.map(&:name).to_sentence} - event name: #{talk.event_name} diff --git a/app/models/talk/summary_commands.rb b/app/models/talk/summary_commands.rb index 7be7f5bb..d7e2d0f4 100644 --- a/app/models/talk/summary_commands.rb +++ b/app/models/talk/summary_commands.rb @@ -40,7 +40,7 @@ def create_summary_prompt 1. First, review the metadata of the video: - title: #{title} - - desciption: #{description} + - description: #{description} - speaker name: #{speakers.map(&:name).to_sentence} - event name: #{event_name} diff --git a/app/models/talk/transcript_commands.rb b/app/models/talk/transcript_commands.rb index ea055a97..e172157a 100644 --- a/app/models/talk/transcript_commands.rb +++ b/app/models/talk/transcript_commands.rb @@ -49,7 +49,7 @@ def enhance_transcript_prompt First, here is the metadata for the transcript: - title: #{title} - - desciption: #{description} + - description: #{description} - speaker name: #{speakers.map(&:name).to_sentence} - event name: #{event_name} diff --git a/test/vcr_cassettes/talks/extract_topics.yml b/test/vcr_cassettes/talks/extract_topics.yml index c9737284..1739fed5 100644 --- a/test/vcr_cassettes/talks/extract_topics.yml +++ b/test/vcr_cassettes/talks/extract_topics.yml @@ -11,7 +11,7 @@ http_interactions: of the list of provided topics matches a transcript based on the transcript and its metadata. Follow these steps carefully:\n\n1. First, review the metadata of the video:\n\u003cmetadata\u003e\n - title: Hotwire Cookbook: Common Uses, - Essential Patterns \u0026 Best Practices\n - desciption: @SupeRails creator + Essential Patterns \u0026 Best Practices\n - description: @SupeRails creator and Rails mentor Yaroslav Shmarov shares how some of the most common frontend problems can be solved with Hotwire.\n\nHe covers:\n- Pagination, search and filtering, modals, live updates, dynamic forms, inline editing, drag \u0026 diff --git a/test/vcr_cassettes/talks/transcript-enhancement.yml b/test/vcr_cassettes/talks/transcript-enhancement.yml index 22fe2825..1bfb001e 100644 --- a/test/vcr_cassettes/talks/transcript-enhancement.yml +++ b/test/vcr_cassettes/talks/transcript-enhancement.yml @@ -11,7 +11,7 @@ http_interactions: to correct and enhance the text, organize it into paragraphs, and format it into a specific JSON structure. Follow these instructions carefully to complete the task.\n\nFirst, here is the metadata for the transcript:\n - title: Hotwire - Cookbook: Common Uses, Essential Patterns \u0026 Best Practices\n - desciption: + Cookbook: Common Uses, Essential Patterns \u0026 Best Practices\n - description: @SupeRails creator and Rails mentor Yaroslav Shmarov shares how some of the most common frontend problems can be solved with Hotwire.\n\nHe covers:\n- Pagination, search and filtering, modals, live updates, dynamic forms, inline