Spaces:
Sleeping
Sleeping
Commit History
-
Remove 5000 character limit on file text extraction
Allow full document text to be passed through to the analysis instead of truncating at 5000 characters. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>3a79ec0 -
Add 7-step USPTO search methodology integration
Incorporates the USPTO's structured prior art search methodology: - Step 1-2: Invention decomposition and synonym expansion via /api/analyze-deep - Step 3: Primary/secondary CPC classification with explanations - Step 4: Boolean search strings (broad/intermediate/examiner-level) with Run in App - Step 5: Seed patent strategy with citation mining - Step 6: Examiner-level comparison framework via /api/evaluate-patent - Step 7: Search saturation tracking with progress bar Backend: Two new endpoints (analyze-deep, evaluate-patent) with structured Gemini prompts. Frontend: Collapsible decomposition/synonym cards in Step 1, boolean queries/seed patent/ saturation tracker in Step 2, per-patent evaluation tables with threat level badges. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>33233d1 -
Add targeted claim regeneration from analysis feedback
When claim analysis shows a non-perfect rating (e.g., Specificity: Medium), an "Improve" button appears on that card. Clicking it sends the current claims plus the analysis feedback to Gemini, which rewrites the claims with specific focus on improving that dimension while preserving strengths in other areas. Old analysis is cleared so the user can re-analyze. - Extend ClaimRequest model with improvement_focus, previous_claims, and analysis_feedback optional fields - Update /api/generate-claim to use a targeted improvement prompt when improvement_focus is provided (backwards compatible) - Add Improve buttons to analysis cards (hidden when rating is already best) - Add improveClaimDimension() JS function with loading states Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>9a6952b -
Add relevance scoring and AI-powered claim analysis
- Add client-side relevance score (0-100%) on patent search results based on keyword matches in title/abstract and CPC code overlap - Add "Most relevant" as default sort option with client-side reordering - Add /api/analyze-claim endpoint using Gemini to evaluate claims across three dimensions: specificity, protection scope, and potential infringements - Display analysis as a 3-column card grid with color-coded ratings - Persist analysis results in session storage across page reloads - Loosen requirements.txt version pins for broader compatibility Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>de71b62
-
Phase 2: CPC search, sort options, pagination, keyword highlighting, citation trail
- Add CPC code extraction to analyze and filter in search - Add sort by date or citations (most cited first) - Increase results to 25 with Load more pagination - Highlight search keywords in prior art results - Add /api/patent/{id}/citations and Related patents UI - Pin dependency versions in requirements.txt Co-authored-by: Cursor <cursoragent@cursor.com>adda1ae
-
Remove fake data fallbacks, show real errors, and link patents to Google Patents
Replace all silent fallbacks to hardcoded/simulated data with visible error messages so attorneys never see fabricated results. Delete the Gemini-simulated prior art search entirely. Add clickable patent number links to Google Patents. Co-authored-by: Cursor <cursoragent@cursor.com>d330331
-
Add Node.js backend with Gemini API proxy
Express server with 3 endpoints (/api/analyze, /api/search, /api/generate-claim) proxying to Google Gemini 2.0 Flash. Free tier, no API cost. Frontend already wired to call local endpoints with demo data fallback when API is unavailable. Co-authored-by: Cursor <cursoragent@cursor.com>d7bf755 -
Add localStorage persistence and fix bugs
- App state now saves to localStorage after every change - Full session restore on page reload (step, text, tags, results, claims) - Added "Start Over" button in header to clear all progress - Fixed copyClaim() to accept event parameter properly - Removed broken rejectState variable (approve/reject bug fix) Co-authored-by: Cursor <cursoragent@cursor.com>40d94c5 -
Add real PDF and DOCX text extraction to file upload
Uses pdf.js (Mozilla) and mammoth.js loaded from CDN to extract text from uploaded documents client-side. No backend needed. Shows character count after extraction, with error handling for unsupported or corrupt files. Co-authored-by: Cursor <cursoragent@cursor.com>c1ceb60
-
Initial commit: Eddison Intelligence patent assistant
3-step AI-powered patent assistant (describe invention, search prior art, draft claims). Single-file HTML/CSS/JS app using Claude API with demo fallback data. Co-authored-by: Cursor <cursoragent@cursor.com>c300883