Files
2026-07-13 12:58:18 +08:00

32 lines
1.6 KiB
JSON

{
"_meta": {
"description": "D6 fixtures for llamaindex / multimodal",
"sourceScript": "d5-multimodal.ts",
"created": "2026-05-22"
},
"fixtures": [
{
"_comment": "multimodal image turn \u2014 the sample image button auto-sends 'can you tell me what is in this demo image I just attached'. The D5 assertion checks assistant transcript contains 'image'. Already present in agentic-chat.json but duplicated here for the dedicated multimodal fixture file match.",
"match": {
"userMessage": "can you tell me what is in this demo image I just attached",
"turnIndex": 0,
"context": "llamaindex"
},
"response": {
"content": "The image attachment shows a small abstract test pattern used by the multimodal demo to validate the image-upload pipeline. Successful render of this response confirms the binary attachment round-tripped through the runtime."
}
},
{
"_comment": "multimodal PDF turn \u2014 the sample PDF button auto-sends 'can you tell me what is in this demo pdf I just attached'. The D5 assertion checks assistant transcript contains 'document'.",
"match": {
"userMessage": "can you tell me what is in this demo pdf I just attached",
"turnIndex": 0,
"context": "llamaindex"
},
"response": {
"content": "The PDF document contains a single test page used by the multimodal demo. Its text was flattened by pypdf on the Python side and forwarded as text content to the model. Receiving this response confirms the document upload path works."
}
}
]
}