Go to file
0xWheatyz 26a23c02ae feat: add patent content minimization for LLM consumption
Implemented minimize_patent_for_llm() function that reduces patent
content by keeping only essential sections (abstract, claims, summary)
and explicitly excludes the verbose detailed description section.

This reduces token usage while preserving core innovation details
needed for company performance estimation.

Added comprehensive test coverage (5 new tests) for:
- Essential section inclusion
- Description section exclusion
- Missing section handling
- Empty section handling
- Section separator formatting

All 13 tests passing.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2026-02-19 18:54:07 -05:00
SPARC feat: add patent content minimization for LLM consumption 2026-02-19 18:54:07 -05:00
tests feat: add patent content minimization for LLM consumption 2026-02-19 18:54:07 -05:00
.gitignore docs: updated documentation about possible not needing google patent API 2025-12-08 19:39:11 -05:00
flake.lock feat: patent retrival and semi-processed 2025-12-08 19:33:02 -05:00
flake.nix feat: patent retrival and semi-processed 2025-12-08 19:33:02 -05:00
main.py feat: patent retrival and semi-processed 2025-12-08 19:33:02 -05:00
README.md docs: updated documentation about possible not needing google patent API 2025-12-08 19:39:11 -05:00
requirements.txt test: add pytest framework and initial test suite 2026-02-19 18:52:54 -05:00

SPARC

Name

Semiconductor Patent & Analytics Report Core

Description

Installation

NixOS Installation

nix develop to build and configure nix dev environment

Usage

docker compose up -d

Roadmap

  • Retrive publicationID from SERP API
  • Retrive data from Google's patent API based on those publicationID's
    • This may not be needed, looking to parse the patents based soley on the pdf retrived from SERP
  • Wrap this into a python fastAPI, then bundle with docker

License

For open source projects, say how it is licensed.

Project status

Heavy development for the limited time available to me