stanfordnlp / dspy

DSPy: The framework for programming—not prompting—language models
https://dspy.ai
MIT License
19.07k stars 1.46k forks source link

Add a tutorial for summarization task #1617

Closed karthikscale3 closed 1 month ago

karthikscale3 commented 1 month ago

This PR adds a tutorial for the summarization task that is built by composing a Metric program and a Summarization program.

okhat commented 1 month ago

Looks great. Is it missing imports?

You can say dspy.Evaluate for example btw.

karthikscale3 commented 1 month ago

Looks great. Is it missing imports?

You can say dspy.Evaluate for example btw.

Good catch! fixed it

okhat commented 1 month ago

Thanks a lot @karthikscale3 !!! Merged.