This commit is contained in:
21
fixtures/embed_extra/embed_texts_batch.json
Normal file
21
fixtures/embed_extra/embed_texts_batch.json
Normal file
@@ -0,0 +1,21 @@
|
||||
{
|
||||
"id": "embed_texts_batch",
|
||||
"category": "embed_extra",
|
||||
"description": "Batch embed texts",
|
||||
"tags": ["embedding", "batch"],
|
||||
"call": "embed_texts",
|
||||
"input": {
|
||||
"texts": ["Hello", "World"],
|
||||
"config": {
|
||||
"model": {
|
||||
"type": "preset",
|
||||
"name": "balanced"
|
||||
}
|
||||
}
|
||||
},
|
||||
"assertions": [{ "type": "not_error" }],
|
||||
"skip": {
|
||||
"languages": ["wasm"],
|
||||
"reason": "embeddings feature depends on ONNX Runtime which is not available on the WASM target"
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user