mirror of
https://github.com/meta-llama/llama-stack.git
synced 2025-08-15 14:08: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": [
|
|
"Why are data structures important?"
|
|
]
|
|
},
|
|
"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": 14442225,
|
|
"load_duration": 5908877,
|
|
"prompt_eval_count": 6,
|
|
"prompt_eval_duration": null,
|
|
"eval_count": null,
|
|
"eval_duration": null,
|
|
"embeddings": [
|
|
[
|
|
-0.0039811856,
|
|
0.051417787,
|
|
-0.0005715141,
|
|
-0.03803642,
|
|
0.00027128452,
|
|
-0.07164157,
|
|
-0.03291995,
|
|
0.029136118,
|
|
0.08946447,
|
|
0.027045254,
|
|
0.02299213,
|
|
0.029471328,
|
|
0.0134518,
|
|
0.02187473,
|
|
0.02469151,
|
|
0.02320869,
|
|
-0.06788812,
|
|
0.042177398,
|
|
-0.06690857,
|
|
-0.044831563,
|
|
-0.019496728,
|
|
-0.017653666,
|
|
-0.04702048,
|
|
0.010083961,
|
|
-0.03517946,
|
|
0.12794615,
|
|
-0.039921533,
|
|
-0.037032884,
|
|
0.021825306,
|
|
-0.06664962,
|
|
0.020511147,
|
|
0.03142631,
|
|
0.12171163,
|
|
0.03787702,
|
|
-0.07563969,
|
|
0.035978485,
|
|
0.11102433,
|
|
-0.025687309,
|
|
-0.077919014,
|
|
0.01697996,
|
|
-0.08082786,
|
|
0.04252522,
|
|
0.008239131,
|
|
0.07315216,
|
|
0.01113036,
|
|
0.016228424,
|
|
0.019439362,
|
|
-0.05727214,
|
|
-0.02693478,
|
|
0.027580295,
|
|
-0.103669524,
|
|
0.06182539,
|
|
-0.028054044,
|
|
0.0455263,
|
|
0.038502,
|
|
0.10223323,
|
|
0.010206205,
|
|
0.0038840948,
|
|
-0.074412525,
|
|
-0.009773545,
|
|
-0.014611934,
|
|
0.0054425327,
|
|
-0.04896206,
|
|
0.024686582,
|
|
0.08042032,
|
|
-0.001383198,
|
|
0.0008921756,
|
|
0.0016657019,
|
|
0.016278693,
|
|
0.0036041273,
|
|
0.058009814,
|
|
-0.01006157,
|
|
-0.008400023,
|
|
0.06813469,
|
|
0.033983845,
|
|
-0.011650561,
|
|
-0.04933034,
|
|
-0.034598112,
|
|
0.02250701,
|
|
0.016103996,
|
|
0.025309183,
|
|
0.03500135,
|
|
-0.018220501,
|
|
0.06806079,
|
|
0.0599987,
|
|
-0.02538144,
|
|
0.04583358,
|
|
-0.042976376,
|
|
-0.10481837,
|
|
-0.02811274,
|
|
0.0790001,
|
|
-0.01711748,
|
|
0.0124125,
|
|
0.04062369,
|
|
-0.020124251,
|
|
0.026943244,
|
|
0.041834604,
|
|
-0.04414842,
|
|
0.08096912,
|
|
0.02178193,
|
|
0.081736214,
|
|
0.03328645,
|
|
0.021757673,
|
|
0.09206164,
|
|
-0.05208259,
|
|
-0.1362023,
|
|
0.013583276,
|
|
-0.019828305,
|
|
-0.036186047,
|
|
-0.05029691,
|
|
-0.0329588,
|
|
0.04664088,
|
|
-0.062425017,
|
|
-0.0568364,
|
|
-0.027655112,
|
|
-0.1512015,
|
|
-0.09397598,
|
|
-0.011011233,
|
|
-0.02424874,
|
|
-0.046778478,
|
|
-0.0029182346,
|
|
-0.066472694,
|
|
-0.02560864,
|
|
0.018279487,
|
|
0.0020318548,
|
|
-0.062247586,
|
|
-0.1175178,
|
|
-4.4292554e-33,
|
|
-0.009136622,
|
|
-0.037174374,
|
|
-0.02604135,
|
|
0.05202509,
|
|
0.00085812004,
|
|
0.006577624,
|
|
-0.00454986,
|
|
-0.040179957,
|
|
0.0041096318,
|
|
0.042830415,
|
|
-0.049696118,
|
|
0.045353506,
|
|
0.0428641,
|
|
0.04491573,
|
|
0.11103378,
|
|
0.021595275,
|
|
-0.031244695,
|
|
0.07227112,
|
|
-0.019163573,
|
|
-0.034743402,
|
|
0.067720324,
|
|
-0.016135676,
|
|
0.05970054,
|
|
-0.022954391,
|
|
0.028844452,
|
|
0.015425059,
|
|
-0.0003045761,
|
|
-0.012766137,
|
|
-0.033286437,
|
|
-0.00013060206,
|
|
-0.024786701,
|
|
-0.042230703,
|
|
-0.0024439848,
|
|
0.041244082,
|
|
0.09192393,
|
|
0.06853773,
|
|
-0.015283744,
|
|
-0.12651399,
|
|
0.017043643,
|
|
-0.086192474,
|
|
0.05503255,
|
|
0.030275606,
|
|
0.0043217717,
|
|
0.032015957,
|
|
-0.0322539,
|
|
0.004916596,
|
|
0.009010684,
|
|
-0.023150368,
|
|
-0.04071162,
|
|
-0.09106201,
|
|
0.036371823,
|
|
0.024427105,
|
|
0.013570613,
|
|
0.032411,
|
|
0.04100558,
|
|
0.03751363,
|
|
-0.041537277,
|
|
-0.078983925,
|
|
-0.053763084,
|
|
0.064508595,
|
|
-0.080228396,
|
|
0.02129479,
|
|
0.0622995,
|
|
0.045755383,
|
|
0.03245333,
|
|
0.089313425,
|
|
-0.040570408,
|
|
-0.03184067,
|
|
0.097861506,
|
|
0.018426524,
|
|
0.005526579,
|
|
0.03339057,
|
|
-0.069327235,
|
|
0.0049843024,
|
|
-0.0111007085,
|
|
0.04039599,
|
|
-0.018666456,
|
|
-0.061631028,
|
|
-0.01991712,
|
|
0.055738986,
|
|
-0.03395009,
|
|
-0.032834787,
|
|
0.03982438,
|
|
0.032516815,
|
|
-0.014805643,
|
|
-0.040833063,
|
|
0.09042099,
|
|
-0.0711825,
|
|
-0.045280255,
|
|
0.0044581695,
|
|
-0.011292024,
|
|
0.010472374,
|
|
-0.0051121535,
|
|
-0.032291505,
|
|
-0.0145741515,
|
|
1.9738093e-33,
|
|
-0.014771771,
|
|
-0.011359673,
|
|
-0.018966977,
|
|
-0.03000902,
|
|
-0.032400236,
|
|
0.00019931208,
|
|
-0.012589514,
|
|
-0.12148443,
|
|
0.0020975752,
|
|
0.03191172,
|
|
-0.004727992,
|
|
0.009443682,
|
|
0.07090955,
|
|
-0.100593194,
|
|
0.025055854,
|
|
0.06191594,
|
|
-0.0040894244,
|
|
-0.099229194,
|
|
-0.011800106,
|
|
-0.047672532,
|
|
-0.030504433,
|
|
0.062661596,
|
|
-0.07383581,
|
|
-0.0061629685,
|
|
-0.014213279,
|
|
0.0073416564,
|
|
-0.123823114,
|
|
-0.12355839,
|
|
0.049825996,
|
|
0.013651053,
|
|
-0.042307552,
|
|
-0.05771415,
|
|
0.008855104,
|
|
-0.039362777,
|
|
-0.0103809675,
|
|
0.01996238,
|
|
0.06862416,
|
|
-0.0034638718,
|
|
0.034936216,
|
|
0.016902631,
|
|
-0.041256435,
|
|
0.12757617,
|
|
-0.010952788,
|
|
-0.03840964,
|
|
0.033540674,
|
|
0.024278237,
|
|
-0.009185038,
|
|
0.08946187,
|
|
-0.03729937,
|
|
-0.033711437,
|
|
0.08362949,
|
|
0.024390021,
|
|
0.013046886,
|
|
-0.082465455,
|
|
0.08171803,
|
|
0.025880741,
|
|
-0.0407528,
|
|
0.011633795,
|
|
0.045149475,
|
|
0.05799517,
|
|
-0.04314864,
|
|
-0.021866212,
|
|
0.0076306188,
|
|
0.07500617,
|
|
-0.03708559,
|
|
-0.040266518,
|
|
-0.044550084,
|
|
-0.10994247,
|
|
-0.0240191,
|
|
-0.089640714,
|
|
0.020261075,
|
|
0.030591883,
|
|
-0.02121829,
|
|
0.046824012,
|
|
-0.08388275,
|
|
-0.04419642,
|
|
-0.041806895,
|
|
0.03112276,
|
|
0.010755989,
|
|
0.06391166,
|
|
-0.0031454791,
|
|
-0.012299338,
|
|
0.039625768,
|
|
0.038725432,
|
|
0.040054668,
|
|
0.012143256,
|
|
0.060516205,
|
|
-0.046224497,
|
|
0.009262628,
|
|
-0.05123796,
|
|
-0.049621977,
|
|
-0.015547329,
|
|
-0.08584545,
|
|
0.07391313,
|
|
-0.029286016,
|
|
-1.455054e-08,
|
|
-0.060226165,
|
|
-0.05653187,
|
|
-0.0039235186,
|
|
-0.030587185,
|
|
0.03372064,
|
|
-0.05150516,
|
|
0.011288491,
|
|
0.14127062,
|
|
0.023947941,
|
|
0.01934539,
|
|
0.06599671,
|
|
0.030757299,
|
|
-0.10697992,
|
|
0.0034128474,
|
|
0.07314907,
|
|
0.02416513,
|
|
0.08087709,
|
|
-0.078763716,
|
|
-0.032150872,
|
|
0.075260274,
|
|
0.054309774,
|
|
0.009813545,
|
|
-0.12706842,
|
|
0.063152395,
|
|
0.090030335,
|
|
-0.0016136293,
|
|
0.05839544,
|
|
0.05956212,
|
|
-0.0047300495,
|
|
0.022987204,
|
|
0.035680998,
|
|
-0.034018096,
|
|
0.07276527,
|
|
0.079732984,
|
|
0.09122537,
|
|
0.022239434,
|
|
0.045964334,
|
|
0.04402577,
|
|
-0.083599865,
|
|
-0.10004525,
|
|
0.02080335,
|
|
0.023068275,
|
|
-0.047920816,
|
|
0.08444264,
|
|
0.077142455,
|
|
0.009301439,
|
|
-0.080961,
|
|
0.09288208,
|
|
-0.020169992,
|
|
-0.0008043465,
|
|
-0.038628474,
|
|
0.016085649,
|
|
0.007008231,
|
|
-0.017678784,
|
|
-0.0022326205,
|
|
-0.021909356,
|
|
0.033364836,
|
|
-0.03214099,
|
|
-0.012320089,
|
|
-0.0021274248,
|
|
0.021111455,
|
|
0.016534865,
|
|
0.017552063,
|
|
-0.077128485
|
|
]
|
|
]
|
|
}
|
|
},
|
|
"is_streaming": false
|
|
}
|
|
}
|