AI, Artificial Intelligence, Machine Learning, Large Language Models, Conversational AI.
general, the metric is going to tell the optimizer how well it's doing. teleprompter = BootstrapFewShot(metric=gsm8k_metric, **config) optimized_cot = teleprompter.compile(CoT(), trainset=gsm8k_trainset) After compiling the DSPy program, move to evaluating its performance on the dev dataset. from