vadd(
key: KeyT,
vector: Union[List[float], bytes],
element: str,
reduce_dim: Optional[int] = None,
cas: Optional[bool] = False,
quantization: Optional[QuantizationOptions] = None,
ef: Optional[Number] = None,
attributes: Optional[Union[dict, str]] = None,
numlinks: Optional[int] = None
) → Union[Awaitable[int], int]
vAdd(
key: RedisArgument,
vector: Array<number>,
element: RedisArgument,
options?: VAddOptions
) → Any
vadd(
key: RedisKey,
...args: (RedisValue)[],
callback: Callback<number>
) → Result<number, Context>
vadd(
key: RedisKey,
...args: (RedisValue)[]
) → Result<number, Context>
vadd(
key: String, // the name of the key that will hold the vector set data
vector: float[], // the vector as floating point numbers
element: String // the name of the element that is being added to the vector set
) → boolean // 1 if key was added; 0 if key was not added
vadd(
key: String, // the name of the key that will hold the vector set data
vector: float[], // the vector as floating point numbers
element: String, // the name of the element that is being added to the vector set
params: VAddParams // additional parameters for the VADD command
) → boolean // 1 if key was added; 0 if key was not added
vadd(
key: String, // the name of the key that will hold the vector set data
vector: float[], // the vector as floating point numbers
element: String, // the name of the element that is being added to the vector set
reduceDim: int, // the target dimension after reduction using random projection
params: VAddParams // additional parameters for the VADD command
) → boolean // 1 if key was added; 0 if key was not added
vadd(
key: byte[], // the name of the key that will hold the vector set data
vector: float[], // the vector as floating point numbers
element: byte[] // the name of the element that is being added to the vector set
) → boolean // 1 if key was added; 0 if key was not added
vadd(
key: byte[], // the name of the key that will hold the vector set data
vector: float[], // the vector as floating point numbers
element: byte[], // the name of the element that is being added to the vector set
params: VAddParams // additional parameters for the VADD command
) → boolean // 1 if key was added; 0 if key was not added
vadd(
key: K, // the key of the vector set
element: V, // the name of the element that is being added to the vector set
vectors: Double... // the vector values as floating point numbers
) → Boolean // true if the element was added, false otherwise @since 6.7 @see <a href="https://redis.io/docs/latest/commands/vadd/">Redis Documentation: VADD</a>
vadd(
key: K, // the key of the vector set
dimensionality: int, // the reduced number of dimensions for the vector
element: V, // the name of the element that is being added to the vector set
vectors: Double... // the vector values as floating point numbers
) → Boolean // true if the element was added, false otherwise @since 6.7 @see <a href="https://redis.io/docs/latest/commands/vadd/">Redis Documentation: VADD</a>
vadd(
key: K, // the key of the vector set
element: V, // the name of the element that is being added to the vector set
args: VAddArgs, // the additional arguments for the VADD command
vectors: Double... // the vector values as floating point numbers
) → Boolean // true if the element was added, false otherwise @since 6.7 @see <a href="https://redis.io/docs/latest/commands/vadd/">Redis Documentation: VADD</a>
vadd(
key: K, // the key of the vector set
dimensionality: int, // the reduced number of dimensions for the vector
element: V, // the name of the element that is being added to the vector set
args: VAddArgs, // the additional arguments for the VADD command
vectors: Double... // the vector values as floating point numbers
) → Boolean // true if the element was added, false otherwise @since 6.7 @see <a href="https://redis.io/docs/latest/commands/vadd/">Redis Documentation: VADD</a>
vadd(
key: K, // the key of the vector set
element: V, // the name of the element that is being added to the vector set
vectors: Double... // the vector values as floating point numbers
) → RedisFuture<Boolean> // true if the element was added, false otherwise @since 6.7 @see <a href="https://redis.io/docs/latest/commands/vadd/">Redis Documentation: VADD</a>
vadd(
key: K, // the key of the vector set
dimensionality: int, // the reduced number of dimensions for the vector
element: V, // the name of the element that is being added to the vector set
vectors: Double... // the vector values as floating point numbers
) → RedisFuture<Boolean> // true if the element was added, false otherwise @since 6.7 @see <a href="https://redis.io/docs/latest/commands/vadd/">Redis Documentation: VADD</a>
vadd(
key: K, // the key of the vector set
element: V, // the name of the element that is being added to the vector set
args: VAddArgs, // the additional arguments for the VADD command
vectors: Double... // the vector values as floating point numbers
) → RedisFuture<Boolean> // true if the element was added, false otherwise @since 6.7 @see <a href="https://redis.io/docs/latest/commands/vadd/">Redis Documentation: VADD</a>
vadd(
key: K, // the key of the vector set
dimensionality: int, // the reduced number of dimensions for the vector
element: V, // the name of the element that is being added to the vector set
args: VAddArgs, // the additional arguments for the VADD command
vectors: Double... // the vector values as floating point numbers
) → RedisFuture<Boolean> // true if the element was added, false otherwise @since 6.7 @see <a href="https://redis.io/docs/latest/commands/vadd/">Redis Documentation: VADD</a>
vadd(
key: K, // the key of the vector set
element: V, // the name of the element that is being added to the vector set
vectors: Double... // the vector values as floating point numbers
) → Mono<Boolean> // true if the element was added, false otherwise @since 6.7 @see <a href="https://redis.io/docs/latest/commands/vadd/">Redis Documentation: VADD</a>
vadd(
key: K, // the key of the vector set
dimensionality: int, // the reduced number of dimensions for the vector
element: V, // the name of the element that is being added to the vector set
vectors: Double... // the vector values as floating point numbers
) → Mono<Boolean> // true if the element was added, false otherwise @since 6.7 @see <a href="https://redis.io/docs/latest/commands/vadd/">Redis Documentation: VADD</a>
vadd(
key: K, // the key of the vector set
element: V, // the name of the element that is being added to the vector set
args: VAddArgs, // the additional arguments for the VADD command
vectors: Double... // the vector values as floating point numbers
) → Mono<Boolean> // true if the element was added, false otherwise @since 6.7 @see <a href="https://redis.io/docs/latest/commands/vadd/">Redis Documentation: VADD</a>
vadd(
key: K, // the key of the vector set
dimensionality: int, // the reduced number of dimensions for the vector
element: V, // the name of the element that is being added to the vector set
args: VAddArgs, // the additional arguments for the VADD command
vectors: Double... // the vector values as floating point numbers
) → Mono<Boolean> // true if the element was added, false otherwise @since 6.7 @see <a href="https://redis.io/docs/latest/commands/vadd/">Redis Documentation: VADD</a>
VAdd(
ctx: context.Context,
key: Any,
element: string,
val: Vector
) → *BoolCmd
No method signature available for this client.
VectorSetAddAsync(
key: RedisKey,
request: VectorSetAddRequest,
flags: CommandFlags
) → Task<bool>
vadd(
$key: string,
$vector: string|array,
$elem: string,
$dim: int,
$cas: bool,
$quant: string,
$bef: int,
$attributes: string|array,
$numlinks: int
) → bool
vadd(
key: String,
vector: Array<Numeric>, String, // the vector as an array of numbers, or a little-endian FP32 blob
element: String, // name of the element being added
reduce: Integer, // project the vector down to this number of dimensions
cas: Boolean, // collect neighbor candidates in a background thread, check-and-set style
quantization: Symbol, String, // one of `:noquant`, `:q8` (the default) or `:bin`
ef: Integer, // build-time exploration factor (default 200)
attributes: Hash, String, // attributes associated with the element, as an object serialized to JSON or a pre-encoded JSON string
m: Integer // maximum number of connections per graph node (default 16)
) → Boolean // whether the element was added
vadd(
key: K,
input: vector_sets,
element: E
) → (bool)
vadd_options(
key: K,
input: vector_sets,
element: E,
options: &'a vector_sets
) → (bool)
vadd(
key: K,
input: vector_sets,
element: E
) → (bool)
vadd_options(
key: K,
input: vector_sets,
element: E,
options: &'a vector_sets
) → (bool)