feat(patents): show OpenAlex topic labels for patent IPC/CPC codes
LocationBasedServices/smartguide/pipeline/pr-dev This commit looks good
LocationBasedServices/smartguide/pipeline/pr-dev This commit looks good
Enriches patents with matched OpenAlex topic names from patents_openalex_keywords, shown alongside classifications on the patent detail page. Also fixes lookup() using a broken GET on doc ids containing "/" (400 from the gateway) by switching to a _search with an ids query. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
This commit is contained in:
@@ -30,6 +30,7 @@ export interface OrgPatentEntry {
|
||||
cpc?: Array<string>;
|
||||
cpc_descriptions?: Array<IpcClassification>;
|
||||
country?: string | null;
|
||||
openalex_topics?: Array<string>;
|
||||
institution_id: string;
|
||||
institution_name?: string | null;
|
||||
match_type: OrgPatentEntry.MatchTypeEnum;
|
||||
|
||||
@@ -30,5 +30,6 @@ export interface PatentEntry {
|
||||
cpc?: Array<string>;
|
||||
cpc_descriptions?: Array<IpcClassification>;
|
||||
country?: string | null;
|
||||
openalex_topics?: Array<string>;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user