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": [
|
|
"Why are data structures important in computer science?"
|
|
],
|
|
"encoding_format": "float"
|
|
},
|
|
"endpoint": "/v1/embeddings",
|
|
"model": "all-minilm:l6-v2"
|
|
},
|
|
"response": {
|
|
"body": {
|
|
"__type__": "openai.types.create_embedding_response.CreateEmbeddingResponse",
|
|
"__data__": {
|
|
"data": [
|
|
{
|
|
"embedding": [
|
|
-0.012128477,
|
|
0.06527823,
|
|
-0.031809483,
|
|
-0.050526526,
|
|
-0.0005586695,
|
|
-0.117261976,
|
|
-0.043081608,
|
|
0.024609145,
|
|
0.08321573,
|
|
0.033838283,
|
|
-0.023870444,
|
|
0.020454653,
|
|
0.032279976,
|
|
0.012203663,
|
|
0.028937394,
|
|
0.029961895,
|
|
-0.09961831,
|
|
0.0141193895,
|
|
-0.021553658,
|
|
-0.07066728,
|
|
-0.02873006,
|
|
-0.029528745,
|
|
-0.068298884,
|
|
0.0031958553,
|
|
-0.022202335,
|
|
0.13836044,
|
|
-0.034372807,
|
|
-0.03989439,
|
|
-0.016163597,
|
|
-0.042044215,
|
|
-0.0016031979,
|
|
0.03265711,
|
|
0.12287486,
|
|
0.053505898,
|
|
-0.08694122,
|
|
0.042619474,
|
|
0.10286983,
|
|
-0.021920446,
|
|
-0.06450256,
|
|
0.025313437,
|
|
-0.0964511,
|
|
0.035419725,
|
|
0.021049967,
|
|
0.062087003,
|
|
0.032521646,
|
|
0.017943505,
|
|
-0.006459364,
|
|
-0.06203872,
|
|
-0.013574074,
|
|
0.024539992,
|
|
-0.13688074,
|
|
0.034410667,
|
|
-0.027617542,
|
|
0.03409185,
|
|
0.020446204,
|
|
0.077928044,
|
|
0.09399848,
|
|
0.003975386,
|
|
-0.043136317,
|
|
0.0031040143,
|
|
-0.017540144,
|
|
-0.03424077,
|
|
-0.068318866,
|
|
0.005061085,
|
|
0.08829544,
|
|
-0.012408556,
|
|
-0.0016823813,
|
|
0.007591063,
|
|
0.034699216,
|
|
0.010171645,
|
|
0.018427595,
|
|
-0.007851212,
|
|
-0.023401242,
|
|
0.07745935,
|
|
0.039882705,
|
|
-0.010903346,
|
|
-0.053599168,
|
|
-0.029966023,
|
|
0.033182297,
|
|
0.0051609245,
|
|
0.013949411,
|
|
0.017829804,
|
|
-0.029286042,
|
|
0.07984294,
|
|
0.042010676,
|
|
-0.0025307727,
|
|
0.027901225,
|
|
-0.03822856,
|
|
-0.080078274,
|
|
-0.030328913,
|
|
0.09236672,
|
|
-0.033835273,
|
|
-0.00033364468,
|
|
0.029182306,
|
|
-0.04279952,
|
|
-0.0029906866,
|
|
0.03665573,
|
|
-0.056330174,
|
|
0.07478027,
|
|
0.007321523,
|
|
0.046409536,
|
|
0.023820953,
|
|
0.06267657,
|
|
0.071830586,
|
|
-0.06049986,
|
|
-0.10113381,
|
|
0.04797238,
|
|
-0.010384649,
|
|
0.0008945393,
|
|
-0.06017545,
|
|
-0.033510443,
|
|
0.047712646,
|
|
-0.055030894,
|
|
-0.047685586,
|
|
-0.03805009,
|
|
-0.12862371,
|
|
-0.08072417,
|
|
0.0048694503,
|
|
-0.021217689,
|
|
-0.027110996,
|
|
0.002140792,
|
|
-0.03098654,
|
|
-0.039278872,
|
|
0.0143353,
|
|
-0.0035598644,
|
|
-0.071865514,
|
|
-0.14747895,
|
|
-3.6233633e-33,
|
|
-0.017464003,
|
|
-0.029053442,
|
|
-0.025221748,
|
|
0.06710367,
|
|
0.022286726,
|
|
-0.030096456,
|
|
-0.004590723,
|
|
-0.04471534,
|
|
-0.0029244933,
|
|
0.040142074,
|
|
-0.026988953,
|
|
0.052587368,
|
|
0.041354593,
|
|
0.039806347,
|
|
0.12857036,
|
|
0.024866242,
|
|
-0.010497711,
|
|
0.0713523,
|
|
-0.03402195,
|
|
-0.03354482,
|
|
0.07337487,
|
|
-0.02804671,
|
|
0.07398319,
|
|
-0.029162133,
|
|
0.030897863,
|
|
0.026442021,
|
|
-0.012924316,
|
|
-0.004779478,
|
|
-0.0066290544,
|
|
0.0010669982,
|
|
0.02442126,
|
|
-0.019298507,
|
|
-0.0010162054,
|
|
0.026722405,
|
|
0.123015314,
|
|
0.066879444,
|
|
-0.004604402,
|
|
-0.11145285,
|
|
0.06524651,
|
|
-0.06938033,
|
|
0.03159686,
|
|
0.0365362,
|
|
0.027604872,
|
|
0.03813194,
|
|
-0.044194933,
|
|
-0.026800867,
|
|
0.022335347,
|
|
-0.030788116,
|
|
-0.0070202574,
|
|
-0.09740058,
|
|
0.028278269,
|
|
0.015338586,
|
|
0.047182743,
|
|
0.04034929,
|
|
0.044180423,
|
|
0.044752665,
|
|
-0.028346116,
|
|
-0.09805642,
|
|
-0.03536096,
|
|
0.06581017,
|
|
-0.069448434,
|
|
0.052013367,
|
|
0.056201097,
|
|
0.033995215,
|
|
0.00519787,
|
|
0.07888512,
|
|
-0.019000722,
|
|
8.0344194e-05,
|
|
0.110052355,
|
|
0.005598096,
|
|
-0.019291203,
|
|
0.0260335,
|
|
-0.061335884,
|
|
-0.011191793,
|
|
-0.032474954,
|
|
0.026703535,
|
|
-0.038857695,
|
|
-0.07600434,
|
|
-0.0060966127,
|
|
0.049430415,
|
|
-0.05585763,
|
|
-0.024964364,
|
|
0.03721157,
|
|
0.013983276,
|
|
-0.021332601,
|
|
-0.02459227,
|
|
0.050077077,
|
|
-0.031562295,
|
|
-0.048190966,
|
|
-0.022175686,
|
|
-0.02291134,
|
|
-0.012059778,
|
|
0.01774164,
|
|
-0.019271614,
|
|
-0.018707262,
|
|
5.8759317e-34,
|
|
-0.027778838,
|
|
-0.01629238,
|
|
-0.030639471,
|
|
0.0030956517,
|
|
-0.013600445,
|
|
0.013610428,
|
|
0.012467948,
|
|
-0.12637076,
|
|
0.003133677,
|
|
0.020737566,
|
|
0.0032866234,
|
|
0.009551662,
|
|
0.040670644,
|
|
-0.06273018,
|
|
0.043455947,
|
|
0.05110034,
|
|
-0.027151333,
|
|
-0.07152962,
|
|
-0.04858435,
|
|
-0.039853398,
|
|
-0.021122044,
|
|
0.08141459,
|
|
-0.080552705,
|
|
-0.035274338,
|
|
0.028709702,
|
|
-0.017908616,
|
|
-0.1056214,
|
|
-0.14565709,
|
|
0.05107322,
|
|
0.037748225,
|
|
-0.018399585,
|
|
-0.04667668,
|
|
-0.010029709,
|
|
0.0070766853,
|
|
0.017215423,
|
|
-0.015265576,
|
|
0.06257449,
|
|
-0.010665833,
|
|
0.055490427,
|
|
0.0076262103,
|
|
-0.0129058715,
|
|
0.11340158,
|
|
0.0062427726,
|
|
-0.023597918,
|
|
0.04516201,
|
|
0.040879074,
|
|
-0.012557521,
|
|
0.1070603,
|
|
-0.040827584,
|
|
-0.039590783,
|
|
0.08694622,
|
|
0.024637919,
|
|
0.029732363,
|
|
-0.07417592,
|
|
0.08613935,
|
|
0.012553578,
|
|
-0.04852132,
|
|
0.021330798,
|
|
0.015399935,
|
|
0.05207805,
|
|
-0.059071112,
|
|
-0.04029849,
|
|
0.045327052,
|
|
0.05088802,
|
|
-0.025812214,
|
|
-0.020503126,
|
|
-0.066600144,
|
|
-0.058700442,
|
|
-0.04682153,
|
|
-0.12240272,
|
|
0.039613813,
|
|
0.06064703,
|
|
-0.02098424,
|
|
0.056387424,
|
|
-0.12134772,
|
|
-0.029882085,
|
|
-0.025266815,
|
|
0.013461971,
|
|
-0.0036088703,
|
|
0.08080393,
|
|
-0.004056028,
|
|
0.0043978477,
|
|
0.0064231018,
|
|
0.034481037,
|
|
0.0026119966,
|
|
0.036488745,
|
|
0.06241491,
|
|
-0.06867501,
|
|
-0.021493748,
|
|
-0.08815687,
|
|
-0.06678143,
|
|
-0.02508211,
|
|
-0.043641888,
|
|
0.07306818,
|
|
-0.050304804,
|
|
-1.624133e-08,
|
|
-0.048611593,
|
|
-0.056216497,
|
|
0.017130926,
|
|
-0.058177624,
|
|
0.023788815,
|
|
-0.012684911,
|
|
-0.010927002,
|
|
0.12155309,
|
|
-0.008483258,
|
|
0.013140599,
|
|
0.05642416,
|
|
0.001749309,
|
|
-0.06338417,
|
|
0.0011953749,
|
|
0.07965269,
|
|
0.03217091,
|
|
0.093799464,
|
|
-0.08279611,
|
|
-0.03880581,
|
|
0.055997517,
|
|
0.050195538,
|
|
-0.00020960325,
|
|
-0.089916974,
|
|
0.0820357,
|
|
0.0659547,
|
|
-0.03231384,
|
|
0.049111042,
|
|
0.055394094,
|
|
-0.03215183,
|
|
0.019463245,
|
|
0.0094351815,
|
|
-0.04652837,
|
|
0.048488617,
|
|
0.068895265,
|
|
0.10356095,
|
|
0.018122325,
|
|
0.06454431,
|
|
0.029776301,
|
|
-0.046313405,
|
|
-0.11385151,
|
|
-0.011925911,
|
|
0.020713827,
|
|
-0.03263382,
|
|
0.091360845,
|
|
0.0919104,
|
|
0.02281533,
|
|
-0.0705449,
|
|
0.08715759,
|
|
-0.03233197,
|
|
0.025567707,
|
|
-0.04827432,
|
|
0.031276073,
|
|
0.002320722,
|
|
-0.0062292,
|
|
-0.020309383,
|
|
0.012879511,
|
|
0.01099674,
|
|
-0.04382443,
|
|
-0.016720371,
|
|
0.041349057,
|
|
0.0059064166,
|
|
0.015646098,
|
|
0.038090054,
|
|
-0.073881686
|
|
],
|
|
"index": 0,
|
|
"object": "embedding"
|
|
}
|
|
],
|
|
"model": "all-minilm:l6-v2",
|
|
"object": "list",
|
|
"usage": {
|
|
"prompt_tokens": 9,
|
|
"total_tokens": 9
|
|
}
|
|
}
|
|
},
|
|
"is_streaming": false
|
|
}
|
|
}
|