mirror of
https://github.com/meta-llama/llama-stack.git
synced 2025-10-04 04:04:14 +00:00
Some checks failed
Integration Auth Tests / test-matrix (oauth2_token) (push) Failing after 2s
SqlStore Integration Tests / test-postgres (3.12) (push) Failing after 2s
SqlStore Integration Tests / test-postgres (3.13) (push) Failing after 2s
Integration Tests (Replay) / Integration Tests (, , , client=, ) (push) Failing after 4s
API Conformance Tests / check-schema-compatibility (push) Successful in 9s
Test Llama Stack Build / generate-matrix (push) Successful in 3s
Test Llama Stack Build / build-single-provider (push) Failing after 4s
Vector IO Integration Tests / test-matrix (push) Failing after 6s
Python Package Build Test / build (3.12) (push) Failing after 2s
Python Package Build Test / build (3.13) (push) Failing after 2s
Test Llama Stack Build / build-custom-container-distribution (push) Failing after 5s
Test External Providers Installed via Module / test-external-providers-from-module (venv) (push) Has been skipped
Test Llama Stack Build / build-ubi9-container-distribution (push) Failing after 5s
Test External API and Providers / test-external (venv) (push) Failing after 5s
Unit Tests / unit-tests (3.12) (push) Failing after 6s
Unit Tests / unit-tests (3.13) (push) Failing after 5s
Test Llama Stack Build / build (push) Failing after 4s
UI Tests / ui-tests (22) (push) Successful in 33s
Pre-commit / pre-commit (push) Successful in 1m25s
# What does this PR do? use ollama embedding models for ollama test, previously using sentence-transformer recordings: - ./scripts/integration-tests.sh --stack-config server:ci-tests --suite base --setup ollama --inference-mode record - ./scripts/integration-tests.sh --stack-config server:ci-tests --suite vision --setup ollama-vision --inference-mode record ## Test Plan ci w/ added skip base64 embedding test
422 lines
11 KiB
JSON
422 lines
11 KiB
JSON
{
|
|
"request": {
|
|
"method": "POST",
|
|
"url": "http://0.0.0.0:11434/v1/v1/embeddings",
|
|
"headers": {},
|
|
"body": {
|
|
"model": "all-minilm:l6-v2",
|
|
"input": [
|
|
"duplicate"
|
|
],
|
|
"encoding_format": "float"
|
|
},
|
|
"endpoint": "/v1/embeddings",
|
|
"model": "all-minilm:l6-v2"
|
|
},
|
|
"response": {
|
|
"body": {
|
|
"__type__": "openai.types.create_embedding_response.CreateEmbeddingResponse",
|
|
"__data__": {
|
|
"data": [
|
|
{
|
|
"embedding": [
|
|
-0.07723481,
|
|
-0.052392416,
|
|
-0.018403785,
|
|
0.018809898,
|
|
-0.06850049,
|
|
-0.08415798,
|
|
0.08627596,
|
|
0.057042625,
|
|
0.1137151,
|
|
-0.035988595,
|
|
0.008720381,
|
|
-0.014372572,
|
|
0.003901994,
|
|
0.004317388,
|
|
-0.03761112,
|
|
-0.010990604,
|
|
-0.030473465,
|
|
-0.056204744,
|
|
-0.08675482,
|
|
-0.0040784916,
|
|
0.005927903,
|
|
0.015254265,
|
|
-0.056596924,
|
|
0.047575373,
|
|
-0.016673235,
|
|
0.02939919,
|
|
-0.022867588,
|
|
0.07794844,
|
|
-0.021308443,
|
|
-0.104720965,
|
|
-0.0044066194,
|
|
0.020771164,
|
|
0.041487455,
|
|
-0.002801806,
|
|
0.026976122,
|
|
0.031067945,
|
|
-0.015480108,
|
|
0.015977077,
|
|
0.048875555,
|
|
-0.049825303,
|
|
-0.026281167,
|
|
-0.094117,
|
|
-0.025465509,
|
|
0.014173141,
|
|
-0.010752944,
|
|
0.066996746,
|
|
-0.018940678,
|
|
0.03369072,
|
|
0.040881984,
|
|
0.02594592,
|
|
-0.012495756,
|
|
-0.02398617,
|
|
-0.026922934,
|
|
-0.0543868,
|
|
0.12576863,
|
|
0.014073914,
|
|
-0.076657854,
|
|
0.042456653,
|
|
0.019858882,
|
|
-0.014813843,
|
|
0.04136103,
|
|
0.070308894,
|
|
-0.0505636,
|
|
0.08274185,
|
|
0.049387515,
|
|
0.01242514,
|
|
-0.004342139,
|
|
0.0060508037,
|
|
-0.06873101,
|
|
-0.044221923,
|
|
0.0111296205,
|
|
0.099277854,
|
|
0.002195328,
|
|
0.08264344,
|
|
0.026029712,
|
|
-0.031148281,
|
|
-0.0066806604,
|
|
-0.02216516,
|
|
0.017202012,
|
|
0.039319362,
|
|
-0.08426506,
|
|
-0.070138715,
|
|
-0.04162779,
|
|
-0.030229673,
|
|
0.04802304,
|
|
0.008936529,
|
|
0.059146732,
|
|
-0.005168819,
|
|
-0.063863754,
|
|
-0.047433022,
|
|
-0.076941736,
|
|
0.10710207,
|
|
0.028398348,
|
|
-0.045075897,
|
|
-0.09501521,
|
|
0.0014021338,
|
|
0.018752577,
|
|
0.053793173,
|
|
-0.058218755,
|
|
0.23251592,
|
|
0.014802284,
|
|
0.04777388,
|
|
0.015468174,
|
|
0.011517924,
|
|
0.0057089743,
|
|
-0.06294971,
|
|
-0.029086681,
|
|
0.047267407,
|
|
0.0013279485,
|
|
-0.043141574,
|
|
-0.030762771,
|
|
0.006162875,
|
|
-0.016028566,
|
|
0.034785092,
|
|
0.06278112,
|
|
0.0028944365,
|
|
0.010565067,
|
|
0.027719874,
|
|
0.050682083,
|
|
-0.051462214,
|
|
0.007760078,
|
|
0.0027973612,
|
|
0.035400815,
|
|
-0.002197845,
|
|
-0.053151082,
|
|
-0.10212597,
|
|
0.037041765,
|
|
-2.672083e-33,
|
|
0.0018480063,
|
|
-0.06453657,
|
|
0.083521925,
|
|
0.0075648427,
|
|
0.037389643,
|
|
-0.050077397,
|
|
0.0140220765,
|
|
0.020539388,
|
|
-0.07190968,
|
|
0.011489869,
|
|
0.02256463,
|
|
0.031297375,
|
|
-0.01618283,
|
|
0.01542062,
|
|
0.008930395,
|
|
-0.021195678,
|
|
0.03439526,
|
|
0.07886608,
|
|
-0.071329735,
|
|
0.03709414,
|
|
-0.0140279215,
|
|
0.114675336,
|
|
0.0277295,
|
|
0.10310165,
|
|
0.0020623626,
|
|
-0.011630357,
|
|
0.023930384,
|
|
-0.11260563,
|
|
0.044674613,
|
|
0.02574306,
|
|
0.014368915,
|
|
0.010857506,
|
|
-0.0005184862,
|
|
0.12752494,
|
|
-0.004782285,
|
|
0.009942966,
|
|
0.083977275,
|
|
-0.071016215,
|
|
-0.019095415,
|
|
-0.040561743,
|
|
-0.05932095,
|
|
-0.010432282,
|
|
-0.071015865,
|
|
-0.040670767,
|
|
0.085865766,
|
|
-0.018423026,
|
|
-0.015194733,
|
|
-0.052006386,
|
|
0.043850828,
|
|
0.014281553,
|
|
0.020744322,
|
|
-0.0415732,
|
|
-0.050111413,
|
|
-0.014709909,
|
|
-0.08761856,
|
|
-0.043001,
|
|
0.043047283,
|
|
-0.05384068,
|
|
-0.015601679,
|
|
0.11197424,
|
|
0.06798796,
|
|
0.10911268,
|
|
-0.06948746,
|
|
0.008946114,
|
|
0.015466258,
|
|
-0.03691151,
|
|
0.085061856,
|
|
-0.05947063,
|
|
0.015293544,
|
|
-0.060189657,
|
|
-0.0060416507,
|
|
-0.09115727,
|
|
-0.013619676,
|
|
-0.037012577,
|
|
0.04787018,
|
|
-0.10025333,
|
|
-0.019801194,
|
|
0.07995546,
|
|
-0.012938982,
|
|
-0.018830338,
|
|
-0.05902157,
|
|
0.0025186618,
|
|
-0.014529196,
|
|
-0.021240592,
|
|
-0.0017719648,
|
|
0.07715808,
|
|
-0.050996855,
|
|
-0.10497942,
|
|
-0.0074073984,
|
|
0.052044842,
|
|
0.016423032,
|
|
-0.00921913,
|
|
0.05524721,
|
|
0.0038194568,
|
|
-0.020100316,
|
|
2.5461884e-33,
|
|
-0.03895339,
|
|
-0.043895483,
|
|
0.037901826,
|
|
0.07469894,
|
|
0.014612607,
|
|
-0.031076996,
|
|
0.03934075,
|
|
0.008711932,
|
|
-0.079657085,
|
|
0.009069497,
|
|
0.018917,
|
|
-0.04523579,
|
|
0.08417748,
|
|
-0.032511797,
|
|
-0.014312169,
|
|
0.031856265,
|
|
0.055124972,
|
|
0.008299075,
|
|
-0.086495705,
|
|
0.03355531,
|
|
-0.038741786,
|
|
0.011819997,
|
|
0.008630874,
|
|
0.040437095,
|
|
-0.029615412,
|
|
0.015536198,
|
|
0.017026586,
|
|
0.008211814,
|
|
0.055457912,
|
|
-0.047788087,
|
|
0.12585849,
|
|
0.001235511,
|
|
-0.056634903,
|
|
-0.049676068,
|
|
0.019741468,
|
|
0.10201284,
|
|
0.05258106,
|
|
0.0051925797,
|
|
-0.007739067,
|
|
0.031301394,
|
|
0.1017691,
|
|
-0.0090217255,
|
|
0.012812148,
|
|
0.11790627,
|
|
0.020575516,
|
|
-0.042215355,
|
|
-0.006931973,
|
|
0.022653406,
|
|
0.047333714,
|
|
-0.022842428,
|
|
-0.05133142,
|
|
-0.0052753934,
|
|
-0.07623422,
|
|
-0.042385325,
|
|
0.019540586,
|
|
-0.06629356,
|
|
0.021332396,
|
|
0.030484285,
|
|
0.050311048,
|
|
-0.09921724,
|
|
0.047778424,
|
|
0.023995804,
|
|
-0.09240823,
|
|
0.05245915,
|
|
-0.027156133,
|
|
-0.0349422,
|
|
-0.035126984,
|
|
0.07986612,
|
|
0.012397284,
|
|
-0.016370183,
|
|
-0.114555776,
|
|
-0.011922229,
|
|
-0.048613384,
|
|
-0.009849635,
|
|
0.008354489,
|
|
-0.040733486,
|
|
0.012452433,
|
|
0.117823996,
|
|
-0.083515376,
|
|
0.021853834,
|
|
0.016437136,
|
|
-0.067386985,
|
|
-0.057326417,
|
|
0.022280162,
|
|
-0.09073611,
|
|
-0.012396659,
|
|
0.08770095,
|
|
0.037985563,
|
|
-0.008248762,
|
|
-0.033765234,
|
|
-0.06454174,
|
|
0.075496756,
|
|
-0.06106373,
|
|
0.03420569,
|
|
-0.03459085,
|
|
-1.4668667e-08,
|
|
0.01014663,
|
|
0.094229266,
|
|
-0.0064371885,
|
|
0.044077396,
|
|
0.07245818,
|
|
-0.022373974,
|
|
-0.023869356,
|
|
-0.022925967,
|
|
-0.008693665,
|
|
0.05403153,
|
|
0.01552644,
|
|
-0.008120085,
|
|
-0.023631452,
|
|
0.05658223,
|
|
0.04775426,
|
|
-0.07261641,
|
|
-0.08463776,
|
|
-0.028445715,
|
|
0.038068987,
|
|
0.05120579,
|
|
0.008737017,
|
|
0.020222854,
|
|
0.032309767,
|
|
-0.029347662,
|
|
-0.00843886,
|
|
-0.030422177,
|
|
-0.0018208751,
|
|
0.04668449,
|
|
-0.014278727,
|
|
-0.011475838,
|
|
-0.012052811,
|
|
0.039978012,
|
|
-0.048512205,
|
|
-0.05465097,
|
|
-0.037458897,
|
|
-0.025823507,
|
|
0.008056201,
|
|
0.0097499145,
|
|
-0.011502389,
|
|
0.017063541,
|
|
0.0016953654,
|
|
-0.0576531,
|
|
0.09602806,
|
|
0.0087568015,
|
|
0.012305608,
|
|
-0.015205382,
|
|
0.066060565,
|
|
-0.09770103,
|
|
0.0019023182,
|
|
0.011779348,
|
|
-0.032897696,
|
|
0.018646581,
|
|
0.097607486,
|
|
0.030113736,
|
|
0.07676848,
|
|
0.016403947,
|
|
0.022269176,
|
|
-0.009697165,
|
|
-0.031065438,
|
|
0.05420531,
|
|
0.14508335,
|
|
-0.049234875,
|
|
0.05420719,
|
|
0.054204132
|
|
],
|
|
"index": 0,
|
|
"object": "embedding"
|
|
}
|
|
],
|
|
"model": "all-minilm:l6-v2",
|
|
"object": "list",
|
|
"usage": {
|
|
"prompt_tokens": 1,
|
|
"total_tokens": 1
|
|
}
|
|
}
|
|
},
|
|
"is_streaming": false
|
|
}
|
|
}
|