mirror of
https://github.com/meta-llama/llama-stack.git
synced 2025-08-16 06:27:58 +00:00
This PR significantly refactors the Integration Tests workflow. The main goal behind the PR was to enable recording of vision tests which were never run as part of our CI ever before. During debugging, I ended up making several other changes refactoring and hopefully increasing the robustness of the workflow. After doing the experiments, I have updated the trigger event to be `pull_request_target` so this workflow can get write permissions by default but it will run with source code from the base (main) branch in the source repository only. If you do change the workflow, you'd need to experiment using the `workflow_dispatch` triggers. This should not be news to anyone using Github Actions (except me!) It is likely to be a little rocky though while I learn more about GitHub Actions, etc. Please be patient :) --------- Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
421 lines
10 KiB
JSON
421 lines
10 KiB
JSON
{
|
|
"request": {
|
|
"method": "POST",
|
|
"url": "http://localhost:11434/api/embeddings",
|
|
"headers": {},
|
|
"body": {
|
|
"model": "all-minilm:l6-v2",
|
|
"input": [
|
|
"artificial intelligence"
|
|
]
|
|
},
|
|
"endpoint": "/api/embeddings",
|
|
"model": "all-minilm:l6-v2"
|
|
},
|
|
"response": {
|
|
"body": {
|
|
"__type__": "ollama._types.EmbedResponse",
|
|
"__data__": {
|
|
"model": "all-minilm:l6-v2",
|
|
"created_at": null,
|
|
"done": null,
|
|
"done_reason": null,
|
|
"total_duration": 14447665,
|
|
"load_duration": 7154333,
|
|
"prompt_eval_count": 2,
|
|
"prompt_eval_duration": null,
|
|
"eval_count": null,
|
|
"eval_duration": null,
|
|
"embeddings": [
|
|
[
|
|
-0.02437173,
|
|
0.016691571,
|
|
0.037651334,
|
|
-0.009169466,
|
|
-0.030578919,
|
|
-0.017076846,
|
|
0.07430663,
|
|
0.04566769,
|
|
-0.009368396,
|
|
0.009935814,
|
|
-0.005688737,
|
|
0.0076862546,
|
|
0.039611656,
|
|
0.015205378,
|
|
-0.083217494,
|
|
0.019419,
|
|
-0.02204396,
|
|
-0.033271633,
|
|
-0.1810318,
|
|
-0.13026708,
|
|
-0.0022674492,
|
|
0.013488196,
|
|
-0.02434116,
|
|
-0.036990467,
|
|
0.0020005303,
|
|
0.085704565,
|
|
0.0048125703,
|
|
-0.0033972764,
|
|
-0.006103051,
|
|
-0.115693145,
|
|
0.06680104,
|
|
-0.018714054,
|
|
0.087860815,
|
|
-0.0074218297,
|
|
-0.093622826,
|
|
0.06146732,
|
|
-0.08101325,
|
|
0.012246703,
|
|
0.039720677,
|
|
-0.0026448935,
|
|
-0.046548385,
|
|
-0.08182065,
|
|
0.039587125,
|
|
0.015448616,
|
|
0.043755636,
|
|
0.10366629,
|
|
-0.058401912,
|
|
0.036637913,
|
|
-0.05266015,
|
|
0.040520575,
|
|
-0.12584542,
|
|
0.006513187,
|
|
-0.035867475,
|
|
-0.010049964,
|
|
-0.023868648,
|
|
0.045952503,
|
|
0.014643884,
|
|
0.019400682,
|
|
0.028450979,
|
|
-0.055104982,
|
|
0.024237337,
|
|
-0.052891206,
|
|
0.01526735,
|
|
-0.0043554287,
|
|
0.092411734,
|
|
0.033868838,
|
|
-0.0473778,
|
|
0.032004114,
|
|
0.0013329537,
|
|
-0.051189225,
|
|
0.025842959,
|
|
0.08156662,
|
|
0.040880162,
|
|
0.019199997,
|
|
0.056540668,
|
|
-0.052779485,
|
|
0.030562375,
|
|
-0.016645174,
|
|
0.07881059,
|
|
-0.05429127,
|
|
-0.042108275,
|
|
-0.045501526,
|
|
-0.052706387,
|
|
0.11225399,
|
|
0.019902289,
|
|
-0.042404417,
|
|
-0.011690239,
|
|
0.024314694,
|
|
0.019212393,
|
|
-0.01657069,
|
|
-0.010302843,
|
|
-0.08546401,
|
|
0.02384196,
|
|
-0.042174995,
|
|
-0.024951732,
|
|
0.062075637,
|
|
-0.00458379,
|
|
-0.15365618,
|
|
0.0011485998,
|
|
0.19421324,
|
|
-0.033859447,
|
|
0.02611495,
|
|
-0.020310923,
|
|
0.0013013423,
|
|
-0.0009998817,
|
|
-0.024108203,
|
|
0.017511548,
|
|
-0.009832005,
|
|
0.07044699,
|
|
-0.1376917,
|
|
-0.11118457,
|
|
-0.017314779,
|
|
0.06600386,
|
|
-0.051878963,
|
|
0.0019530356,
|
|
0.014586777,
|
|
0.06080839,
|
|
0.096305825,
|
|
0.0135452775,
|
|
0.019365564,
|
|
-9.473925e-05,
|
|
-0.026673997,
|
|
-0.009385724,
|
|
0.07080032,
|
|
-0.0033958114,
|
|
-0.062400278,
|
|
-0.044617876,
|
|
-8.786998e-34,
|
|
-0.11190001,
|
|
-0.042532727,
|
|
0.027410066,
|
|
0.06570358,
|
|
0.0028389343,
|
|
-0.044089977,
|
|
0.005261214,
|
|
-0.036915902,
|
|
-0.015572142,
|
|
0.020601038,
|
|
-0.059248205,
|
|
0.0072750626,
|
|
-0.028684014,
|
|
0.040509213,
|
|
0.13384926,
|
|
0.006766541,
|
|
-0.016410895,
|
|
0.08215301,
|
|
-0.02261861,
|
|
-0.03641547,
|
|
0.0652159,
|
|
0.020951675,
|
|
-0.005514451,
|
|
-0.03837839,
|
|
0.0014661213,
|
|
0.007356805,
|
|
0.016814455,
|
|
-0.062671445,
|
|
0.035449203,
|
|
-0.014394421,
|
|
0.027855018,
|
|
0.083778515,
|
|
-0.027821619,
|
|
-0.003602467,
|
|
0.039032556,
|
|
-0.02683506,
|
|
-0.01879125,
|
|
0.01901679,
|
|
0.06520433,
|
|
0.007066841,
|
|
0.0047632074,
|
|
-0.002972422,
|
|
0.04009995,
|
|
0.027956821,
|
|
-0.004595677,
|
|
0.01224324,
|
|
0.08707175,
|
|
-0.0070247534,
|
|
-0.037466988,
|
|
0.0112514375,
|
|
0.015385426,
|
|
0.013791659,
|
|
0.017975507,
|
|
-0.009874813,
|
|
0.09012836,
|
|
0.05173974,
|
|
-0.03426752,
|
|
0.0043836883,
|
|
-0.018890336,
|
|
-0.03143595,
|
|
0.0821047,
|
|
0.016943024,
|
|
-0.02216519,
|
|
0.06846694,
|
|
0.015813861,
|
|
0.020375654,
|
|
0.0063640494,
|
|
0.01645771,
|
|
0.12721963,
|
|
0.0150219,
|
|
-0.010827533,
|
|
0.0017831607,
|
|
0.031596202,
|
|
-0.04437783,
|
|
-0.0522816,
|
|
0.02283393,
|
|
0.050929666,
|
|
-0.01897314,
|
|
0.002736589,
|
|
-0.03365577,
|
|
-0.13567695,
|
|
-0.027060354,
|
|
-0.035655867,
|
|
-0.033519205,
|
|
0.047887404,
|
|
-0.005414933,
|
|
0.02131625,
|
|
-0.04000849,
|
|
0.019388696,
|
|
0.011998282,
|
|
-0.04336669,
|
|
0.00050136494,
|
|
0.03487659,
|
|
0.017963642,
|
|
-0.06246313,
|
|
8.231736e-34,
|
|
-0.09450524,
|
|
0.013722238,
|
|
-0.025376102,
|
|
0.099012874,
|
|
0.045497514,
|
|
-0.020499378,
|
|
-0.029740887,
|
|
-0.059197847,
|
|
0.042443916,
|
|
0.08437303,
|
|
-0.043213997,
|
|
-0.007738174,
|
|
0.049371954,
|
|
0.04206579,
|
|
-0.036542624,
|
|
0.014377386,
|
|
0.040342458,
|
|
-0.058944605,
|
|
0.010021014,
|
|
0.05985318,
|
|
-0.027902877,
|
|
0.0349437,
|
|
-0.08764893,
|
|
-0.060625143,
|
|
-0.004807651,
|
|
0.08776686,
|
|
-0.005401222,
|
|
-0.021765916,
|
|
-0.048159987,
|
|
0.046951044,
|
|
0.008384747,
|
|
-0.051710356,
|
|
-0.020393599,
|
|
0.085794024,
|
|
-0.022611415,
|
|
0.03439592,
|
|
-0.0144272465,
|
|
0.0031382157,
|
|
-0.046493594,
|
|
0.03027418,
|
|
0.039738458,
|
|
0.029673891,
|
|
-0.093155324,
|
|
0.051494524,
|
|
0.007791395,
|
|
-0.057023305,
|
|
-0.041827053,
|
|
0.089955375,
|
|
-0.008166286,
|
|
-0.040813755,
|
|
-0.053475816,
|
|
-0.034331154,
|
|
-0.045241453,
|
|
-0.09715105,
|
|
-0.058199886,
|
|
0.060881007,
|
|
-0.009054726,
|
|
0.006942832,
|
|
0.012339512,
|
|
0.06204418,
|
|
-0.006036043,
|
|
-0.0864186,
|
|
0.058729477,
|
|
0.053356454,
|
|
-0.05354962,
|
|
0.039538804,
|
|
-0.044991873,
|
|
0.07283141,
|
|
-0.03960586,
|
|
-0.051347718,
|
|
0.103338495,
|
|
0.02179528,
|
|
0.00014486129,
|
|
0.009510344,
|
|
0.021997727,
|
|
-0.0068747676,
|
|
-0.1288963,
|
|
-0.009832364,
|
|
-0.036413576,
|
|
-0.04248718,
|
|
0.004492611,
|
|
-0.047635976,
|
|
0.006537413,
|
|
0.1025696,
|
|
-0.053211726,
|
|
0.07332653,
|
|
0.015861318,
|
|
-0.02916268,
|
|
0.025154423,
|
|
-0.06311103,
|
|
-0.043543685,
|
|
0.06714647,
|
|
0.014881924,
|
|
-0.0010914755,
|
|
-0.09870542,
|
|
-1.4681843e-08,
|
|
0.004633685,
|
|
-0.067102544,
|
|
0.07647304,
|
|
-0.01981857,
|
|
0.06737649,
|
|
0.04482623,
|
|
-0.050963704,
|
|
-0.0077299844,
|
|
-0.029333303,
|
|
0.028893374,
|
|
0.018828921,
|
|
-0.024264988,
|
|
0.044066,
|
|
0.04414379,
|
|
0.034373876,
|
|
0.046520673,
|
|
0.021618845,
|
|
-0.0017267675,
|
|
-0.0029906677,
|
|
0.014380984,
|
|
0.12527594,
|
|
0.03429198,
|
|
-0.014653963,
|
|
0.039171875,
|
|
-0.002297837,
|
|
-0.014404986,
|
|
0.010117208,
|
|
0.024292482,
|
|
-0.04174585,
|
|
0.08831709,
|
|
-0.03145136,
|
|
0.030084575,
|
|
-0.0029161053,
|
|
0.00487737,
|
|
0.09588144,
|
|
0.09388587,
|
|
0.014207209,
|
|
-0.07716958,
|
|
-0.039264996,
|
|
-0.010718448,
|
|
-0.008490537,
|
|
0.064107336,
|
|
-0.03299578,
|
|
-0.03049028,
|
|
0.09460791,
|
|
-0.008975077,
|
|
-0.029871479,
|
|
-0.13294572,
|
|
0.059894353,
|
|
-0.011694143,
|
|
0.0071492735,
|
|
0.035602562,
|
|
0.0040614423,
|
|
0.056197774,
|
|
0.07654246,
|
|
-0.010018939,
|
|
0.056764524,
|
|
0.023490718,
|
|
-0.0637896,
|
|
0.0893437,
|
|
0.043716535,
|
|
0.04345191,
|
|
0.046286818,
|
|
-0.070387095
|
|
]
|
|
]
|
|
}
|
|
},
|
|
"is_streaming": false
|
|
}
|
|
}
|