llama-stack-mirror/tests/integration/common/recordings/f42049752448ad324b156a790892d275e9e636205e237bd0784c91bbcf9bafa9.json
Ashwin Bharambe 045a0c1d57
feat(tests): implement test isolation for inference recordings (#3681)
Uses test_id in request hashes and test-scoped subdirectories to prevent
cross-test contamination. Model list endpoints exclude test_id to enable
merging recordings from different servers.

Additionally, this PR adds a `record-if-missing` mode (which we will use
instead of `record` which records everything) which is very useful.

🤖 Co-authored with [Claude Code](https://claude.com/claude-code)

---------

Co-authored-by: Claude <noreply@anthropic.com>
2025-10-04 11:34:18 -07:00

423 lines
11 KiB
JSON

{
"test_id": null,
"request": {
"method": "POST",
"url": "http://0.0.0.0:11434/v1/v1/embeddings",
"headers": {},
"body": {
"model": "all-minilm:l6-v2",
"input": [
"How do systems learn without explicit programming?"
],
"encoding_format": "float"
},
"endpoint": "/v1/embeddings",
"model": "all-minilm:l6-v2"
},
"response": {
"body": {
"__type__": "openai.types.create_embedding_response.CreateEmbeddingResponse",
"__data__": {
"data": [
{
"embedding": [
0.04985814,
-0.006484621,
-0.07639632,
0.039171286,
0.0003285748,
-0.040406607,
0.0011274401,
0.0039382554,
-0.019640302,
0.063846365,
-0.023034906,
0.037561387,
0.04771867,
-0.03397234,
0.0018662167,
-0.05374754,
-0.080473416,
0.029605655,
0.034336362,
-0.10368462,
-0.012398107,
-0.036980536,
-0.039589718,
-0.010132727,
0.014395345,
0.085246086,
-0.008367353,
0.020125635,
0.018635511,
-0.0048617236,
0.05273393,
0.031992413,
0.09851099,
-0.02186396,
-0.03075449,
0.029208627,
0.007745687,
-0.023191713,
-0.024708096,
-0.008203671,
-0.1363937,
0.043781713,
-0.02209391,
0.039705113,
0.094754376,
0.019031243,
-0.046084713,
-0.043257236,
-0.045460355,
-0.06835949,
-0.15304741,
-0.034345936,
0.013268892,
-0.039285928,
-0.019674588,
0.028097907,
0.025518803,
0.08946302,
-0.0633011,
-0.025946302,
-0.11979478,
-0.123344384,
-0.08761578,
-0.013226897,
0.013779543,
0.015536621,
0.0006112545,
0.040828727,
0.076982774,
-0.030963646,
-0.061706472,
0.0036123067,
-0.021995466,
0.0018378185,
0.057049222,
-0.06933811,
0.020945517,
0.06473703,
-0.002078578,
-0.0064895563,
-0.062614344,
-0.015847808,
-0.03749083,
0.07493633,
0.06506477,
0.039337497,
0.012611905,
0.085792385,
0.06542312,
0.0011835264,
-0.00564626,
-0.083959706,
-0.059728183,
-0.03125304,
0.056612693,
0.029365564,
0.08776306,
-0.08420161,
-0.049312875,
0.09727544,
-0.0017464709,
0.019262984,
0.05755193,
-0.008543949,
-0.04054945,
0.029247828,
0.061236817,
0.020613596,
0.076879896,
-0.12176849,
-0.024960497,
0.00020659101,
0.0057559246,
0.014139607,
-0.034033317,
-0.0013776207,
0.019628955,
-0.047732376,
0.03198172,
0.02844568,
-0.00997675,
-0.017131114,
-1.6518161e-05,
0.08105489,
-0.03463291,
-0.00949668,
-0.06654962,
-3.9537837e-33,
-0.0072678844,
0.0067667,
0.06723925,
0.03072888,
-0.011752723,
-0.04102176,
0.0685693,
-0.03723892,
0.027421504,
0.06693709,
0.043869007,
0.0061082994,
0.061318368,
0.10138914,
0.0871967,
0.03721472,
-0.067396216,
0.023838848,
0.014482204,
-0.028989535,
0.089327045,
0.0359519,
0.005651078,
-0.10818499,
0.023760667,
0.051611368,
-0.011381774,
-0.016346263,
0.035534084,
0.009769582,
-0.03086182,
0.040687628,
-0.029731084,
0.06971769,
0.061820786,
0.02580453,
0.037035868,
-0.0021883938,
0.087185495,
-0.053763762,
0.06978468,
-0.04437307,
0.053521182,
-0.014533035,
0.0019412999,
0.022792269,
0.020512138,
-0.027900148,
-0.11748269,
-0.008887951,
-0.03055689,
0.0013708967,
-0.016405566,
-0.073286384,
0.010635144,
0.08229501,
-0.012972133,
-0.015556476,
-0.044266284,
0.068522945,
0.004476856,
0.027400197,
0.074036255,
0.04888861,
-0.006386152,
0.046447594,
-0.057980005,
0.059803516,
0.08625034,
0.025480084,
-0.057325,
0.045213766,
-0.079702295,
-0.03658952,
0.029424323,
-0.038534246,
0.06697193,
-0.08022955,
0.03597607,
0.04908864,
0.029752122,
-0.03762622,
0.035735346,
0.0011071431,
-0.03170961,
0.0017896778,
-0.017651744,
0.00048256316,
-0.036469735,
-0.07055056,
-0.048734743,
-0.05242354,
-0.06112396,
0.037230793,
0.04336431,
1.5313257e-33,
-2.3588118e-05,
0.034650125,
-0.06958117,
-0.036046583,
-0.067991026,
0.025346313,
-0.026457025,
-0.048120454,
-0.003017448,
-0.02291274,
-0.032278426,
0.003907084,
-0.011227783,
0.06142471,
-0.0037108567,
0.03956137,
-0.09323695,
0.0677124,
0.013570079,
0.042344656,
-0.04191122,
0.049460515,
-0.06582937,
-0.012351819,
0.026276885,
0.03628333,
-0.033476308,
0.10759926,
-0.030154334,
0.05460381,
0.030300532,
-0.04880059,
-0.025444364,
0.020971887,
0.016944937,
0.031225454,
-0.0140569,
0.05421567,
-0.079391345,
0.033854038,
0.04089873,
-0.014045609,
-0.048715036,
0.0066174385,
0.027028777,
-0.01227076,
-0.05665228,
0.012493835,
0.012352465,
0.01081389,
0.051551733,
-0.033291373,
-0.038081072,
-0.09300816,
-0.038075384,
-0.028886562,
0.052128207,
0.04032741,
0.050333504,
-0.008598549,
-0.051279385,
-0.08659074,
0.004758718,
0.0066617117,
-0.03771395,
-0.024324164,
-0.045410533,
0.0031837397,
0.027526462,
-0.03825772,
0.039862733,
0.07774032,
-0.06533744,
-0.043189432,
0.03868761,
0.05325771,
-0.08045656,
-0.040789165,
-0.09836529,
-0.08612763,
0.052051533,
0.024763746,
0.047283154,
0.040196724,
-0.040843565,
0.065164626,
0.012012182,
-0.007895783,
-0.0080871135,
-0.055304665,
0.0023953072,
0.028453553,
0.025608843,
0.011817925,
-0.12404795,
-1.552218e-08,
-0.006458822,
-0.0377838,
0.059613157,
-0.028206356,
0.08013841,
0.08606473,
-0.03121667,
0.024653317,
-0.06019263,
-0.020640263,
-0.01197567,
0.017331647,
0.037324104,
0.01851503,
0.062001307,
0.14394769,
0.08758177,
0.046467125,
-0.07268677,
0.015102763,
0.08359223,
-0.033308506,
-0.017341746,
0.07352546,
0.005645426,
-0.08583693,
-0.04523994,
0.06248573,
0.099253416,
0.08586562,
0.033792045,
-0.008231433,
0.0032562139,
-0.012471013,
0.023780445,
0.04319565,
0.03468868,
-0.06261025,
-0.042051118,
-0.12016146,
-0.1426969,
0.06897669,
0.00372085,
-0.01936681,
-0.034935307,
0.014702754,
-0.063167475,
-0.09796725,
-0.03379008,
-0.010187179,
0.03374691,
0.075596645,
-0.04105162,
0.022008104,
0.055716064,
0.028231235,
-0.02561615,
-0.04389294,
-0.044391,
0.11932775,
-0.08721518,
0.07054473,
0.04946795,
-0.039758317
],
"index": 0,
"object": "embedding"
}
],
"model": "all-minilm:l6-v2",
"object": "list",
"usage": {
"prompt_tokens": 8,
"total_tokens": 8
}
}
},
"is_streaming": false
}
}