llama-stack-mirror/tests/integration/common/recordings/f2bd2ed904ec8bd9b38bebe7127ace6602d8c642eb0a831088073516d2a934f2.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": [
"duplicate"
],
"encoding_format": "float"
},
"endpoint": "/v1/embeddings",
"model": "all-minilm:l6-v2"
},
"response": {
"body": {
"__type__": "openai.types.create_embedding_response.CreateEmbeddingResponse",
"__data__": {
"data": [
{
"embedding": [
-0.07724742,
-0.05244129,
-0.018358208,
0.018783353,
-0.06849563,
-0.08415035,
0.086291835,
0.057018615,
0.1136279,
-0.036064528,
0.008722526,
-0.014351915,
0.003886647,
0.0043135756,
-0.037594624,
-0.010966992,
-0.030476239,
-0.056255527,
-0.08672033,
-0.004044561,
0.0059786327,
0.015305735,
-0.05657407,
0.047554016,
-0.016725264,
0.029383903,
-0.022913637,
0.07799145,
-0.021310635,
-0.104716286,
-0.004392033,
0.020784372,
0.04148304,
-0.0027664201,
0.02698053,
0.031121965,
-0.015487055,
0.015977867,
0.048849303,
-0.049809974,
-0.026278382,
-0.0940992,
-0.02550013,
0.014167875,
-0.010784731,
0.066950604,
-0.018985689,
0.033695955,
0.040894657,
0.025937518,
-0.012449657,
-0.023945555,
-0.026861332,
-0.05440934,
0.12576178,
0.014031229,
-0.07666608,
0.042413868,
0.019895919,
-0.014834209,
0.041385364,
0.07035096,
-0.050546475,
0.082744986,
0.049436357,
0.012414772,
-0.004369083,
0.0059830816,
-0.06874091,
-0.044230867,
0.011145832,
0.09924995,
0.002179932,
0.08260443,
0.026017305,
-0.031161657,
-0.0067120134,
-0.022108195,
0.017211348,
0.039283223,
-0.084271796,
-0.070168905,
-0.041618396,
-0.030235965,
0.048027903,
0.008951923,
0.059128545,
-0.0052282223,
-0.06385816,
-0.047423717,
-0.07691618,
0.10716712,
0.02838012,
-0.04510517,
-0.09495914,
0.0013446311,
0.018730218,
0.053789828,
-0.058221553,
0.23250507,
0.014788604,
0.047749292,
0.015474045,
0.011511364,
0.0057538874,
-0.0629816,
-0.029131796,
0.047270518,
0.001283126,
-0.043159317,
-0.030766038,
0.0061556227,
-0.015973011,
0.03481056,
0.062749244,
0.0029082517,
0.010572958,
0.027749807,
0.050668936,
-0.051467456,
0.007794117,
0.0027644718,
0.03543721,
-0.0022148099,
-0.05313771,
-0.10215321,
0.03707251,
-2.6713175e-33,
0.0017724886,
-0.064549305,
0.083517104,
0.0075378036,
0.0373638,
-0.050084334,
0.014043211,
0.020553099,
-0.07188897,
0.011441495,
0.022517225,
0.031318914,
-0.016180433,
0.015433824,
0.008950052,
-0.021158809,
0.034379054,
0.07882736,
-0.07134793,
0.03718742,
-0.01402067,
0.11467582,
0.027725333,
0.103083044,
0.0020317438,
-0.011571618,
0.023986591,
-0.11256917,
0.04468431,
0.025734378,
0.014319986,
0.010833818,
-0.0005189497,
0.12757385,
-0.0047730957,
0.0099472245,
0.08402423,
-0.07101441,
-0.019073823,
-0.040513888,
-0.059322916,
-0.010433166,
-0.071019754,
-0.040704224,
0.08586277,
-0.018428363,
-0.015254462,
-0.052051596,
0.043923747,
0.014250693,
0.020743154,
-0.041564606,
-0.05012484,
-0.014720733,
-0.08762599,
-0.04295185,
0.04303896,
-0.053854093,
-0.015607529,
0.111948535,
0.0679723,
0.10907892,
-0.069508664,
0.00887828,
0.015481415,
-0.03690716,
0.08508598,
-0.059459347,
0.015344124,
-0.060224805,
-0.00603072,
-0.09113789,
-0.0136159845,
-0.037026063,
0.04790111,
-0.100247644,
-0.019773062,
0.07999973,
-0.0128980465,
-0.018863179,
-0.059017047,
0.00248596,
-0.0144997155,
-0.02121462,
-0.0017333464,
0.07713876,
-0.051054224,
-0.10495583,
-0.0073451903,
0.052062955,
0.016453652,
-0.009236932,
0.055282637,
0.0038197949,
-0.020051114,
2.5464958e-33,
-0.038987577,
-0.043897048,
0.03787998,
0.074700505,
0.014658231,
-0.031063978,
0.03932032,
0.0086922515,
-0.079684064,
0.00907119,
0.018906428,
-0.04523901,
0.08419313,
-0.032539196,
-0.014256086,
0.03184282,
0.055137835,
0.008252636,
-0.08645058,
0.033518456,
-0.03877447,
0.011789311,
0.008589286,
0.040438384,
-0.029595155,
0.015558957,
0.01706848,
0.0082632555,
0.055422414,
-0.047813375,
0.12587819,
0.0012081665,
-0.056614272,
-0.049693204,
0.019767676,
0.10198586,
0.052604027,
0.005185193,
-0.007734863,
0.03135029,
0.10176289,
-0.009025921,
0.012806229,
0.11788305,
0.020581847,
-0.042219758,
-0.0068787434,
0.022657244,
0.047365777,
-0.022893863,
-0.051349323,
-0.005233177,
-0.076251194,
-0.04236047,
0.019560752,
-0.06629419,
0.021389643,
0.030450732,
0.050301515,
-0.09925603,
0.047766063,
0.024021091,
-0.09243169,
0.052473485,
-0.027104896,
-0.034923382,
-0.035148807,
0.07990074,
0.012386824,
-0.016390324,
-0.11454378,
-0.011963314,
-0.048622582,
-0.009833977,
0.008378115,
-0.04069243,
0.012471775,
0.11785673,
-0.083506085,
0.021854725,
0.016397662,
-0.067396075,
-0.05733745,
0.022288153,
-0.09067268,
-0.012360014,
0.08768485,
0.038021423,
-0.008215962,
-0.033709865,
-0.06452811,
0.075504094,
-0.06108504,
0.034222264,
-0.03457496,
-1.466989e-08,
0.010145719,
0.09416839,
-0.006477657,
0.044030815,
0.072401255,
-0.02240294,
-0.023854287,
-0.022957338,
-0.008710809,
0.054063216,
0.015527666,
-0.008091619,
-0.02358684,
0.05656128,
0.047717538,
-0.072567485,
-0.084655635,
-0.028462045,
0.038069323,
0.05122655,
0.008662912,
0.020227194,
0.032318383,
-0.02934469,
-0.008373493,
-0.030406654,
-0.0018623174,
0.04668153,
-0.014274433,
-0.011503898,
-0.012042847,
0.03997898,
-0.04851871,
-0.054651935,
-0.037423328,
-0.025878351,
0.008015021,
0.0097502675,
-0.011484835,
0.017112983,
0.0017380291,
-0.05770241,
0.09601054,
0.008765968,
0.012350261,
-0.015184217,
0.06604998,
-0.09777801,
0.0019177026,
0.011822941,
-0.032919675,
0.018701306,
0.09756877,
0.030090347,
0.0767435,
0.016393822,
0.022264855,
-0.009713106,
-0.031033427,
0.054199275,
0.14510539,
-0.04926405,
0.054231234,
0.05421684
],
"index": 0,
"object": "embedding"
}
],
"model": "all-minilm:l6-v2",
"object": "list",
"usage": {
"prompt_tokens": 1,
"total_tokens": 1
}
}
},
"is_streaming": false
}
}