This commit is contained in:
@@ -0,0 +1,19 @@
|
||||
{
|
||||
"id": "embed_texts_async_empty_input",
|
||||
"category": "embed_async_pending",
|
||||
"description": "embed_texts_async: empty text list",
|
||||
"call": "embed_texts_async",
|
||||
"input": {
|
||||
"texts": []
|
||||
},
|
||||
"assertions": [
|
||||
{
|
||||
"type": "not_error"
|
||||
},
|
||||
{
|
||||
"type": "count_equals",
|
||||
"field": "embeddings",
|
||||
"value": 0
|
||||
}
|
||||
]
|
||||
}
|
||||
22
fixtures/embed_async_pending/embed_texts_async_happy.json
Normal file
22
fixtures/embed_async_pending/embed_texts_async_happy.json
Normal file
@@ -0,0 +1,22 @@
|
||||
{
|
||||
"id": "embed_texts_async_happy",
|
||||
"category": "embed_async_pending",
|
||||
"description": "embed_texts_async: basic async embedding",
|
||||
"call": "embed_texts_async",
|
||||
"input": {
|
||||
"texts": [
|
||||
"First",
|
||||
"Second"
|
||||
]
|
||||
},
|
||||
"assertions": [
|
||||
{
|
||||
"type": "not_error"
|
||||
},
|
||||
{
|
||||
"type": "count_min",
|
||||
"field": "embeddings",
|
||||
"value": 2
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -0,0 +1,22 @@
|
||||
{
|
||||
"id": "embed_texts_async_preset_switch",
|
||||
"category": "embed_async_pending",
|
||||
"description": "embed_texts_async: preset override",
|
||||
"call": "embed_texts_async",
|
||||
"input": {
|
||||
"texts": [
|
||||
"Text"
|
||||
],
|
||||
"config": {
|
||||
"model": {
|
||||
"type": "preset",
|
||||
"name": "balanced"
|
||||
}
|
||||
}
|
||||
},
|
||||
"assertions": [
|
||||
{
|
||||
"type": "not_error"
|
||||
}
|
||||
]
|
||||
}
|
||||
Reference in New Issue
Block a user