File tree Expand file tree Collapse file tree 1 file changed +8
-8
lines changed Expand file tree Collapse file tree 1 file changed +8
-8
lines changed Original file line number Diff line number Diff line change @@ -28,9 +28,9 @@ type StoresSet struct {
28
28
}
29
29
30
30
type StoresDelete struct {
31
- Store string `json:"store,omitempty" yaml:"store,omitempty"`
32
-
33
- Keys [][]float32 `json:"keys"`
31
+ Store string `json:"store,omitempty" yaml:"store,omitempty"`
32
+
33
+ Keys [][]float32 `json:"keys"`
34
34
}
35
35
36
36
type StoresGet struct {
@@ -47,12 +47,12 @@ type StoresGetResponse struct {
47
47
type StoresFind struct {
48
48
Store string `json:"store,omitempty" yaml:"store,omitempty"`
49
49
50
- Key []float32 `json:"key"`
51
- Topk int `json:"topk"`
50
+ Key []float32 `json:"key" yaml:"key" `
51
+ Topk int `json:"topk" yaml:"topk" `
52
52
}
53
53
54
54
type StoresFindResponse struct {
55
- Keys [][]float32 `json:"keys" yaml:"keys"`
56
- Values []string `json:"values" yaml:"values"`
57
- Similarities []float32 `json:"similarities" yaml:"similarities"`
55
+ Keys [][]float32 `json:"keys" yaml:"keys"`
56
+ Values []string `json:"values" yaml:"values"`
57
+ Similarities []float32 `json:"similarities" yaml:"similarities"`
58
58
}
You can’t perform that action at this time.
0 commit comments