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
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": "This is the first text",
|
|
"encoding_format": "float"
|
|
},
|
|
"endpoint": "/v1/embeddings",
|
|
"model": "all-minilm:l6-v2"
|
|
},
|
|
"response": {
|
|
"body": {
|
|
"__type__": "openai.types.create_embedding_response.CreateEmbeddingResponse",
|
|
"__data__": {
|
|
"data": [
|
|
{
|
|
"embedding": [
|
|
-0.0011296043,
|
|
0.06740522,
|
|
0.015186453,
|
|
0.037259158,
|
|
0.02935556,
|
|
0.015181291,
|
|
0.07432997,
|
|
-0.0033194474,
|
|
0.0658106,
|
|
-0.021833794,
|
|
0.034404922,
|
|
0.05099269,
|
|
-0.011411872,
|
|
-0.025082853,
|
|
-0.051754408,
|
|
0.027195254,
|
|
0.07849019,
|
|
-0.06000248,
|
|
0.010478361,
|
|
-0.003392346,
|
|
0.043441977,
|
|
0.12292443,
|
|
9.388175e-05,
|
|
0.0021187037,
|
|
0.018079525,
|
|
0.045084555,
|
|
-0.097606525,
|
|
0.11185215,
|
|
0.049650617,
|
|
-0.0348426,
|
|
-0.039580915,
|
|
0.0035499185,
|
|
0.15893514,
|
|
0.063421525,
|
|
0.047970187,
|
|
0.011613767,
|
|
0.009793674,
|
|
0.01536712,
|
|
0.009413064,
|
|
0.07999014,
|
|
0.01915802,
|
|
-0.13722447,
|
|
0.017290922,
|
|
0.013689777,
|
|
0.014259784,
|
|
-0.00021621982,
|
|
-0.017730612,
|
|
0.022902183,
|
|
0.035927463,
|
|
-0.015361024,
|
|
-0.00975885,
|
|
-0.040180918,
|
|
-0.011500755,
|
|
0.00012558368,
|
|
0.08540788,
|
|
0.08731169,
|
|
0.004690206,
|
|
0.006160604,
|
|
0.003023499,
|
|
0.008887178,
|
|
-0.006278653,
|
|
0.050593477,
|
|
0.00053471717,
|
|
0.04677382,
|
|
0.09365536,
|
|
-0.012813678,
|
|
0.0177166,
|
|
-0.06271032,
|
|
-0.11535796,
|
|
0.04110661,
|
|
-0.014942371,
|
|
0.044813167,
|
|
-0.020877626,
|
|
0.04299617,
|
|
-0.06107898,
|
|
0.01997848,
|
|
-0.0687263,
|
|
-0.035494387,
|
|
0.04186985,
|
|
0.012177578,
|
|
-0.029081868,
|
|
-0.066437304,
|
|
0.030620316,
|
|
0.05150629,
|
|
-0.12813967,
|
|
0.06819209,
|
|
-0.047090717,
|
|
-0.032926783,
|
|
0.007485966,
|
|
-0.017814271,
|
|
0.038294822,
|
|
-0.015788501,
|
|
0.07054281,
|
|
0.03807343,
|
|
-0.114283286,
|
|
0.042118594,
|
|
-0.111601785,
|
|
-0.04573834,
|
|
-0.02895515,
|
|
0.12735783,
|
|
-0.013941619,
|
|
-0.027150463,
|
|
0.072897464,
|
|
0.024098374,
|
|
-0.054044593,
|
|
-0.13128933,
|
|
0.030136578,
|
|
-0.023237763,
|
|
-0.019079136,
|
|
-0.0078745885,
|
|
-0.021944366,
|
|
-0.053324133,
|
|
-0.070892006,
|
|
-0.011552823,
|
|
-0.023377078,
|
|
-0.01562657,
|
|
0.051452935,
|
|
0.029251281,
|
|
0.06480842,
|
|
0.06403676,
|
|
0.014424153,
|
|
-0.057994097,
|
|
-0.06993807,
|
|
-0.023921017,
|
|
-0.08493092,
|
|
-0.087801315,
|
|
0.048142783,
|
|
-6.124397e-33,
|
|
0.0103092175,
|
|
0.038688924,
|
|
0.003180582,
|
|
0.03575604,
|
|
0.005059993,
|
|
-0.0041896994,
|
|
-0.05389261,
|
|
-0.029881287,
|
|
-0.075520456,
|
|
-0.07879111,
|
|
-0.012291425,
|
|
-0.05053033,
|
|
0.020719253,
|
|
-0.05190443,
|
|
-0.05927485,
|
|
-0.05987536,
|
|
-0.05572788,
|
|
0.03220933,
|
|
-0.006331632,
|
|
-0.021651596,
|
|
-0.059913907,
|
|
0.051977657,
|
|
0.05122985,
|
|
-0.06350782,
|
|
-0.04872765,
|
|
-0.014282773,
|
|
0.0025304393,
|
|
-0.024342295,
|
|
-0.0055265254,
|
|
0.020074077,
|
|
-0.10194665,
|
|
0.010741537,
|
|
-0.02318619,
|
|
-0.08105595,
|
|
-0.014973416,
|
|
0.0017918752,
|
|
0.045083463,
|
|
-0.05282281,
|
|
-0.053680934,
|
|
-0.013229242,
|
|
-0.019794637,
|
|
0.020036008,
|
|
-0.00081875344,
|
|
-0.10115686,
|
|
-0.0006884125,
|
|
0.09664284,
|
|
-0.03943104,
|
|
0.04955554,
|
|
0.042241447,
|
|
0.007962193,
|
|
-0.052323878,
|
|
0.05189162,
|
|
0.037112337,
|
|
0.034818016,
|
|
0.063431285,
|
|
-0.02657652,
|
|
-0.009212341,
|
|
-0.0025556423,
|
|
-0.05609933,
|
|
0.0020433308,
|
|
-0.020113751,
|
|
0.0012227942,
|
|
-0.0017669081,
|
|
0.019119242,
|
|
0.016553605,
|
|
-0.011386767,
|
|
0.010368127,
|
|
-0.00788346,
|
|
0.046651863,
|
|
-0.046871297,
|
|
-0.085224025,
|
|
-0.008958986,
|
|
0.012052177,
|
|
0.013311017,
|
|
0.015157192,
|
|
0.03708167,
|
|
0.026588887,
|
|
0.014486772,
|
|
-0.013955214,
|
|
0.019986698,
|
|
-0.06885552,
|
|
-0.07106239,
|
|
0.012334861,
|
|
0.03284816,
|
|
-0.03151976,
|
|
0.045773514,
|
|
0.067994975,
|
|
-0.077492714,
|
|
0.018440822,
|
|
0.06622958,
|
|
-0.08641996,
|
|
0.008967366,
|
|
0.04134085,
|
|
0.009518882,
|
|
0.006565088,
|
|
4.711897e-33,
|
|
-0.02617601,
|
|
0.0013207985,
|
|
-0.014141556,
|
|
-0.024331013,
|
|
0.06929469,
|
|
0.03143924,
|
|
0.03726272,
|
|
0.064707026,
|
|
0.049426436,
|
|
0.11073603,
|
|
0.0498569,
|
|
0.066796474,
|
|
0.04154851,
|
|
-0.034098588,
|
|
0.07028382,
|
|
0.034863915,
|
|
0.12904617,
|
|
-0.021078404,
|
|
0.008925486,
|
|
0.03016334,
|
|
-0.02286831,
|
|
0.03649071,
|
|
-0.13193603,
|
|
0.045608096,
|
|
-0.012805477,
|
|
0.041747537,
|
|
0.12321406,
|
|
-0.013507891,
|
|
-0.007307474,
|
|
-0.02975696,
|
|
0.025006123,
|
|
-0.009506256,
|
|
0.024761083,
|
|
0.023204166,
|
|
-0.019123148,
|
|
0.02259915,
|
|
0.013744109,
|
|
-0.03847919,
|
|
-0.014476444,
|
|
0.07522499,
|
|
0.13586833,
|
|
0.009872778,
|
|
-0.03752485,
|
|
-0.0273059,
|
|
-0.016470777,
|
|
-0.048831154,
|
|
-0.03521732,
|
|
-0.054363117,
|
|
-0.0017890002,
|
|
0.035665076,
|
|
-0.010268516,
|
|
-0.018602924,
|
|
-0.036469962,
|
|
-0.055976517,
|
|
-0.007821111,
|
|
0.00907826,
|
|
-0.0073335953,
|
|
0.050373644,
|
|
-0.00025981313,
|
|
-0.036349144,
|
|
-0.024950698,
|
|
0.058883175,
|
|
-0.07245624,
|
|
0.07399545,
|
|
0.053919416,
|
|
-0.051881794,
|
|
-0.0063462397,
|
|
0.07852022,
|
|
-0.016959544,
|
|
-0.0066832895,
|
|
0.01265072,
|
|
-0.014152041,
|
|
-0.13643119,
|
|
-0.085250236,
|
|
-0.017519519,
|
|
-0.00466121,
|
|
0.0136799645,
|
|
0.0009118405,
|
|
-0.071966685,
|
|
-0.06886893,
|
|
0.14207116,
|
|
0.03186518,
|
|
-0.05592076,
|
|
0.030404905,
|
|
0.061872244,
|
|
0.029894035,
|
|
-0.00096155383,
|
|
-0.06500391,
|
|
-0.020616096,
|
|
0.039591115,
|
|
-0.12383165,
|
|
0.0028830946,
|
|
0.051231142,
|
|
0.13391772,
|
|
-0.08845233,
|
|
-1.7589368e-08,
|
|
-0.025769057,
|
|
-0.080324695,
|
|
-0.09164953,
|
|
0.032005485,
|
|
0.005889216,
|
|
0.114638664,
|
|
0.0233727,
|
|
-0.069048144,
|
|
-0.05594302,
|
|
-0.05788277,
|
|
0.014665582,
|
|
0.080326974,
|
|
0.0036707798,
|
|
-0.030798541,
|
|
0.024442635,
|
|
0.008542568,
|
|
-0.05288123,
|
|
-0.06640491,
|
|
0.00074039627,
|
|
-0.023801958,
|
|
0.030778948,
|
|
0.054075025,
|
|
-0.0027453878,
|
|
-0.09929041,
|
|
-0.0150463935,
|
|
0.01624328,
|
|
-0.0015419688,
|
|
0.011909824,
|
|
0.007890519,
|
|
0.0489657,
|
|
0.004866092,
|
|
0.08265809,
|
|
-0.0145542445,
|
|
-0.04386104,
|
|
0.004611713,
|
|
0.024626419,
|
|
0.023854014,
|
|
0.0236921,
|
|
0.05076065,
|
|
-0.051832993,
|
|
0.021252805,
|
|
-0.0033932943,
|
|
-0.021158189,
|
|
0.020595197,
|
|
-0.06475187,
|
|
0.054174356,
|
|
0.027812954,
|
|
-0.05294382,
|
|
0.015094968,
|
|
-0.119794324,
|
|
-0.034157146,
|
|
-0.012219483,
|
|
0.047453884,
|
|
0.020896995,
|
|
-0.026357891,
|
|
0.015037571,
|
|
0.033969007,
|
|
0.05981613,
|
|
-0.052542053,
|
|
0.033553857,
|
|
0.06119396,
|
|
0.09635468,
|
|
0.11632743,
|
|
-0.016134953
|
|
],
|
|
"index": 0,
|
|
"object": "embedding"
|
|
}
|
|
],
|
|
"model": "all-minilm:l6-v2",
|
|
"object": "list",
|
|
"usage": {
|
|
"prompt_tokens": 5,
|
|
"total_tokens": 5
|
|
}
|
|
}
|
|
},
|
|
"is_streaming": false
|
|
}
|
|
}
|