mirror of
https://github.com/meta-llama/llama-stack.git
synced 2025-08-15 22:18:00 +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": [
|
|
"The secret string is foobazbar."
|
|
]
|
|
},
|
|
"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": 19830334,
|
|
"load_duration": 7418054,
|
|
"prompt_eval_count": 9,
|
|
"prompt_eval_duration": null,
|
|
"eval_count": null,
|
|
"eval_duration": null,
|
|
"embeddings": [
|
|
[
|
|
-0.060639773,
|
|
0.06372565,
|
|
-0.05936291,
|
|
-0.010300041,
|
|
-0.11982569,
|
|
0.033425555,
|
|
0.056833234,
|
|
-0.0064585046,
|
|
0.029884538,
|
|
-0.050377,
|
|
0.015235641,
|
|
-0.06343532,
|
|
0.015153007,
|
|
-0.08355496,
|
|
0.009256003,
|
|
0.044258773,
|
|
-0.024394983,
|
|
-0.050998896,
|
|
-0.028089164,
|
|
-0.073907696,
|
|
0.0708678,
|
|
0.081041634,
|
|
0.0060154344,
|
|
-0.043091357,
|
|
0.010724255,
|
|
-0.0157963,
|
|
0.03515573,
|
|
0.06535516,
|
|
0.036405835,
|
|
-0.056207117,
|
|
0.073691264,
|
|
0.047304515,
|
|
0.06716326,
|
|
-0.012080835,
|
|
-0.018201472,
|
|
0.004228335,
|
|
0.029158425,
|
|
0.0067739366,
|
|
0.037928075,
|
|
0.0024743075,
|
|
0.014024643,
|
|
0.022656543,
|
|
-0.090546414,
|
|
0.04194943,
|
|
-0.0793169,
|
|
0.03200897,
|
|
-0.03836494,
|
|
0.036980182,
|
|
-0.0037388564,
|
|
-0.016997939,
|
|
0.03697645,
|
|
-0.07700678,
|
|
-0.020121705,
|
|
0.077319205,
|
|
0.04524197,
|
|
-0.007828367,
|
|
-0.005898434,
|
|
0.009954127,
|
|
0.033502743,
|
|
0.08998491,
|
|
0.01617543,
|
|
0.036984075,
|
|
-0.039189536,
|
|
-0.010982272,
|
|
0.023962036,
|
|
-0.036975376,
|
|
-0.008243782,
|
|
0.018792296,
|
|
-0.0006868037,
|
|
-0.06198398,
|
|
-0.030387625,
|
|
-0.03764361,
|
|
-0.0465636,
|
|
0.038446005,
|
|
-0.010364095,
|
|
-0.03298246,
|
|
0.013548113,
|
|
-0.059034206,
|
|
0.06306018,
|
|
0.015928335,
|
|
-0.048439246,
|
|
-0.06992423,
|
|
-0.02249995,
|
|
0.044059318,
|
|
0.036188874,
|
|
0.0604999,
|
|
-0.043173794,
|
|
0.02878105,
|
|
0.00625082,
|
|
0.010277735,
|
|
-0.07871832,
|
|
-0.09155406,
|
|
0.043908454,
|
|
0.013187137,
|
|
-0.0037733258,
|
|
0.010227577,
|
|
0.020180272,
|
|
0.056316458,
|
|
-0.097017966,
|
|
0.06576817,
|
|
0.04714018,
|
|
0.018830564,
|
|
0.124457024,
|
|
-0.064480856,
|
|
-0.012605383,
|
|
0.016036145,
|
|
0.08604121,
|
|
0.024867544,
|
|
0.10626747,
|
|
-0.04315638,
|
|
-0.046307754,
|
|
-0.031482875,
|
|
-0.0017896753,
|
|
-0.023491126,
|
|
-0.05078794,
|
|
0.0046478175,
|
|
0.043237753,
|
|
0.05715731,
|
|
-0.06581743,
|
|
0.032969296,
|
|
-0.028760076,
|
|
0.037811063,
|
|
0.00016727838,
|
|
0.043302964,
|
|
-0.13265245,
|
|
0.0263716,
|
|
-0.042466283,
|
|
-3.3353205e-33,
|
|
-0.002227074,
|
|
0.05063068,
|
|
0.028064998,
|
|
-0.033884156,
|
|
-0.0045258533,
|
|
-0.03464052,
|
|
-0.086286224,
|
|
0.04311723,
|
|
0.01025313,
|
|
0.044037264,
|
|
-0.03019185,
|
|
-0.09359287,
|
|
-0.065240555,
|
|
-0.059729856,
|
|
0.037555248,
|
|
-0.025923185,
|
|
-0.06656174,
|
|
0.0043645045,
|
|
0.018837698,
|
|
-0.035559133,
|
|
0.022410586,
|
|
0.089450255,
|
|
0.033591606,
|
|
-0.11377698,
|
|
0.03821906,
|
|
-0.044418316,
|
|
0.10258541,
|
|
-0.07330748,
|
|
0.089376666,
|
|
0.056672454,
|
|
-0.009439043,
|
|
-0.064637296,
|
|
0.016651757,
|
|
0.007316741,
|
|
0.0052164183,
|
|
0.0051133917,
|
|
-0.013578286,
|
|
-0.04917494,
|
|
-0.06671976,
|
|
0.010861998,
|
|
0.04635771,
|
|
-0.114912644,
|
|
-0.055052113,
|
|
0.040456027,
|
|
-0.032764934,
|
|
0.03497564,
|
|
-0.023565749,
|
|
-0.0122220665,
|
|
0.048061397,
|
|
0.011574431,
|
|
0.0078836065,
|
|
0.038066708,
|
|
-0.02776296,
|
|
0.0033052622,
|
|
-0.0033062513,
|
|
0.0060893223,
|
|
0.032002907,
|
|
0.048337206,
|
|
0.013765614,
|
|
0.0361784,
|
|
-0.022666454,
|
|
0.09200785,
|
|
0.029846026,
|
|
0.08113161,
|
|
-0.08676324,
|
|
-0.028000059,
|
|
0.05564783,
|
|
-0.030363169,
|
|
-0.01651962,
|
|
0.031817682,
|
|
-0.07585742,
|
|
-0.009924711,
|
|
0.028093029,
|
|
0.0022190511,
|
|
-0.10494398,
|
|
-0.023684397,
|
|
-0.02419872,
|
|
-0.00029041493,
|
|
0.0016061965,
|
|
-0.037576895,
|
|
0.025535172,
|
|
-0.052210968,
|
|
0.021654254,
|
|
0.099135235,
|
|
-0.06895632,
|
|
-0.018578324,
|
|
0.0724588,
|
|
-0.105865955,
|
|
-0.08502584,
|
|
-0.030003337,
|
|
-0.015741726,
|
|
-0.05684276,
|
|
-0.027024021,
|
|
-0.06408883,
|
|
0.005700278,
|
|
1.2909128e-33,
|
|
0.054930277,
|
|
-0.036410004,
|
|
-0.0023171217,
|
|
-0.035894036,
|
|
0.1068399,
|
|
-0.049308524,
|
|
0.037888233,
|
|
0.050643876,
|
|
-0.08384806,
|
|
-0.018762833,
|
|
0.0036076272,
|
|
0.028958267,
|
|
-0.0028438307,
|
|
-0.036437068,
|
|
0.11147226,
|
|
0.051020138,
|
|
0.04023225,
|
|
0.09245051,
|
|
-0.01367069,
|
|
-0.07095874,
|
|
-0.043207154,
|
|
-0.060137726,
|
|
-0.030198809,
|
|
0.009124354,
|
|
-0.04424328,
|
|
0.04844442,
|
|
0.117211945,
|
|
-0.009819735,
|
|
0.002429452,
|
|
0.09333068,
|
|
-0.05990318,
|
|
0.010140399,
|
|
-0.03776785,
|
|
-0.043452136,
|
|
-0.14679956,
|
|
-0.022661027,
|
|
-0.008955439,
|
|
-0.021544594,
|
|
-0.021905722,
|
|
-0.066112846,
|
|
0.016239611,
|
|
0.062623896,
|
|
0.010557838,
|
|
0.047209036,
|
|
-0.087235674,
|
|
0.0094077485,
|
|
-0.01769091,
|
|
-0.038465302,
|
|
0.010402301,
|
|
0.022951292,
|
|
0.09949292,
|
|
-0.021435224,
|
|
0.0016363884,
|
|
-0.039346013,
|
|
0.016425362,
|
|
0.039651647,
|
|
-0.11970253,
|
|
0.009909306,
|
|
0.003858687,
|
|
0.0182787,
|
|
-0.04543836,
|
|
0.0020555719,
|
|
0.024242649,
|
|
0.016967652,
|
|
0.06883535,
|
|
-0.027423857,
|
|
-0.0181242,
|
|
0.053814657,
|
|
-0.02883445,
|
|
-0.045210328,
|
|
0.11474227,
|
|
0.019766666,
|
|
-0.057896398,
|
|
0.016537277,
|
|
-0.0736607,
|
|
0.040268008,
|
|
-0.015094288,
|
|
0.006702388,
|
|
-0.049662724,
|
|
0.045974977,
|
|
0.077959426,
|
|
-0.04295526,
|
|
0.02186354,
|
|
0.063874446,
|
|
0.08110985,
|
|
-0.07061161,
|
|
-0.032482613,
|
|
0.09260675,
|
|
-0.020442914,
|
|
0.07014854,
|
|
-0.020733764,
|
|
0.093375094,
|
|
-0.05119609,
|
|
0.039442588,
|
|
0.025606012,
|
|
-1.6766675e-08,
|
|
0.0015268949,
|
|
0.008090479,
|
|
-0.017678792,
|
|
-0.03410393,
|
|
0.068066135,
|
|
0.07387084,
|
|
-0.07586656,
|
|
-0.113715105,
|
|
-0.022030246,
|
|
0.0091101825,
|
|
0.031090891,
|
|
-0.005711195,
|
|
-0.04621522,
|
|
0.003679675,
|
|
0.013247459,
|
|
-0.032131832,
|
|
-0.05559878,
|
|
-0.010590206,
|
|
0.006735521,
|
|
-0.025462449,
|
|
-0.08367791,
|
|
0.08888197,
|
|
0.0051492383,
|
|
-0.051671468,
|
|
-0.051902205,
|
|
0.039699014,
|
|
-0.042151738,
|
|
0.05715088,
|
|
0.088929184,
|
|
0.049737025,
|
|
0.041459583,
|
|
0.0946667,
|
|
-0.037086494,
|
|
-0.06848715,
|
|
-0.06164879,
|
|
0.09891768,
|
|
-0.05950153,
|
|
-0.03321193,
|
|
-0.025980823,
|
|
0.07762438,
|
|
0.05616985,
|
|
0.010686045,
|
|
0.01899881,
|
|
0.056079634,
|
|
-0.04168257,
|
|
-0.027310291,
|
|
0.10182688,
|
|
-0.036167838,
|
|
-0.029922716,
|
|
-0.04332533,
|
|
0.0436739,
|
|
0.01878726,
|
|
-0.0042941514,
|
|
0.055926275,
|
|
-0.0034490179,
|
|
0.060258176,
|
|
-0.13373649,
|
|
0.008205703,
|
|
-0.03154335,
|
|
0.02240309,
|
|
0.03797733,
|
|
0.02454498,
|
|
0.06804169,
|
|
0.07020173
|
|
]
|
|
]
|
|
}
|
|
},
|
|
"is_streaming": false
|
|
}
|
|
}
|