From 085d1467044306138586264c1aeed6d104700c79 Mon Sep 17 00:00:00 2001 From: tokebe <43009413+tokebe@users.noreply.github.com> Date: Thu, 11 Apr 2024 12:07:57 -0400 Subject: [PATCH] feat: use lookup_and_score --- src/index.ts | 2 +- src/inferred_mode/inferred_mode.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/index.ts b/src/index.ts index cc4c6e01..b81b67a8 100644 --- a/src/index.ts +++ b/src/index.ts @@ -333,7 +333,7 @@ export default class TRAPIQueryHandler { description: `Query processed successfully, retrieved ${results.length} results.`, schema_version: global.SCHEMA_VERSION, biolink_version: global.BIOLINK_VERSION, - workflow: [{ id: 'lookup' }], + workflow: [{ id: 'lookup_and_score' }], message: { query_graph: this.originalQueryGraph, knowledge_graph: this.knowledgeGraph.kg, diff --git a/src/inferred_mode/inferred_mode.ts b/src/inferred_mode/inferred_mode.ts index cd360243..db8d6a71 100644 --- a/src/inferred_mode/inferred_mode.ts +++ b/src/inferred_mode/inferred_mode.ts @@ -498,7 +498,7 @@ export default class InferredQueryHandler { description: '', schema_version: global.SCHEMA_VERSION, biolink_version: global.BIOLINK_VERSION, - workflow: [{ id: 'lookup' }], + workflow: [{ id: 'lookup_and_score' }], message: { query_graph: this.queryGraph, knowledge_graph: {