dspy
dspy copied to clipboard
dspy misses newlines, especially with longer context and smaller models
DSPy misses newlines, especially with longer context and smaller models.
So is there any possibility to enforce newline character treatment in the few-shot in-context learning examples.
This is addressed in the FAQ. You will just need to pass format=str in your signature. Check out the FAQ in our docs