Practical AI
Practical AI

Collaboration & evaluation for LLM apps

Small changes in prompts can create large changes in the output behavior of generative AI models. Add to that the confusion around proper evaluation of LLM applications, and you have a recipe for confusion and frustration. Raza and the Humanloop team have been diving into these problems, and, in thi

Featured Speakers

Reza Habib Guest

Topics Discussed

Episode Summary

Executive Summary: HumanLoop CEO Reza Habib explains why LLM applications need shared tools for prompt development, versioning, evaluation, and production monitoring. Because prompts and outputs are subjective and affect product behavior, domain experts and engineers must collaborate and test changes systematically. Teams often start with prompt engineering and retrieval-augmented generation; fine-tuning is more often used for cost, latency, privacy, or output constraints. He anticipates more production agents and tools that proactively suggest improvements.

Main Topics: Why LLM development needs new workflows: Natural-language prompts make AI customization accessible to product managers and subject-matter experts, but prompts are consequential artifacts that need versioning, collaboration, and production-grade care. LLM outputs are also harder to evaluate than conventional software or predictive models. HumanLoop's development and evaluation platform: The platform provides a collaborative playground for iterating on prompts and comparing models, with version history, datasets, deployment workflows, evaluation tools, and production monitoring. Collaboration between domain experts and engineers: Domain experts often know what a good output looks like and can write or revise prompts, while engineers build retrieval, orchestration, integrations, and logging. Teams need a shared environment to connect these roles. Evaluation, feedback, and regression prevention: Teams can use standard metrics, LLM-as-judge evaluators, human review, and end-user signals. Evaluation supports early prototyping, regression testing after changes, adversarial testing, and monitoring live systems. Prompt engineering, RAG, and fine-tuning: Habib advises most teams to first improve prompts and provide relevant information through retrieval-augmented generation. Fine-tuning is more applicable when optimizing cost or latency, enforcing output style or format, or deploying private and edge models. Model choice, agents, and future capabilities: Customers may combine proprietary and open models for differing performance, privacy, and latency needs. Habib expects more capable models to enable additional production agents and sees potential for HumanLoop to recommend changes based on evaluation data.

Key Arguments: LLM prompts should be managed with rigor similar to code: changes can materially alter application behavior, and informal sharing through chat or copied strings can create confusing, hard-to-trace differences. Reliable LLM applications require evaluation because outputs are often subjective and lack a single correct answer. Test sets, evaluators, human feedback, and production signals help teams assess quality and catch regressions. LLMs broaden who can contribute to application development: domain experts can directly shape prompts and judge outputs, while engineers remain essential for the surrounding software, retrieval, and integrations. Prompt engineering and retrieval often solve use-case adaptation more quickly than fine-tuning. Fine-tuning changes model weights and is most useful for particular operational or behavioral goals rather than simply injecting company facts. A single model choice will not suit every application. Organizations may use proprietary models for capability and open models for privacy, low latency, or edge deployment, and tooling should support that mix. Evaluation is useful throughout the lifecycle: interactive prototyping provides fast feedback, fixed test sets help prevent regressions, and production evaluators can flag quality changes in incoming traffic. As models improve, agents and multimodal applications may become more practical, while evaluation-rich platforms could move beyond observing performance to proposing tested improvements.

Data Points: HumanLoop founding team's prior academic work: Peter and Reza completed PhDs together - Habib says the co-founders had worked on the problem for a long time before starting the company. Timing of the shift toward larger models: Midway through 2022 - The founders became convinced that progress in large models would eclipse earlier approaches in performance and usability. Prototype quality described in the development journey: 80% good enough - Habib describes the point at which teams often move from a quick prototype toward a version they can trust in production. Prompt versions teams may accumulate: 20 different versions - An example of the prompt-management burden encountered when prompts are stored as strings in code. Potential cost reduction from a suggested prompt change: 40% - Habib gives a prospective example of HumanLoop recommending a shorter prompt that scores similarly on evaluation data; this is an illustrative future capability, not a reported result. Fly.io service regions: 30+ regions on six continents - A sponsor statement in the episode introduction, unrelated to the interview's main discussion.

Pivotal Quotes: "It has a similar impact to code on your end application. So, it needs to be versioned and managed and treated with the same level of respect and rigor that you would treat normal code" — Reza Habib: Explaining why prompts need formal management and version control. "people should first push the limits of prompt engineering because it's very fast, it's easy to do, and it can have like very High impact" — Reza Habib: Summarizing his practical recommendation before teams invest in fine-tuning. "going from a system that is observing to a system that's actually intervening." — Reza Habib: Describing HumanLoop's planned move toward proactively recommending application improvements based on evaluation data.

Implications: Teams moving LLM features into production should treat prompts and model changes as software changes: collaborate across roles, evaluate against relevant cases, and monitor real usage. Start with prompts and retrieval, then fine-tune when specific cost, latency, privacy, or output constraints justify it.

🔓 Sign Up for Unlimited Episode Search

About Practical AI

View all episodes from Practical AI