`VSIM key (ELE | FP32 | VALUES num) (vector | element) [WITHSCORES] [COUNT num] [EPSILON delta] [EF search-exploration-factor] [FILTER expression] [FILTER-EF max-filtering-effort] [TRUTH] [NOTHREAD]` note: the API is experimental and may be subject to change.
(ctx context.Context, key string, val Vector, simArgs *VSimArgs)
| 414 | // [EF search-exploration-factor] [FILTER expression] [FILTER-EF max-filtering-effort] [TRUTH] [NOTHREAD]` |
| 415 | // note: the API is experimental and may be subject to change. |
| 416 | func (c cmdable) VSimWithArgsWithScores(ctx context.Context, key string, val Vector, simArgs *VSimArgs) *VectorScoreSliceCmd { |
| 417 | if simArgs == nil { |
| 418 | simArgs = &VSimArgs{} |
| 419 | } |
| 420 | args := []any{"vsim", key} |
| 421 | args = append(args, val.Value()...) |
| 422 | args = append(args, "withscores") |
| 423 | args = simArgs.appendArgs(args) |
| 424 | cmd := NewVectorInfoSliceCmd(ctx, args...) |
| 425 | _ = c(ctx, cmd) |
| 426 | return cmd |
| 427 | } |
| 428 | |
| 429 | // `VSIM key (ELE | FP32 | VALUES num) (vector | element) [WITHATTRIBS] [COUNT num] [EPSILON delta] |
| 430 | // [EF search-exploration-factor] [FILTER expression] [FILTER-EF max-filtering-effort] [TRUTH] [NOTHREAD]` |
no test coverage detected