Go to file
0xWheatyz d7cf80f02f feat: add LLM integration for patent analysis
Implemented LLMAnalyzer class using Anthropic's Claude API for:
- Single patent content analysis
- Portfolio-wide analysis across multiple patents
- Configurable API key management via environment variables

Key features:
- Uses Claude 3.5 Sonnet for high-quality analysis
- Structured prompts for innovation assessment
- Token limits optimized per use case (1024 for single, 2048 for portfolio)
- Analyzes: innovation quality, market potential, strategic direction

Updated config.py to support ANTHROPIC_API_KEY environment variable.

Added comprehensive test suite (6 tests) covering:
- Initialization from config and direct API key
- Single patent analysis
- Portfolio analysis
- Token limit validation

All 19 tests passing.

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

Co-Authored-By: Claude <noreply@anthropic.com>
2026-02-19 18:55:35 -05:00
SPARC feat: add LLM integration for patent analysis 2026-02-19 18:55:35 -05:00
tests feat: add LLM integration for patent analysis 2026-02-19 18:55:35 -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 feat: add LLM integration for patent analysis 2026-02-19 18:55:35 -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