llama-stack-mirror/tests/integration/common/recordings/8f55915af64ddf878d11ba74eff48af173aba452b0527a899a13f7ce684d3384.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": [
"What is the biological inspiration for neural networks?"
],
"encoding_format": "float"
},
"endpoint": "/v1/embeddings",
"model": "all-minilm:l6-v2"
},
"response": {
"body": {
"__type__": "openai.types.create_embedding_response.CreateEmbeddingResponse",
"__data__": {
"data": [
{
"embedding": [
-0.102330685,
-0.08222143,
0.023849107,
-0.035386752,
-0.018475818,
0.0578896,
-0.031360373,
0.03091021,
0.07039858,
-0.027736196,
-0.047167104,
-0.0046790815,
-0.016752493,
0.0173751,
-0.10087633,
0.026435323,
-0.06759769,
0.09432078,
-0.0208287,
-0.022391133,
-0.009296815,
0.04311602,
0.0119217895,
0.0086748,
-0.047963552,
0.06344523,
-0.029294455,
0.0046546115,
0.00050116424,
-0.030808281,
0.096657984,
-0.009569187,
0.010736549,
0.020487383,
-0.08409849,
0.05994872,
-0.0882803,
-0.0016710517,
0.021770542,
-0.00396551,
-0.021723896,
-0.01425659,
0.04799408,
0.015441384,
0.097571544,
0.010340785,
0.02049317,
-0.04124913,
0.033259537,
-0.01397454,
-0.08825209,
-0.033199053,
-0.02127663,
0.024476556,
0.061298497,
0.06117002,
-0.026500424,
0.015110193,
-0.06975388,
-0.010423374,
0.040201526,
-0.0117177935,
-0.069048814,
0.02080807,
0.037834734,
0.022597855,
-0.055426925,
0.023261596,
0.08010227,
-0.04486483,
0.0883864,
0.020656507,
-0.05141091,
0.02588306,
0.018273551,
0.06560091,
0.06508275,
0.039803468,
0.019714857,
-0.07227075,
4.2482498e-05,
-0.0085583925,
0.021982534,
0.046294376,
0.06426625,
0.035296988,
0.014716454,
0.03063199,
-0.07761695,
0.0003067794,
-0.03412447,
-0.024930855,
-0.029632322,
-0.10677919,
-0.060672726,
-0.0017783132,
-0.02337392,
-0.07842998,
0.0020828575,
0.02887434,
-0.028194016,
0.00929589,
-0.018032415,
0.0150065115,
0.07563327,
-0.01716204,
0.06467641,
0.0021297722,
0.1310825,
-0.06148729,
-0.064995274,
0.05144873,
-0.053126894,
0.016807107,
0.049339898,
-0.023128523,
0.008750037,
-0.01565876,
0.0855584,
0.07377115,
-0.04275256,
-0.023523713,
-0.102763854,
-0.04006283,
-0.0374375,
0.003610695,
-0.15966031,
-5.148395e-33,
-0.013756277,
0.008380514,
0.050061867,
0.009022877,
0.07742807,
-0.078416444,
0.033923395,
-0.07099193,
0.07607714,
-0.029935367,
-0.12365924,
0.057388358,
-0.017260615,
0.1220459,
0.07019,
-0.07704578,
-0.10395857,
-0.018809224,
0.03343144,
-0.070907116,
-0.009657422,
0.00990411,
0.04270812,
-0.012363031,
-0.045289382,
-0.022864757,
-0.045476113,
0.0120091755,
0.00090258307,
0.008676922,
-0.0048326156,
0.045132767,
-0.061205026,
-0.019018896,
0.029649338,
0.016980082,
0.0224916,
-0.0577033,
0.039177682,
0.055904604,
0.022307469,
-0.021677727,
0.04486529,
-0.03850927,
0.056779943,
0.024314301,
-0.038990144,
0.007452133,
-0.003676962,
-0.028577616,
-0.008352812,
0.012111947,
0.032759745,
-0.10742359,
0.027142446,
0.00079298473,
-0.03431923,
0.0028812038,
0.004114752,
0.06686275,
-0.02113422,
0.032334656,
-0.0019497788,
0.046803083,
0.09052381,
0.0340555,
-0.03683834,
-0.08246603,
0.038677294,
0.039468862,
0.007331405,
0.052999154,
-0.07252041,
-0.115630165,
-0.065455414,
-0.00075357925,
-0.04989836,
-0.05956273,
-0.06453486,
0.03599657,
-0.024443697,
-0.013300746,
-0.0654482,
0.060042396,
-0.044301573,
0.076960735,
0.04855135,
-0.054440822,
-0.01842965,
-0.0016263687,
-0.060962223,
-0.038685184,
0.06801455,
-0.058003865,
-0.0803795,
3.6119088e-33,
-0.08261766,
-0.032064464,
-0.028822873,
0.048930816,
0.030817589,
0.07780849,
-0.02196625,
-0.002280137,
-0.034250326,
0.0806337,
0.031109456,
0.04716627,
0.07164793,
-0.0013591237,
0.025608243,
-0.041621193,
-0.05452118,
-0.009791562,
0.08776599,
-0.075233065,
0.012744201,
0.17171955,
-0.07510516,
-0.022935094,
0.033547398,
0.035892926,
-0.08415079,
0.12037621,
-0.03303422,
0.034911793,
-0.062139686,
0.007963575,
-0.043843705,
0.015013244,
0.054410197,
0.14011596,
0.045027215,
-0.005801743,
0.017305247,
-0.039756194,
0.028245239,
0.014228499,
0.012697823,
0.030635843,
0.039057273,
-0.044624396,
-0.05224932,
0.040863708,
-0.040199704,
0.061844826,
0.055033505,
0.01919765,
-0.045835,
-0.06836153,
-0.024145976,
-0.00096166413,
0.06107192,
-0.018271897,
0.07768199,
-0.005674581,
-0.061070014,
-0.085874714,
0.032807987,
-0.023999775,
-0.049648684,
0.058388963,
-0.014155298,
0.09713512,
0.010796487,
-0.052061364,
0.04608279,
0.07334005,
0.071200654,
0.10283986,
-0.0793042,
-0.038504407,
-0.030224252,
-0.0041409084,
-0.04935141,
-0.036238834,
-0.05901937,
-0.07668426,
0.0047916556,
0.0049559944,
0.09084668,
0.05959956,
-0.039215356,
0.011205138,
0.030405413,
0.018765593,
-0.0015950126,
0.04107909,
-0.031452127,
0.055633347,
-0.027381845,
-1.6182968e-08,
0.007661676,
0.019475829,
0.07298782,
0.020929456,
0.05296439,
-0.039968412,
0.04866676,
0.0088626705,
-0.042707004,
-0.037415456,
0.050815433,
0.04526211,
-0.0035307528,
0.034556147,
0.08016739,
0.0038649621,
0.024748258,
0.017378997,
-0.012018707,
0.0008560242,
0.036906302,
0.031123282,
-0.05273057,
0.030093167,
0.091761604,
-0.09346192,
-0.035473835,
0.032061327,
-0.004931772,
0.048442423,
0.009838844,
0.07135688,
0.039019894,
-0.033052295,
0.000205161,
0.060079947,
-0.0016076236,
-0.06733456,
-0.10156984,
-0.06704366,
-0.06510569,
0.031467088,
0.012753711,
0.0046931216,
0.016316148,
-0.040228114,
0.058498155,
-0.054203916,
0.046388485,
0.0020223975,
-0.03840418,
0.04096099,
0.011038689,
-0.025036456,
-0.04103131,
-0.015756173,
-0.031358927,
-0.08783605,
-0.06835565,
0.05109743,
0.0068257614,
0.12122199,
0.04956429,
-0.050856892
],
"index": 0,
"object": "embedding"
}
],
"model": "all-minilm:l6-v2",
"object": "list",
"usage": {
"prompt_tokens": 9,
"total_tokens": 9
}
}
},
"is_streaming": false
}
}