feat(patents): score and filter patent-to-researcher matches
LocationBasedServices/smartguide/pipeline/pr-dev There was a failure building this commit
LocationBasedServices/smartguide/pipeline/pr-dev There was a failure building this commit
This commit is contained in:
@@ -29,3 +29,12 @@ export interface PatentEntry {
|
||||
country: string | null;
|
||||
}
|
||||
|
||||
export type MatchConfidence = 'high' | 'medium';
|
||||
|
||||
export interface MatchedPatentEntry extends PatentEntry {
|
||||
match_score: number;
|
||||
match_confidence: MatchConfidence;
|
||||
match_badges: string[];
|
||||
match_reasons: string[];
|
||||
}
|
||||
|
||||
|
||||
@@ -7,11 +7,12 @@
|
||||
* https://openapi-generator.tech
|
||||
* Do not edit the class manually.
|
||||
*/
|
||||
import { PatentEntry } from './patentEntry';
|
||||
import { MatchedPatentEntry } from './patentEntry';
|
||||
|
||||
export interface PatentsByAuthorResponse {
|
||||
author_id: string;
|
||||
author_name?: string | null;
|
||||
patent_count: number;
|
||||
patents: Array<PatentEntry>;
|
||||
is_common_name?: boolean;
|
||||
patents: Array<MatchedPatentEntry>;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user