mirror of
https://github.com/meta-llama/llama-stack.git
synced 2025-10-03 19:57:35 +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": [
|
|
"How does machine learning improve over time?"
|
|
],
|
|
"encoding_format": "float"
|
|
},
|
|
"endpoint": "/v1/embeddings",
|
|
"model": "all-minilm:l6-v2"
|
|
},
|
|
"response": {
|
|
"body": {
|
|
"__type__": "openai.types.create_embedding_response.CreateEmbeddingResponse",
|
|
"__data__": {
|
|
"data": [
|
|
{
|
|
"embedding": [
|
|
-0.0144412955,
|
|
-0.009650282,
|
|
0.10598198,
|
|
0.033821642,
|
|
0.08256133,
|
|
-0.016125076,
|
|
-0.105696015,
|
|
-0.04119764,
|
|
-0.037104737,
|
|
-0.04235663,
|
|
-0.09278584,
|
|
0.14735937,
|
|
0.020735627,
|
|
-0.045876633,
|
|
-0.018912466,
|
|
0.005711242,
|
|
-0.009913563,
|
|
0.024871927,
|
|
-0.06426609,
|
|
-0.15703933,
|
|
-0.041478276,
|
|
-0.025513092,
|
|
0.004146446,
|
|
0.0027369705,
|
|
0.0152090555,
|
|
0.004832916,
|
|
-0.008007824,
|
|
0.013515605,
|
|
0.020614728,
|
|
-0.02136369,
|
|
-0.008227903,
|
|
0.016406456,
|
|
0.024098337,
|
|
0.046697818,
|
|
-0.120193906,
|
|
0.027101057,
|
|
0.009577714,
|
|
0.07102963,
|
|
-0.007563173,
|
|
0.0075349766,
|
|
-0.046593536,
|
|
-0.06467278,
|
|
-0.017010622,
|
|
-0.033196267,
|
|
0.097371556,
|
|
0.023502331,
|
|
0.033317775,
|
|
-0.07454437,
|
|
-0.014935438,
|
|
-0.0039703106,
|
|
-0.14381815,
|
|
-0.049301352,
|
|
0.03187916,
|
|
-0.037372917,
|
|
-0.01412705,
|
|
0.06712808,
|
|
0.032425713,
|
|
0.10737386,
|
|
0.00763008,
|
|
-0.034527462,
|
|
-0.013202629,
|
|
-0.080443025,
|
|
-0.08540038,
|
|
0.020914724,
|
|
0.058374967,
|
|
-0.06886805,
|
|
-0.011377637,
|
|
0.03356643,
|
|
-0.0036231182,
|
|
0.0322898,
|
|
-0.0031708612,
|
|
0.10451793,
|
|
-0.035254233,
|
|
-0.004960671,
|
|
0.030832782,
|
|
0.033010393,
|
|
0.0014911285,
|
|
-0.016038226,
|
|
0.09518363,
|
|
-0.012361809,
|
|
0.056895707,
|
|
0.0018552992,
|
|
-0.014633688,
|
|
0.053164434,
|
|
0.05655298,
|
|
-0.0752723,
|
|
0.00476245,
|
|
-0.04156457,
|
|
-0.07343076,
|
|
-0.06410675,
|
|
0.08829294,
|
|
-0.03837702,
|
|
-0.045774795,
|
|
-0.0535434,
|
|
-0.009111199,
|
|
0.017617762,
|
|
-0.0067038187,
|
|
-0.032136917,
|
|
0.03719991,
|
|
0.11071319,
|
|
-0.057429407,
|
|
0.08084802,
|
|
0.009762534,
|
|
-0.031580847,
|
|
0.05513017,
|
|
0.0073544895,
|
|
0.08761669,
|
|
0.051413193,
|
|
0.053174715,
|
|
-0.04282332,
|
|
-0.002029271,
|
|
0.045968805,
|
|
-0.03927135,
|
|
-0.014048125,
|
|
0.0013097908,
|
|
-0.031032057,
|
|
-0.044477988,
|
|
0.027116014,
|
|
-0.036825214,
|
|
0.10271662,
|
|
-0.0018023226,
|
|
-0.0014636678,
|
|
-0.006019342,
|
|
0.0044439677,
|
|
-0.033970047,
|
|
0.016475804,
|
|
-0.029752878,
|
|
-2.942642e-33,
|
|
-0.030636843,
|
|
-0.06274741,
|
|
-0.020331798,
|
|
0.03409229,
|
|
-0.020994574,
|
|
-0.088351555,
|
|
-0.0338517,
|
|
-0.0656598,
|
|
0.05194619,
|
|
-0.0248902,
|
|
-0.0019359031,
|
|
0.03725905,
|
|
0.0057854285,
|
|
0.042536482,
|
|
0.065458804,
|
|
0.0020972108,
|
|
-0.07831122,
|
|
0.040395204,
|
|
0.048486684,
|
|
0.00687325,
|
|
0.04522804,
|
|
-0.08206775,
|
|
0.015138996,
|
|
-0.032257374,
|
|
-0.0019286879,
|
|
0.026958553,
|
|
0.060303353,
|
|
0.050539102,
|
|
-0.038990505,
|
|
0.00901784,
|
|
0.04728673,
|
|
0.027277624,
|
|
-0.116268836,
|
|
0.03641615,
|
|
0.06792425,
|
|
0.044476334,
|
|
0.04822962,
|
|
-0.01417434,
|
|
0.07136797,
|
|
0.009212642,
|
|
-0.03981787,
|
|
-0.03105692,
|
|
0.043964684,
|
|
-0.0550663,
|
|
0.004194295,
|
|
0.011075167,
|
|
0.024179665,
|
|
-0.104039185,
|
|
-0.094535016,
|
|
-0.01598998,
|
|
-0.00955013,
|
|
-0.035388414,
|
|
-0.095118746,
|
|
-0.00013354272,
|
|
-0.02610455,
|
|
0.08766882,
|
|
-0.012012526,
|
|
-0.058645394,
|
|
-0.013742904,
|
|
0.01895158,
|
|
0.10382739,
|
|
-0.0028419443,
|
|
0.005811753,
|
|
0.017534103,
|
|
0.04102487,
|
|
0.11672246,
|
|
0.09343793,
|
|
0.028574567,
|
|
0.043363564,
|
|
0.049141977,
|
|
0.024069116,
|
|
-0.010946938,
|
|
-0.06667827,
|
|
-0.08498697,
|
|
0.06469552,
|
|
-0.052791074,
|
|
0.045889318,
|
|
-0.044994276,
|
|
0.015019975,
|
|
0.010133334,
|
|
0.0097814165,
|
|
-0.051068403,
|
|
0.0036321485,
|
|
-0.061966382,
|
|
0.036911227,
|
|
-0.0015979146,
|
|
0.01169187,
|
|
-0.08576613,
|
|
0.018774707,
|
|
-0.007562373,
|
|
-0.091671936,
|
|
-0.038212627,
|
|
0.020174108,
|
|
0.018156078,
|
|
-0.04092911,
|
|
1.0051959e-33,
|
|
-0.08226659,
|
|
0.0099736005,
|
|
-0.0074784867,
|
|
0.13932815,
|
|
-0.063385926,
|
|
-0.022954706,
|
|
-0.12405802,
|
|
0.047431163,
|
|
-0.041625854,
|
|
-0.013952695,
|
|
0.0074911104,
|
|
-0.00723795,
|
|
0.059791762,
|
|
0.038565084,
|
|
-0.0055844127,
|
|
0.05114055,
|
|
-0.017901178,
|
|
0.009323372,
|
|
-0.04395451,
|
|
-0.024585819,
|
|
-1.2245854e-06,
|
|
0.09352475,
|
|
0.0047693932,
|
|
-0.0018991354,
|
|
0.008013757,
|
|
0.011220997,
|
|
-0.091332994,
|
|
0.068223536,
|
|
0.007186999,
|
|
-0.03087612,
|
|
-0.051925,
|
|
-0.027689163,
|
|
-0.03313748,
|
|
0.055571433,
|
|
0.023570623,
|
|
0.037202746,
|
|
0.004727846,
|
|
-0.080162,
|
|
0.025005471,
|
|
0.06744095,
|
|
0.0331283,
|
|
0.0002482217,
|
|
-0.045369137,
|
|
-0.06479025,
|
|
0.02353955,
|
|
-0.007544223,
|
|
-0.04817079,
|
|
0.021955613,
|
|
0.07905839,
|
|
-0.03857465,
|
|
0.10292412,
|
|
0.03352054,
|
|
-0.016577441,
|
|
-0.07671339,
|
|
-0.03904085,
|
|
0.008326937,
|
|
0.014512891,
|
|
-0.02780937,
|
|
-0.02199285,
|
|
0.11556582,
|
|
-0.11817719,
|
|
-0.02172188,
|
|
0.01028131,
|
|
0.027112944,
|
|
0.017912412,
|
|
0.022188837,
|
|
0.00472762,
|
|
0.030003453,
|
|
-0.024873868,
|
|
-0.016057493,
|
|
0.05167464,
|
|
0.022278845,
|
|
-0.093714975,
|
|
0.027581427,
|
|
-0.08995269,
|
|
0.01922919,
|
|
0.011267925,
|
|
-0.019333998,
|
|
-0.107179746,
|
|
-0.007825687,
|
|
-0.06112819,
|
|
-0.07851147,
|
|
-0.012788895,
|
|
0.015774399,
|
|
-0.023736876,
|
|
0.06481075,
|
|
0.0530216,
|
|
-0.040838096,
|
|
-0.009374445,
|
|
-0.015252525,
|
|
-0.03356652,
|
|
0.0034916159,
|
|
-0.106078364,
|
|
-0.0037814653,
|
|
-0.057664383,
|
|
-1.4659457e-08,
|
|
-0.013685479,
|
|
0.038693503,
|
|
0.055525444,
|
|
0.01427137,
|
|
0.106904596,
|
|
-0.024592703,
|
|
-0.05212622,
|
|
0.14767331,
|
|
-0.04477857,
|
|
-0.06558989,
|
|
0.09031646,
|
|
0.0032307915,
|
|
0.021561448,
|
|
0.01542169,
|
|
0.0686726,
|
|
0.07787745,
|
|
0.018880507,
|
|
0.0329181,
|
|
-0.030444186,
|
|
0.028748954,
|
|
0.07327947,
|
|
-0.00473439,
|
|
0.099678375,
|
|
-0.02951805,
|
|
0.0157886,
|
|
-0.062414743,
|
|
-0.009774238,
|
|
0.057640694,
|
|
0.008111299,
|
|
0.047539655,
|
|
-0.03485159,
|
|
0.0672076,
|
|
-0.0011908566,
|
|
0.0096628135,
|
|
0.064021304,
|
|
-0.0030786463,
|
|
0.020940661,
|
|
-0.05225545,
|
|
-0.06604623,
|
|
0.025438625,
|
|
-0.037236795,
|
|
0.10400888,
|
|
-0.045393974,
|
|
0.010468508,
|
|
0.042776387,
|
|
0.0060471105,
|
|
0.030909447,
|
|
0.008940785,
|
|
-0.046136875,
|
|
-0.012257952,
|
|
0.07956265,
|
|
0.09894607,
|
|
0.043950185,
|
|
0.033127937,
|
|
0.054626264,
|
|
0.013538762,
|
|
0.032767043,
|
|
-0.055712108,
|
|
-0.011724154,
|
|
0.07334705,
|
|
-0.019697897,
|
|
-0.03568817,
|
|
-0.038236745,
|
|
-0.025074048
|
|
],
|
|
"index": 0,
|
|
"object": "embedding"
|
|
}
|
|
],
|
|
"model": "all-minilm:l6-v2",
|
|
"object": "list",
|
|
"usage": {
|
|
"prompt_tokens": 8,
|
|
"total_tokens": 8
|
|
}
|
|
}
|
|
},
|
|
"is_streaming": false
|
|
}
|
|
}
|