Skip to content

Commit

Permalink
added boolean to vectara types
Browse files Browse the repository at this point in the history
  • Loading branch information
nick-w-nick committed Dec 20, 2024
1 parent 824d090 commit eeaafd4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion libs/langchain-community/src/structured_query/vectara.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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") {
Expand Down

0 comments on commit eeaafd4

Please sign in to comment.