interface WeaviateFilter { distance?: number; where: { operands?: ({ operands?: ...[] | undefined; operator?: "Equal" | "NotEqual" | "And" | "Or" | "Like" | "Not" | "GreaterThan" | "GreaterThanEqual" | "LessThan" | "LessThanEqual" | "WithinGeoRange" | "IsNull" | undefined; ... 7 more ...; valueGeoRange?: { ...; } | undefined; }
)[]; operator?: | "Equal" | "NotEqual" | "And" | "Or" | "Like" | "Not" | "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; }; } Properties
Optional
distance
distance?: number
where
where: {
operands?: ({ operands?: ...[] | undefined; operator?: "Equal" | "NotEqual" | "And" | "Or" | "Like" | "Not" | "GreaterThan" | "GreaterThanEqual" | "LessThan" | "LessThanEqual" | "WithinGeoRange" | "IsNull" | undefined; ... 7 more ...; valueGeoRange?: { ...; } | undefined; })[];
operator?:
| "Equal"
| "NotEqual"
| "And"
| "Or"
| "Like"
| "Not"
| "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?: "Equal" | "NotEqual" | "And" | "Or" | "Like" | "Not" | "GreaterThan" | "GreaterThanEqual" | "LessThan" | "LessThanEqual" | "WithinGeoRange" | "IsNull" | undefined; ... 7 more ...; valueGeoRange?: { ...; } | undefined; })[]
Optional
operator?:
| "Equal"
| "NotEqual"
| "And"
| "Or"
| "Like"
| "Not"
| "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
Deprecated
Prefer the
@langchain/weaviate
package.Interface that defines a filter for querying data from Weaviate. It includes a distance and a
WhereFilter
.