swift-extract 0.1.0
Typed structured extraction from PDFs, photos, and text via any LLM.
Install
.package(url: "https://github.com/asaptf/swift-extract.git", from: "0.1.0").product(name: "Extract", package: "swift-extract")Highlights
@Extractable/@Guidemacros → compile-time schemas + lenient Codable- PDF / image / text adapters (PDFKit + Vision OCR)
- Repair retries, chunk-merge, AnyLanguageModel backends
- CLI + ReceiptScanner demo
- Apache-2.0
Swift Package Index
https://swiftpackageindex.com/add-a-package
URL: https://github.com/asaptf/swift-extract.git