diff options
author | Jon Bratseth <bratseth@gmail.com> | 2022-04-29 16:21:20 +0200 |
---|---|---|
committer | Jon Bratseth <bratseth@gmail.com> | 2022-04-29 16:21:20 +0200 |
commit | ff32f4efa2fb814c406703f0c6302c817865c2cd (patch) | |
tree | 345bc93bda1e7a35f47acd9a283a230a62ada596 /model-integration | |
parent | 34fb52a1026ca3027f47c42c10af6e53fe12618d (diff) |
Allow models referencing functions they don't define
ML models may not be designed to be used standalone
but only in context of another ranking expression,
which then supplies functions referenced by the model.
Tolerate such models in stateløess evaluation.
Diffstat (limited to 'model-integration')
-rw-r--r-- | model-integration/src/main/java/ai/vespa/rankingexpression/importer/configmodelview/ImportedMlModel.java | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/model-integration/src/main/java/ai/vespa/rankingexpression/importer/configmodelview/ImportedMlModel.java b/model-integration/src/main/java/ai/vespa/rankingexpression/importer/configmodelview/ImportedMlModel.java index b5be1c8e7b8..a2626818f87 100644 --- a/model-integration/src/main/java/ai/vespa/rankingexpression/importer/configmodelview/ImportedMlModel.java +++ b/model-integration/src/main/java/ai/vespa/rankingexpression/importer/configmodelview/ImportedMlModel.java @@ -28,4 +28,5 @@ public interface ImportedMlModel { boolean isNative(); ImportedMlModel asNative(); + } |