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

Addition of extract_instructions #692

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

johnconnor-sec
Copy link

Addition of extract_instructions

This pattern is for use with yt --transcript, specifically for videos from Network Chuck, David Bombal, and other tech creators. I've been using extract_instructions with gpt-4o as the LLM to help me along my technical learning journey.

Changes Made

  • Adds a pattern, extract_instructions

What this Pull Request (PR) does:

This adds a system message to fabric prompting the LLM to extract the instructions from a video transcript and detail them in step-by-step, actionable goals. The pattern is presented to the LLM in the 'official pattern tempate' formula. The goal of creating this prompt was to attempt to extract the code/commands that are often spoken aloud in tech tutorial videos and have them ordered into actionable steps.

Testing

This pattern works amazingly with gpt-4o and is surprisingly sub optimal with claude-3.5-sonnet.

I created this pattern using the official_pattern_template and piping it to improve_prompt multiple times.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
1 participant