From c85c8ec14bbb3db86f34bfaf9872f434f2889cce Mon Sep 17 00:00:00 2001 From: jmansdorfer Date: Thu, 17 Oct 2024 11:59:35 -0400 Subject: [PATCH] adding truncate variable --- ...iction-Guard-Prediction-Guard-API-1.0-resolved.yaml | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/fern/openapi/Prediction-Guard-Prediction-Guard-API-1.0-resolved.yaml b/fern/openapi/Prediction-Guard-Prediction-Guard-API-1.0-resolved.yaml index 7d06b0e..df8fbd0 100644 --- a/fern/openapi/Prediction-Guard-Prediction-Guard-API-1.0-resolved.yaml +++ b/fern/openapi/Prediction-Guard-Prediction-Guard-API-1.0-resolved.yaml @@ -744,6 +744,8 @@ paths: required: - model - input + - truncate + - truncation_direction type: object properties: model: @@ -768,12 +770,20 @@ paths: image: type: string description: The base64 encoding of an image. You can choose to provide this or not. + truncate: + type: bool + description: Boolean setting whether to truncate inputs. Not supported by bridgetower. + truncation_direction: + type: string + description: Which direction to truncate, "Left" or "Right". Not supported by bridgetower. examples: basic: summary: A text example of using the API. value: model: "multilingual-e5-large-instruct" input: "A person is ironing something while standing on the back of a taxi." + truncate: true + truncation_direction: "Right" multimodal: summary: A multimodal example of using the API. value: