Video wird geladen...

Video konnte nicht geladen werden

Zur Startseite

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 Aufrufe • vor 2 Jahren •via X (Twitter)

11 Kommentare

Profilbild von Matt Shumer
Matt Shumervor 2 Jahren

`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.

Profilbild von Matt Shumer
Matt Shumervor 2 Jahren

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!

Profilbild von Matt Shumer
Matt Shumervor 2 Jahren

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!

Profilbild von Matt Shumer
Matt Shumervor 2 Jahren

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.

Profilbild von Matt Shumer
Matt Shumervor 2 Jahren

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

Profilbild von Jeremy Howard
Jeremy Howardvor 2 Jahren

How does it compare to dspy?

Profilbild von Matt Shumer
Matt Shumervor 2 Jahren

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

Profilbild von Alex Volkov (Thursd/AI)
Alex Volkov (Thursd/AI)vor 2 Jahren

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

Profilbild von Matt Shumer
Matt Shumervor 2 Jahren

Thanks Alex! Happy to jump on tomorrow

Profilbild von 消費者
消費者vor 2 Jahren

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

Profilbild von Matt Shumer
Matt Shumervor 2 Jahren

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

Ähnliche Videos