DSPY Examples

Prepare

poetry install
poetry shell

create the .env including your api keys

Examples

A Simple ChainOfThought

python mini.py

"HTML Link" -> Summary

python html_summary/ui.py

ToDO

  1. pdf document -> summary
  2. context, input -> output, eg, generate a new sentence based on the input sentence while considering the context
  3. requirement -> code