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": [
|
|
"How do systems learn without explicit programming?"
|
|
],
|
|
"encoding_format": "float"
|
|
},
|
|
"endpoint": "/v1/embeddings",
|
|
"model": "all-minilm:l6-v2"
|
|
},
|
|
"response": {
|
|
"body": {
|
|
"__type__": "openai.types.create_embedding_response.CreateEmbeddingResponse",
|
|
"__data__": {
|
|
"data": [
|
|
{
|
|
"embedding": [
|
|
0.04984423,
|
|
-0.0065021752,
|
|
-0.07637173,
|
|
0.03917369,
|
|
0.00031861305,
|
|
-0.04042923,
|
|
0.0011150879,
|
|
0.003936656,
|
|
-0.019640122,
|
|
0.06384856,
|
|
-0.023051452,
|
|
0.037558515,
|
|
0.047722198,
|
|
-0.03396131,
|
|
0.0019017205,
|
|
-0.05376357,
|
|
-0.08049833,
|
|
0.029636204,
|
|
0.03433438,
|
|
-0.10370592,
|
|
-0.012407874,
|
|
-0.036972973,
|
|
-0.03961349,
|
|
-0.010151935,
|
|
0.014429107,
|
|
0.08523679,
|
|
-0.00839657,
|
|
0.020103412,
|
|
0.01863058,
|
|
-0.004850945,
|
|
0.052703105,
|
|
0.03198295,
|
|
0.09851406,
|
|
-0.021857157,
|
|
-0.030757615,
|
|
0.029216181,
|
|
0.007728418,
|
|
-0.023179187,
|
|
-0.024685089,
|
|
-0.00815707,
|
|
-0.13637935,
|
|
0.043761857,
|
|
-0.02209246,
|
|
0.039698977,
|
|
0.09477744,
|
|
0.019010609,
|
|
-0.04610655,
|
|
-0.043215692,
|
|
-0.045460463,
|
|
-0.06836739,
|
|
-0.1530461,
|
|
-0.034367662,
|
|
0.013275635,
|
|
-0.03926102,
|
|
-0.019648515,
|
|
0.028101413,
|
|
0.025540326,
|
|
0.089463815,
|
|
-0.06327886,
|
|
-0.02595456,
|
|
-0.11979868,
|
|
-0.12334712,
|
|
-0.087600626,
|
|
-0.013221264,
|
|
0.013799792,
|
|
0.015545913,
|
|
0.00064019626,
|
|
0.040825542,
|
|
0.07697552,
|
|
-0.030981697,
|
|
-0.06173165,
|
|
0.0036019792,
|
|
-0.022016058,
|
|
0.0018515446,
|
|
0.05704056,
|
|
-0.06933254,
|
|
0.020957416,
|
|
0.064757325,
|
|
-0.0020772594,
|
|
-0.0064814533,
|
|
-0.06261177,
|
|
-0.015868051,
|
|
-0.037469238,
|
|
0.07497992,
|
|
0.065091245,
|
|
0.039346796,
|
|
0.012607916,
|
|
0.08583316,
|
|
0.06540376,
|
|
0.0011848691,
|
|
-0.00564589,
|
|
-0.08397946,
|
|
-0.059715644,
|
|
-0.031260643,
|
|
0.056604136,
|
|
0.029362248,
|
|
0.087739736,
|
|
-0.08420318,
|
|
-0.04931336,
|
|
0.09726916,
|
|
-0.0017463911,
|
|
0.019265981,
|
|
0.057564486,
|
|
-0.008517195,
|
|
-0.040554836,
|
|
0.02923812,
|
|
0.061266143,
|
|
0.02060355,
|
|
0.076881945,
|
|
-0.12177566,
|
|
-0.024966033,
|
|
0.00019745702,
|
|
0.005747222,
|
|
0.014114126,
|
|
-0.03401446,
|
|
-0.0013969344,
|
|
0.01964643,
|
|
-0.047716763,
|
|
0.031978507,
|
|
0.028447492,
|
|
-0.009964347,
|
|
-0.017102454,
|
|
-4.63913e-07,
|
|
0.08103938,
|
|
-0.0346138,
|
|
-0.009416571,
|
|
-0.066550575,
|
|
-3.9539905e-33,
|
|
-0.007294673,
|
|
0.0067699,
|
|
0.06725818,
|
|
0.03072976,
|
|
-0.0117797265,
|
|
-0.041026328,
|
|
0.06852793,
|
|
-0.037222322,
|
|
0.027420986,
|
|
0.066954724,
|
|
0.043863658,
|
|
0.0061272033,
|
|
0.061314374,
|
|
0.10138567,
|
|
0.08718787,
|
|
0.037215915,
|
|
-0.06740457,
|
|
0.023863165,
|
|
0.014470287,
|
|
-0.02899169,
|
|
0.0893073,
|
|
0.035965327,
|
|
0.005637208,
|
|
-0.10819648,
|
|
0.023759954,
|
|
0.051624484,
|
|
-0.011389106,
|
|
-0.016350063,
|
|
0.035536684,
|
|
0.0097545255,
|
|
-0.030856358,
|
|
0.04067114,
|
|
-0.02971763,
|
|
0.0697159,
|
|
0.061810073,
|
|
0.025801104,
|
|
0.03703326,
|
|
-0.0021732633,
|
|
0.08720141,
|
|
-0.053768326,
|
|
0.06975253,
|
|
-0.044379126,
|
|
0.05350251,
|
|
-0.014546655,
|
|
0.0019427998,
|
|
0.022796933,
|
|
0.02047684,
|
|
-0.02788562,
|
|
-0.11744917,
|
|
-0.008886625,
|
|
-0.030535355,
|
|
0.0013790294,
|
|
-0.016426755,
|
|
-0.07323933,
|
|
0.010640432,
|
|
0.08230106,
|
|
-0.012989938,
|
|
-0.015557066,
|
|
-0.044253703,
|
|
0.06853842,
|
|
0.0044834577,
|
|
0.027410327,
|
|
0.07402351,
|
|
0.04888233,
|
|
-0.0063870386,
|
|
0.046451516,
|
|
-0.057963096,
|
|
0.059795424,
|
|
0.086261205,
|
|
0.025499415,
|
|
-0.057358176,
|
|
0.045224484,
|
|
-0.07970627,
|
|
-0.036587525,
|
|
0.02942726,
|
|
-0.038539898,
|
|
0.06695297,
|
|
-0.08024641,
|
|
0.03596079,
|
|
0.04907759,
|
|
0.029716326,
|
|
-0.03762173,
|
|
0.03575466,
|
|
0.001120044,
|
|
-0.031716947,
|
|
0.0017757203,
|
|
-0.017645523,
|
|
0.00049374095,
|
|
-0.036480494,
|
|
-0.07056745,
|
|
-0.04874728,
|
|
-0.05242818,
|
|
-0.06110843,
|
|
0.037233498,
|
|
0.04336727,
|
|
1.5320788e-33,
|
|
-3.120197e-05,
|
|
0.034649298,
|
|
-0.06958097,
|
|
-0.036047626,
|
|
-0.06801936,
|
|
0.025326911,
|
|
-0.026467822,
|
|
-0.048150625,
|
|
-0.0030122146,
|
|
-0.02290719,
|
|
-0.03227551,
|
|
0.0039322567,
|
|
-0.011214182,
|
|
0.0614351,
|
|
-0.0037066569,
|
|
0.039574537,
|
|
-0.09324765,
|
|
0.067733236,
|
|
0.013552073,
|
|
0.04235003,
|
|
-0.04189811,
|
|
0.049444646,
|
|
-0.065833166,
|
|
-0.01233075,
|
|
0.026274677,
|
|
0.036287695,
|
|
-0.0334494,
|
|
0.10760298,
|
|
-0.030157905,
|
|
0.05457912,
|
|
0.030266814,
|
|
-0.048794933,
|
|
-0.025447104,
|
|
0.020995017,
|
|
0.016946187,
|
|
0.031217054,
|
|
-0.014045975,
|
|
0.054221038,
|
|
-0.07935839,
|
|
0.033861484,
|
|
0.040884778,
|
|
-0.014036171,
|
|
-0.048716463,
|
|
0.006645244,
|
|
0.027014922,
|
|
-0.01226374,
|
|
-0.05664712,
|
|
0.012521781,
|
|
0.012314198,
|
|
0.010800098,
|
|
0.05154809,
|
|
-0.03332023,
|
|
-0.038100664,
|
|
-0.09299292,
|
|
-0.038066074,
|
|
-0.028879175,
|
|
0.052126266,
|
|
0.040313665,
|
|
0.050321303,
|
|
-0.008574894,
|
|
-0.051285632,
|
|
-0.08658571,
|
|
0.0047743064,
|
|
0.0066671823,
|
|
-0.037727214,
|
|
-0.024325253,
|
|
-0.04543155,
|
|
0.0031582855,
|
|
0.02749873,
|
|
-0.038236838,
|
|
0.0398463,
|
|
0.077743076,
|
|
-0.06533558,
|
|
-0.043217026,
|
|
0.03869133,
|
|
0.053244475,
|
|
-0.08044849,
|
|
-0.040810138,
|
|
-0.09834583,
|
|
-0.0861473,
|
|
0.0520938,
|
|
0.024795571,
|
|
0.047273915,
|
|
0.040170223,
|
|
-0.04087483,
|
|
0.065172985,
|
|
0.012024152,
|
|
-0.007874287,
|
|
-0.008081423,
|
|
-0.055300366,
|
|
0.0023381007,
|
|
0.028444031,
|
|
0.02559316,
|
|
0.011821741,
|
|
-0.1240692,
|
|
-1.5521888e-08,
|
|
-0.006481896,
|
|
-0.03777657,
|
|
0.059614006,
|
|
-0.028193146,
|
|
0.08015819,
|
|
0.08605758,
|
|
-0.031213695,
|
|
0.024660977,
|
|
-0.0601782,
|
|
-0.020654697,
|
|
-0.011957175,
|
|
0.017313287,
|
|
0.037322048,
|
|
0.018506147,
|
|
0.06202185,
|
|
0.14393596,
|
|
0.08757671,
|
|
0.046496816,
|
|
-0.07269094,
|
|
0.015122184,
|
|
0.08358854,
|
|
-0.033304404,
|
|
-0.017314732,
|
|
0.07350395,
|
|
0.0056664916,
|
|
-0.08582263,
|
|
-0.045254916,
|
|
0.062497266,
|
|
0.09928107,
|
|
0.08590313,
|
|
0.033792242,
|
|
-0.008237271,
|
|
0.0032627704,
|
|
-0.012479878,
|
|
0.02377827,
|
|
0.04318741,
|
|
0.03469096,
|
|
-0.06260408,
|
|
-0.042039912,
|
|
-0.12014508,
|
|
-0.14268656,
|
|
0.068984255,
|
|
0.0037130509,
|
|
-0.01937347,
|
|
-0.03493163,
|
|
0.01472315,
|
|
-0.063192435,
|
|
-0.09795864,
|
|
-0.033808086,
|
|
-0.010213174,
|
|
0.033770446,
|
|
0.07557054,
|
|
-0.041042008,
|
|
0.022023367,
|
|
0.05567624,
|
|
0.02822099,
|
|
-0.025627017,
|
|
-0.043879252,
|
|
-0.044397317,
|
|
0.119338974,
|
|
-0.08721394,
|
|
0.07055854,
|
|
0.04949986,
|
|
-0.039747704
|
|
],
|
|
"index": 0,
|
|
"object": "embedding"
|
|
}
|
|
],
|
|
"model": "all-minilm:l6-v2",
|
|
"object": "list",
|
|
"usage": {
|
|
"prompt_tokens": 8,
|
|
"total_tokens": 8
|
|
}
|
|
}
|
|
},
|
|
"is_streaming": false
|
|
}
|
|
}
|