interface WeaviateFilter { where: { operands?: ({ operands?: ...[] | undefined; operator?: "And" | "Or" | "Equal" | "Like" | "Not" | "NotEqual" | "GreaterThan" | "GreaterThanEqual" | "LessThan" | "LessThanEqual" | "WithinGeoRange" | "IsNull" | undefined; ... 7 more ...; valueGeoRange?: { ...; } | undefined; }
)[]; operator?: | "And" | "Or" | "Equal" | "Like" | "Not" | "NotEqual" | "GreaterThan" | "GreaterThanEqual" | "LessThan" | "LessThanEqual" | "WithinGeoRange" | "IsNull"; path?: string[]; valueBoolean?: boolean; valueDate?: string; valueGeoRange?: { distance?: { max?: number; }; geoCoordinates?: { latitude?: number; longitude?: number; }; }; valueInt?: number; valueNumber?: number; valueString?: string; valueText?: string; }; distance?: number; } Properties
where
where: {
operands?: ({ operands?: ...[] | undefined; operator?: "And" | "Or" | "Equal" | "Like" | "Not" | "NotEqual" | "GreaterThan" | "GreaterThanEqual" | "LessThan" | "LessThanEqual" | "WithinGeoRange" | "IsNull" | undefined; ... 7 more ...; valueGeoRange?: { ...; } | undefined; })[];
operator?:
| "And"
| "Or"
| "Equal"
| "Like"
| "Not"
| "NotEqual"
| "GreaterThan"
| "GreaterThanEqual"
| "LessThan"
| "LessThanEqual"
| "WithinGeoRange"
| "IsNull";
path?: string[];
valueBoolean?: boolean;
valueDate?: string;
valueGeoRange?: {
distance?: {
max?: number;
};
geoCoordinates?: {
latitude?: number;
longitude?: number;
};
};
valueInt?: number;
valueNumber?: number;
valueString?: string;
valueText?: string;
}
Type declaration
Optional
operands?: ({ operands?: ...[] | undefined; operator?: "And" | "Or" | "Equal" | "Like" | "Not" | "NotEqual" | "GreaterThan" | "GreaterThanEqual" | "LessThan" | "LessThanEqual" | "WithinGeoRange" | "IsNull" | undefined; ... 7 more ...; valueGeoRange?: { ...; } | undefined; })[]
Optional
operator?:
| "And"
| "Or"
| "Equal"
| "Like"
| "Not"
| "NotEqual"
| "GreaterThan"
| "GreaterThanEqual"
| "LessThan"
| "LessThanEqual"
| "WithinGeoRange"
| "IsNull"
Optional
path?: string[]
Optional
valueBoolean?: boolean
Optional
valueDate?: string
Optional
valueGeoRange?: {
distance?: {
max?: number;
};
geoCoordinates?: {
latitude?: number;
longitude?: number;
};
}
Optional
distance?: {
max?: number;
}
Optional
geoCoordinates?: {
latitude?: number;
longitude?: number;
}
Optional
latitude?: number
Optional
longitude?: number
Optional
valueInt?: number
Optional
valueNumber?: number
Optional
valueString?: string
Optional
valueText?: string
Optional
distance
distance?: number
Deprecated
Prefer the
@langchain/weaviate
package.Interface that defines a filter for querying data from Weaviate. It includes a distance and a
WhereFilter
.