| filter: [ | |
| { | |
| bool: { | |
| /// Include model files matching at least one of these rules | |
| should: [ | |
| /// ONNX encoder | |
| { | |
| term: { path: "encoder_model.onnx" }, | |
| }, | |
| /// ONNX decoder | |
| { | |
| term: { path: "decoder_model.onnx" }, | |
| }, | |
| /// SentencePiece tokenizer | |
| { | |
| term: { path: "spm.model" }, | |
| }, | |
| ], | |
| minimum_should_match: 1, | |
| }, | |
| }, | |
| ] |