Video yükleniyor...

Video Yüklenemedi

Ana Sayfaya Dön

Introducing `claude-prompt-engineer` ✍️ An agent that creates optimal Claude 3 prompts. Just describe a task, and a chain of AIs will: - Generate many possible prompts - Test them in a ranked tournament - Return the best one And it's open-source:

767,219 görüntüleme • 2 yıl önce •via X (Twitter)

11 Yorum

Matt Shumer profil fotoğrafı
Matt Shumer2 yıl önce

`claude-prompt-engineer` is a constrained agent -- meaning its behavior is highly-controlled, leading to better results than open-ended agents. It chains together lots of Claude 3 calls that work together to find the best possible prompt.

Matt Shumer profil fotoğrafı
Matt Shumer2 yıl önce

It's based on my previous `gpt-prompt-engineer` that went viral (5k+ stars on Github) with a few massive improvements: - Uses Claude 3 (writes far better prompts than GPT-4) - Auto-generates test cases, further automating the prompt eng process - Supports multi-variable prompts!

Matt Shumer profil fotoğrafı
Matt Shumer2 yıl önce

How it works, in a nutshell: - The user describes the task and input variables - Claude generates many candidate prompts to try - Each prompt generates against each test case, and the outputs are compared (by Claude!) for each combo, ELO tournament-style - Highest score wins!

Matt Shumer profil fotoğrafı
Matt Shumer2 yıl önce

I've been blown away by the quality of the generated prompts. Often, they outperform the prompts I'd write by hand (especially when I ask it to generate and compare 10+ prompts). I am already using this for my day-to-day prompting work... it takes the guesswork out of it.

Matt Shumer profil fotoğrafı
Matt Shumer2 yıl önce

If you'd like to try it or contribute, check out the Github repo.

Jeremy Howard profil fotoğrafı
Jeremy Howard2 yıl önce

How does it compare to dspy?

Matt Shumer profil fotoğrafı
Matt Shumer2 yıl önce

Haven’t worked with dspy yet. Do you like it?

Alex Volkov (Thursd/AI) profil fotoğrafı
Alex Volkov (Thursd/AI)2 yıl önce

This is again... great @mattshumer_ Will cover this on tomorrow's #ThursdAI 🫡

Matt Shumer profil fotoğrafı
Matt Shumer2 yıl önce

Thanks Alex! Happy to jump on tomorrow

消費者 profil fotoğrafı
消費者2 yıl önce

What are those little things running across the top near the menu bar?

Matt Shumer profil fotoğrafı
Matt Shumer2 yıl önce

It's a fun setting I turned on in Colab years ago, I forget what it's called lol

Benzer Videolar