Spaces:
Sleeping
Sleeping
Commit ·
a5decf0
1
Parent(s): cc81fac
switch model
Browse files
README.md
CHANGED
|
@@ -14,4 +14,55 @@ tags:
|
|
| 14 |
- agent-demo-track
|
| 15 |
---
|
| 16 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 17 |
Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference
|
|
|
|
| 14 |
- agent-demo-track
|
| 15 |
---
|
| 16 |
|
| 17 |
+
# PatentScout – Instantly Know If Your Idea Stands Out
|
| 18 |
+
|
| 19 |
+
*PatentScout* is your AI-powered partner for innovation.
|
| 20 |
+
Built on the cutting-edge *Model Context Protocol (MCP)*, it does what no ordinary patent search can: it deeply understands your idea, scours global patent databases with precision, and delivers a smart, contextual evaluation of how original, unique, and defensible your concept really is.
|
| 21 |
+
It doesn’t just search — it *thinks*.
|
| 22 |
+
|
| 23 |
+
---
|
| 24 |
+
|
| 25 |
+
## 🚀 Why PatentScout?
|
| 26 |
+
|
| 27 |
+
• Performs *deep, context-aware searches* across global patent databases
|
| 28 |
+
• Evaluates your idea’s *originality and defensibility*
|
| 29 |
+
• Surfaces *relevant prior art* and gives you clarity on your position
|
| 30 |
+
• Provides *clear strengths and weaknesses, plus a **patentability score*
|
| 31 |
+
• Helps you move fast, avoid legal landmines, and make confident decisions
|
| 32 |
+
|
| 33 |
+
Whether you’re a *startup founder, researcher, or corporate innovator*, PatentScout instantly tells you if your idea is worth pursuing.
|
| 34 |
+
|
| 35 |
+
---
|
| 36 |
+
|
| 37 |
+
## 🧠 How It Works
|
| 38 |
+
|
| 39 |
+
When a user submits an idea:
|
| 40 |
+
|
| 41 |
+
1. The system uses an *agent* to refine the input and formulate an effective query.
|
| 42 |
+
2. It then leverages the *MCP (Model Context Protocol)* to query a *live patent database*.
|
| 43 |
+
3. Results are displayed in a clean, user-friendly *dashboard* featuring:
|
| 44 |
+
- An analysis of *strengths and weaknesses*
|
| 45 |
+
- A *patentability score*
|
| 46 |
+
- A curated list of *similar existing patents*
|
| 47 |
+
|
| 48 |
+
---
|
| 49 |
+
|
| 50 |
+
## 🌐 Live Demo
|
| 51 |
+
|
| 52 |
+
Our implementation of MCP is publicly available on *Hugging Face Spaces*:
|
| 53 |
+
👉 [Patent MCP on Hugging Face](https://huggingface.co/spaces/bbfizp/patent-mcp)
|
| 54 |
+
|
| 55 |
+
---
|
| 56 |
+
|
| 57 |
+
## 🔧 Built With
|
| 58 |
+
|
| 59 |
+
• *Model Context Protocol (MCP)*
|
| 60 |
+
• *Agentic AI* architecture
|
| 61 |
+
• Live patent datasets
|
| 62 |
+
• Interactive frontend for a seamless user experience
|
| 63 |
+
|
| 64 |
+
---
|
| 65 |
+
|
| 66 |
+
*PatentScout* is built to empower innovation — so you can stop guessing, and start building with confidence.
|
| 67 |
+
|
| 68 |
Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference
|
app.py
CHANGED
|
@@ -476,7 +476,7 @@ def analyze_patent_idea(query: str):
|
|
| 476 |
logging.info("Rewriting query...")
|
| 477 |
query_prompt = query_prompt_template.format(user_description=query)
|
| 478 |
rewrite_response = client.responses.parse(
|
| 479 |
-
model="
|
| 480 |
input=[{"role": "user", "content": query_prompt}],
|
| 481 |
text_format=RewrittenQuery
|
| 482 |
)
|
|
|
|
| 476 |
logging.info("Rewriting query...")
|
| 477 |
query_prompt = query_prompt_template.format(user_description=query)
|
| 478 |
rewrite_response = client.responses.parse(
|
| 479 |
+
model="o4-mini",
|
| 480 |
input=[{"role": "user", "content": query_prompt}],
|
| 481 |
text_format=RewrittenQuery
|
| 482 |
)
|