MCPcopy
hub / github.com/redis/go-redis / hybridVectorBytes

Function hybridVectorBytes

search_commands.go:3698–3703  ·  view source on GitHub ↗
(blob []byte)

Source from the content-addressed store, hash-verified

3696}
3697
3698func hybridVectorBytes(blob []byte) ([]byte, error) {
3699 if len(blob) == 0 {
3700 return nil, fmt.Errorf("FT.HYBRID: vector blob is required")
3701 }
3702 return blob, nil
3703}
3704
3705// generateVectorParamName returns a parameter name that is not already present
3706// in params. It is used to pass vector data via the PARAMS mechanism when the

Callers 1

hybridVectorBlobFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected