正在加载视频...

视频加载失败

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 次观看 • 2 年前 •via X (Twitter)

11 条评论

Matt Shumer 的头像
Matt Shumer2 年前

`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 的头像
Matt Shumer2 年前

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 的头像
Matt Shumer2 年前

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 的头像
Matt Shumer2 年前

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 的头像
Matt Shumer2 年前

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

Jeremy Howard 的头像
Jeremy Howard2 年前

How does it compare to dspy?

Matt Shumer 的头像
Matt Shumer2 年前

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

Alex Volkov (Thursd/AI) 的头像
Alex Volkov (Thursd/AI)2 年前

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

Matt Shumer 的头像
Matt Shumer2 年前

Thanks Alex! Happy to jump on tomorrow

消費者 的头像
消費者2 年前

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

Matt Shumer 的头像
Matt Shumer2 年前

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

相关视频