(blob []byte)
| 3696 | } |
| 3697 | |
| 3698 | func 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 |