adrienbrdne commited on
Commit
2477493
·
verified ·
1 Parent(s): 2b14076

Update api.py

Browse files
Files changed (1) hide show
  1. api.py +1 -1
api.py CHANGED
@@ -160,7 +160,7 @@ def extract_google_patents(patent_number: str, node_type: str = "Patent"):
160
  """
161
  # Initialize a dictionary with default error messages for consistency.
162
  patent_data = {
163
- "document": f"Patent {patent_number}",
164
  "title": "Error fetching content or content not found",
165
  "description": "Error fetching content or content not found",
166
  "claim": "Error fetching content or content not found",
 
160
  """
161
  # Initialize a dictionary with default error messages for consistency.
162
  patent_data = {
163
+ "number": f"{patent_number}",
164
  "title": "Error fetching content or content not found",
165
  "description": "Error fetching content or content not found",
166
  "claim": "Error fetching content or content not found",