top | item 44773992

Using Dspy to Detect Document Boundaries

14 points| aberoham | 7 months ago |kmad.ai

1 comment

order

binarymax|6 months ago

Our intern worked on a similar DSPy project last year for contracts, though the classifier was much simpler: binary classification of whether the line was the start of a new section or not. We saw some success, but it wasn’t a revelation, and in the end we ended up keeping our giant regex classifier since it was much faster and much cheaper (free). I do really like DSPy though - maybe looking again with a more well defined set of classes would work better.