From eeaafd4d3b131a4acacb53070941173683b500b3 Mon Sep 17 00:00:00 2001 From: nick-w-nick <43578531+nick-w-nick@users.noreply.github.com> Date: Fri, 20 Dec 2024 12:19:27 -0500 Subject: [PATCH] added boolean to vectara types --- libs/langchain-community/src/structured_query/vectara.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libs/langchain-community/src/structured_query/vectara.ts b/libs/langchain-community/src/structured_query/vectara.ts index ae9ca8dc7506..ab67b23e4174 100644 --- a/libs/langchain-community/src/structured_query/vectara.ts +++ b/libs/langchain-community/src/structured_query/vectara.ts @@ -27,7 +27,7 @@ export type VectaraVisitorStructuredQueryResult = { filter?: { filter?: VectaraOperationResult | VectaraComparisonResult }; }; -type Value = number | string; +type Value = number | string | boolean; function processValue(value: Value): string { /** Convert a value to a string and add single quotes if it is a string. */ if (typeof value === "string") {