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
420 lines
11 KiB
JSON
420 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": "Hello, world!",
|
|
"encoding_format": "float"
|
|
},
|
|
"endpoint": "/v1/embeddings",
|
|
"model": "all-minilm:l6-v2"
|
|
},
|
|
"response": {
|
|
"body": {
|
|
"__type__": "openai.types.create_embedding_response.CreateEmbeddingResponse",
|
|
"__data__": {
|
|
"data": [
|
|
{
|
|
"embedding": [
|
|
-0.038157914,
|
|
0.03290493,
|
|
-0.0055371798,
|
|
0.014353213,
|
|
-0.040209096,
|
|
-0.11667767,
|
|
0.03170551,
|
|
0.0019347348,
|
|
-0.04254092,
|
|
0.029190615,
|
|
0.042559944,
|
|
0.032130145,
|
|
0.02983921,
|
|
0.010979105,
|
|
-0.053759154,
|
|
-0.05030495,
|
|
-0.023470305,
|
|
0.010730486,
|
|
-0.1377361,
|
|
0.0039985846,
|
|
0.029267203,
|
|
0.066698566,
|
|
-0.015405643,
|
|
0.04843479,
|
|
-0.0881545,
|
|
-0.012694429,
|
|
0.041265942,
|
|
0.04089442,
|
|
-0.05000745,
|
|
-0.05805947,
|
|
0.048748765,
|
|
0.06891688,
|
|
0.058812816,
|
|
0.008785837,
|
|
-0.016080279,
|
|
0.08517403,
|
|
-0.07814158,
|
|
-0.077435054,
|
|
0.020808736,
|
|
0.016186161,
|
|
0.032549612,
|
|
-0.05344129,
|
|
-0.062166847,
|
|
-0.0242584,
|
|
0.007393759,
|
|
0.024064584,
|
|
0.0064619263,
|
|
0.051204458,
|
|
0.072843835,
|
|
0.034658417,
|
|
-0.05477693,
|
|
-0.05941287,
|
|
-0.007262739,
|
|
0.020149412,
|
|
0.035835978,
|
|
0.0056162532,
|
|
0.010803632,
|
|
-0.052724347,
|
|
0.010110615,
|
|
-0.0087345,
|
|
-0.06285489,
|
|
0.038390912,
|
|
-0.013975588,
|
|
0.0734118,
|
|
0.090072334,
|
|
-0.07995426,
|
|
-0.016420014,
|
|
0.044813525,
|
|
-0.06888206,
|
|
-0.033037275,
|
|
-0.015467736,
|
|
0.01130628,
|
|
0.036483694,
|
|
0.0663459,
|
|
-0.054344203,
|
|
0.008723171,
|
|
0.012078509,
|
|
-0.038129516,
|
|
0.006938081,
|
|
0.051155496,
|
|
0.07745829,
|
|
-0.122897476,
|
|
0.01635594,
|
|
0.04956378,
|
|
0.031677794,
|
|
-0.03963372,
|
|
0.0016560612,
|
|
0.0095810415,
|
|
-0.032620687,
|
|
-0.03396473,
|
|
-0.13327733,
|
|
0.0072318353,
|
|
-0.010225149,
|
|
0.038535405,
|
|
-0.09343492,
|
|
-0.04173385,
|
|
0.06996305,
|
|
-0.026312327,
|
|
-0.14973918,
|
|
0.13443227,
|
|
0.03750676,
|
|
0.052842483,
|
|
0.045053005,
|
|
0.018721534,
|
|
0.05443072,
|
|
0.017290117,
|
|
-0.03255681,
|
|
0.046160772,
|
|
-0.046711024,
|
|
-0.030576464,
|
|
-0.018258592,
|
|
-0.048711784,
|
|
0.033041865,
|
|
-0.003856249,
|
|
0.05003307,
|
|
-0.05821012,
|
|
-0.00994153,
|
|
0.0106995255,
|
|
-0.04008794,
|
|
-0.0015539092,
|
|
0.060838487,
|
|
-0.04559896,
|
|
0.04924722,
|
|
0.026119638,
|
|
0.019796783,
|
|
-0.0016312932,
|
|
0.05955464,
|
|
-6.527786e-33,
|
|
0.063555494,
|
|
0.003072545,
|
|
0.0290068,
|
|
0.17338625,
|
|
0.0029474646,
|
|
0.027745575,
|
|
-0.095103905,
|
|
-0.031165987,
|
|
0.026719859,
|
|
-0.010799976,
|
|
0.023851028,
|
|
0.02375357,
|
|
-0.031152952,
|
|
0.049497593,
|
|
-0.025005657,
|
|
0.10176666,
|
|
-0.079190366,
|
|
-0.0032479328,
|
|
0.042849813,
|
|
0.09489888,
|
|
-0.066508934,
|
|
0.00632239,
|
|
0.022188535,
|
|
0.06996212,
|
|
-0.007491268,
|
|
-0.001777037,
|
|
0.027047161,
|
|
-0.07536194,
|
|
0.11401931,
|
|
0.008564227,
|
|
-0.02371391,
|
|
-0.046974454,
|
|
0.0144310715,
|
|
0.019899534,
|
|
-0.0046927175,
|
|
0.0013119543,
|
|
-0.03432107,
|
|
-0.054212432,
|
|
-0.09418897,
|
|
-0.028963951,
|
|
-0.018907014,
|
|
0.045735538,
|
|
0.04757043,
|
|
-0.003132595,
|
|
-0.033231355,
|
|
-0.013520351,
|
|
0.051010653,
|
|
0.03111525,
|
|
0.015257217,
|
|
0.054166727,
|
|
-0.085080594,
|
|
0.013355202,
|
|
-0.04763934,
|
|
0.07099156,
|
|
-0.01309272,
|
|
-0.0023823304,
|
|
0.050339438,
|
|
-0.041624993,
|
|
-0.014171974,
|
|
0.032421313,
|
|
0.005414455,
|
|
0.09128853,
|
|
0.0045168963,
|
|
-0.018196244,
|
|
-0.015225792,
|
|
-0.04635148,
|
|
0.038764603,
|
|
0.014739169,
|
|
0.052030377,
|
|
0.0017809072,
|
|
-0.014930553,
|
|
0.027100598,
|
|
0.031190928,
|
|
0.02379928,
|
|
-0.0045879,
|
|
0.03622444,
|
|
0.066800386,
|
|
-0.0018508516,
|
|
0.021243243,
|
|
-0.0575494,
|
|
0.019077979,
|
|
0.031474162,
|
|
-0.018456634,
|
|
-0.04083116,
|
|
0.10387791,
|
|
0.011981423,
|
|
-0.014923204,
|
|
-0.10519511,
|
|
-0.012293124,
|
|
-0.00042049217,
|
|
-0.09506704,
|
|
0.058275525,
|
|
0.042611193,
|
|
-0.025061507,
|
|
-0.094545335,
|
|
4.010606e-33,
|
|
0.13226718,
|
|
0.0053517097,
|
|
-0.03314567,
|
|
-0.09099676,
|
|
-0.031551942,
|
|
-0.033939674,
|
|
-0.071981214,
|
|
0.12595285,
|
|
-0.08333936,
|
|
0.052855294,
|
|
0.001036374,
|
|
0.021973396,
|
|
0.104020424,
|
|
0.013031712,
|
|
0.040921222,
|
|
0.018695012,
|
|
0.114233166,
|
|
0.024822846,
|
|
0.014595918,
|
|
0.00621894,
|
|
-0.011220824,
|
|
-0.035742316,
|
|
-0.03801776,
|
|
0.011226576,
|
|
-0.051305167,
|
|
0.007892534,
|
|
0.06734842,
|
|
0.0033567564,
|
|
-0.09286571,
|
|
0.03701943,
|
|
-0.022331072,
|
|
0.040051647,
|
|
-0.030764744,
|
|
-0.011390678,
|
|
-0.014426033,
|
|
0.024999708,
|
|
-0.09751172,
|
|
-0.03538673,
|
|
-0.03757043,
|
|
-0.010174254,
|
|
-0.06396341,
|
|
0.025548752,
|
|
0.020661479,
|
|
0.03752242,
|
|
-0.10438308,
|
|
-0.028266912,
|
|
-0.052153755,
|
|
0.012830027,
|
|
-0.05125152,
|
|
-0.029009243,
|
|
-0.09633578,
|
|
-0.042322997,
|
|
0.06716196,
|
|
-0.030903742,
|
|
-0.010314011,
|
|
0.027343867,
|
|
-0.028119028,
|
|
0.010296558,
|
|
0.043072425,
|
|
0.022286164,
|
|
0.007943,
|
|
0.056093868,
|
|
0.040728126,
|
|
0.09295372,
|
|
0.016456816,
|
|
-0.053744446,
|
|
0.00047035623,
|
|
0.050744157,
|
|
0.04246857,
|
|
-0.029237023,
|
|
0.009294763,
|
|
-0.010624897,
|
|
-0.037202932,
|
|
0.00220195,
|
|
-0.030278567,
|
|
0.07457478,
|
|
0.0026277148,
|
|
-0.017591486,
|
|
0.0028708735,
|
|
0.03840644,
|
|
0.0072204536,
|
|
0.045653794,
|
|
0.039947055,
|
|
0.014161398,
|
|
-0.014247232,
|
|
0.058465447,
|
|
0.036360227,
|
|
0.055268615,
|
|
-0.02004829,
|
|
-0.08043532,
|
|
-0.030213723,
|
|
-0.0148566915,
|
|
0.022293866,
|
|
0.011908896,
|
|
-0.06907556,
|
|
-1.8805048e-08,
|
|
-0.078408636,
|
|
0.046699222,
|
|
-0.023894435,
|
|
0.06347232,
|
|
0.02395583,
|
|
0.0014103559,
|
|
-0.090737104,
|
|
-0.06684135,
|
|
-0.080118775,
|
|
0.0054891296,
|
|
0.05368204,
|
|
0.10478211,
|
|
-0.066875115,
|
|
0.015525915,
|
|
0.06710851,
|
|
0.07083251,
|
|
-0.03199485,
|
|
0.020825442,
|
|
-0.021920865,
|
|
-0.0072890157,
|
|
-0.01058703,
|
|
0.004174248,
|
|
0.033155944,
|
|
-0.07901077,
|
|
0.038750935,
|
|
-0.07521113,
|
|
-0.015731987,
|
|
0.005987591,
|
|
0.0051212795,
|
|
-0.061557226,
|
|
0.04203319,
|
|
0.09544439,
|
|
-0.04317485,
|
|
0.014446859,
|
|
-0.10614051,
|
|
-0.028011814,
|
|
0.01101727,
|
|
0.069552526,
|
|
0.0669063,
|
|
-0.0747214,
|
|
-0.078444764,
|
|
0.042728573,
|
|
-0.034634914,
|
|
-0.106056124,
|
|
-0.0357495,
|
|
0.05155015,
|
|
0.068699375,
|
|
-0.049968246,
|
|
0.015420614,
|
|
-0.06460179,
|
|
-0.07601102,
|
|
0.026022797,
|
|
0.07440251,
|
|
-0.0124161495,
|
|
0.1332999,
|
|
0.07480527,
|
|
0.051343314,
|
|
0.02094546,
|
|
-0.026808253,
|
|
0.08892536,
|
|
0.03996125,
|
|
-0.041000355,
|
|
0.03187991,
|
|
0.018108707
|
|
],
|
|
"index": 0,
|
|
"object": "embedding"
|
|
}
|
|
],
|
|
"model": "all-minilm:l6-v2",
|
|
"object": "list",
|
|
"usage": {
|
|
"prompt_tokens": 4,
|
|
"total_tokens": 4
|
|
}
|
|
}
|
|
},
|
|
"is_streaming": false
|
|
}
|
|
}
|