"""Create a Numeric inequality filter expression
        Args:
            other (Number): The value to filter on.
        Example:
            >>> from langchain.vectorstores.redis import RedisNum
            >>> filter = RedisNum("zipcode") != 90210
        """
        self._set_value(other, Number, RedisFilterOperator.NE)
        return RedisFilterExpression(str(self))
    def __gt__(self, other: Union[int, float]) -> "RedisFilterExpression":
        """Create a RedisNumeric greater than filter expression
        Args:
            other (Number): The value to filter on.
        Example:
            >>> from langchain.vectorstores.redis import RedisNum
            >>> filter = RedisNum("age") > 18
        """
        self._set_value(other, Number, RedisFilterOperator.GT)
        return RedisFilterExpression(str(self))
    def __lt__(self, other: Union[int, float]) -> "RedisFilterExpression":
        """Create a Numeric less than filter expression
        Args:
            other (Number): The value to filter on.
        Example:
            >>> from langchain.vectorstores.redis import RedisNum
            >>> filter = RedisNum("age") < 18
        """
        self._set_value(other, Number, RedisFilterOperator.LT)
        return RedisFilterExpression(str(self))
    def __ge__(self, other: Union[int, float]) -> "RedisFilterExpression":
        """Create a Numeric greater than or equal to filter expression
        Args:
            other (Number): The value to filter on.
        Example:
            >>> from langchain.vectorstores.redis import RedisNum
            >>> filter = RedisNum("age") >= 18
        """
        self._set_value(other, Number, RedisFilterOperator.GE)
        return RedisFilterExpression(str(self))