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
421 lines
11 KiB
JSON
421 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": "Test user parameter",
|
|
"encoding_format": "base64",
|
|
"user": "test-user-123"
|
|
},
|
|
"endpoint": "/v1/embeddings",
|
|
"model": "all-minilm:l6-v2"
|
|
},
|
|
"response": {
|
|
"body": {
|
|
"__type__": "openai.types.create_embedding_response.CreateEmbeddingResponse",
|
|
"__data__": {
|
|
"data": [
|
|
{
|
|
"embedding": [
|
|
0.043770123,
|
|
0.021501394,
|
|
-0.081300564,
|
|
0.010615138,
|
|
-0.07908651,
|
|
-0.03219175,
|
|
0.13090447,
|
|
0.042329222,
|
|
-0.11600146,
|
|
-0.07588096,
|
|
0.041826088,
|
|
-0.080617175,
|
|
0.038125783,
|
|
-0.01069657,
|
|
0.01577377,
|
|
-0.04196888,
|
|
0.043099895,
|
|
-0.033355612,
|
|
0.013571747,
|
|
-0.0103924,
|
|
0.015561896,
|
|
-0.03786113,
|
|
-0.050319925,
|
|
-0.02566629,
|
|
-0.047868017,
|
|
-0.08717805,
|
|
0.01685358,
|
|
-0.03676223,
|
|
0.0063788705,
|
|
0.020863743,
|
|
0.11264443,
|
|
-0.0021451844,
|
|
-0.07911777,
|
|
0.038758967,
|
|
0.115321144,
|
|
-0.019753717,
|
|
0.0067159277,
|
|
-0.02115779,
|
|
-0.0144774495,
|
|
-0.0027154125,
|
|
-0.034384295,
|
|
-0.052576542,
|
|
-0.030578543,
|
|
0.04745372,
|
|
-0.024294367,
|
|
0.01091144,
|
|
-0.03947583,
|
|
0.07183755,
|
|
-0.020715859,
|
|
0.018965777,
|
|
0.04292474,
|
|
-0.007755194,
|
|
0.0025708016,
|
|
-0.058263537,
|
|
0.0117485095,
|
|
-0.022703577,
|
|
0.001755438,
|
|
-0.012628832,
|
|
0.030728007,
|
|
0.017719304,
|
|
-0.061525322,
|
|
-0.036568273,
|
|
0.025831668,
|
|
0.025376469,
|
|
0.012137967,
|
|
0.009102949,
|
|
-0.027313529,
|
|
-0.093379095,
|
|
0.0052120173,
|
|
0.0074658697,
|
|
-0.07538,
|
|
0.010161349,
|
|
-0.028439516,
|
|
0.03026334,
|
|
0.0036700817,
|
|
-0.022599109,
|
|
-0.037862476,
|
|
-0.08384314,
|
|
-0.0124443015,
|
|
-0.048889726,
|
|
0.029131662,
|
|
-0.044443335,
|
|
-0.07518736,
|
|
-0.020938978,
|
|
0.063386515,
|
|
0.16294138,
|
|
0.060580015,
|
|
-0.01281573,
|
|
-0.031040885,
|
|
0.018372353,
|
|
0.11225789,
|
|
0.072922915,
|
|
-0.06272038,
|
|
-0.031792488,
|
|
-0.017476005,
|
|
0.04846264,
|
|
-0.04116229,
|
|
-0.041834168,
|
|
-0.059919056,
|
|
0.15907861,
|
|
-0.027786179,
|
|
-0.012492541,
|
|
0.05599519,
|
|
-0.019895995,
|
|
0.022076221,
|
|
0.006363836,
|
|
0.046413723,
|
|
-0.0731325,
|
|
0.03326452,
|
|
0.059475966,
|
|
-0.033314705,
|
|
0.030761855,
|
|
0.00819013,
|
|
-0.020254606,
|
|
0.05658313,
|
|
-0.08153619,
|
|
0.023402533,
|
|
0.0060753864,
|
|
-0.07993489,
|
|
0.013990512,
|
|
0.052254565,
|
|
0.027170746,
|
|
-0.049271967,
|
|
0.02814688,
|
|
0.019500777,
|
|
0.054206643,
|
|
0.082691684,
|
|
-1.8817448e-33,
|
|
0.013630832,
|
|
-0.010863344,
|
|
0.015899567,
|
|
0.06938339,
|
|
-0.05113185,
|
|
0.08995833,
|
|
0.04450505,
|
|
0.08101549,
|
|
0.018903807,
|
|
-0.020960161,
|
|
-0.017933648,
|
|
-0.02174221,
|
|
0.010988686,
|
|
0.015100026,
|
|
0.017031211,
|
|
0.09433042,
|
|
0.003454907,
|
|
0.010199729,
|
|
-0.0446973,
|
|
0.0018167854,
|
|
0.015817188,
|
|
-0.06576281,
|
|
-0.004943305,
|
|
0.004393494,
|
|
-0.019598262,
|
|
-0.092797264,
|
|
-0.025917865,
|
|
0.04409669,
|
|
0.054165967,
|
|
-0.007365383,
|
|
-0.021470547,
|
|
-0.03683317,
|
|
-0.091507494,
|
|
0.08402351,
|
|
-0.01809901,
|
|
0.0038072586,
|
|
0.020236026,
|
|
0.0439697,
|
|
-0.077322714,
|
|
0.0057473024,
|
|
-0.054513566,
|
|
-0.024854423,
|
|
0.075270385,
|
|
0.034554463,
|
|
-0.08118007,
|
|
-0.12208905,
|
|
-0.0052893,
|
|
0.0078005046,
|
|
0.05028763,
|
|
0.015558154,
|
|
-0.056349996,
|
|
0.0398076,
|
|
0.012997719,
|
|
-0.040145177,
|
|
0.014409028,
|
|
-0.033200737,
|
|
-0.008437484,
|
|
-0.037582297,
|
|
-0.019651853,
|
|
0.017285295,
|
|
-0.008976723,
|
|
-0.0018494898,
|
|
-0.0030671947,
|
|
0.03046138,
|
|
-0.051143825,
|
|
-0.08688155,
|
|
-0.018344227,
|
|
-0.113307714,
|
|
0.073259674,
|
|
0.04602224,
|
|
0.012651309,
|
|
-0.063435435,
|
|
-0.028471926,
|
|
0.020155901,
|
|
-0.078830436,
|
|
-0.00069818215,
|
|
-0.03156303,
|
|
0.123062745,
|
|
0.0042949035,
|
|
-0.026413191,
|
|
0.07838535,
|
|
-0.07747411,
|
|
-0.02126005,
|
|
0.048919026,
|
|
0.02919413,
|
|
-0.009296978,
|
|
-0.030687347,
|
|
-0.041037664,
|
|
-0.038565576,
|
|
-0.08043238,
|
|
0.023225678,
|
|
0.041928973,
|
|
-0.05812511,
|
|
0.058555346,
|
|
0.07633673,
|
|
4.4510456e-34,
|
|
-0.019582625,
|
|
0.040237214,
|
|
0.01455587,
|
|
0.034353998,
|
|
0.043911777,
|
|
-0.023234777,
|
|
0.0677493,
|
|
-0.030089214,
|
|
-0.09076478,
|
|
-0.019257858,
|
|
-0.02767876,
|
|
-0.00065146026,
|
|
0.0043030144,
|
|
0.05363546,
|
|
0.04073387,
|
|
0.03255476,
|
|
-0.10712685,
|
|
-0.050083157,
|
|
-0.016644027,
|
|
-0.0077649173,
|
|
-0.11153465,
|
|
0.07478277,
|
|
-0.015999233,
|
|
-0.050547555,
|
|
-0.113217294,
|
|
-0.006174145,
|
|
0.050873067,
|
|
-0.030284155,
|
|
0.04314861,
|
|
0.033020362,
|
|
0.023671353,
|
|
0.04654029,
|
|
-0.03415647,
|
|
0.03614603,
|
|
0.023047049,
|
|
-0.02677317,
|
|
0.063607745,
|
|
0.09978129,
|
|
0.03527302,
|
|
0.15538219,
|
|
0.08349002,
|
|
0.10931568,
|
|
0.04684532,
|
|
-0.010147538,
|
|
-0.03256112,
|
|
0.12924333,
|
|
0.031221064,
|
|
-0.099673584,
|
|
0.010860566,
|
|
0.02326085,
|
|
-0.011916549,
|
|
0.010135849,
|
|
0.06884636,
|
|
0.009350001,
|
|
-0.0226591,
|
|
-0.04280281,
|
|
-0.04821317,
|
|
-0.08508304,
|
|
0.051028382,
|
|
0.045148462,
|
|
-0.03566162,
|
|
0.06547104,
|
|
0.048883036,
|
|
0.03793435,
|
|
-0.1407055,
|
|
-0.06711337,
|
|
0.009881868,
|
|
-0.0049659596,
|
|
-0.044289522,
|
|
0.0039236215,
|
|
-0.02692826,
|
|
-0.066134326,
|
|
0.04076233,
|
|
-0.05222117,
|
|
0.060488354,
|
|
-0.04113724,
|
|
-0.04314174,
|
|
-0.025147837,
|
|
0.085597694,
|
|
-0.044939328,
|
|
0.06395307,
|
|
-0.024218159,
|
|
-0.050523587,
|
|
-0.0020718095,
|
|
-0.07894165,
|
|
0.0026805927,
|
|
0.020709056,
|
|
0.1026727,
|
|
-0.012374822,
|
|
0.056179732,
|
|
0.06552235,
|
|
0.030915475,
|
|
-0.077197015,
|
|
-0.061245024,
|
|
-0.016111895,
|
|
-1.3512232e-08,
|
|
-0.05040501,
|
|
-0.033646606,
|
|
0.04670903,
|
|
0.047397695,
|
|
-0.044165645,
|
|
0.046301767,
|
|
-0.006073457,
|
|
-0.053902794,
|
|
0.013089125,
|
|
0.050438043,
|
|
-0.009894958,
|
|
-0.0041677835,
|
|
0.0723306,
|
|
0.021069802,
|
|
0.02670403,
|
|
-0.074845195,
|
|
-0.026750853,
|
|
0.052738186,
|
|
-0.03469103,
|
|
0.039813705,
|
|
-0.01640883,
|
|
0.045899663,
|
|
-0.0224731,
|
|
0.02387658,
|
|
0.049145795,
|
|
0.09110705,
|
|
-0.0025007618,
|
|
0.04937552,
|
|
-0.03864697,
|
|
0.020868128,
|
|
0.07605537,
|
|
0.08488945,
|
|
-0.05197299,
|
|
-0.06879239,
|
|
-0.06136516,
|
|
0.077237174,
|
|
-0.06451729,
|
|
0.04453416,
|
|
0.008209786,
|
|
0.015886698,
|
|
-0.04280691,
|
|
0.005315579,
|
|
0.0034463098,
|
|
0.0031776188,
|
|
-0.013040836,
|
|
-0.091359615,
|
|
0.0642767,
|
|
-0.054965723,
|
|
0.0007161393,
|
|
-0.06260912,
|
|
-0.03496602,
|
|
-0.029944083,
|
|
0.04422821,
|
|
0.017855663,
|
|
-0.027972128,
|
|
-0.03656317,
|
|
0.02111413,
|
|
0.060607255,
|
|
-0.031320468,
|
|
-0.014338154,
|
|
0.034649797,
|
|
0.052279983,
|
|
-0.036579564,
|
|
0.028179456
|
|
],
|
|
"index": 0,
|
|
"object": "embedding"
|
|
}
|
|
],
|
|
"model": "all-minilm:l6-v2",
|
|
"object": "list",
|
|
"usage": {
|
|
"prompt_tokens": 3,
|
|
"total_tokens": 3
|
|
}
|
|
}
|
|
},
|
|
"is_streaming": false
|
|
}
|
|
}
|