Boost Claude Code performance with prompt learning - optimize your prompts automatically with evals

Arize AI · Beginner ·🧠 Large Language Models ·3mo ago

Key Takeaways

Optimizes Claude Code performance with prompt learning and automatic evaluation

Original Description

🚀 Boost the performance of Claude Code with prompt learning 🧠 Repo with all the code here: https://github.com/Arize-ai/prompt-learning Prompt Learning, a new concept from Arize, uses English language feedback and meta prompting to boost the effectiveness of your prompts. This video covers how this technique can be used to improve your claude.md or other coding agent rules file by running coding tests against known problems with known solutions, running evals in AX or Phoenix to get English feedback, then feeding that into a meta prompt to generate rules for the agent. The flow: - Run your coding agent against problems from SWE Bench - Log the problem, agent generated solution, ground truth solution, and unit test pass or fail to AX - Run an eval in AX to validate the generated solution and get English language feedback, saving the scores from your experiment - Send the feedback to a meta prompt and update the coding agent rules - Repeat multiple times to iterate on the prompt Chapters: 0:00 - Intro 3:18 - What is prompt learning 6:23 - Using SWEBench to test your coding agent 10:21 - Before and after scores 13:47 - Applying this to your own code 15:31 - Overfitting Learn more: Blog post on Prompt Learning - https://arize.com/blog/prompt-learning-using-english-feedback-to-optimize-llm-systems/ Repo with all the code here: https://github.com/Arize-ai/prompt-learning Arize documentation: https://arize.com/docs/ax Sign up for Arize for free: https://arize.com/ Phoenix, Open Source LLM observability and tracing: https://phoenix.arize.com/ #PromptLearning #Evals
Watch on YouTube ↗ (saves to browser)
Sign in to unlock AI tutor explanation · ⚡30

Related Reads

📰
Integrating Open-Weight LLMs: A Developer's Guide to Next-Gen API Access
Learn to integrate open-weight LLMs into your applications using next-gen API access for transparency, customization, and cost-efficiency
Dev.to AI
📰
Adversarial Social Epistemology for Assemblies of Humans and Large Language Models
Learn to analyze and mitigate misinformation in human-LLM assemblies using Adversarial Social Epistemology
ArXiv cs.AI
📰
Aligning Clinical Needs and AI Capabilities: A Survey on LLMs for Medical Reasoning
Learn how to align clinical needs with AI capabilities using LLMs for medical reasoning and improve patient care
ArXiv cs.AI
📰
Infinity-Parser2 Technical Report
Learn how Infinity-Parser2 tackles document parsing with multimodal learning and data synthesis, and apply its concepts to your own parsing projects
ArXiv cs.AI

Chapters (6)

Intro
3:18 What is prompt learning
6:23 Using SWEBench to test your coding agent
10:21 Before and after scores
13:47 Applying this to your own code
15:31 Overfitting
Up next
5 Levels of AI Agents - From Simple LLM Calls to Multi-Agent Systems
Dave Ebbelaar (LLM Eng)
Watch →