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": [
|
|
"What is Python programming language?"
|
|
]
|
|
},
|
|
"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": 14017069,
|
|
"load_duration": 6084798,
|
|
"prompt_eval_count": 6,
|
|
"prompt_eval_duration": null,
|
|
"eval_count": null,
|
|
"eval_duration": null,
|
|
"embeddings": [
|
|
[
|
|
-0.062299512,
|
|
0.04314291,
|
|
-0.056856677,
|
|
0.03487498,
|
|
-0.045130543,
|
|
-0.13253723,
|
|
0.021801258,
|
|
0.03905167,
|
|
-0.048422147,
|
|
-0.031866066,
|
|
-0.039334282,
|
|
0.0063861525,
|
|
0.078711785,
|
|
-0.004295658,
|
|
0.023596749,
|
|
-0.021716505,
|
|
-0.05573506,
|
|
-0.009471944,
|
|
0.039706443,
|
|
-0.114432074,
|
|
-0.011571138,
|
|
0.061599534,
|
|
-0.026234824,
|
|
0.02437703,
|
|
0.029446855,
|
|
-0.0035651308,
|
|
-0.00145838,
|
|
-0.00313903,
|
|
0.0137839755,
|
|
-0.00021519467,
|
|
-0.014771578,
|
|
0.08437898,
|
|
0.06679487,
|
|
0.042340428,
|
|
0.0076946374,
|
|
0.07313361,
|
|
-0.008328885,
|
|
-0.09465153,
|
|
-0.09245484,
|
|
0.0076101488,
|
|
-0.07390885,
|
|
0.015470385,
|
|
-0.044050634,
|
|
-0.044988655,
|
|
-0.041298985,
|
|
0.06967625,
|
|
-0.027475385,
|
|
0.01439177,
|
|
-0.03610871,
|
|
-0.0066690356,
|
|
-0.08027576,
|
|
-6.320903e-05,
|
|
-0.038967375,
|
|
-0.04901159,
|
|
0.01780741,
|
|
-0.0064625116,
|
|
0.05977013,
|
|
-0.003139111,
|
|
-0.024790227,
|
|
-0.11497569,
|
|
-0.04741595,
|
|
0.018494949,
|
|
-0.009821916,
|
|
0.09573474,
|
|
-0.009432823,
|
|
-0.03572252,
|
|
-0.031270232,
|
|
-0.0032188955,
|
|
0.07713915,
|
|
-0.07621238,
|
|
-0.11879392,
|
|
-0.063214734,
|
|
-0.004622067,
|
|
0.06525516,
|
|
0.045760594,
|
|
-0.13793096,
|
|
0.045978762,
|
|
-0.033560168,
|
|
-0.013592423,
|
|
0.0045015467,
|
|
0.01705248,
|
|
-0.0016773397,
|
|
-0.05126322,
|
|
0.102517396,
|
|
0.015358336,
|
|
-0.05337354,
|
|
0.046742212,
|
|
0.11427399,
|
|
-0.005986359,
|
|
0.010281509,
|
|
-0.031590212,
|
|
-0.05193758,
|
|
0.02094042,
|
|
0.00889564,
|
|
-0.06902529,
|
|
0.08132795,
|
|
0.012084552,
|
|
-0.06408848,
|
|
-0.03637125,
|
|
0.04667938,
|
|
0.011233042,
|
|
-0.050319683,
|
|
0.073782675,
|
|
-0.021215191,
|
|
0.03245006,
|
|
-0.026153775,
|
|
0.06814923,
|
|
-0.03795168,
|
|
0.030797591,
|
|
-0.037129108,
|
|
-0.03695134,
|
|
-0.029432079,
|
|
-0.032888234,
|
|
-0.00580058,
|
|
0.04259698,
|
|
0.05470057,
|
|
-0.019268109,
|
|
0.12275155,
|
|
0.003795531,
|
|
0.03207379,
|
|
0.02372011,
|
|
0.019182375,
|
|
0.01998619,
|
|
-0.012273767,
|
|
-0.03248627,
|
|
-0.0044953367,
|
|
-0.035685856,
|
|
-6.953945e-33,
|
|
-0.02199191,
|
|
-0.0686648,
|
|
-0.0353737,
|
|
0.00889737,
|
|
0.07112167,
|
|
-0.025211865,
|
|
0.0914874,
|
|
-0.009342371,
|
|
-0.05954011,
|
|
-0.03471374,
|
|
0.043332614,
|
|
0.0333655,
|
|
0.024237446,
|
|
0.08791945,
|
|
0.020623982,
|
|
-0.00088081614,
|
|
-0.013014688,
|
|
0.088370614,
|
|
0.04570386,
|
|
0.025825853,
|
|
0.05431844,
|
|
0.09674628,
|
|
0.023137445,
|
|
0.024317676,
|
|
0.014196965,
|
|
-0.018658916,
|
|
-0.02449057,
|
|
-0.03254813,
|
|
0.025230253,
|
|
0.0167997,
|
|
-0.07629053,
|
|
0.012663858,
|
|
-0.02127982,
|
|
0.006900138,
|
|
0.03077926,
|
|
-0.00032187518,
|
|
0.0005111945,
|
|
-0.085893854,
|
|
0.040517006,
|
|
0.006310925,
|
|
-0.009996223,
|
|
0.0015871905,
|
|
0.012663539,
|
|
-0.036496088,
|
|
-0.02311059,
|
|
0.012365358,
|
|
-0.0051299105,
|
|
0.020204524,
|
|
-0.08760432,
|
|
0.045186196,
|
|
-0.0012780412,
|
|
-0.06578143,
|
|
0.07478501,
|
|
0.08405124,
|
|
-0.013907717,
|
|
0.055900548,
|
|
0.01933963,
|
|
-0.019657157,
|
|
-0.016009875,
|
|
-0.029160723,
|
|
0.03739787,
|
|
0.06809498,
|
|
0.06920713,
|
|
-0.007672135,
|
|
0.021142934,
|
|
0.04040559,
|
|
0.035094846,
|
|
0.08207594,
|
|
0.088103354,
|
|
0.050499115,
|
|
-0.05933218,
|
|
0.045776226,
|
|
-0.025103334,
|
|
0.03583547,
|
|
-0.028066712,
|
|
0.019852906,
|
|
0.033922214,
|
|
-0.07975417,
|
|
0.02300144,
|
|
0.062443927,
|
|
-0.03490803,
|
|
-0.053939816,
|
|
-0.01613488,
|
|
-0.0057205497,
|
|
-0.030501934,
|
|
-0.02271051,
|
|
-0.010379288,
|
|
0.06760881,
|
|
-0.010573027,
|
|
-0.09605811,
|
|
-0.07852684,
|
|
-0.085278705,
|
|
0.029953092,
|
|
-0.005949969,
|
|
-0.03959023,
|
|
2.979382e-33,
|
|
0.011482047,
|
|
0.010405214,
|
|
-0.06986261,
|
|
0.019275747,
|
|
-0.08455298,
|
|
-0.08570306,
|
|
0.066268414,
|
|
0.06303412,
|
|
0.05044079,
|
|
0.033729207,
|
|
-0.005918433,
|
|
-0.06963068,
|
|
0.12552938,
|
|
0.021379305,
|
|
0.07415631,
|
|
0.034211684,
|
|
-0.045811858,
|
|
0.014828219,
|
|
-0.012704339,
|
|
0.0036554744,
|
|
-0.080252334,
|
|
0.06730209,
|
|
-0.05603338,
|
|
-0.08669251,
|
|
-0.02789593,
|
|
-0.033893805,
|
|
-0.03873136,
|
|
-0.07794548,
|
|
-0.017803997,
|
|
0.061792277,
|
|
0.014711371,
|
|
0.020018095,
|
|
-0.08146497,
|
|
0.052354332,
|
|
0.06289804,
|
|
-0.0015964498,
|
|
0.040503405,
|
|
-0.027576957,
|
|
-0.009646813,
|
|
-0.017321808,
|
|
0.113927364,
|
|
0.04419595,
|
|
0.035337232,
|
|
0.12111621,
|
|
0.018830014,
|
|
0.049245883,
|
|
-0.036052346,
|
|
0.07788832,
|
|
-0.02968157,
|
|
-0.070657946,
|
|
-0.006732323,
|
|
0.0060839457,
|
|
0.042294417,
|
|
-0.03963716,
|
|
-0.048594773,
|
|
-0.039805196,
|
|
0.03239508,
|
|
0.033688314,
|
|
-0.092505686,
|
|
-0.049885467,
|
|
-0.0659565,
|
|
-0.04236759,
|
|
0.031238468,
|
|
0.011814915,
|
|
-0.044232145,
|
|
0.046881076,
|
|
-0.12301668,
|
|
-0.03465581,
|
|
-0.01388215,
|
|
-0.13120441,
|
|
0.14485523,
|
|
0.0056016897,
|
|
-0.0030743086,
|
|
0.022897985,
|
|
-0.076423965,
|
|
0.016426744,
|
|
-0.019541634,
|
|
-0.02496784,
|
|
-0.06859387,
|
|
0.070740156,
|
|
0.026620118,
|
|
-0.0351797,
|
|
-0.0015670933,
|
|
0.029303383,
|
|
-0.08942909,
|
|
-0.022550073,
|
|
-0.031130616,
|
|
0.05381134,
|
|
0.007876352,
|
|
0.023096293,
|
|
-0.0043927482,
|
|
0.05381174,
|
|
0.017291587,
|
|
0.056370165,
|
|
-0.053297367,
|
|
-1.3478304e-08,
|
|
-0.039681002,
|
|
0.01336931,
|
|
0.03682005,
|
|
0.009732852,
|
|
0.004675352,
|
|
0.06660335,
|
|
0.022932611,
|
|
-0.04741615,
|
|
-0.04049429,
|
|
0.006841735,
|
|
0.008672197,
|
|
-0.0062891566,
|
|
-0.045680486,
|
|
-0.06389349,
|
|
-0.013189537,
|
|
0.11696302,
|
|
0.016887287,
|
|
-0.0013747291,
|
|
0.023227474,
|
|
0.02228575,
|
|
0.07854934,
|
|
-0.045100793,
|
|
-0.009169939,
|
|
0.066385396,
|
|
-0.06650943,
|
|
-0.015503365,
|
|
0.054116882,
|
|
0.07644889,
|
|
0.008241338,
|
|
-0.124083355,
|
|
0.012669299,
|
|
-0.017633973,
|
|
-0.020603409,
|
|
0.03251493,
|
|
-0.013004719,
|
|
0.022333013,
|
|
0.010550418,
|
|
-0.08830502,
|
|
0.021466808,
|
|
-0.0029931213,
|
|
-0.031842466,
|
|
0.071854234,
|
|
0.010362922,
|
|
0.0036116007,
|
|
0.04894235,
|
|
0.070390284,
|
|
-0.0365594,
|
|
-0.035181943,
|
|
-0.03654571,
|
|
-0.07017962,
|
|
-0.030360749,
|
|
0.028622892,
|
|
-0.019087547,
|
|
-0.0025200765,
|
|
0.02127114,
|
|
0.07437197,
|
|
-0.114239074,
|
|
-0.027314458,
|
|
-0.010757821,
|
|
0.01041863,
|
|
-0.022775937,
|
|
0.1151369,
|
|
0.18533714,
|
|
-0.026517315
|
|
]
|
|
]
|
|
}
|
|
},
|
|
"is_streaming": false
|
|
}
|
|
}
|