What I Read: LLM, DSPy Assertions and Suggestions

https://learnbybuilding.ai/tutorials/guiding-llm-output-with-dspy-assertions-and-suggestions

Guiding LLM Output with DSPy Assertions and Suggestions
Bill Chambers


“Assertions in DSPy allow you to define strict rules and constraints that the LLM’s output must (or maybe that you just want) to adhere to…. Suggestions, on the other hand, provide a more flexible way to guide the LLM’s output.”