feat(patents): show OpenAlex topic labels for patent IPC/CPC codes
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:
2026-07-11 11:39:45 +02:00
co-authored by Claude Sonnet 5
parent f5bf3ecbe4
commit 2427f4baa0
11 changed files with 255 additions and 4 deletions
@@ -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;
+1
View File
@@ -30,5 +30,6 @@ export interface PatentEntry {
cpc?: Array<string>;
cpc_descriptions?: Array<IpcClassification>;
country?: string | null;
openalex_topics?: Array<string>;
}