chore: use ollama/all-minilm:l6-v2 for ollama tests (#3537)
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
This commit is contained in:
Matthew Farrellee 2025-09-24 19:33:02 -04:00 committed by GitHub
parent 6101c8e015
commit a50b63906c
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
20 changed files with 7267 additions and 2 deletions

View file

@ -0,0 +1,420 @@
{
"request": {
"method": "POST",
"url": "http://0.0.0.0:11434/v1/v1/embeddings",
"headers": {},
"body": {
"model": "all-minilm:l6-v2",
"input": "This is completely different content",
"encoding_format": "float"
},
"endpoint": "/v1/embeddings",
"model": "all-minilm:l6-v2"
},
"response": {
"body": {
"__type__": "openai.types.create_embedding_response.CreateEmbeddingResponse",
"__data__": {
"data": [
{
"embedding": [
0.050928835,
0.03843035,
-0.055596404,
-0.1059845,
0.06945118,
-0.08052125,
-0.025887776,
-0.045172054,
0.06875915,
0.01652947,
-0.0011730668,
0.023417989,
-0.0033977597,
0.06804529,
-0.022007054,
-0.014133858,
0.12357166,
-0.06538498,
-0.08264784,
0.042988714,
-0.039530188,
0.05546846,
-0.008847637,
0.020928107,
0.016257003,
0.0963241,
-0.022833107,
0.09176138,
0.06406277,
-0.062280413,
0.010846775,
0.07830326,
0.08847168,
-0.008453102,
-0.075440355,
0.048030853,
0.0042642253,
0.037893716,
0.0023323877,
0.032253597,
0.0047477684,
-0.07042877,
-0.0651552,
0.061071083,
0.021506561,
0.10113442,
-0.07538611,
-0.0407162,
-0.0055698017,
-0.003700082,
-0.021267522,
-0.018197505,
-0.033238053,
-0.015680185,
0.0032980912,
0.037441716,
-0.02103593,
0.052548602,
0.10207184,
-0.018667448,
0.036124475,
0.08958934,
0.050691247,
0.019807478,
0.102209404,
-0.0590646,
-0.045566943,
-0.024122052,
-0.059902284,
-0.097920865,
-0.0020646898,
0.032239985,
0.048603263,
0.080615476,
0.022587052,
0.0005647973,
-0.0015346111,
0.009996407,
-0.08974319,
0.023848958,
-0.0152271725,
-0.020556787,
0.085268654,
-0.080245204,
-0.0021987888,
0.064997524,
-0.023079548,
-0.061999504,
-0.06548528,
-0.029944805,
0.004539428,
0.09720334,
0.09151462,
-0.0059590363,
-0.04822175,
-0.011798011,
-0.031697348,
-0.010327684,
0.02968527,
0.103371136,
-0.029089179,
0.0055756853,
-0.030742139,
-0.011057862,
-0.03863044,
-0.015891504,
0.00083265523,
0.03479572,
0.0039244313,
-0.020057123,
-0.048189417,
0.026513426,
-0.061180107,
-0.04695217,
0.021450046,
-0.04841946,
0.022005452,
0.015729656,
0.056378406,
0.055330493,
0.037143476,
-0.088711694,
0.011780864,
0.0064585637,
-0.020630004,
-0.05936413,
0.012287869,
-2.4293852e-33,
0.06838332,
-0.053025596,
0.011507658,
0.06950136,
0.01331995,
0.0020193695,
-0.02080692,
0.028949803,
0.034665402,
-0.0327198,
0.000949148,
0.008664251,
0.0076103383,
-0.024554089,
0.030275982,
-0.034142904,
-0.031511948,
0.11051145,
0.034964334,
0.045093905,
0.0004536878,
0.0514407,
0.015040795,
-0.008992289,
0.023123777,
0.051383648,
-0.004154813,
0.0047568153,
-0.016239677,
-0.025685828,
-0.02406427,
-0.009563573,
0.050677244,
-0.058350526,
0.049024463,
0.079643525,
0.036008406,
-0.06540527,
-0.035393585,
-0.07027483,
-0.009768918,
-0.0318898,
-0.04104297,
-0.041093245,
-0.036317065,
0.06686649,
0.016687784,
-0.048496265,
-0.015432587,
-0.0004885036,
0.032693844,
-0.0108784195,
0.016624164,
-0.057286467,
0.008053993,
0.008824837,
-0.061545905,
-0.0108399745,
0.07171203,
0.08609233,
0.014049224,
0.014907912,
-0.09828269,
-0.046647478,
0.03361861,
0.064744,
-0.007506857,
0.025442023,
0.04172483,
-0.033108808,
-0.01457406,
0.024897074,
0.04562778,
-0.042942565,
-0.040469114,
-0.06307098,
-0.02242408,
0.010597915,
-0.03252762,
-0.03145859,
0.00820347,
0.021108724,
0.009504359,
-0.08292171,
-0.02136818,
0.008753057,
0.06017692,
-0.062192526,
0.0045083114,
0.056810796,
-0.012999816,
0.01868933,
-0.008973792,
-0.076788835,
0.051616713,
1.6926322e-33,
-0.12587416,
0.011702123,
-0.07986232,
0.023053063,
0.029265704,
0.08719514,
0.06907015,
0.03254812,
0.047793373,
0.13217501,
0.031299006,
-0.012535935,
0.0035618816,
-0.0163916,
-0.03853783,
0.01597904,
0.09169072,
0.04756113,
-0.054968182,
0.067977056,
0.017965809,
0.11863936,
-0.0693313,
0.043811284,
0.041538227,
-0.017813183,
0.051730298,
0.067949936,
0.080519445,
0.0053662807,
0.088820346,
-0.036024984,
-0.077107176,
-0.09097472,
-0.09598897,
-0.09376241,
-0.06202675,
0.06723746,
-0.00064578716,
0.029109621,
0.08179942,
-0.06487821,
-0.050387383,
-0.0023782111,
-0.026097134,
-0.0076310094,
0.011977006,
-0.08573459,
0.041102324,
0.024716543,
-0.022249049,
-0.11560483,
0.0067691505,
-0.045894623,
-0.0637051,
0.05357708,
0.00577345,
0.06321221,
0.004861166,
-0.05710446,
0.04190449,
0.022335436,
-0.1471083,
0.026351552,
0.10623104,
-0.005882123,
0.019992633,
0.034953646,
-0.03338853,
-0.038839623,
-0.076065235,
-0.11174125,
-0.038965553,
-0.102677576,
0.04711777,
-0.049392425,
0.07477134,
0.04174287,
-0.031087497,
0.0033754015,
0.055780858,
-0.03184862,
-0.02541985,
0.05011349,
0.03596857,
0.091428444,
-0.07583281,
-0.050592963,
0.0074175335,
-0.0013578966,
-0.050366234,
-0.0015045146,
0.0054275827,
0.07685381,
0.014169269,
-1.8297998e-08,
0.029916301,
-0.057940822,
-0.06847671,
0.026218578,
-0.0034848938,
0.113768935,
0.056854554,
-0.093155205,
0.0028038986,
0.10895503,
-0.033018846,
0.0050494163,
-0.043625794,
-0.048996136,
0.0118943965,
0.059736334,
-0.08662527,
-0.052732464,
0.026333557,
0.042200398,
-0.0035924676,
0.037994288,
0.022570506,
-0.061503205,
0.012634007,
0.040854853,
-0.084876895,
0.041194208,
-0.038179893,
0.008360482,
0.010148832,
0.024984034,
-0.012506054,
-0.045101274,
0.010266152,
-0.046285193,
0.061415587,
0.016212178,
-0.0011856663,
0.0074200486,
-0.019432405,
-0.068008475,
0.05477893,
0.0964552,
-0.04710964,
0.060082186,
0.003054353,
-0.08875195,
0.03727946,
-0.0099389665,
0.003561616,
-0.07834196,
0.021697106,
-0.013061282,
0.0725091,
-0.06500139,
-0.029938946,
-0.017758802,
0.033857197,
0.029207738,
0.08792652,
0.00846041,
0.06444677,
-0.016519535
],
"index": 0,
"object": "embedding"
}
],
"model": "all-minilm:l6-v2",
"object": "list",
"usage": {
"prompt_tokens": 5,
"total_tokens": 5
}
}
},
"is_streaming": false
}
}