Skip to content

Releases: jonaskahn/specmine

v0.3.1 - The Woken Cat

Choose a tag to compare

@github-actions github-actions released this 12 Aug 07:58

Changes

  • Add logger support

Full Changelog: v0.3.0...v0.3.1

v0.3.0 - The Sleeping Cat

Choose a tag to compare

@github-actions github-actions released this 12 Aug 07:08

Change logs

  • Add tags extraction
  • Refactor prompt instruction

v0.2.0 - Old man

Choose a tag to compare

@github-actions github-actions released this 10 Aug 11:58

v0.2.0 Release Notes

What's New

  • Structured outputs: LLM responses are now constrained to a strict JSON schema ({specs: [{key, value, children}]}) via Anthropic tool-calling and OpenAI json_schema mode — no more parsing free-form JSON, so results are more reliable and nested spec groups are supported.
  • HTML → Markdown input: HTML strings, blobs, and fetched pages are auto-detected and converted to Markdown (via Turndown + GFM) before extraction, so table-heavy product pages extract cleanly.
  • Flattening options: new flattened + inheritance extract options to flatten nested specs — either keep parent-key prefixes (·) or collapse to innermost leaf pairs.

Improvements

  • Legacy flat JSON {key: value} responses remain supported alongside the new envelope format (validator accepts both).
  • Prompt tightened: values always strings with units, labels preserved, empty result returns {"specs":[]}.

Tests & Docs

  • New test fixtures: real Axis network-camera PDFs (German) plus HTML, provider, validator, and extractor coverage.
  • README documents HTML input handling.

Dependency

  • Added turndown, turndown-plugin-gfm, @types/turndown.

v0.1.0 - Ice Cream

Choose a tag to compare

@github-actions github-actions released this 08 Aug 11:46

specmine v0.1.0

First release of specmine — extract structured product specifications (JSON) from text or PDFs using an LLM.

  • Extract specs from file paths, URLs, or raw text
  • PDF inspection for direct document mining
  • OpenAI and Anthropic providers, with a resilient fallback provider