From bf5eb3e0598e1f4be341d0b028192c8bea5d4cfb Mon Sep 17 00:00:00 2001 From: Eric Deutsch Date: Wed, 3 Jan 2024 16:31:09 -0800 Subject: [PATCH 1/2] Proposed bypass_cache directive in Query --- TranslatorReasonerAPI.yaml | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/TranslatorReasonerAPI.yaml b/TranslatorReasonerAPI.yaml index 62f8614..827e177 100644 --- a/TranslatorReasonerAPI.yaml +++ b/TranslatorReasonerAPI.yaml @@ -289,6 +289,12 @@ components: purpose of this optional field is to aid in the tracking of the source of queries for development and issue resolution. nullable: true + bypass_cache: + type: boolean + default: false + description: >- + Set to true in order to bypass any possible cached + response and try to answer the query from scratch additionalProperties: true required: - message @@ -340,6 +346,12 @@ components: purpose of this optional field is to aid in the tracking of the source of queries for development and issue resolution. nullable: true + bypass_cache: + type: boolean + default: false + description: >- + Set to true in order to bypass any possible cached + response and try to answer the query from scratch additionalProperties: true required: - callback From 9ede639cf4ecdd5388e2a04530fa26bcb583a348 Mon Sep 17 00:00:00 2001 From: Eric Deutsch Date: Wed, 14 Feb 2024 13:25:47 -0800 Subject: [PATCH 2/2] Refine the intended effect of bypass_cache --- TranslatorReasonerAPI.yaml | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/TranslatorReasonerAPI.yaml b/TranslatorReasonerAPI.yaml index 827e177..60f03f5 100644 --- a/TranslatorReasonerAPI.yaml +++ b/TranslatorReasonerAPI.yaml @@ -293,8 +293,10 @@ components: type: boolean default: false description: >- - Set to true in order to bypass any possible cached - response and try to answer the query from scratch + Set to true in order to request that the agent obtain + fresh information from its sources in all cases where + it has a viable choice between requesting fresh information + in real time and using cached information. additionalProperties: true required: - message @@ -350,8 +352,10 @@ components: type: boolean default: false description: >- - Set to true in order to bypass any possible cached - response and try to answer the query from scratch + Set to true in order to request that the agent obtain + fresh information from its sources in all cases where + it has a viable choice between requesting fresh information + in real time and using cached information. additionalProperties: true required: - callback