llama-stack-mirror/tests/integration/recordings/responses/4d438c6bbaed.json
Matthew Farrellee a50b63906c
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
chore: use ollama/all-minilm:l6-v2 for ollama tests (#3537)
# 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
2025-09-24 19:33:02 -04:00

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": [
"What makes Python different from C++ and Java?"
],
"encoding_format": "float"
},
"endpoint": "/v1/embeddings",
"model": "all-minilm:l6-v2"
},
"response": {
"body": {
"__type__": "openai.types.create_embedding_response.CreateEmbeddingResponse",
"__data__": {
"data": [
{
"embedding": [
-0.10118824,
0.03903895,
-0.013634503,
-0.007292888,
-0.029636545,
-0.084174395,
-0.09112228,
0.04528188,
-0.014384496,
-0.0319548,
-0.05629092,
0.007849695,
0.04510336,
0.016430292,
0.03918052,
-0.117774546,
-0.03887417,
-0.001986278,
0.024091367,
-0.065562785,
-0.017041149,
-0.019297333,
-0.021055115,
-0.05226532,
0.091480814,
0.015253761,
-0.001796204,
-0.040122062,
0.009265925,
0.0020377012,
-0.010954453,
0.04418117,
0.021545967,
-0.013009354,
-0.06874439,
0.021751178,
-0.0032608712,
-0.08501772,
-0.053137373,
-0.015450434,
-0.085525215,
0.07160664,
-0.05478504,
0.0016480179,
-0.07703412,
0.034932982,
-0.013334636,
0.0048056873,
-0.017465629,
-0.023633484,
-0.06934235,
0.039600387,
-0.06340865,
-0.08479012,
-0.008927469,
-0.009415297,
0.021252826,
0.028662452,
-0.0071771694,
-0.10053554,
-0.08403626,
0.0006694508,
0.049527504,
0.091747105,
-0.040061295,
-0.08370871,
0.0113953585,
0.02787908,
0.08032625,
-0.08153772,
-0.1382779,
0.0020262296,
-0.013319839,
0.06469724,
0.011705844,
-0.06847945,
-0.008103585,
-0.007311759,
-0.049259696,
-0.01681834,
-0.0023633156,
0.04625241,
-0.09155687,
0.070435375,
0.047461532,
-0.033975255,
0.030877052,
0.06223708,
-0.075257495,
0.022192439,
0.072569355,
-0.05940421,
-0.016665697,
0.027913835,
-0.03033027,
0.026433375,
-0.024091143,
0.027967717,
0.0018184112,
0.005459501,
0.01782243,
-0.05497604,
0.10015024,
0.060212452,
0.095859,
0.0045665796,
0.022342399,
-0.0730747,
0.07155068,
-0.005780182,
-0.027565235,
-0.07226932,
0.0022492912,
-0.056467265,
0.056729913,
0.04964385,
-0.0359193,
0.073877,
0.01857968,
-0.020147907,
0.025378013,
-0.03853255,
0.0004536945,
-0.0197987,
-0.052165885,
0.08353086,
-0.0831229,
-3.4495407e-33,
-7.5219294e-05,
-0.10703243,
0.00059167214,
0.022338398,
0.0678739,
-0.009247927,
0.010432039,
0.06904043,
0.008255852,
-0.027097296,
-0.020995656,
0.051348615,
0.021222726,
0.103795454,
0.051715724,
-0.016371982,
-0.005419388,
0.018027242,
-0.012436884,
-0.016733842,
0.02889153,
0.030293668,
0.052271575,
0.07004435,
0.03884479,
-0.012782247,
0.010923908,
0.009464883,
-0.031190552,
0.012386214,
-0.04372491,
-0.06606855,
-0.048366148,
0.061396204,
0.04782467,
0.03706411,
-0.0107052075,
-0.11111459,
0.010835082,
-0.056167886,
-0.06988011,
-0.0075372676,
0.017734634,
-0.05035381,
-0.001275386,
0.014617504,
-0.02860837,
-0.037023265,
-0.12981883,
0.011362826,
0.016434444,
0.024155455,
0.06692448,
0.11011648,
0.00242381,
0.029336166,
0.06456758,
0.025459351,
-0.06523983,
-0.003042015,
-0.014494944,
0.17165202,
0.09502477,
0.004603603,
0.03468188,
0.08069984,
0.028353227,
0.078386195,
0.0052070855,
0.10746326,
0.0007272075,
0.048997436,
-0.026183812,
0.024859238,
0.019962046,
0.0024938937,
-0.0088306535,
-0.12398559,
0.013511732,
0.01252341,
-0.06526936,
0.0025227254,
0.012404745,
-0.052903768,
-0.060306206,
-0.06609536,
0.02255224,
0.034741614,
0.07141327,
-0.042214733,
-0.046732914,
-0.013089334,
0.050667133,
0.009732704,
-0.065844536,
-7.632026e-34,
-0.04897036,
0.0010008155,
-0.027726196,
-0.0041715573,
-0.0784953,
-0.014502005,
-0.0032161039,
-0.0036510653,
0.0063989596,
-0.0049795345,
-0.025816346,
-0.057969686,
0.089522816,
0.03228869,
0.09730419,
0.014945059,
-0.09055132,
0.048780665,
0.017307585,
0.001894757,
-0.018043697,
0.076129794,
-0.03805571,
-0.033610735,
0.024954053,
-0.021428565,
-0.089604266,
-0.017775265,
-0.0053226994,
0.0390506,
0.03933108,
0.09031938,
-0.08847496,
0.018907558,
0.044635687,
-0.022590302,
-0.032498624,
-0.025523473,
0.025916386,
-0.0015925332,
0.12204004,
0.0071080993,
0.091284856,
0.088366255,
0.02900987,
0.053944837,
-0.025523532,
0.07882233,
0.021127652,
-0.10109029,
0.017844606,
0.036310278,
0.05826466,
-0.039195944,
-0.009919533,
-0.034366168,
0.049801596,
0.053652726,
-0.06546624,
-0.009100376,
-0.045472123,
-0.076298825,
0.049355358,
0.004085976,
-0.049639836,
0.036183506,
-0.04978166,
-0.01432043,
-0.048737127,
-0.13183917,
0.09263645,
0.023257703,
-0.015932027,
0.012102949,
-0.067271985,
0.024819551,
-0.00095338933,
0.005278276,
-0.034407213,
0.048385736,
0.015527778,
0.03753987,
-0.029208956,
0.035676524,
-0.08918091,
0.03421899,
-0.0790197,
-0.029945001,
-0.0045615,
-0.0059501184,
0.02928693,
0.09815437,
-0.033618566,
0.015624564,
-0.018528337,
-1.6825586e-08,
0.055643573,
0.00905882,
0.0065201567,
0.012434381,
0.044175223,
0.0383832,
-0.040846422,
-0.010427501,
-0.0080066,
0.01712656,
-0.036492564,
-0.00024521624,
-0.07382413,
-0.059322976,
0.01264377,
0.086423,
-0.06100275,
-0.059789356,
0.009266419,
0.07025341,
0.050013755,
-0.018513031,
-0.07250875,
0.11642345,
-0.09448821,
-0.044915877,
0.0534502,
0.01637104,
0.036045168,
-0.037487727,
0.0030642638,
0.0030473603,
-0.050864283,
0.030525306,
-0.0034795292,
-0.006219593,
0.029881494,
-0.0397122,
-0.041857515,
0.022612296,
-0.037165,
-0.009100636,
-0.008052333,
0.006499901,
0.04141586,
0.03798403,
-0.044131294,
-0.01770224,
-0.07094963,
-0.02103003,
-0.012339185,
0.011356932,
0.07049362,
-0.058278922,
0.034775678,
0.018039506,
-0.12438333,
-0.05090711,
0.006098656,
0.05028239,
-0.0049530324,
-0.015935287,
0.18108557,
0.023910096
],
"index": 0,
"object": "embedding"
}
],
"model": "all-minilm:l6-v2",
"object": "list",
"usage": {
"prompt_tokens": 11,
"total_tokens": 11
}
}
},
"is_streaming": false
}
}