PyCon India 2025

Mahima Arora

Mahima Arora is a Senior Data Scientist on the Data & AI team at Red Hat, specializing in Generative AI applications. She develops AI-powered solutions that enhance efficiency and effectiveness, leading initiatives to optimize AI systems for greater impact. An open-source enthusiast, Mahima continuously explores new tools and technologies to expand her expertise and stay at the forefront of innovation.


Professional Link

https://www.linkedin.com/in/mahimaarora25/

Preferred Pronoun

She/Her

Speaker Tagline

Senior Data Scientist @ Red Hat | Data & AI

Gravatar - Professional Photo

https://gravatar.com/mahimaarora25

LinkedIn Profile

https://www.linkedin.com/in/mahimaarora25/


Session

09-13
10:50
30min
Mastering Prompts with Feedback and Pydantic
Mahima Arora, Aarti Jha

Prompt engineering has become a core skill in working with LLMs, yet writing effective prompts is tedious, inconsistent, and often requires multiple attempts. Most prompt development today is done manually, relying on trial and error, which doesn’t scale well, especially in production environments where consistency is crucial. This talk presents a practical approach to optimizing prompts by treating them as evolving tools. The process includes refining prompts based on feedback and ensuring the outputs meet structure and quality requirements, with the help of Pydantic to validate and enforce output standards. This helps create stable, production-ready prompts through continuous and iterative improvement.

AI, ML, Data Science
Track 1