Data Science, AI, Llm, OpenAI, Deep Dives.
Optimization Then we are ready to see what this opimitzation is about! To “train” our prompt, we need 3 things: A training set. We’ll just use our 20 question–answer examples from trainset. A metric for validation. Here we use the native dspy.evaluate.answer_exact_match which checks if the