Query
| 104 | // Query |
| 105 | |
| 106 | type QueryRequest struct { |
| 107 | Namespace string `json:"namespace"` |
| 108 | TopK int64 `json:"topK"` |
| 109 | Filter map[string]string `json:"filter,omitempty"` |
| 110 | IncludeValues bool `json:"includeValues"` |
| 111 | IncludeMetadata bool `json:"includeMetadata"` |
| 112 | Vector []float32 `json:"vector"` |
| 113 | SparseVector *SparseVector `json:"sparseVector,omitempty"` |
| 114 | ID string `json:"id"` |
| 115 | } |
| 116 | |
| 117 | type SparseVector struct { |
| 118 | Indices []int64 `json:"indices"` |
nothing calls this directly
no outgoing calls
no test coverage detected