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": [
|
|
"What inspires neural networks?"
|
|
]
|
|
},
|
|
"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": 17148955,
|
|
"load_duration": 6651167,
|
|
"prompt_eval_count": 6,
|
|
"prompt_eval_duration": null,
|
|
"eval_count": null,
|
|
"eval_duration": null,
|
|
"embeddings": [
|
|
[
|
|
-0.085681304,
|
|
-0.095581464,
|
|
0.043999746,
|
|
-0.015962392,
|
|
0.029400628,
|
|
0.07226456,
|
|
-0.010901451,
|
|
-0.023813674,
|
|
0.07378506,
|
|
-0.05697427,
|
|
-0.033765975,
|
|
0.05121266,
|
|
0.0050979555,
|
|
0.014309963,
|
|
-0.07880483,
|
|
-0.012905849,
|
|
-0.041623827,
|
|
0.0687718,
|
|
-0.107817836,
|
|
-0.040402025,
|
|
0.02626439,
|
|
-0.0019839199,
|
|
-0.011018193,
|
|
-0.0019673458,
|
|
0.0040422864,
|
|
0.08879382,
|
|
0.01402507,
|
|
-0.018432936,
|
|
0.03259668,
|
|
-0.03467639,
|
|
0.07614212,
|
|
-0.014108018,
|
|
-0.02491903,
|
|
0.037580706,
|
|
-0.10195762,
|
|
0.054681186,
|
|
-0.022511847,
|
|
0.024178648,
|
|
0.011709601,
|
|
-0.008936471,
|
|
-0.05014084,
|
|
0.002622049,
|
|
0.05592362,
|
|
0.0099558495,
|
|
0.1279459,
|
|
-0.024969373,
|
|
0.024331603,
|
|
-0.024513736,
|
|
-0.0022768104,
|
|
-0.024678802,
|
|
-0.10482663,
|
|
-0.059968818,
|
|
-0.05517871,
|
|
0.015272669,
|
|
0.03499024,
|
|
0.052664176,
|
|
-0.0006159338,
|
|
0.066367485,
|
|
-0.031800635,
|
|
-0.0073153223,
|
|
-0.0050571254,
|
|
-0.042501386,
|
|
-0.040885996,
|
|
0.020060783,
|
|
0.03869819,
|
|
0.02252177,
|
|
-0.028677218,
|
|
0.053372957,
|
|
0.022434458,
|
|
0.01932899,
|
|
0.122685425,
|
|
0.02391069,
|
|
-0.037310783,
|
|
0.0058996845,
|
|
0.052371886,
|
|
0.054006398,
|
|
0.08022549,
|
|
-0.0109860925,
|
|
0.029316097,
|
|
-0.06720931,
|
|
-0.00020536478,
|
|
-0.050579377,
|
|
-0.009566371,
|
|
0.04615162,
|
|
0.07864397,
|
|
0.0141741,
|
|
-0.033241987,
|
|
0.0018572828,
|
|
-0.066625245,
|
|
-0.021015463,
|
|
-0.017156467,
|
|
-0.043931913,
|
|
-0.0596939,
|
|
-0.07345105,
|
|
-0.0398444,
|
|
-0.030874873,
|
|
-0.019920446,
|
|
-0.10750585,
|
|
-0.026640767,
|
|
0.06898602,
|
|
-0.0049453005,
|
|
0.02661913,
|
|
0.018901112,
|
|
0.022115147,
|
|
0.064215325,
|
|
-0.05311056,
|
|
0.061604578,
|
|
0.01401751,
|
|
0.11773954,
|
|
-0.051754657,
|
|
-0.0763492,
|
|
0.03089861,
|
|
-0.038562253,
|
|
-0.025287481,
|
|
0.039286032,
|
|
-0.061460134,
|
|
0.0083680395,
|
|
0.016174005,
|
|
0.032318905,
|
|
0.066826284,
|
|
-0.06503665,
|
|
0.014697402,
|
|
-0.038522907,
|
|
0.018723847,
|
|
-0.030096343,
|
|
-0.028485447,
|
|
-0.14709295,
|
|
-3.4554582e-33,
|
|
-0.048594434,
|
|
-0.02497814,
|
|
0.07171551,
|
|
0.035668552,
|
|
0.07933306,
|
|
-0.078095146,
|
|
0.023089593,
|
|
-0.0474716,
|
|
0.08870901,
|
|
-0.0010188936,
|
|
-0.11324424,
|
|
0.09134128,
|
|
0.023990165,
|
|
0.11367867,
|
|
0.04216775,
|
|
-0.0577585,
|
|
-0.07449343,
|
|
-0.0021416158,
|
|
-0.051485773,
|
|
-0.050966885,
|
|
-0.001616003,
|
|
0.030676797,
|
|
0.04510477,
|
|
-0.039778266,
|
|
-0.058712397,
|
|
-0.030624842,
|
|
0.001723139,
|
|
0.009131228,
|
|
-0.013748993,
|
|
0.023429343,
|
|
0.0017690851,
|
|
0.046615023,
|
|
-0.07229696,
|
|
-0.027881058,
|
|
0.016162753,
|
|
0.04445625,
|
|
-0.0043517617,
|
|
-0.061766528,
|
|
0.06977974,
|
|
0.031259496,
|
|
-0.013689306,
|
|
-0.007429736,
|
|
0.03165361,
|
|
-0.023703648,
|
|
0.07151753,
|
|
0.023939254,
|
|
0.00974393,
|
|
0.0071852654,
|
|
-0.032335706,
|
|
-0.049569704,
|
|
-0.05028296,
|
|
0.021495296,
|
|
0.015300162,
|
|
-0.06743517,
|
|
0.06547497,
|
|
-0.025525656,
|
|
0.03209374,
|
|
0.020391569,
|
|
0.011251086,
|
|
0.00022983168,
|
|
-0.023480719,
|
|
-0.004975026,
|
|
-0.014066877,
|
|
0.0013942543,
|
|
0.059347607,
|
|
0.03995627,
|
|
-0.032481793,
|
|
-0.02370644,
|
|
0.054430693,
|
|
0.06420778,
|
|
-0.03403204,
|
|
0.08743523,
|
|
-0.08050841,
|
|
-0.090586886,
|
|
-0.06534727,
|
|
-9.977549e-05,
|
|
-0.021465743,
|
|
-0.068421625,
|
|
-0.029139552,
|
|
0.034137648,
|
|
-0.078038886,
|
|
-0.05387686,
|
|
-0.035576295,
|
|
0.04482086,
|
|
-0.040064223,
|
|
0.07973023,
|
|
0.025987988,
|
|
-0.08184961,
|
|
0.0018208853,
|
|
-0.027658636,
|
|
-0.043111984,
|
|
-0.04208418,
|
|
0.083367765,
|
|
-0.049456984,
|
|
-0.090272054,
|
|
2.6719462e-33,
|
|
-0.0919105,
|
|
0.026422026,
|
|
-0.0702218,
|
|
0.07556679,
|
|
0.039019883,
|
|
0.027918797,
|
|
-0.054435197,
|
|
-0.03665134,
|
|
-0.048217386,
|
|
0.07555299,
|
|
0.04645861,
|
|
0.025837917,
|
|
0.052232184,
|
|
-0.00019511126,
|
|
0.010594723,
|
|
-0.04060704,
|
|
-0.028484648,
|
|
-0.020562524,
|
|
0.08883098,
|
|
-0.0675747,
|
|
0.049423475,
|
|
0.13226803,
|
|
-0.06998591,
|
|
-0.040101074,
|
|
0.04402345,
|
|
0.034215808,
|
|
-0.086508036,
|
|
0.05748614,
|
|
-0.007484621,
|
|
0.04904636,
|
|
-0.014905731,
|
|
-0.018129041,
|
|
-0.020285906,
|
|
0.03886023,
|
|
0.022301883,
|
|
0.13486,
|
|
0.068968445,
|
|
-0.002601102,
|
|
-0.016437862,
|
|
0.0033667886,
|
|
0.017248135,
|
|
0.013624591,
|
|
0.044167783,
|
|
0.049155388,
|
|
-0.008251536,
|
|
-0.046576213,
|
|
-0.043907613,
|
|
0.041560307,
|
|
-0.035454296,
|
|
0.042816173,
|
|
0.03130763,
|
|
0.01795219,
|
|
-0.026223853,
|
|
-0.054602407,
|
|
-0.042619392,
|
|
-0.0041024024,
|
|
0.02905227,
|
|
0.0010594176,
|
|
0.09045834,
|
|
0.01407639,
|
|
-0.06884184,
|
|
-0.071025275,
|
|
0.02034249,
|
|
0.004330081,
|
|
-0.046988014,
|
|
0.016498951,
|
|
-0.028359761,
|
|
0.104389384,
|
|
0.0028101353,
|
|
-0.08335455,
|
|
0.037342783,
|
|
0.058927905,
|
|
0.037627388,
|
|
0.09579175,
|
|
-0.12379578,
|
|
-0.05406347,
|
|
-0.014487729,
|
|
0.00132331,
|
|
-0.04533123,
|
|
-0.08991201,
|
|
0.0017578854,
|
|
-0.05520286,
|
|
0.0005905125,
|
|
0.00057696534,
|
|
0.07861307,
|
|
0.104590856,
|
|
0.0035720735,
|
|
0.008376108,
|
|
0.04295002,
|
|
0.010083029,
|
|
0.025200473,
|
|
0.05733988,
|
|
-0.023040904,
|
|
0.054405548,
|
|
-0.049814496,
|
|
-1.32881794e-08,
|
|
-0.053953137,
|
|
0.080773644,
|
|
0.03396369,
|
|
0.024386076,
|
|
0.09063602,
|
|
-0.071622826,
|
|
0.075512506,
|
|
0.017275201,
|
|
-0.061214693,
|
|
-0.032958332,
|
|
0.0783013,
|
|
0.039668255,
|
|
-0.03671256,
|
|
0.02667037,
|
|
0.100062974,
|
|
-0.014423388,
|
|
0.020694766,
|
|
-0.03923435,
|
|
0.008530012,
|
|
-0.0012191309,
|
|
0.06742351,
|
|
0.013990705,
|
|
-0.053969115,
|
|
-0.016794305,
|
|
0.07650657,
|
|
-0.03551458,
|
|
-0.050098673,
|
|
0.08379899,
|
|
-0.009979221,
|
|
0.081417635,
|
|
0.019264791,
|
|
0.049911313,
|
|
0.0022199217,
|
|
-0.07809246,
|
|
0.019478371,
|
|
0.11155656,
|
|
-0.0127101755,
|
|
-0.0646376,
|
|
-0.09345448,
|
|
-0.050051365,
|
|
-0.04220205,
|
|
0.059940416,
|
|
0.034817107,
|
|
-0.014977587,
|
|
0.0144794,
|
|
-0.022621814,
|
|
0.06914498,
|
|
-0.088525705,
|
|
0.021482527,
|
|
0.013780395,
|
|
-0.007574969,
|
|
0.027911302,
|
|
0.015498402,
|
|
0.005222799,
|
|
0.010627239,
|
|
-0.02296286,
|
|
-0.02536398,
|
|
-0.041442133,
|
|
-0.083752654,
|
|
0.09260617,
|
|
0.051770985,
|
|
0.09294301,
|
|
0.011217839,
|
|
-0.01673822
|
|
]
|
|
]
|
|
}
|
|
},
|
|
"is_streaming": false
|
|
}
|
|
}
|