Skip to content

Commit

Permalink
Add spaceType parameter to train model API
Browse files Browse the repository at this point in the history
Signed-off-by: Ryan Bogan <[email protected]>
  • Loading branch information
ryanbogan committed Sep 24, 2024
1 parent 45cdf3d commit c7ddc45
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
2 changes: 2 additions & 0 deletions spec/namespaces/knn.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -274,6 +274,8 @@ components:
type: string
method:
type: string
spaceType:
type: string
required:
- dimension
- training_field
Expand Down
1 change: 1 addition & 0 deletions tests/default/knn/train_model.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,7 @@ chapters:
description: Test model
mode: on_disk
compression_level: 32x
spaceType: l2
response:
status: 200
output:
Expand Down

0 comments on commit c7ddc45

Please sign in to comment.