mirror of
https://github.com/meta-llama/llama-stack.git
synced 2025-12-07 02:47:21 +00:00
feat(tests): implement test isolation for inference recordings (#3681)
Uses test_id in request hashes and test-scoped subdirectories to prevent cross-test contamination. Model list endpoints exclude test_id to enable merging recordings from different servers. Additionally, this PR adds a `record-if-missing` mode (which we will use instead of `record` which records everything) which is very useful. 🤖 Co-authored with [Claude Code](https://claude.com/claude-code) --------- Co-authored-by: Claude <noreply@anthropic.com>
This commit is contained in:
parent
f176196fba
commit
045a0c1d57
428 changed files with 85345 additions and 104330 deletions
|
|
@ -0,0 +1,423 @@
|
|||
{
|
||||
"test_id": "tests/integration/vector_io/test_vector_io.py::test_insert_chunks[emb=ollama/all-minilm:l6-v2:dim=384-test_case2]",
|
||||
"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.012121224,
|
||||
0.065283775,
|
||||
-0.031828098,
|
||||
-0.050533295,
|
||||
-0.000559651,
|
||||
-0.117278345,
|
||||
-0.04308437,
|
||||
0.02459189,
|
||||
0.08322979,
|
||||
0.03383215,
|
||||
-0.023825474,
|
||||
0.020455152,
|
||||
0.03229476,
|
||||
0.012191574,
|
||||
0.028948747,
|
||||
0.029945148,
|
||||
-0.09962685,
|
||||
0.014148029,
|
||||
-0.02152299,
|
||||
-0.07066101,
|
||||
-0.028708395,
|
||||
-0.029545417,
|
||||
-0.06830065,
|
||||
0.0032041979,
|
||||
-0.022194624,
|
||||
0.13839465,
|
||||
-0.034375604,
|
||||
-0.039909832,
|
||||
-0.01617239,
|
||||
-0.042050518,
|
||||
-0.0016004258,
|
||||
0.03264938,
|
||||
0.1228666,
|
||||
0.053511623,
|
||||
-0.08693471,
|
||||
0.04262473,
|
||||
0.102871284,
|
||||
-0.021908395,
|
||||
-0.06451719,
|
||||
0.025297882,
|
||||
-0.09645283,
|
||||
0.035439685,
|
||||
0.021054002,
|
||||
0.062086396,
|
||||
0.03250647,
|
||||
0.017929567,
|
||||
-0.0064555136,
|
||||
-0.062028162,
|
||||
-0.0135677345,
|
||||
0.024553994,
|
||||
-0.1368929,
|
||||
0.034426004,
|
||||
-0.027600378,
|
||||
0.034092665,
|
||||
0.020453494,
|
||||
0.077937506,
|
||||
0.09397431,
|
||||
0.0039949166,
|
||||
-0.043160275,
|
||||
0.0031234391,
|
||||
-0.017559106,
|
||||
-0.034251958,
|
||||
-0.06832864,
|
||||
0.005067006,
|
||||
0.08827679,
|
||||
-0.012396526,
|
||||
-0.0016663567,
|
||||
0.0076103527,
|
||||
0.034685597,
|
||||
0.010151312,
|
||||
0.018427953,
|
||||
-0.007857038,
|
||||
-0.023415359,
|
||||
0.07745625,
|
||||
0.039891455,
|
||||
-0.010898847,
|
||||
-0.053617254,
|
||||
-0.029968884,
|
||||
0.033180792,
|
||||
0.0051498017,
|
||||
0.013946087,
|
||||
0.017846711,
|
||||
-0.029261263,
|
||||
0.07983002,
|
||||
0.041999985,
|
||||
-0.0025236767,
|
||||
0.027923688,
|
||||
-0.03820506,
|
||||
-0.08007613,
|
||||
-0.030338509,
|
||||
0.09233852,
|
||||
-0.033840578,
|
||||
-0.0003369184,
|
||||
0.029203981,
|
||||
-0.042779874,
|
||||
-0.003000105,
|
||||
0.036672253,
|
||||
-0.056312278,
|
||||
0.07480859,
|
||||
0.0073021087,
|
||||
0.04642536,
|
||||
0.023815228,
|
||||
0.06264434,
|
||||
0.071836166,
|
||||
-0.06051093,
|
||||
-0.10114555,
|
||||
0.0479608,
|
||||
-0.01038347,
|
||||
0.00086438353,
|
||||
-0.060157005,
|
||||
-0.0335157,
|
||||
0.047713548,
|
||||
-0.05504094,
|
||||
-0.047708143,
|
||||
-0.03806068,
|
||||
-0.12864664,
|
||||
-0.080740795,
|
||||
0.00488005,
|
||||
-0.021237006,
|
||||
-0.027117945,
|
||||
0.00213705,
|
||||
-0.030985976,
|
||||
-0.03925481,
|
||||
0.014327561,
|
||||
-0.0035586155,
|
||||
-0.0718755,
|
||||
-0.14748481,
|
||||
-3.6236487e-33,
|
||||
-0.017458837,
|
||||
-0.029069569,
|
||||
-0.025219694,
|
||||
0.06710336,
|
||||
0.022299273,
|
||||
-0.030069383,
|
||||
-0.004586519,
|
||||
-0.044689007,
|
||||
-0.0029118024,
|
||||
0.04014835,
|
||||
-0.026982304,
|
||||
0.05259229,
|
||||
0.041323557,
|
||||
0.039832227,
|
||||
0.12857063,
|
||||
0.024862071,
|
||||
-0.010504806,
|
||||
0.071363546,
|
||||
-0.034005973,
|
||||
-0.033550162,
|
||||
0.073365115,
|
||||
-0.028020127,
|
||||
0.07399476,
|
||||
-0.029161343,
|
||||
0.030931864,
|
||||
0.026440877,
|
||||
-0.012934563,
|
||||
-0.0047553787,
|
||||
-0.0066380627,
|
||||
0.0010616226,
|
||||
0.02439259,
|
||||
-0.019311374,
|
||||
-0.0010048562,
|
||||
0.026725113,
|
||||
0.12302919,
|
||||
0.06689342,
|
||||
-0.0046087033,
|
||||
-0.111448176,
|
||||
0.06522454,
|
||||
-0.06937826,
|
||||
0.031628348,
|
||||
0.036527015,
|
||||
0.027612917,
|
||||
0.038115177,
|
||||
-0.044219546,
|
||||
-0.026808597,
|
||||
0.022314643,
|
||||
-0.030792674,
|
||||
-0.007007144,
|
||||
-0.09740119,
|
||||
0.028271552,
|
||||
0.015346559,
|
||||
0.047170583,
|
||||
0.040345363,
|
||||
0.044190597,
|
||||
0.0447409,
|
||||
-0.02837017,
|
||||
-0.09805617,
|
||||
-0.03537659,
|
||||
0.06582068,
|
||||
-0.069465525,
|
||||
0.052020393,
|
||||
0.056193035,
|
||||
0.033971597,
|
||||
0.005210592,
|
||||
0.078895815,
|
||||
-0.019023085,
|
||||
5.606078e-05,
|
||||
0.11005375,
|
||||
0.00561175,
|
||||
-0.019272799,
|
||||
0.026027812,
|
||||
-0.06131601,
|
||||
-0.011148418,
|
||||
-0.032465253,
|
||||
0.026716042,
|
||||
-0.03886674,
|
||||
-0.0759903,
|
||||
-0.0061513656,
|
||||
0.049423866,
|
||||
-0.055821903,
|
||||
-0.024968743,
|
||||
0.037209604,
|
||||
0.014002402,
|
||||
-0.021358877,
|
||||
-0.02458481,
|
||||
0.05008321,
|
||||
-0.031584553,
|
||||
-0.048197404,
|
||||
-0.022181684,
|
||||
-0.02293868,
|
||||
-0.012057256,
|
||||
0.017739978,
|
||||
-0.019266011,
|
||||
-0.018707512,
|
||||
5.874863e-34,
|
||||
-0.027774926,
|
||||
-0.01628369,
|
||||
-0.030606823,
|
||||
0.0030768446,
|
||||
-0.013620647,
|
||||
0.013607563,
|
||||
0.012500588,
|
||||
-0.12636122,
|
||||
0.003114705,
|
||||
0.020748,
|
||||
0.0032593068,
|
||||
0.00955475,
|
||||
0.040658835,
|
||||
-0.06274069,
|
||||
0.043445643,
|
||||
0.05112685,
|
||||
-0.027120586,
|
||||
-0.07154828,
|
||||
-0.04856933,
|
||||
-0.039851334,
|
||||
-0.021135362,
|
||||
0.08140574,
|
||||
-0.08054097,
|
||||
-0.0352517,
|
||||
0.028707877,
|
||||
-0.017911764,
|
||||
-0.105602115,
|
||||
-0.1456371,
|
||||
0.05109306,
|
||||
0.037721474,
|
||||
-0.018393144,
|
||||
-0.04670456,
|
||||
-0.010012838,
|
||||
0.0070661786,
|
||||
0.01718129,
|
||||
-0.0152612645,
|
||||
0.06257437,
|
||||
-0.010648009,
|
||||
0.055472728,
|
||||
0.0076398435,
|
||||
-0.012911289,
|
||||
0.11340586,
|
||||
0.0062300097,
|
||||
-0.023628544,
|
||||
0.0451771,
|
||||
0.040881336,
|
||||
-0.012546607,
|
||||
0.107069954,
|
||||
-0.040827636,
|
||||
-0.039625224,
|
||||
0.086943075,
|
||||
0.02463338,
|
||||
0.029724725,
|
||||
-0.07418139,
|
||||
0.08615357,
|
||||
0.012526386,
|
||||
-0.048520107,
|
||||
0.021346126,
|
||||
0.015401712,
|
||||
0.05206262,
|
||||
-0.059071172,
|
||||
-0.040299848,
|
||||
0.045304313,
|
||||
0.050905313,
|
||||
-0.025824293,
|
||||
-0.02050251,
|
||||
-0.066599905,
|
||||
-0.058739703,
|
||||
-0.04681202,
|
||||
-0.122372836,
|
||||
0.03961065,
|
||||
0.060646072,
|
||||
-0.020943962,
|
||||
0.05637889,
|
||||
-0.121316396,
|
||||
-0.029866785,
|
||||
-0.025299111,
|
||||
0.01346038,
|
||||
-0.0035995352,
|
||||
0.08078866,
|
||||
-0.004042329,
|
||||
0.004386873,
|
||||
0.00642668,
|
||||
0.03452551,
|
||||
0.0026174714,
|
||||
0.03649033,
|
||||
0.06241774,
|
||||
-0.06870471,
|
||||
-0.021478085,
|
||||
-0.08813823,
|
||||
-0.066771664,
|
||||
-0.025059622,
|
||||
-0.04362152,
|
||||
0.07309467,
|
||||
-0.050303426,
|
||||
-1.6242064e-08,
|
||||
-0.04860963,
|
||||
-0.056240723,
|
||||
0.017135851,
|
||||
-0.058168963,
|
||||
0.02380126,
|
||||
-0.01269811,
|
||||
-0.010935133,
|
||||
0.121548,
|
||||
-0.008468518,
|
||||
0.01312642,
|
||||
0.056417845,
|
||||
0.001745541,
|
||||
-0.06339625,
|
||||
0.0011892327,
|
||||
0.07962892,
|
||||
0.032180272,
|
||||
0.09379525,
|
||||
-0.08279229,
|
||||
-0.038770583,
|
||||
0.05602728,
|
||||
0.050186045,
|
||||
-0.0002204473,
|
||||
-0.08992176,
|
||||
0.0820179,
|
||||
0.06597213,
|
||||
-0.032315623,
|
||||
0.049116198,
|
||||
0.05539249,
|
||||
-0.03212872,
|
||||
0.019493975,
|
||||
0.009433956,
|
||||
-0.046522886,
|
||||
0.048498902,
|
||||
0.068869725,
|
||||
0.103564635,
|
||||
0.01809954,
|
||||
0.06455212,
|
||||
0.02978335,
|
||||
-0.046306483,
|
||||
-0.113863915,
|
||||
-0.011921847,
|
||||
0.020680778,
|
||||
-0.03264169,
|
||||
0.09134996,
|
||||
0.09192247,
|
||||
0.022789994,
|
||||
-0.07053687,
|
||||
0.08713363,
|
||||
-0.032319076,
|
||||
0.025547152,
|
||||
-0.04827912,
|
||||
0.03129379,
|
||||
0.0023230815,
|
||||
-0.0062460257,
|
||||
-0.020319907,
|
||||
0.012855849,
|
||||
0.011000575,
|
||||
-0.043819454,
|
||||
-0.016704831,
|
||||
0.041362077,
|
||||
0.0058780382,
|
||||
0.015617928,
|
||||
0.038075592,
|
||||
-0.0739032
|
||||
],
|
||||
"index": 0,
|
||||
"object": "embedding"
|
||||
}
|
||||
],
|
||||
"model": "all-minilm:l6-v2",
|
||||
"object": "list",
|
||||
"usage": {
|
||||
"prompt_tokens": 9,
|
||||
"total_tokens": 9
|
||||
}
|
||||
}
|
||||
},
|
||||
"is_streaming": false
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,423 @@
|
|||
{
|
||||
"test_id": "tests/integration/vector_io/test_openai_vector_stores.py::test_openai_vector_store_delete_file[client_with_models-ollama/llama3.2:3b-instruct-fp16-None-ollama/all-minilm:l6-v2-None-384]",
|
||||
"request": {
|
||||
"method": "POST",
|
||||
"url": "http://0.0.0.0:11434/v1/v1/embeddings",
|
||||
"headers": {},
|
||||
"body": {
|
||||
"model": "all-minilm:l6-v2",
|
||||
"input": [
|
||||
"This is a test file 0"
|
||||
],
|
||||
"encoding_format": "float"
|
||||
},
|
||||
"endpoint": "/v1/embeddings",
|
||||
"model": "all-minilm:l6-v2"
|
||||
},
|
||||
"response": {
|
||||
"body": {
|
||||
"__type__": "openai.types.create_embedding_response.CreateEmbeddingResponse",
|
||||
"__data__": {
|
||||
"data": [
|
||||
{
|
||||
"embedding": [
|
||||
-0.021802,
|
||||
0.088129535,
|
||||
-0.10867403,
|
||||
0.0027561262,
|
||||
0.04917365,
|
||||
-0.030165128,
|
||||
-0.0155558735,
|
||||
0.027549915,
|
||||
-0.025064131,
|
||||
0.016137881,
|
||||
0.124836035,
|
||||
0.0027821937,
|
||||
-0.033310093,
|
||||
-0.0071708336,
|
||||
-0.07004796,
|
||||
-0.027996853,
|
||||
-0.09748515,
|
||||
-0.091607764,
|
||||
0.013367206,
|
||||
0.08752305,
|
||||
0.013990884,
|
||||
0.03663788,
|
||||
-0.036330026,
|
||||
-0.019752761,
|
||||
0.04456914,
|
||||
-0.009629443,
|
||||
-0.01832647,
|
||||
0.048832405,
|
||||
-0.015315298,
|
||||
-0.07147843,
|
||||
0.04094573,
|
||||
0.082709365,
|
||||
0.063961774,
|
||||
0.01448001,
|
||||
0.13194442,
|
||||
0.0303949,
|
||||
0.101027474,
|
||||
-0.030359762,
|
||||
-0.047630757,
|
||||
0.044637363,
|
||||
0.027034018,
|
||||
-0.029368822,
|
||||
0.038537122,
|
||||
0.0053882804,
|
||||
0.01478374,
|
||||
0.025617138,
|
||||
0.0041860593,
|
||||
0.0034900715,
|
||||
0.029765956,
|
||||
-0.036669906,
|
||||
-0.04589116,
|
||||
0.031120853,
|
||||
-0.07786974,
|
||||
-0.019517597,
|
||||
0.053876307,
|
||||
-0.0152282175,
|
||||
-0.0016955235,
|
||||
0.016938528,
|
||||
0.019939963,
|
||||
0.07106882,
|
||||
0.009938938,
|
||||
0.03114348,
|
||||
-0.010335175,
|
||||
0.029952966,
|
||||
0.115054145,
|
||||
0.025746102,
|
||||
-0.052842245,
|
||||
-0.042447682,
|
||||
0.0053093657,
|
||||
-0.09987591,
|
||||
-0.12741813,
|
||||
-0.012022532,
|
||||
-0.013787561,
|
||||
0.05265948,
|
||||
-0.01723935,
|
||||
0.009638554,
|
||||
-0.0775266,
|
||||
0.0014047497,
|
||||
0.06974368,
|
||||
-0.08465856,
|
||||
-0.061480872,
|
||||
-0.14244927,
|
||||
0.0096944375,
|
||||
-0.008611519,
|
||||
-0.0318523,
|
||||
0.12823504,
|
||||
0.053257603,
|
||||
0.021978743,
|
||||
0.0026468195,
|
||||
0.015444479,
|
||||
-0.042528655,
|
||||
0.031551417,
|
||||
-0.06209267,
|
||||
0.044017885,
|
||||
-0.0060390937,
|
||||
0.06959196,
|
||||
0.0050514904,
|
||||
0.059341036,
|
||||
0.00658094,
|
||||
0.08397857,
|
||||
-0.0067914296,
|
||||
-0.041901726,
|
||||
0.027081704,
|
||||
0.106456675,
|
||||
-0.039408114,
|
||||
-0.053899165,
|
||||
0.09689717,
|
||||
-0.0084604705,
|
||||
0.03398384,
|
||||
-0.033843804,
|
||||
0.002225838,
|
||||
-0.08180734,
|
||||
-0.008216738,
|
||||
-0.11271415,
|
||||
0.0058824755,
|
||||
-0.095151186,
|
||||
-0.07958445,
|
||||
0.052868627,
|
||||
-0.08120183,
|
||||
0.034291897,
|
||||
0.07903789,
|
||||
-0.02675632,
|
||||
-0.04391073,
|
||||
0.0067707864,
|
||||
-0.05438546,
|
||||
-0.021719433,
|
||||
0.080597855,
|
||||
-3.9388086e-33,
|
||||
-0.0072714644,
|
||||
-0.079664536,
|
||||
0.024838887,
|
||||
0.115598045,
|
||||
0.03591746,
|
||||
-0.07254434,
|
||||
0.012642099,
|
||||
0.050809097,
|
||||
-0.100082524,
|
||||
0.019521356,
|
||||
0.0035883472,
|
||||
-0.07001022,
|
||||
0.007977421,
|
||||
0.029305879,
|
||||
-0.017785804,
|
||||
0.02702277,
|
||||
0.016827941,
|
||||
0.035956737,
|
||||
-0.0209356,
|
||||
-0.032321777,
|
||||
0.056705642,
|
||||
-0.009747762,
|
||||
-0.059722506,
|
||||
-0.053817417,
|
||||
-0.055837773,
|
||||
0.06526892,
|
||||
-0.024752634,
|
||||
-0.07778206,
|
||||
0.038636208,
|
||||
0.008998632,
|
||||
0.009699391,
|
||||
-0.02798574,
|
||||
-0.024878206,
|
||||
-0.0017547129,
|
||||
0.025541965,
|
||||
0.034623418,
|
||||
-8.975541e-06,
|
||||
0.0034556785,
|
||||
-0.04525613,
|
||||
0.03461154,
|
||||
-0.025307115,
|
||||
-0.02981576,
|
||||
-0.019071916,
|
||||
-0.023184983,
|
||||
0.049324982,
|
||||
-0.061433185,
|
||||
0.00038017757,
|
||||
0.0028894164,
|
||||
0.027610173,
|
||||
0.0069347974,
|
||||
-0.020659719,
|
||||
0.060771395,
|
||||
0.015200205,
|
||||
0.038918514,
|
||||
-0.025353896,
|
||||
-0.0017897633,
|
||||
-0.019378036,
|
||||
-0.0056970986,
|
||||
-0.017806012,
|
||||
0.038060427,
|
||||
0.0320353,
|
||||
0.03998783,
|
||||
-0.09612384,
|
||||
0.0006942505,
|
||||
-0.018478483,
|
||||
-0.06866618,
|
||||
-0.0077035497,
|
||||
-0.083554305,
|
||||
0.10223985,
|
||||
0.05141575,
|
||||
-0.033018276,
|
||||
-0.05033401,
|
||||
0.043923385,
|
||||
0.017748218,
|
||||
-0.006601344,
|
||||
-0.018691983,
|
||||
0.012763011,
|
||||
0.016694913,
|
||||
-0.095070764,
|
||||
-0.023533016,
|
||||
0.006879241,
|
||||
-0.07225332,
|
||||
-0.0029991802,
|
||||
-0.06930797,
|
||||
-0.027289826,
|
||||
-0.0672911,
|
||||
-0.006683099,
|
||||
-0.06801406,
|
||||
0.04452207,
|
||||
-0.09788058,
|
||||
0.050909285,
|
||||
0.010051549,
|
||||
-0.04617998,
|
||||
-0.067622505,
|
||||
0.04447288,
|
||||
2.5643933e-33,
|
||||
0.014783131,
|
||||
0.071710624,
|
||||
-0.05237768,
|
||||
0.011041238,
|
||||
-0.013921518,
|
||||
0.07072471,
|
||||
0.091977395,
|
||||
-0.01916791,
|
||||
-0.015780058,
|
||||
0.14812021,
|
||||
0.031904023,
|
||||
0.022344623,
|
||||
0.07071857,
|
||||
-0.037060503,
|
||||
0.08806883,
|
||||
-0.018145561,
|
||||
-0.013254877,
|
||||
-0.041782882,
|
||||
-0.052317847,
|
||||
-0.00279131,
|
||||
-0.024807084,
|
||||
0.13974102,
|
||||
0.074973755,
|
||||
0.056424167,
|
||||
-0.029412953,
|
||||
0.017093861,
|
||||
0.03373144,
|
||||
0.06874087,
|
||||
0.020454561,
|
||||
-0.018965451,
|
||||
0.081238694,
|
||||
0.06527906,
|
||||
-0.09342225,
|
||||
0.0037720343,
|
||||
0.06347132,
|
||||
-0.08775714,
|
||||
0.09286548,
|
||||
-0.024266576,
|
||||
0.029101077,
|
||||
0.0034162905,
|
||||
0.05528427,
|
||||
0.102037616,
|
||||
-0.023588225,
|
||||
0.065829135,
|
||||
0.01520327,
|
||||
0.034344077,
|
||||
0.10559419,
|
||||
0.011605323,
|
||||
0.0409873,
|
||||
-0.056635953,
|
||||
0.037730522,
|
||||
-0.04976337,
|
||||
0.047961522,
|
||||
0.0042118295,
|
||||
-0.014172872,
|
||||
0.07564937,
|
||||
-0.009671058,
|
||||
0.05520304,
|
||||
-0.031121492,
|
||||
0.019924358,
|
||||
-0.024975697,
|
||||
0.031822197,
|
||||
-0.019536836,
|
||||
-0.009870229,
|
||||
-0.020225972,
|
||||
-0.03319855,
|
||||
-0.026266782,
|
||||
0.038882248,
|
||||
0.012940086,
|
||||
-0.041266225,
|
||||
0.012833021,
|
||||
0.028703777,
|
||||
-0.054075323,
|
||||
-0.07628176,
|
||||
0.021953572,
|
||||
-0.023357453,
|
||||
-0.026714878,
|
||||
-0.029401133,
|
||||
0.005280363,
|
||||
0.012325193,
|
||||
0.05232579,
|
||||
0.0054451786,
|
||||
-0.0063759633,
|
||||
0.04604998,
|
||||
0.042399842,
|
||||
-0.018433316,
|
||||
0.01260558,
|
||||
0.09300185,
|
||||
-0.005949781,
|
||||
-0.015193224,
|
||||
-0.011673769,
|
||||
0.048114438,
|
||||
0.02588804,
|
||||
0.050943956,
|
||||
0.005536351,
|
||||
-1.5059804e-08,
|
||||
-0.03100338,
|
||||
-0.07003323,
|
||||
-0.032613333,
|
||||
-0.008732137,
|
||||
-0.0045523546,
|
||||
0.0759239,
|
||||
-0.032725554,
|
||||
-0.08790561,
|
||||
-0.032228027,
|
||||
-0.02459868,
|
||||
0.051224917,
|
||||
-0.034561895,
|
||||
-0.08266327,
|
||||
0.013319846,
|
||||
-0.020541467,
|
||||
-0.056271035,
|
||||
-0.009450659,
|
||||
-0.015903467,
|
||||
-0.036625408,
|
||||
0.010096497,
|
||||
-0.03440534,
|
||||
0.0315293,
|
||||
-0.00013937108,
|
||||
0.010463861,
|
||||
0.017065981,
|
||||
0.015492903,
|
||||
0.074808784,
|
||||
0.07079003,
|
||||
-0.050000764,
|
||||
-0.047017526,
|
||||
0.01375958,
|
||||
0.060757488,
|
||||
-0.009361379,
|
||||
-0.01570009,
|
||||
-0.01836736,
|
||||
0.12301148,
|
||||
0.1185397,
|
||||
0.12366319,
|
||||
0.022782512,
|
||||
-0.020027133,
|
||||
-0.07401259,
|
||||
-0.0047104736,
|
||||
-0.024872223,
|
||||
0.006070436,
|
||||
-0.06660639,
|
||||
-0.08130306,
|
||||
-0.0873992,
|
||||
-0.0634906,
|
||||
-0.039198957,
|
||||
-0.11274462,
|
||||
-0.030654918,
|
||||
0.026607778,
|
||||
-0.063220546,
|
||||
0.042023618,
|
||||
-0.039010853,
|
||||
-0.009214424,
|
||||
0.005044682,
|
||||
0.0015641748,
|
||||
-0.058640927,
|
||||
0.043107104,
|
||||
0.06682025,
|
||||
0.062172387,
|
||||
0.021147223,
|
||||
-0.041068073
|
||||
],
|
||||
"index": 0,
|
||||
"object": "embedding"
|
||||
}
|
||||
],
|
||||
"model": "all-minilm:l6-v2",
|
||||
"object": "list",
|
||||
"usage": {
|
||||
"prompt_tokens": 6,
|
||||
"total_tokens": 6
|
||||
}
|
||||
}
|
||||
},
|
||||
"is_streaming": false
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,423 @@
|
|||
{
|
||||
"test_id": "tests/integration/vector_io/test_openai_vector_stores.py::test_openai_vector_store_delete_file_removes_from_vector_store[client_with_models-ollama/llama3.2:3b-instruct-fp16-None-ollama/all-minilm:l6-v2-None-384]",
|
||||
"request": {
|
||||
"method": "POST",
|
||||
"url": "http://0.0.0.0:11434/v1/v1/embeddings",
|
||||
"headers": {},
|
||||
"body": {
|
||||
"model": "all-minilm:l6-v2",
|
||||
"input": [
|
||||
"What is the secret string?"
|
||||
],
|
||||
"encoding_format": "float"
|
||||
},
|
||||
"endpoint": "/v1/embeddings",
|
||||
"model": "all-minilm:l6-v2"
|
||||
},
|
||||
"response": {
|
||||
"body": {
|
||||
"__type__": "openai.types.create_embedding_response.CreateEmbeddingResponse",
|
||||
"__data__": {
|
||||
"data": [
|
||||
{
|
||||
"embedding": [
|
||||
-0.07473014,
|
||||
0.08137506,
|
||||
-0.06463602,
|
||||
0.011821943,
|
||||
-0.07454815,
|
||||
0.021821007,
|
||||
0.077573344,
|
||||
0.012804661,
|
||||
0.05853777,
|
||||
-0.014141324,
|
||||
0.053993534,
|
||||
-0.026554074,
|
||||
-0.018055506,
|
||||
-0.060447972,
|
||||
-0.019253474,
|
||||
-0.006501444,
|
||||
-0.047272332,
|
||||
-0.048944764,
|
||||
-0.090516366,
|
||||
-0.06656194,
|
||||
0.09287066,
|
||||
0.02129739,
|
||||
-0.013401809,
|
||||
-0.006629013,
|
||||
0.0079892,
|
||||
0.016818035,
|
||||
0.03971694,
|
||||
0.021875564,
|
||||
0.014873574,
|
||||
-0.039426163,
|
||||
0.025255844,
|
||||
-0.036836684,
|
||||
0.016627828,
|
||||
0.008789532,
|
||||
-0.053503897,
|
||||
0.03616121,
|
||||
-0.034633957,
|
||||
-0.009877797,
|
||||
0.064843215,
|
||||
-0.01517806,
|
||||
0.020897496,
|
||||
-0.07135096,
|
||||
-0.008519908,
|
||||
0.05118655,
|
||||
-0.062102985,
|
||||
0.059486073,
|
||||
-0.047937352,
|
||||
0.07045817,
|
||||
-0.024867272,
|
||||
-0.010756205,
|
||||
0.06538509,
|
||||
-0.03693754,
|
||||
-0.08240387,
|
||||
0.08169191,
|
||||
0.017090658,
|
||||
0.012944557,
|
||||
-0.047139525,
|
||||
0.0025796075,
|
||||
0.008701712,
|
||||
0.099866174,
|
||||
0.04969699,
|
||||
-0.025922626,
|
||||
-0.017354922,
|
||||
0.03395182,
|
||||
0.038391408,
|
||||
-0.054247838,
|
||||
0.008610521,
|
||||
-0.04077977,
|
||||
0.0265637,
|
||||
-0.07186012,
|
||||
-0.019953186,
|
||||
-0.041191205,
|
||||
-0.07246228,
|
||||
0.00041248833,
|
||||
0.018758524,
|
||||
0.023036895,
|
||||
0.01662864,
|
||||
-0.06335885,
|
||||
0.03495032,
|
||||
0.050063577,
|
||||
0.00043262896,
|
||||
-0.06176693,
|
||||
0.0062733325,
|
||||
0.11142063,
|
||||
0.0040838965,
|
||||
0.085737824,
|
||||
0.023284689,
|
||||
0.05699812,
|
||||
-0.03149832,
|
||||
-0.013344509,
|
||||
-0.045138564,
|
||||
-0.117300816,
|
||||
0.016063986,
|
||||
-0.016894838,
|
||||
-0.028934335,
|
||||
0.03575864,
|
||||
-0.05156192,
|
||||
0.032958068,
|
||||
-0.11266628,
|
||||
0.06640015,
|
||||
0.037839692,
|
||||
0.022948038,
|
||||
0.058071073,
|
||||
-0.039643735,
|
||||
-0.03247236,
|
||||
0.017690921,
|
||||
-0.005001274,
|
||||
0.019046135,
|
||||
0.07745316,
|
||||
-0.020402163,
|
||||
-0.020310633,
|
||||
-0.009519755,
|
||||
0.0031459313,
|
||||
-0.0045639877,
|
||||
-0.029116316,
|
||||
0.033835515,
|
||||
0.00050839526,
|
||||
0.06419946,
|
||||
0.010721198,
|
||||
0.124151744,
|
||||
-0.0053820186,
|
||||
0.00491648,
|
||||
-0.059696514,
|
||||
0.029483523,
|
||||
-0.13409872,
|
||||
0.016187217,
|
||||
-0.048092023,
|
||||
-6.6084764e-33,
|
||||
0.012305612,
|
||||
0.060384244,
|
||||
0.036461998,
|
||||
-0.035974216,
|
||||
-0.04197416,
|
||||
0.012333701,
|
||||
-0.084805995,
|
||||
0.012502633,
|
||||
0.02794982,
|
||||
0.0861082,
|
||||
-0.030791838,
|
||||
-0.061355945,
|
||||
-0.0009604986,
|
||||
-0.0252044,
|
||||
0.045444816,
|
||||
-0.027590565,
|
||||
-0.009594973,
|
||||
0.006712001,
|
||||
0.043692384,
|
||||
-0.021483036,
|
||||
0.003300438,
|
||||
0.11860881,
|
||||
0.047044385,
|
||||
-0.1348901,
|
||||
0.025469579,
|
||||
-0.01029819,
|
||||
0.0022393467,
|
||||
-0.061863262,
|
||||
0.10386513,
|
||||
0.018658707,
|
||||
-0.0017492755,
|
||||
-0.051914047,
|
||||
0.046442248,
|
||||
0.03761067,
|
||||
0.033752125,
|
||||
0.006650237,
|
||||
0.022015076,
|
||||
-0.07834835,
|
||||
-0.008209136,
|
||||
0.027432231,
|
||||
0.017393896,
|
||||
-0.07524756,
|
||||
0.006497012,
|
||||
0.027272953,
|
||||
0.0005804994,
|
||||
-0.010941825,
|
||||
-0.020050043,
|
||||
-0.00012092298,
|
||||
0.013705002,
|
||||
0.004699541,
|
||||
0.022770848,
|
||||
0.015477994,
|
||||
-0.0142482165,
|
||||
-0.013953546,
|
||||
0.015865315,
|
||||
-0.023075614,
|
||||
0.03379947,
|
||||
-0.039221376,
|
||||
-0.043229815,
|
||||
0.02998769,
|
||||
-0.01652291,
|
||||
0.06981088,
|
||||
0.04606923,
|
||||
0.05332633,
|
||||
-0.055300076,
|
||||
0.02511626,
|
||||
0.014049543,
|
||||
-0.09398743,
|
||||
0.03590562,
|
||||
0.029452223,
|
||||
-0.13200304,
|
||||
-0.005059034,
|
||||
-0.03784268,
|
||||
-0.03180819,
|
||||
-0.095502876,
|
||||
-0.027853556,
|
||||
0.0024331037,
|
||||
-0.007881495,
|
||||
0.058296,
|
||||
-0.031999517,
|
||||
-0.06077097,
|
||||
-0.023381822,
|
||||
-0.00048603877,
|
||||
0.13765746,
|
||||
-0.060579,
|
||||
-0.008109843,
|
||||
-0.034873307,
|
||||
-0.1024547,
|
||||
-0.009072849,
|
||||
-0.018931676,
|
||||
-0.0016711762,
|
||||
-0.07710289,
|
||||
-0.043332253,
|
||||
-0.03619527,
|
||||
0.03958017,
|
||||
3.0217083e-33,
|
||||
0.0050329794,
|
||||
0.00016030145,
|
||||
-0.063078895,
|
||||
0.012225751,
|
||||
0.10637338,
|
||||
0.015972024,
|
||||
0.006653195,
|
||||
0.01880781,
|
||||
-0.04708357,
|
||||
0.045863643,
|
||||
0.0076015075,
|
||||
0.03243478,
|
||||
0.032097474,
|
||||
-0.020893326,
|
||||
0.10697852,
|
||||
0.0075498912,
|
||||
0.036074348,
|
||||
0.1462344,
|
||||
0.03779065,
|
||||
-0.043190572,
|
||||
-0.02176097,
|
||||
-0.009340132,
|
||||
-0.06983617,
|
||||
0.015578788,
|
||||
0.021121953,
|
||||
0.030661412,
|
||||
0.08434581,
|
||||
-0.09288574,
|
||||
0.008169474,
|
||||
0.078080945,
|
||||
-0.081626564,
|
||||
0.011895231,
|
||||
0.017099649,
|
||||
0.0040119104,
|
||||
-0.14145434,
|
||||
0.0040375097,
|
||||
0.046316408,
|
||||
0.008959473,
|
||||
-0.0056506568,
|
||||
-0.055587813,
|
||||
0.028007837,
|
||||
0.055937108,
|
||||
0.062269785,
|
||||
0.08602392,
|
||||
-0.12157818,
|
||||
0.021943888,
|
||||
-0.0050934856,
|
||||
0.029819332,
|
||||
-0.012127162,
|
||||
0.048801802,
|
||||
0.06409215,
|
||||
-0.041438665,
|
||||
0.01809265,
|
||||
-0.028214281,
|
||||
-0.0213588,
|
||||
0.05564267,
|
||||
-0.1547868,
|
||||
0.027465124,
|
||||
0.018855799,
|
||||
0.04327939,
|
||||
0.011500479,
|
||||
0.017364705,
|
||||
-0.023216385,
|
||||
0.051007293,
|
||||
0.02946264,
|
||||
0.012533944,
|
||||
-0.04542834,
|
||||
-0.002238765,
|
||||
-0.05611544,
|
||||
-0.0789272,
|
||||
0.07960444,
|
||||
-0.020431034,
|
||||
-0.0762138,
|
||||
0.011588508,
|
||||
-0.035614885,
|
||||
-0.04803985,
|
||||
-0.06607436,
|
||||
-0.057365946,
|
||||
-0.040188126,
|
||||
0.07176218,
|
||||
0.03135825,
|
||||
0.02303279,
|
||||
-0.023997622,
|
||||
0.023614945,
|
||||
0.09607302,
|
||||
-0.06843066,
|
||||
0.014260722,
|
||||
0.08802569,
|
||||
-0.037736766,
|
||||
0.029445928,
|
||||
-0.028643936,
|
||||
0.10217973,
|
||||
-0.0660917,
|
||||
0.022864237,
|
||||
0.042151757,
|
||||
-1.4814046e-08,
|
||||
0.030838449,
|
||||
0.043877687,
|
||||
-0.0245681,
|
||||
-0.09818859,
|
||||
0.056659035,
|
||||
0.0929652,
|
||||
-0.010337853,
|
||||
-0.0983916,
|
||||
0.018008571,
|
||||
-0.0131424805,
|
||||
0.026400762,
|
||||
0.008793538,
|
||||
-0.05285605,
|
||||
-0.042175982,
|
||||
0.030133193,
|
||||
0.01710666,
|
||||
-0.06242493,
|
||||
-0.018753909,
|
||||
-0.015986755,
|
||||
-0.018400662,
|
||||
-0.026477808,
|
||||
0.010281372,
|
||||
-0.030476814,
|
||||
-0.084556945,
|
||||
-0.05402664,
|
||||
0.010030052,
|
||||
0.029531356,
|
||||
0.13555466,
|
||||
0.033426728,
|
||||
0.12098221,
|
||||
0.040777553,
|
||||
0.008206964,
|
||||
-0.018235989,
|
||||
-0.0568263,
|
||||
-0.1289943,
|
||||
0.12416113,
|
||||
-0.053454727,
|
||||
-0.038151894,
|
||||
0.030221034,
|
||||
0.019807614,
|
||||
0.047819767,
|
||||
0.029434063,
|
||||
0.0015704447,
|
||||
0.0611775,
|
||||
-0.05557245,
|
||||
-0.030236417,
|
||||
0.10799873,
|
||||
-0.07073352,
|
||||
-0.08215229,
|
||||
0.004518122,
|
||||
-0.015573616,
|
||||
-0.013696145,
|
||||
-0.0023438279,
|
||||
0.026377691,
|
||||
-0.015769389,
|
||||
0.016251203,
|
||||
-0.04062322,
|
||||
-0.013962793,
|
||||
-0.08309221,
|
||||
0.031991288,
|
||||
0.049991824,
|
||||
-0.0038595141,
|
||||
0.07031122,
|
||||
0.0049263495
|
||||
],
|
||||
"index": 0,
|
||||
"object": "embedding"
|
||||
}
|
||||
],
|
||||
"model": "all-minilm:l6-v2",
|
||||
"object": "list",
|
||||
"usage": {
|
||||
"prompt_tokens": 6,
|
||||
"total_tokens": 6
|
||||
}
|
||||
}
|
||||
},
|
||||
"is_streaming": false
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,78 @@
|
|||
{
|
||||
"test_id": "tests/integration/vector_io/test_openai_vector_stores.py::test_openai_vector_store_search_with_ranking_options[client_with_models-ollama/llama3.2:3b-instruct-fp16-None-ollama/all-minilm:l6-v2-None-384]",
|
||||
"request": {
|
||||
"method": "POST",
|
||||
"url": "http://localhost:11434/api/ps",
|
||||
"headers": {},
|
||||
"body": {},
|
||||
"endpoint": "/api/ps",
|
||||
"model": ""
|
||||
},
|
||||
"response": {
|
||||
"body": {
|
||||
"__type__": "ollama._types.ProcessResponse",
|
||||
"__data__": {
|
||||
"models": [
|
||||
{
|
||||
"model": "all-minilm:l6-v2",
|
||||
"name": "all-minilm:l6-v2",
|
||||
"digest": "1b226e2802dbb772b5fc32a58f103ca1804ef7501331012de126ab22f67475ef",
|
||||
"expires_at": "2025-10-03T21:21:08.070692-07:00",
|
||||
"size": 585846784,
|
||||
"size_vram": 585846784,
|
||||
"details": {
|
||||
"parent_model": "",
|
||||
"format": "gguf",
|
||||
"family": "bert",
|
||||
"families": [
|
||||
"bert"
|
||||
],
|
||||
"parameter_size": "23M",
|
||||
"quantization_level": "F16"
|
||||
},
|
||||
"context_length": 256
|
||||
},
|
||||
{
|
||||
"model": "llama3.2:3b-instruct-fp16",
|
||||
"name": "llama3.2:3b-instruct-fp16",
|
||||
"digest": "195a8c01d91ec3cb1e0aad4624a51f2602c51fa7d96110f8ab5a20c84081804d",
|
||||
"expires_at": "2025-10-03T21:20:56.787737-07:00",
|
||||
"size": 7919570944,
|
||||
"size_vram": 7919570944,
|
||||
"details": {
|
||||
"parent_model": "",
|
||||
"format": "gguf",
|
||||
"family": "llama",
|
||||
"families": [
|
||||
"llama"
|
||||
],
|
||||
"parameter_size": "3.2B",
|
||||
"quantization_level": "F16"
|
||||
},
|
||||
"context_length": 4096
|
||||
},
|
||||
{
|
||||
"model": "llama-guard3:1b",
|
||||
"name": "llama-guard3:1b",
|
||||
"digest": "494147e06bf99e10dbe67b63a07ac81c162f18ef3341aa3390007ac828571b3b",
|
||||
"expires_at": "2025-10-03T21:16:14.288654-07:00",
|
||||
"size": 2350966784,
|
||||
"size_vram": 2350966784,
|
||||
"details": {
|
||||
"parent_model": "",
|
||||
"format": "gguf",
|
||||
"family": "llama",
|
||||
"families": [
|
||||
"llama"
|
||||
],
|
||||
"parameter_size": "1.5B",
|
||||
"quantization_level": "Q8_0"
|
||||
},
|
||||
"context_length": 4096
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
"is_streaming": false
|
||||
}
|
||||
}
|
||||
File diff suppressed because it is too large
Load diff
|
|
@ -0,0 +1,78 @@
|
|||
{
|
||||
"test_id": "tests/integration/vector_io/test_openai_vector_stores.py::test_openai_update_vector_store[client_with_models-ollama/llama3.2:3b-instruct-fp16-None-ollama/all-minilm:l6-v2-None-384]",
|
||||
"request": {
|
||||
"method": "POST",
|
||||
"url": "http://localhost:11434/api/ps",
|
||||
"headers": {},
|
||||
"body": {},
|
||||
"endpoint": "/api/ps",
|
||||
"model": ""
|
||||
},
|
||||
"response": {
|
||||
"body": {
|
||||
"__type__": "ollama._types.ProcessResponse",
|
||||
"__data__": {
|
||||
"models": [
|
||||
{
|
||||
"model": "llama3.2:3b-instruct-fp16",
|
||||
"name": "llama3.2:3b-instruct-fp16",
|
||||
"digest": "195a8c01d91ec3cb1e0aad4624a51f2602c51fa7d96110f8ab5a20c84081804d",
|
||||
"expires_at": "2025-10-03T21:20:56.787737-07:00",
|
||||
"size": 7919570944,
|
||||
"size_vram": 7919570944,
|
||||
"details": {
|
||||
"parent_model": "",
|
||||
"format": "gguf",
|
||||
"family": "llama",
|
||||
"families": [
|
||||
"llama"
|
||||
],
|
||||
"parameter_size": "3.2B",
|
||||
"quantization_level": "F16"
|
||||
},
|
||||
"context_length": 4096
|
||||
},
|
||||
{
|
||||
"model": "all-minilm:l6-v2",
|
||||
"name": "all-minilm:l6-v2",
|
||||
"digest": "1b226e2802dbb772b5fc32a58f103ca1804ef7501331012de126ab22f67475ef",
|
||||
"expires_at": "2025-10-03T21:19:00.464427-07:00",
|
||||
"size": 585846784,
|
||||
"size_vram": 585846784,
|
||||
"details": {
|
||||
"parent_model": "",
|
||||
"format": "gguf",
|
||||
"family": "bert",
|
||||
"families": [
|
||||
"bert"
|
||||
],
|
||||
"parameter_size": "23M",
|
||||
"quantization_level": "F16"
|
||||
},
|
||||
"context_length": 256
|
||||
},
|
||||
{
|
||||
"model": "llama-guard3:1b",
|
||||
"name": "llama-guard3:1b",
|
||||
"digest": "494147e06bf99e10dbe67b63a07ac81c162f18ef3341aa3390007ac828571b3b",
|
||||
"expires_at": "2025-10-03T21:16:14.288654-07:00",
|
||||
"size": 2350966784,
|
||||
"size_vram": 2350966784,
|
||||
"details": {
|
||||
"parent_model": "",
|
||||
"format": "gguf",
|
||||
"family": "llama",
|
||||
"families": [
|
||||
"llama"
|
||||
],
|
||||
"parameter_size": "1.5B",
|
||||
"quantization_level": "Q8_0"
|
||||
},
|
||||
"context_length": 4096
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
"is_streaming": false
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,78 @@
|
|||
{
|
||||
"test_id": "tests/integration/vector_io/test_openai_vector_stores.py::test_openai_vector_store_update_file[client_with_models-ollama/llama3.2:3b-instruct-fp16-None-ollama/all-minilm:l6-v2-None-384]",
|
||||
"request": {
|
||||
"method": "POST",
|
||||
"url": "http://localhost:11434/api/ps",
|
||||
"headers": {},
|
||||
"body": {},
|
||||
"endpoint": "/api/ps",
|
||||
"model": ""
|
||||
},
|
||||
"response": {
|
||||
"body": {
|
||||
"__type__": "ollama._types.ProcessResponse",
|
||||
"__data__": {
|
||||
"models": [
|
||||
{
|
||||
"model": "all-minilm:l6-v2",
|
||||
"name": "all-minilm:l6-v2",
|
||||
"digest": "1b226e2802dbb772b5fc32a58f103ca1804ef7501331012de126ab22f67475ef",
|
||||
"expires_at": "2025-10-03T21:21:10.889133-07:00",
|
||||
"size": 585846784,
|
||||
"size_vram": 585846784,
|
||||
"details": {
|
||||
"parent_model": "",
|
||||
"format": "gguf",
|
||||
"family": "bert",
|
||||
"families": [
|
||||
"bert"
|
||||
],
|
||||
"parameter_size": "23M",
|
||||
"quantization_level": "F16"
|
||||
},
|
||||
"context_length": 256
|
||||
},
|
||||
{
|
||||
"model": "llama3.2:3b-instruct-fp16",
|
||||
"name": "llama3.2:3b-instruct-fp16",
|
||||
"digest": "195a8c01d91ec3cb1e0aad4624a51f2602c51fa7d96110f8ab5a20c84081804d",
|
||||
"expires_at": "2025-10-03T21:20:56.787737-07:00",
|
||||
"size": 7919570944,
|
||||
"size_vram": 7919570944,
|
||||
"details": {
|
||||
"parent_model": "",
|
||||
"format": "gguf",
|
||||
"family": "llama",
|
||||
"families": [
|
||||
"llama"
|
||||
],
|
||||
"parameter_size": "3.2B",
|
||||
"quantization_level": "F16"
|
||||
},
|
||||
"context_length": 4096
|
||||
},
|
||||
{
|
||||
"model": "llama-guard3:1b",
|
||||
"name": "llama-guard3:1b",
|
||||
"digest": "494147e06bf99e10dbe67b63a07ac81c162f18ef3341aa3390007ac828571b3b",
|
||||
"expires_at": "2025-10-03T21:16:14.288654-07:00",
|
||||
"size": 2350966784,
|
||||
"size_vram": 2350966784,
|
||||
"details": {
|
||||
"parent_model": "",
|
||||
"format": "gguf",
|
||||
"family": "llama",
|
||||
"families": [
|
||||
"llama"
|
||||
],
|
||||
"parameter_size": "1.5B",
|
||||
"quantization_level": "Q8_0"
|
||||
},
|
||||
"context_length": 4096
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
"is_streaming": false
|
||||
}
|
||||
}
|
||||
File diff suppressed because it is too large
Load diff
|
|
@ -0,0 +1,423 @@
|
|||
{
|
||||
"test_id": "tests/integration/vector_io/test_openai_vector_stores.py::test_openai_vector_store_list_files[client_with_models-ollama/llama3.2:3b-instruct-fp16-None-ollama/all-minilm:l6-v2-None-384]",
|
||||
"request": {
|
||||
"method": "POST",
|
||||
"url": "http://0.0.0.0:11434/v1/v1/embeddings",
|
||||
"headers": {},
|
||||
"body": {
|
||||
"model": "all-minilm:l6-v2",
|
||||
"input": [
|
||||
"This is a test file 1"
|
||||
],
|
||||
"encoding_format": "float"
|
||||
},
|
||||
"endpoint": "/v1/embeddings",
|
||||
"model": "all-minilm:l6-v2"
|
||||
},
|
||||
"response": {
|
||||
"body": {
|
||||
"__type__": "openai.types.create_embedding_response.CreateEmbeddingResponse",
|
||||
"__data__": {
|
||||
"data": [
|
||||
{
|
||||
"embedding": [
|
||||
-0.055990793,
|
||||
0.076004684,
|
||||
-0.09247725,
|
||||
0.014340361,
|
||||
0.058780864,
|
||||
-0.032434482,
|
||||
0.020954052,
|
||||
0.028818125,
|
||||
-0.06591213,
|
||||
0.013541593,
|
||||
0.12999941,
|
||||
0.004603084,
|
||||
-0.0069239275,
|
||||
-0.055457443,
|
||||
-0.047553156,
|
||||
-0.029139794,
|
||||
-0.12236376,
|
||||
-0.05360872,
|
||||
-0.014706594,
|
||||
0.05984688,
|
||||
0.034442738,
|
||||
0.02076038,
|
||||
-0.048697792,
|
||||
0.0135388365,
|
||||
0.058592733,
|
||||
-0.003076384,
|
||||
-0.031565297,
|
||||
0.082541116,
|
||||
-0.031259205,
|
||||
-0.12057633,
|
||||
0.038319625,
|
||||
0.06574785,
|
||||
0.06415721,
|
||||
0.038382582,
|
||||
0.12570712,
|
||||
0.03108174,
|
||||
0.10821103,
|
||||
-0.0019794356,
|
||||
-0.024704305,
|
||||
0.028765837,
|
||||
0.01268161,
|
||||
-0.039844505,
|
||||
0.043253522,
|
||||
-0.015898596,
|
||||
-0.0135526005,
|
||||
-0.0050831717,
|
||||
-0.007911988,
|
||||
0.039783813,
|
||||
0.0036548872,
|
||||
-0.033632487,
|
||||
-0.058547974,
|
||||
0.0048877494,
|
||||
-0.089586094,
|
||||
-0.010457663,
|
||||
0.059202507,
|
||||
-0.020414542,
|
||||
0.014278556,
|
||||
0.013986488,
|
||||
-0.0046022516,
|
||||
0.0383391,
|
||||
0.0048145773,
|
||||
0.029772853,
|
||||
-0.020863408,
|
||||
0.018640704,
|
||||
0.12422993,
|
||||
-0.023236223,
|
||||
-0.040323637,
|
||||
-0.023598222,
|
||||
-0.007448043,
|
||||
-0.09083128,
|
||||
-0.16859712,
|
||||
0.01012451,
|
||||
-0.035808884,
|
||||
0.010595173,
|
||||
-0.02050494,
|
||||
0.0020821376,
|
||||
-0.10925222,
|
||||
0.00793264,
|
||||
0.048889533,
|
||||
-0.11391199,
|
||||
-0.06072707,
|
||||
-0.13435508,
|
||||
0.0063265716,
|
||||
-0.008838073,
|
||||
-0.03153269,
|
||||
0.099169336,
|
||||
0.055310693,
|
||||
0.0068571265,
|
||||
-0.023463152,
|
||||
-0.0031599961,
|
||||
0.036782328,
|
||||
0.014336826,
|
||||
0.022220163,
|
||||
0.047114056,
|
||||
0.007079763,
|
||||
0.06806425,
|
||||
0.01851431,
|
||||
0.040882625,
|
||||
0.055058856,
|
||||
0.09488346,
|
||||
-0.015833577,
|
||||
-7.924328e-05,
|
||||
0.010821554,
|
||||
0.09177704,
|
||||
-0.07464829,
|
||||
-0.06471165,
|
||||
0.07013805,
|
||||
-0.04499751,
|
||||
0.057702336,
|
||||
-0.0260911,
|
||||
0.006323043,
|
||||
-0.09500501,
|
||||
-0.010549514,
|
||||
-0.07887475,
|
||||
0.039744847,
|
||||
-0.04154404,
|
||||
-0.055268157,
|
||||
0.07540271,
|
||||
-0.04667509,
|
||||
0.036143072,
|
||||
0.080297194,
|
||||
-0.036381353,
|
||||
-0.03477274,
|
||||
0.01701203,
|
||||
-0.047007203,
|
||||
-0.06519774,
|
||||
0.062141683,
|
||||
-4.222482e-33,
|
||||
-0.0017580023,
|
||||
-0.09383388,
|
||||
-0.02982657,
|
||||
0.1257841,
|
||||
0.03802007,
|
||||
-0.03654342,
|
||||
0.0060920226,
|
||||
0.05906885,
|
||||
-0.11074452,
|
||||
0.005664566,
|
||||
-0.0259852,
|
||||
-0.074819505,
|
||||
0.008342821,
|
||||
0.027451068,
|
||||
-0.05248069,
|
||||
0.02401768,
|
||||
-0.004380289,
|
||||
0.039321493,
|
||||
-0.04213744,
|
||||
-0.027290314,
|
||||
0.054677974,
|
||||
0.02707243,
|
||||
-0.03329442,
|
||||
-0.060589895,
|
||||
-0.050737355,
|
||||
0.017969057,
|
||||
-0.0035060972,
|
||||
-0.04666249,
|
||||
0.073946096,
|
||||
0.01333894,
|
||||
-0.0033873583,
|
||||
-0.046544433,
|
||||
-0.060105033,
|
||||
0.03406923,
|
||||
0.001542676,
|
||||
0.039177947,
|
||||
0.03989323,
|
||||
-0.012346489,
|
||||
-0.030511485,
|
||||
-0.0019157606,
|
||||
-0.014608986,
|
||||
-0.012997742,
|
||||
0.019522104,
|
||||
-0.022349002,
|
||||
0.074362256,
|
||||
-0.053366993,
|
||||
-0.023993475,
|
||||
0.029225096,
|
||||
0.027534606,
|
||||
0.015111057,
|
||||
-0.020442221,
|
||||
0.043327376,
|
||||
0.019660354,
|
||||
0.017330697,
|
||||
-0.0035011724,
|
||||
0.019482937,
|
||||
-0.0003428041,
|
||||
0.0004143988,
|
||||
-0.005117252,
|
||||
0.06624799,
|
||||
0.027922852,
|
||||
0.041020587,
|
||||
-0.067166425,
|
||||
0.028737254,
|
||||
-0.03478325,
|
||||
-0.055551115,
|
||||
-0.032713737,
|
||||
-0.08099247,
|
||||
0.09216284,
|
||||
0.06395264,
|
||||
-0.049168136,
|
||||
-0.039908994,
|
||||
0.036915958,
|
||||
-0.001602359,
|
||||
0.00033041168,
|
||||
-0.026015632,
|
||||
-0.005999889,
|
||||
0.05474541,
|
||||
-0.09568287,
|
||||
-0.05186289,
|
||||
-0.048838183,
|
||||
-0.08639551,
|
||||
-0.034023147,
|
||||
-0.033257127,
|
||||
-0.05651867,
|
||||
-0.051131375,
|
||||
0.00809173,
|
||||
-0.08581851,
|
||||
0.06507323,
|
||||
-0.085427366,
|
||||
0.027997404,
|
||||
0.029847065,
|
||||
-0.031673994,
|
||||
-0.08560956,
|
||||
0.1017672,
|
||||
2.1855676e-33,
|
||||
0.01160785,
|
||||
0.077607885,
|
||||
-0.017380483,
|
||||
0.005239329,
|
||||
0.0009684126,
|
||||
0.06543702,
|
||||
0.07256893,
|
||||
-0.044318836,
|
||||
-0.04749324,
|
||||
0.14031002,
|
||||
-0.025741624,
|
||||
0.0057860985,
|
||||
0.040946104,
|
||||
-0.054880083,
|
||||
0.074413285,
|
||||
-0.023610368,
|
||||
0.018364722,
|
||||
-0.060585637,
|
||||
-0.044149306,
|
||||
0.0027854694,
|
||||
-0.04580664,
|
||||
0.1172219,
|
||||
0.10268574,
|
||||
0.07907412,
|
||||
-0.0466143,
|
||||
0.018618405,
|
||||
0.029834948,
|
||||
0.037265483,
|
||||
0.02273822,
|
||||
-0.0026589038,
|
||||
0.041726097,
|
||||
0.06439532,
|
||||
-0.089163445,
|
||||
0.018188318,
|
||||
0.024064727,
|
||||
-0.096389584,
|
||||
0.08642254,
|
||||
-0.05389359,
|
||||
0.01923105,
|
||||
0.045092683,
|
||||
0.045125954,
|
||||
0.09655961,
|
||||
0.014908797,
|
||||
0.059611585,
|
||||
0.03066662,
|
||||
0.05882299,
|
||||
0.111484826,
|
||||
0.016632542,
|
||||
0.011590394,
|
||||
-0.023702666,
|
||||
-0.008617484,
|
||||
-0.055030316,
|
||||
0.047606383,
|
||||
-0.014632687,
|
||||
-0.014156344,
|
||||
0.069926,
|
||||
0.032047603,
|
||||
0.042642817,
|
||||
-0.053942375,
|
||||
0.031047028,
|
||||
0.009216673,
|
||||
0.033024028,
|
||||
-0.019033706,
|
||||
0.005568194,
|
||||
-0.014985451,
|
||||
-0.09193244,
|
||||
-0.03210824,
|
||||
0.015367608,
|
||||
0.029150328,
|
||||
0.01250386,
|
||||
-0.004827391,
|
||||
0.023345906,
|
||||
-0.028271332,
|
||||
-0.08454125,
|
||||
0.051068563,
|
||||
-0.0133641455,
|
||||
-0.029022738,
|
||||
-0.02258452,
|
||||
0.010884119,
|
||||
-0.009810021,
|
||||
0.049751773,
|
||||
-0.0032637494,
|
||||
-0.038813565,
|
||||
0.027924104,
|
||||
0.017925078,
|
||||
0.005337612,
|
||||
0.058691237,
|
||||
0.09577674,
|
||||
-0.014308608,
|
||||
0.006972794,
|
||||
-0.02733344,
|
||||
0.06912433,
|
||||
0.05727631,
|
||||
0.03206042,
|
||||
0.0042422824,
|
||||
-1.6766318e-08,
|
||||
-0.036354303,
|
||||
-0.09146416,
|
||||
-0.026319364,
|
||||
-0.007941995,
|
||||
-0.024127059,
|
||||
0.09896698,
|
||||
-0.04723083,
|
||||
-0.03767135,
|
||||
-0.029419973,
|
||||
-0.022513283,
|
||||
0.04125822,
|
||||
-0.0011487947,
|
||||
-0.05570366,
|
||||
0.020679709,
|
||||
-0.038118906,
|
||||
-0.0524994,
|
||||
-0.02624128,
|
||||
-0.05336954,
|
||||
-0.040593866,
|
||||
-0.0073642326,
|
||||
-0.0014442836,
|
||||
0.02714257,
|
||||
0.027141048,
|
||||
0.00932513,
|
||||
-0.00026505854,
|
||||
0.038233075,
|
||||
0.037096914,
|
||||
0.08405413,
|
||||
-0.06340637,
|
||||
-0.014856458,
|
||||
0.05038612,
|
||||
0.06703033,
|
||||
0.027668556,
|
||||
-0.04360097,
|
||||
-0.012041474,
|
||||
0.08500689,
|
||||
0.111594744,
|
||||
0.1046117,
|
||||
0.019726463,
|
||||
-0.0003025109,
|
||||
-0.04110389,
|
||||
0.009575226,
|
||||
-0.05285304,
|
||||
-0.0026365265,
|
||||
-0.031144748,
|
||||
-0.08860188,
|
||||
-0.06762232,
|
||||
-0.07451522,
|
||||
-0.053012833,
|
||||
-0.09560941,
|
||||
-0.05273455,
|
||||
0.013032144,
|
||||
0.0029190276,
|
||||
0.041905046,
|
||||
-0.04522114,
|
||||
0.016730292,
|
||||
0.017214278,
|
||||
0.021578068,
|
||||
-0.03718778,
|
||||
0.02353425,
|
||||
0.052041385,
|
||||
0.06444499,
|
||||
0.02387539,
|
||||
-0.025236009
|
||||
],
|
||||
"index": 0,
|
||||
"object": "embedding"
|
||||
}
|
||||
],
|
||||
"model": "all-minilm:l6-v2",
|
||||
"object": "list",
|
||||
"usage": {
|
||||
"prompt_tokens": 6,
|
||||
"total_tokens": 6
|
||||
}
|
||||
}
|
||||
},
|
||||
"is_streaming": false
|
||||
}
|
||||
}
|
||||
File diff suppressed because it is too large
Load diff
|
|
@ -0,0 +1,78 @@
|
|||
{
|
||||
"test_id": "tests/integration/vector_io/test_openai_vector_stores.py::test_openai_vector_store_search_modes[ollama/llama3.2:3b-instruct-fp16-None-ollama/all-minilm:l6-v2-None-384-keyword]",
|
||||
"request": {
|
||||
"method": "POST",
|
||||
"url": "http://localhost:11434/api/ps",
|
||||
"headers": {},
|
||||
"body": {},
|
||||
"endpoint": "/api/ps",
|
||||
"model": ""
|
||||
},
|
||||
"response": {
|
||||
"body": {
|
||||
"__type__": "ollama._types.ProcessResponse",
|
||||
"__data__": {
|
||||
"models": [
|
||||
{
|
||||
"model": "all-minilm:l6-v2",
|
||||
"name": "all-minilm:l6-v2",
|
||||
"digest": "1b226e2802dbb772b5fc32a58f103ca1804ef7501331012de126ab22f67475ef",
|
||||
"expires_at": "2025-10-03T21:21:11.361840-07:00",
|
||||
"size": 585846784,
|
||||
"size_vram": 585846784,
|
||||
"details": {
|
||||
"parent_model": "",
|
||||
"format": "gguf",
|
||||
"family": "bert",
|
||||
"families": [
|
||||
"bert"
|
||||
],
|
||||
"parameter_size": "23M",
|
||||
"quantization_level": "F16"
|
||||
},
|
||||
"context_length": 256
|
||||
},
|
||||
{
|
||||
"model": "llama3.2:3b-instruct-fp16",
|
||||
"name": "llama3.2:3b-instruct-fp16",
|
||||
"digest": "195a8c01d91ec3cb1e0aad4624a51f2602c51fa7d96110f8ab5a20c84081804d",
|
||||
"expires_at": "2025-10-03T21:20:56.787737-07:00",
|
||||
"size": 7919570944,
|
||||
"size_vram": 7919570944,
|
||||
"details": {
|
||||
"parent_model": "",
|
||||
"format": "gguf",
|
||||
"family": "llama",
|
||||
"families": [
|
||||
"llama"
|
||||
],
|
||||
"parameter_size": "3.2B",
|
||||
"quantization_level": "F16"
|
||||
},
|
||||
"context_length": 4096
|
||||
},
|
||||
{
|
||||
"model": "llama-guard3:1b",
|
||||
"name": "llama-guard3:1b",
|
||||
"digest": "494147e06bf99e10dbe67b63a07ac81c162f18ef3341aa3390007ac828571b3b",
|
||||
"expires_at": "2025-10-03T21:16:14.288654-07:00",
|
||||
"size": 2350966784,
|
||||
"size_vram": 2350966784,
|
||||
"details": {
|
||||
"parent_model": "",
|
||||
"format": "gguf",
|
||||
"family": "llama",
|
||||
"families": [
|
||||
"llama"
|
||||
],
|
||||
"parameter_size": "1.5B",
|
||||
"quantization_level": "Q8_0"
|
||||
},
|
||||
"context_length": 4096
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
"is_streaming": false
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,78 @@
|
|||
{
|
||||
"test_id": "tests/integration/vector_io/test_openai_vector_stores.py::test_openai_vector_store_search_modes[ollama/llama3.2:3b-instruct-fp16-None-ollama/all-minilm:l6-v2-None-384-hybrid]",
|
||||
"request": {
|
||||
"method": "POST",
|
||||
"url": "http://localhost:11434/api/ps",
|
||||
"headers": {},
|
||||
"body": {},
|
||||
"endpoint": "/api/ps",
|
||||
"model": ""
|
||||
},
|
||||
"response": {
|
||||
"body": {
|
||||
"__type__": "ollama._types.ProcessResponse",
|
||||
"__data__": {
|
||||
"models": [
|
||||
{
|
||||
"model": "all-minilm:l6-v2",
|
||||
"name": "all-minilm:l6-v2",
|
||||
"digest": "1b226e2802dbb772b5fc32a58f103ca1804ef7501331012de126ab22f67475ef",
|
||||
"expires_at": "2025-10-03T21:21:11.890835-07:00",
|
||||
"size": 585846784,
|
||||
"size_vram": 585846784,
|
||||
"details": {
|
||||
"parent_model": "",
|
||||
"format": "gguf",
|
||||
"family": "bert",
|
||||
"families": [
|
||||
"bert"
|
||||
],
|
||||
"parameter_size": "23M",
|
||||
"quantization_level": "F16"
|
||||
},
|
||||
"context_length": 256
|
||||
},
|
||||
{
|
||||
"model": "llama3.2:3b-instruct-fp16",
|
||||
"name": "llama3.2:3b-instruct-fp16",
|
||||
"digest": "195a8c01d91ec3cb1e0aad4624a51f2602c51fa7d96110f8ab5a20c84081804d",
|
||||
"expires_at": "2025-10-03T21:20:56.787737-07:00",
|
||||
"size": 7919570944,
|
||||
"size_vram": 7919570944,
|
||||
"details": {
|
||||
"parent_model": "",
|
||||
"format": "gguf",
|
||||
"family": "llama",
|
||||
"families": [
|
||||
"llama"
|
||||
],
|
||||
"parameter_size": "3.2B",
|
||||
"quantization_level": "F16"
|
||||
},
|
||||
"context_length": 4096
|
||||
},
|
||||
{
|
||||
"model": "llama-guard3:1b",
|
||||
"name": "llama-guard3:1b",
|
||||
"digest": "494147e06bf99e10dbe67b63a07ac81c162f18ef3341aa3390007ac828571b3b",
|
||||
"expires_at": "2025-10-03T21:16:14.288654-07:00",
|
||||
"size": 2350966784,
|
||||
"size_vram": 2350966784,
|
||||
"details": {
|
||||
"parent_model": "",
|
||||
"format": "gguf",
|
||||
"family": "llama",
|
||||
"families": [
|
||||
"llama"
|
||||
],
|
||||
"parameter_size": "1.5B",
|
||||
"quantization_level": "Q8_0"
|
||||
},
|
||||
"context_length": 4096
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
"is_streaming": false
|
||||
}
|
||||
}
|
||||
File diff suppressed because it is too large
Load diff
|
|
@ -0,0 +1,423 @@
|
|||
{
|
||||
"test_id": "tests/integration/vector_io/test_openai_vector_stores.py::test_openai_vector_store_attach_files_on_creation[client_with_models-ollama/llama3.2:3b-instruct-fp16-None-ollama/all-minilm:l6-v2-None-384]",
|
||||
"request": {
|
||||
"method": "POST",
|
||||
"url": "http://0.0.0.0:11434/v1/v1/embeddings",
|
||||
"headers": {},
|
||||
"body": {
|
||||
"model": "all-minilm:l6-v2",
|
||||
"input": [
|
||||
"This is a test file 1"
|
||||
],
|
||||
"encoding_format": "float"
|
||||
},
|
||||
"endpoint": "/v1/embeddings",
|
||||
"model": "all-minilm:l6-v2"
|
||||
},
|
||||
"response": {
|
||||
"body": {
|
||||
"__type__": "openai.types.create_embedding_response.CreateEmbeddingResponse",
|
||||
"__data__": {
|
||||
"data": [
|
||||
{
|
||||
"embedding": [
|
||||
-0.055990793,
|
||||
0.076004684,
|
||||
-0.09247725,
|
||||
0.014340361,
|
||||
0.058780864,
|
||||
-0.032434482,
|
||||
0.020954052,
|
||||
0.028818125,
|
||||
-0.06591213,
|
||||
0.013541593,
|
||||
0.12999941,
|
||||
0.004603084,
|
||||
-0.0069239275,
|
||||
-0.055457443,
|
||||
-0.047553156,
|
||||
-0.029139794,
|
||||
-0.12236376,
|
||||
-0.05360872,
|
||||
-0.014706594,
|
||||
0.05984688,
|
||||
0.034442738,
|
||||
0.02076038,
|
||||
-0.048697792,
|
||||
0.0135388365,
|
||||
0.058592733,
|
||||
-0.003076384,
|
||||
-0.031565297,
|
||||
0.082541116,
|
||||
-0.031259205,
|
||||
-0.12057633,
|
||||
0.038319625,
|
||||
0.06574785,
|
||||
0.06415721,
|
||||
0.038382582,
|
||||
0.12570712,
|
||||
0.03108174,
|
||||
0.10821103,
|
||||
-0.0019794356,
|
||||
-0.024704305,
|
||||
0.028765837,
|
||||
0.01268161,
|
||||
-0.039844505,
|
||||
0.043253522,
|
||||
-0.015898596,
|
||||
-0.0135526005,
|
||||
-0.0050831717,
|
||||
-0.007911988,
|
||||
0.039783813,
|
||||
0.0036548872,
|
||||
-0.033632487,
|
||||
-0.058547974,
|
||||
0.0048877494,
|
||||
-0.089586094,
|
||||
-0.010457663,
|
||||
0.059202507,
|
||||
-0.020414542,
|
||||
0.014278556,
|
||||
0.013986488,
|
||||
-0.0046022516,
|
||||
0.0383391,
|
||||
0.0048145773,
|
||||
0.029772853,
|
||||
-0.020863408,
|
||||
0.018640704,
|
||||
0.12422993,
|
||||
-0.023236223,
|
||||
-0.040323637,
|
||||
-0.023598222,
|
||||
-0.007448043,
|
||||
-0.09083128,
|
||||
-0.16859712,
|
||||
0.01012451,
|
||||
-0.035808884,
|
||||
0.010595173,
|
||||
-0.02050494,
|
||||
0.0020821376,
|
||||
-0.10925222,
|
||||
0.00793264,
|
||||
0.048889533,
|
||||
-0.11391199,
|
||||
-0.06072707,
|
||||
-0.13435508,
|
||||
0.0063265716,
|
||||
-0.008838073,
|
||||
-0.03153269,
|
||||
0.099169336,
|
||||
0.055310693,
|
||||
0.0068571265,
|
||||
-0.023463152,
|
||||
-0.0031599961,
|
||||
0.036782328,
|
||||
0.014336826,
|
||||
0.022220163,
|
||||
0.047114056,
|
||||
0.007079763,
|
||||
0.06806425,
|
||||
0.01851431,
|
||||
0.040882625,
|
||||
0.055058856,
|
||||
0.09488346,
|
||||
-0.015833577,
|
||||
-7.924328e-05,
|
||||
0.010821554,
|
||||
0.09177704,
|
||||
-0.07464829,
|
||||
-0.06471165,
|
||||
0.07013805,
|
||||
-0.04499751,
|
||||
0.057702336,
|
||||
-0.0260911,
|
||||
0.006323043,
|
||||
-0.09500501,
|
||||
-0.010549514,
|
||||
-0.07887475,
|
||||
0.039744847,
|
||||
-0.04154404,
|
||||
-0.055268157,
|
||||
0.07540271,
|
||||
-0.04667509,
|
||||
0.036143072,
|
||||
0.080297194,
|
||||
-0.036381353,
|
||||
-0.03477274,
|
||||
0.01701203,
|
||||
-0.047007203,
|
||||
-0.06519774,
|
||||
0.062141683,
|
||||
-4.222482e-33,
|
||||
-0.0017580023,
|
||||
-0.09383388,
|
||||
-0.02982657,
|
||||
0.1257841,
|
||||
0.03802007,
|
||||
-0.03654342,
|
||||
0.0060920226,
|
||||
0.05906885,
|
||||
-0.11074452,
|
||||
0.005664566,
|
||||
-0.0259852,
|
||||
-0.074819505,
|
||||
0.008342821,
|
||||
0.027451068,
|
||||
-0.05248069,
|
||||
0.02401768,
|
||||
-0.004380289,
|
||||
0.039321493,
|
||||
-0.04213744,
|
||||
-0.027290314,
|
||||
0.054677974,
|
||||
0.02707243,
|
||||
-0.03329442,
|
||||
-0.060589895,
|
||||
-0.050737355,
|
||||
0.017969057,
|
||||
-0.0035060972,
|
||||
-0.04666249,
|
||||
0.073946096,
|
||||
0.01333894,
|
||||
-0.0033873583,
|
||||
-0.046544433,
|
||||
-0.060105033,
|
||||
0.03406923,
|
||||
0.001542676,
|
||||
0.039177947,
|
||||
0.03989323,
|
||||
-0.012346489,
|
||||
-0.030511485,
|
||||
-0.0019157606,
|
||||
-0.014608986,
|
||||
-0.012997742,
|
||||
0.019522104,
|
||||
-0.022349002,
|
||||
0.074362256,
|
||||
-0.053366993,
|
||||
-0.023993475,
|
||||
0.029225096,
|
||||
0.027534606,
|
||||
0.015111057,
|
||||
-0.020442221,
|
||||
0.043327376,
|
||||
0.019660354,
|
||||
0.017330697,
|
||||
-0.0035011724,
|
||||
0.019482937,
|
||||
-0.0003428041,
|
||||
0.0004143988,
|
||||
-0.005117252,
|
||||
0.06624799,
|
||||
0.027922852,
|
||||
0.041020587,
|
||||
-0.067166425,
|
||||
0.028737254,
|
||||
-0.03478325,
|
||||
-0.055551115,
|
||||
-0.032713737,
|
||||
-0.08099247,
|
||||
0.09216284,
|
||||
0.06395264,
|
||||
-0.049168136,
|
||||
-0.039908994,
|
||||
0.036915958,
|
||||
-0.001602359,
|
||||
0.00033041168,
|
||||
-0.026015632,
|
||||
-0.005999889,
|
||||
0.05474541,
|
||||
-0.09568287,
|
||||
-0.05186289,
|
||||
-0.048838183,
|
||||
-0.08639551,
|
||||
-0.034023147,
|
||||
-0.033257127,
|
||||
-0.05651867,
|
||||
-0.051131375,
|
||||
0.00809173,
|
||||
-0.08581851,
|
||||
0.06507323,
|
||||
-0.085427366,
|
||||
0.027997404,
|
||||
0.029847065,
|
||||
-0.031673994,
|
||||
-0.08560956,
|
||||
0.1017672,
|
||||
2.1855676e-33,
|
||||
0.01160785,
|
||||
0.077607885,
|
||||
-0.017380483,
|
||||
0.005239329,
|
||||
0.0009684126,
|
||||
0.06543702,
|
||||
0.07256893,
|
||||
-0.044318836,
|
||||
-0.04749324,
|
||||
0.14031002,
|
||||
-0.025741624,
|
||||
0.0057860985,
|
||||
0.040946104,
|
||||
-0.054880083,
|
||||
0.074413285,
|
||||
-0.023610368,
|
||||
0.018364722,
|
||||
-0.060585637,
|
||||
-0.044149306,
|
||||
0.0027854694,
|
||||
-0.04580664,
|
||||
0.1172219,
|
||||
0.10268574,
|
||||
0.07907412,
|
||||
-0.0466143,
|
||||
0.018618405,
|
||||
0.029834948,
|
||||
0.037265483,
|
||||
0.02273822,
|
||||
-0.0026589038,
|
||||
0.041726097,
|
||||
0.06439532,
|
||||
-0.089163445,
|
||||
0.018188318,
|
||||
0.024064727,
|
||||
-0.096389584,
|
||||
0.08642254,
|
||||
-0.05389359,
|
||||
0.01923105,
|
||||
0.045092683,
|
||||
0.045125954,
|
||||
0.09655961,
|
||||
0.014908797,
|
||||
0.059611585,
|
||||
0.03066662,
|
||||
0.05882299,
|
||||
0.111484826,
|
||||
0.016632542,
|
||||
0.011590394,
|
||||
-0.023702666,
|
||||
-0.008617484,
|
||||
-0.055030316,
|
||||
0.047606383,
|
||||
-0.014632687,
|
||||
-0.014156344,
|
||||
0.069926,
|
||||
0.032047603,
|
||||
0.042642817,
|
||||
-0.053942375,
|
||||
0.031047028,
|
||||
0.009216673,
|
||||
0.033024028,
|
||||
-0.019033706,
|
||||
0.005568194,
|
||||
-0.014985451,
|
||||
-0.09193244,
|
||||
-0.03210824,
|
||||
0.015367608,
|
||||
0.029150328,
|
||||
0.01250386,
|
||||
-0.004827391,
|
||||
0.023345906,
|
||||
-0.028271332,
|
||||
-0.08454125,
|
||||
0.051068563,
|
||||
-0.0133641455,
|
||||
-0.029022738,
|
||||
-0.02258452,
|
||||
0.010884119,
|
||||
-0.009810021,
|
||||
0.049751773,
|
||||
-0.0032637494,
|
||||
-0.038813565,
|
||||
0.027924104,
|
||||
0.017925078,
|
||||
0.005337612,
|
||||
0.058691237,
|
||||
0.09577674,
|
||||
-0.014308608,
|
||||
0.006972794,
|
||||
-0.02733344,
|
||||
0.06912433,
|
||||
0.05727631,
|
||||
0.03206042,
|
||||
0.0042422824,
|
||||
-1.6766318e-08,
|
||||
-0.036354303,
|
||||
-0.09146416,
|
||||
-0.026319364,
|
||||
-0.007941995,
|
||||
-0.024127059,
|
||||
0.09896698,
|
||||
-0.04723083,
|
||||
-0.03767135,
|
||||
-0.029419973,
|
||||
-0.022513283,
|
||||
0.04125822,
|
||||
-0.0011487947,
|
||||
-0.05570366,
|
||||
0.020679709,
|
||||
-0.038118906,
|
||||
-0.0524994,
|
||||
-0.02624128,
|
||||
-0.05336954,
|
||||
-0.040593866,
|
||||
-0.0073642326,
|
||||
-0.0014442836,
|
||||
0.02714257,
|
||||
0.027141048,
|
||||
0.00932513,
|
||||
-0.00026505854,
|
||||
0.038233075,
|
||||
0.037096914,
|
||||
0.08405413,
|
||||
-0.06340637,
|
||||
-0.014856458,
|
||||
0.05038612,
|
||||
0.06703033,
|
||||
0.027668556,
|
||||
-0.04360097,
|
||||
-0.012041474,
|
||||
0.08500689,
|
||||
0.111594744,
|
||||
0.1046117,
|
||||
0.019726463,
|
||||
-0.0003025109,
|
||||
-0.04110389,
|
||||
0.009575226,
|
||||
-0.05285304,
|
||||
-0.0026365265,
|
||||
-0.031144748,
|
||||
-0.08860188,
|
||||
-0.06762232,
|
||||
-0.07451522,
|
||||
-0.053012833,
|
||||
-0.09560941,
|
||||
-0.05273455,
|
||||
0.013032144,
|
||||
0.0029190276,
|
||||
0.041905046,
|
||||
-0.04522114,
|
||||
0.016730292,
|
||||
0.017214278,
|
||||
0.021578068,
|
||||
-0.03718778,
|
||||
0.02353425,
|
||||
0.052041385,
|
||||
0.06444499,
|
||||
0.02387539,
|
||||
-0.025236009
|
||||
],
|
||||
"index": 0,
|
||||
"object": "embedding"
|
||||
}
|
||||
],
|
||||
"model": "all-minilm:l6-v2",
|
||||
"object": "list",
|
||||
"usage": {
|
||||
"prompt_tokens": 6,
|
||||
"total_tokens": 6
|
||||
}
|
||||
}
|
||||
},
|
||||
"is_streaming": false
|
||||
}
|
||||
}
|
||||
File diff suppressed because it is too large
Load diff
|
|
@ -0,0 +1,78 @@
|
|||
{
|
||||
"test_id": "tests/integration/vector_io/test_openai_vector_stores.py::test_openai_vector_store_delete_file[client_with_models-ollama/llama3.2:3b-instruct-fp16-None-ollama/all-minilm:l6-v2-None-384]",
|
||||
"request": {
|
||||
"method": "POST",
|
||||
"url": "http://localhost:11434/api/ps",
|
||||
"headers": {},
|
||||
"body": {},
|
||||
"endpoint": "/api/ps",
|
||||
"model": ""
|
||||
},
|
||||
"response": {
|
||||
"body": {
|
||||
"__type__": "ollama._types.ProcessResponse",
|
||||
"__data__": {
|
||||
"models": [
|
||||
{
|
||||
"model": "all-minilm:l6-v2",
|
||||
"name": "all-minilm:l6-v2",
|
||||
"digest": "1b226e2802dbb772b5fc32a58f103ca1804ef7501331012de126ab22f67475ef",
|
||||
"expires_at": "2025-10-03T21:21:10.302845-07:00",
|
||||
"size": 585846784,
|
||||
"size_vram": 585846784,
|
||||
"details": {
|
||||
"parent_model": "",
|
||||
"format": "gguf",
|
||||
"family": "bert",
|
||||
"families": [
|
||||
"bert"
|
||||
],
|
||||
"parameter_size": "23M",
|
||||
"quantization_level": "F16"
|
||||
},
|
||||
"context_length": 256
|
||||
},
|
||||
{
|
||||
"model": "llama3.2:3b-instruct-fp16",
|
||||
"name": "llama3.2:3b-instruct-fp16",
|
||||
"digest": "195a8c01d91ec3cb1e0aad4624a51f2602c51fa7d96110f8ab5a20c84081804d",
|
||||
"expires_at": "2025-10-03T21:20:56.787737-07:00",
|
||||
"size": 7919570944,
|
||||
"size_vram": 7919570944,
|
||||
"details": {
|
||||
"parent_model": "",
|
||||
"format": "gguf",
|
||||
"family": "llama",
|
||||
"families": [
|
||||
"llama"
|
||||
],
|
||||
"parameter_size": "3.2B",
|
||||
"quantization_level": "F16"
|
||||
},
|
||||
"context_length": 4096
|
||||
},
|
||||
{
|
||||
"model": "llama-guard3:1b",
|
||||
"name": "llama-guard3:1b",
|
||||
"digest": "494147e06bf99e10dbe67b63a07ac81c162f18ef3341aa3390007ac828571b3b",
|
||||
"expires_at": "2025-10-03T21:16:14.288654-07:00",
|
||||
"size": 2350966784,
|
||||
"size_vram": 2350966784,
|
||||
"details": {
|
||||
"parent_model": "",
|
||||
"format": "gguf",
|
||||
"family": "llama",
|
||||
"families": [
|
||||
"llama"
|
||||
],
|
||||
"parameter_size": "1.5B",
|
||||
"quantization_level": "Q8_0"
|
||||
},
|
||||
"context_length": 4096
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
"is_streaming": false
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,423 @@
|
|||
{
|
||||
"test_id": "tests/integration/vector_io/test_openai_vector_stores.py::test_openai_vector_store_attach_file[client_with_models-ollama/llama3.2:3b-instruct-fp16-None-ollama/all-minilm:l6-v2-None-384]",
|
||||
"request": {
|
||||
"method": "POST",
|
||||
"url": "http://0.0.0.0:11434/v1/v1/embeddings",
|
||||
"headers": {},
|
||||
"body": {
|
||||
"model": "all-minilm:l6-v2",
|
||||
"input": [
|
||||
"What is the secret string?"
|
||||
],
|
||||
"encoding_format": "float"
|
||||
},
|
||||
"endpoint": "/v1/embeddings",
|
||||
"model": "all-minilm:l6-v2"
|
||||
},
|
||||
"response": {
|
||||
"body": {
|
||||
"__type__": "openai.types.create_embedding_response.CreateEmbeddingResponse",
|
||||
"__data__": {
|
||||
"data": [
|
||||
{
|
||||
"embedding": [
|
||||
-0.07473014,
|
||||
0.08137506,
|
||||
-0.06463602,
|
||||
0.011821943,
|
||||
-0.07454815,
|
||||
0.021821007,
|
||||
0.077573344,
|
||||
0.012804661,
|
||||
0.05853777,
|
||||
-0.014141324,
|
||||
0.053993534,
|
||||
-0.026554074,
|
||||
-0.018055506,
|
||||
-0.060447972,
|
||||
-0.019253474,
|
||||
-0.006501444,
|
||||
-0.047272332,
|
||||
-0.048944764,
|
||||
-0.090516366,
|
||||
-0.06656194,
|
||||
0.09287066,
|
||||
0.02129739,
|
||||
-0.013401809,
|
||||
-0.006629013,
|
||||
0.0079892,
|
||||
0.016818035,
|
||||
0.03971694,
|
||||
0.021875564,
|
||||
0.014873574,
|
||||
-0.039426163,
|
||||
0.025255844,
|
||||
-0.036836684,
|
||||
0.016627828,
|
||||
0.008789532,
|
||||
-0.053503897,
|
||||
0.03616121,
|
||||
-0.034633957,
|
||||
-0.009877797,
|
||||
0.064843215,
|
||||
-0.01517806,
|
||||
0.020897496,
|
||||
-0.07135096,
|
||||
-0.008519908,
|
||||
0.05118655,
|
||||
-0.062102985,
|
||||
0.059486073,
|
||||
-0.047937352,
|
||||
0.07045817,
|
||||
-0.024867272,
|
||||
-0.010756205,
|
||||
0.06538509,
|
||||
-0.03693754,
|
||||
-0.08240387,
|
||||
0.08169191,
|
||||
0.017090658,
|
||||
0.012944557,
|
||||
-0.047139525,
|
||||
0.0025796075,
|
||||
0.008701712,
|
||||
0.099866174,
|
||||
0.04969699,
|
||||
-0.025922626,
|
||||
-0.017354922,
|
||||
0.03395182,
|
||||
0.038391408,
|
||||
-0.054247838,
|
||||
0.008610521,
|
||||
-0.04077977,
|
||||
0.0265637,
|
||||
-0.07186012,
|
||||
-0.019953186,
|
||||
-0.041191205,
|
||||
-0.07246228,
|
||||
0.00041248833,
|
||||
0.018758524,
|
||||
0.023036895,
|
||||
0.01662864,
|
||||
-0.06335885,
|
||||
0.03495032,
|
||||
0.050063577,
|
||||
0.00043262896,
|
||||
-0.06176693,
|
||||
0.0062733325,
|
||||
0.11142063,
|
||||
0.0040838965,
|
||||
0.085737824,
|
||||
0.023284689,
|
||||
0.05699812,
|
||||
-0.03149832,
|
||||
-0.013344509,
|
||||
-0.045138564,
|
||||
-0.117300816,
|
||||
0.016063986,
|
||||
-0.016894838,
|
||||
-0.028934335,
|
||||
0.03575864,
|
||||
-0.05156192,
|
||||
0.032958068,
|
||||
-0.11266628,
|
||||
0.06640015,
|
||||
0.037839692,
|
||||
0.022948038,
|
||||
0.058071073,
|
||||
-0.039643735,
|
||||
-0.03247236,
|
||||
0.017690921,
|
||||
-0.005001274,
|
||||
0.019046135,
|
||||
0.07745316,
|
||||
-0.020402163,
|
||||
-0.020310633,
|
||||
-0.009519755,
|
||||
0.0031459313,
|
||||
-0.0045639877,
|
||||
-0.029116316,
|
||||
0.033835515,
|
||||
0.00050839526,
|
||||
0.06419946,
|
||||
0.010721198,
|
||||
0.124151744,
|
||||
-0.0053820186,
|
||||
0.00491648,
|
||||
-0.059696514,
|
||||
0.029483523,
|
||||
-0.13409872,
|
||||
0.016187217,
|
||||
-0.048092023,
|
||||
-6.6084764e-33,
|
||||
0.012305612,
|
||||
0.060384244,
|
||||
0.036461998,
|
||||
-0.035974216,
|
||||
-0.04197416,
|
||||
0.012333701,
|
||||
-0.084805995,
|
||||
0.012502633,
|
||||
0.02794982,
|
||||
0.0861082,
|
||||
-0.030791838,
|
||||
-0.061355945,
|
||||
-0.0009604986,
|
||||
-0.0252044,
|
||||
0.045444816,
|
||||
-0.027590565,
|
||||
-0.009594973,
|
||||
0.006712001,
|
||||
0.043692384,
|
||||
-0.021483036,
|
||||
0.003300438,
|
||||
0.11860881,
|
||||
0.047044385,
|
||||
-0.1348901,
|
||||
0.025469579,
|
||||
-0.01029819,
|
||||
0.0022393467,
|
||||
-0.061863262,
|
||||
0.10386513,
|
||||
0.018658707,
|
||||
-0.0017492755,
|
||||
-0.051914047,
|
||||
0.046442248,
|
||||
0.03761067,
|
||||
0.033752125,
|
||||
0.006650237,
|
||||
0.022015076,
|
||||
-0.07834835,
|
||||
-0.008209136,
|
||||
0.027432231,
|
||||
0.017393896,
|
||||
-0.07524756,
|
||||
0.006497012,
|
||||
0.027272953,
|
||||
0.0005804994,
|
||||
-0.010941825,
|
||||
-0.020050043,
|
||||
-0.00012092298,
|
||||
0.013705002,
|
||||
0.004699541,
|
||||
0.022770848,
|
||||
0.015477994,
|
||||
-0.0142482165,
|
||||
-0.013953546,
|
||||
0.015865315,
|
||||
-0.023075614,
|
||||
0.03379947,
|
||||
-0.039221376,
|
||||
-0.043229815,
|
||||
0.02998769,
|
||||
-0.01652291,
|
||||
0.06981088,
|
||||
0.04606923,
|
||||
0.05332633,
|
||||
-0.055300076,
|
||||
0.02511626,
|
||||
0.014049543,
|
||||
-0.09398743,
|
||||
0.03590562,
|
||||
0.029452223,
|
||||
-0.13200304,
|
||||
-0.005059034,
|
||||
-0.03784268,
|
||||
-0.03180819,
|
||||
-0.095502876,
|
||||
-0.027853556,
|
||||
0.0024331037,
|
||||
-0.007881495,
|
||||
0.058296,
|
||||
-0.031999517,
|
||||
-0.06077097,
|
||||
-0.023381822,
|
||||
-0.00048603877,
|
||||
0.13765746,
|
||||
-0.060579,
|
||||
-0.008109843,
|
||||
-0.034873307,
|
||||
-0.1024547,
|
||||
-0.009072849,
|
||||
-0.018931676,
|
||||
-0.0016711762,
|
||||
-0.07710289,
|
||||
-0.043332253,
|
||||
-0.03619527,
|
||||
0.03958017,
|
||||
3.0217083e-33,
|
||||
0.0050329794,
|
||||
0.00016030145,
|
||||
-0.063078895,
|
||||
0.012225751,
|
||||
0.10637338,
|
||||
0.015972024,
|
||||
0.006653195,
|
||||
0.01880781,
|
||||
-0.04708357,
|
||||
0.045863643,
|
||||
0.0076015075,
|
||||
0.03243478,
|
||||
0.032097474,
|
||||
-0.020893326,
|
||||
0.10697852,
|
||||
0.0075498912,
|
||||
0.036074348,
|
||||
0.1462344,
|
||||
0.03779065,
|
||||
-0.043190572,
|
||||
-0.02176097,
|
||||
-0.009340132,
|
||||
-0.06983617,
|
||||
0.015578788,
|
||||
0.021121953,
|
||||
0.030661412,
|
||||
0.08434581,
|
||||
-0.09288574,
|
||||
0.008169474,
|
||||
0.078080945,
|
||||
-0.081626564,
|
||||
0.011895231,
|
||||
0.017099649,
|
||||
0.0040119104,
|
||||
-0.14145434,
|
||||
0.0040375097,
|
||||
0.046316408,
|
||||
0.008959473,
|
||||
-0.0056506568,
|
||||
-0.055587813,
|
||||
0.028007837,
|
||||
0.055937108,
|
||||
0.062269785,
|
||||
0.08602392,
|
||||
-0.12157818,
|
||||
0.021943888,
|
||||
-0.0050934856,
|
||||
0.029819332,
|
||||
-0.012127162,
|
||||
0.048801802,
|
||||
0.06409215,
|
||||
-0.041438665,
|
||||
0.01809265,
|
||||
-0.028214281,
|
||||
-0.0213588,
|
||||
0.05564267,
|
||||
-0.1547868,
|
||||
0.027465124,
|
||||
0.018855799,
|
||||
0.04327939,
|
||||
0.011500479,
|
||||
0.017364705,
|
||||
-0.023216385,
|
||||
0.051007293,
|
||||
0.02946264,
|
||||
0.012533944,
|
||||
-0.04542834,
|
||||
-0.002238765,
|
||||
-0.05611544,
|
||||
-0.0789272,
|
||||
0.07960444,
|
||||
-0.020431034,
|
||||
-0.0762138,
|
||||
0.011588508,
|
||||
-0.035614885,
|
||||
-0.04803985,
|
||||
-0.06607436,
|
||||
-0.057365946,
|
||||
-0.040188126,
|
||||
0.07176218,
|
||||
0.03135825,
|
||||
0.02303279,
|
||||
-0.023997622,
|
||||
0.023614945,
|
||||
0.09607302,
|
||||
-0.06843066,
|
||||
0.014260722,
|
||||
0.08802569,
|
||||
-0.037736766,
|
||||
0.029445928,
|
||||
-0.028643936,
|
||||
0.10217973,
|
||||
-0.0660917,
|
||||
0.022864237,
|
||||
0.042151757,
|
||||
-1.4814046e-08,
|
||||
0.030838449,
|
||||
0.043877687,
|
||||
-0.0245681,
|
||||
-0.09818859,
|
||||
0.056659035,
|
||||
0.0929652,
|
||||
-0.010337853,
|
||||
-0.0983916,
|
||||
0.018008571,
|
||||
-0.0131424805,
|
||||
0.026400762,
|
||||
0.008793538,
|
||||
-0.05285605,
|
||||
-0.042175982,
|
||||
0.030133193,
|
||||
0.01710666,
|
||||
-0.06242493,
|
||||
-0.018753909,
|
||||
-0.015986755,
|
||||
-0.018400662,
|
||||
-0.026477808,
|
||||
0.010281372,
|
||||
-0.030476814,
|
||||
-0.084556945,
|
||||
-0.05402664,
|
||||
0.010030052,
|
||||
0.029531356,
|
||||
0.13555466,
|
||||
0.033426728,
|
||||
0.12098221,
|
||||
0.040777553,
|
||||
0.008206964,
|
||||
-0.018235989,
|
||||
-0.0568263,
|
||||
-0.1289943,
|
||||
0.12416113,
|
||||
-0.053454727,
|
||||
-0.038151894,
|
||||
0.030221034,
|
||||
0.019807614,
|
||||
0.047819767,
|
||||
0.029434063,
|
||||
0.0015704447,
|
||||
0.0611775,
|
||||
-0.05557245,
|
||||
-0.030236417,
|
||||
0.10799873,
|
||||
-0.07073352,
|
||||
-0.08215229,
|
||||
0.004518122,
|
||||
-0.015573616,
|
||||
-0.013696145,
|
||||
-0.0023438279,
|
||||
0.026377691,
|
||||
-0.015769389,
|
||||
0.016251203,
|
||||
-0.04062322,
|
||||
-0.013962793,
|
||||
-0.08309221,
|
||||
0.031991288,
|
||||
0.049991824,
|
||||
-0.0038595141,
|
||||
0.07031122,
|
||||
0.0049263495
|
||||
],
|
||||
"index": 0,
|
||||
"object": "embedding"
|
||||
}
|
||||
],
|
||||
"model": "all-minilm:l6-v2",
|
||||
"object": "list",
|
||||
"usage": {
|
||||
"prompt_tokens": 6,
|
||||
"total_tokens": 6
|
||||
}
|
||||
}
|
||||
},
|
||||
"is_streaming": false
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,78 @@
|
|||
{
|
||||
"test_id": "tests/integration/vector_io/test_openai_vector_stores.py::test_openai_vector_store_with_chunks[client_with_models-ollama/llama3.2:3b-instruct-fp16-None-ollama/all-minilm:l6-v2-None-384]",
|
||||
"request": {
|
||||
"method": "POST",
|
||||
"url": "http://localhost:11434/api/ps",
|
||||
"headers": {},
|
||||
"body": {},
|
||||
"endpoint": "/api/ps",
|
||||
"model": ""
|
||||
},
|
||||
"response": {
|
||||
"body": {
|
||||
"__type__": "ollama._types.ProcessResponse",
|
||||
"__data__": {
|
||||
"models": [
|
||||
{
|
||||
"model": "all-minilm:l6-v2",
|
||||
"name": "all-minilm:l6-v2",
|
||||
"digest": "1b226e2802dbb772b5fc32a58f103ca1804ef7501331012de126ab22f67475ef",
|
||||
"expires_at": "2025-10-03T21:21:07.673612-07:00",
|
||||
"size": 585846784,
|
||||
"size_vram": 585846784,
|
||||
"details": {
|
||||
"parent_model": "",
|
||||
"format": "gguf",
|
||||
"family": "bert",
|
||||
"families": [
|
||||
"bert"
|
||||
],
|
||||
"parameter_size": "23M",
|
||||
"quantization_level": "F16"
|
||||
},
|
||||
"context_length": 256
|
||||
},
|
||||
{
|
||||
"model": "llama3.2:3b-instruct-fp16",
|
||||
"name": "llama3.2:3b-instruct-fp16",
|
||||
"digest": "195a8c01d91ec3cb1e0aad4624a51f2602c51fa7d96110f8ab5a20c84081804d",
|
||||
"expires_at": "2025-10-03T21:20:56.787737-07:00",
|
||||
"size": 7919570944,
|
||||
"size_vram": 7919570944,
|
||||
"details": {
|
||||
"parent_model": "",
|
||||
"format": "gguf",
|
||||
"family": "llama",
|
||||
"families": [
|
||||
"llama"
|
||||
],
|
||||
"parameter_size": "3.2B",
|
||||
"quantization_level": "F16"
|
||||
},
|
||||
"context_length": 4096
|
||||
},
|
||||
{
|
||||
"model": "llama-guard3:1b",
|
||||
"name": "llama-guard3:1b",
|
||||
"digest": "494147e06bf99e10dbe67b63a07ac81c162f18ef3341aa3390007ac828571b3b",
|
||||
"expires_at": "2025-10-03T21:16:14.288654-07:00",
|
||||
"size": 2350966784,
|
||||
"size_vram": 2350966784,
|
||||
"details": {
|
||||
"parent_model": "",
|
||||
"format": "gguf",
|
||||
"family": "llama",
|
||||
"families": [
|
||||
"llama"
|
||||
],
|
||||
"parameter_size": "1.5B",
|
||||
"quantization_level": "Q8_0"
|
||||
},
|
||||
"context_length": 4096
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
"is_streaming": false
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,423 @@
|
|||
{
|
||||
"test_id": "tests/integration/vector_io/test_openai_vector_stores.py::test_openai_vector_store_retrieve_file_contents[client_with_models-ollama/llama3.2:3b-instruct-fp16-None-ollama/all-minilm:l6-v2-None-384]",
|
||||
"request": {
|
||||
"method": "POST",
|
||||
"url": "http://0.0.0.0:11434/v1/v1/embeddings",
|
||||
"headers": {},
|
||||
"body": {
|
||||
"model": "all-minilm:l6-v2",
|
||||
"input": [
|
||||
"This is a test file"
|
||||
],
|
||||
"encoding_format": "float"
|
||||
},
|
||||
"endpoint": "/v1/embeddings",
|
||||
"model": "all-minilm:l6-v2"
|
||||
},
|
||||
"response": {
|
||||
"body": {
|
||||
"__type__": "openai.types.create_embedding_response.CreateEmbeddingResponse",
|
||||
"__data__": {
|
||||
"data": [
|
||||
{
|
||||
"embedding": [
|
||||
-0.03427073,
|
||||
0.090051405,
|
||||
-0.11458989,
|
||||
0.0021456745,
|
||||
0.059038658,
|
||||
-0.027524853,
|
||||
-0.020602634,
|
||||
0.03373726,
|
||||
-0.038729247,
|
||||
0.026002944,
|
||||
0.11481002,
|
||||
0.027119067,
|
||||
-0.015927644,
|
||||
-0.021832926,
|
||||
-0.046713773,
|
||||
-0.0463825,
|
||||
-0.074167565,
|
||||
-0.0528447,
|
||||
-0.028117927,
|
||||
0.06325688,
|
||||
0.029135453,
|
||||
0.047131006,
|
||||
-0.052675154,
|
||||
-0.005349263,
|
||||
0.030659368,
|
||||
0.017706472,
|
||||
-0.01687267,
|
||||
0.08681507,
|
||||
-0.014155131,
|
||||
-0.0838676,
|
||||
0.020020565,
|
||||
0.07115838,
|
||||
0.08365558,
|
||||
0.030919788,
|
||||
0.11829893,
|
||||
0.028751066,
|
||||
0.069536895,
|
||||
-0.017295403,
|
||||
-0.005784813,
|
||||
0.005809313,
|
||||
0.0012009157,
|
||||
-0.0653044,
|
||||
0.0373506,
|
||||
0.018565746,
|
||||
-0.0034945607,
|
||||
-0.0011305016,
|
||||
-0.029752811,
|
||||
-0.021266408,
|
||||
0.0058016903,
|
||||
-0.035597492,
|
||||
-0.03722647,
|
||||
0.012373253,
|
||||
-0.066935256,
|
||||
-0.023148224,
|
||||
0.056864377,
|
||||
0.0014741909,
|
||||
0.014408296,
|
||||
-0.017165763,
|
||||
0.009236472,
|
||||
0.06087921,
|
||||
0.024628488,
|
||||
0.03699286,
|
||||
-0.050610077,
|
||||
0.05173448,
|
||||
0.10159555,
|
||||
0.008507267,
|
||||
-0.04803921,
|
||||
-0.013024803,
|
||||
0.03110457,
|
||||
-0.16593884,
|
||||
-0.1410075,
|
||||
0.009813814,
|
||||
-0.025974236,
|
||||
0.05233053,
|
||||
-0.0078903325,
|
||||
0.00788491,
|
||||
-0.08471812,
|
||||
-0.044507448,
|
||||
0.054161046,
|
||||
-0.0704361,
|
||||
-0.05769206,
|
||||
-0.100796975,
|
||||
0.02182441,
|
||||
0.022125391,
|
||||
0.0071617346,
|
||||
0.13063926,
|
||||
0.080232956,
|
||||
-0.004421626,
|
||||
-0.018768508,
|
||||
0.0076132733,
|
||||
-0.03163366,
|
||||
0.031986494,
|
||||
-0.022168567,
|
||||
0.03073627,
|
||||
-0.023798423,
|
||||
0.06954045,
|
||||
0.016659362,
|
||||
0.009536805,
|
||||
0.027459558,
|
||||
0.102133445,
|
||||
0.021457382,
|
||||
-0.021377807,
|
||||
0.015131543,
|
||||
0.039423607,
|
||||
-0.09434147,
|
||||
-0.11544392,
|
||||
0.09468138,
|
||||
-0.011155598,
|
||||
0.07266597,
|
||||
-0.03601087,
|
||||
-0.011743829,
|
||||
-0.06654009,
|
||||
-0.03470551,
|
||||
-0.10300434,
|
||||
0.03020924,
|
||||
-0.06319472,
|
||||
-0.0908424,
|
||||
0.04116676,
|
||||
-0.033686537,
|
||||
0.045706224,
|
||||
0.07134009,
|
||||
-0.031778418,
|
||||
-0.059655976,
|
||||
-0.017215038,
|
||||
-0.03229557,
|
||||
-0.058579948,
|
||||
0.06733934,
|
||||
-5.023814e-33,
|
||||
-0.0058283503,
|
||||
-0.0719842,
|
||||
-0.009296622,
|
||||
0.09659216,
|
||||
0.03709538,
|
||||
-0.03478395,
|
||||
-0.004713233,
|
||||
0.016686605,
|
||||
-0.09859812,
|
||||
0.00547005,
|
||||
-0.014113569,
|
||||
-0.0840751,
|
||||
0.0027168505,
|
||||
0.04445616,
|
||||
-0.012728728,
|
||||
0.034566686,
|
||||
-0.0006014651,
|
||||
0.06319148,
|
||||
-0.026799418,
|
||||
-0.013500979,
|
||||
0.024169419,
|
||||
0.015417236,
|
||||
-0.04135526,
|
||||
-0.055208974,
|
||||
-0.06455241,
|
||||
0.03148543,
|
||||
-0.0073052812,
|
||||
-0.03945437,
|
||||
0.059831504,
|
||||
0.026674163,
|
||||
0.01396753,
|
||||
-0.038841277,
|
||||
-0.048514687,
|
||||
0.01756627,
|
||||
0.020964677,
|
||||
0.035239976,
|
||||
0.0115498835,
|
||||
-0.00846713,
|
||||
-0.044673763,
|
||||
0.014640657,
|
||||
5.2045852e-05,
|
||||
-0.04694704,
|
||||
0.02703366,
|
||||
0.006635295,
|
||||
0.064396136,
|
||||
-0.044757996,
|
||||
-0.026173549,
|
||||
-0.016282372,
|
||||
0.05521396,
|
||||
0.014104745,
|
||||
-0.008479494,
|
||||
0.04204778,
|
||||
0.05049772,
|
||||
0.021629427,
|
||||
0.011260506,
|
||||
0.04858872,
|
||||
0.017662494,
|
||||
-0.005005865,
|
||||
0.0019118759,
|
||||
0.06333162,
|
||||
0.035875723,
|
||||
0.03504778,
|
||||
-0.06642375,
|
||||
0.008791644,
|
||||
-0.027326671,
|
||||
-0.05987137,
|
||||
-0.0272001,
|
||||
-0.08728625,
|
||||
0.112434424,
|
||||
0.05879801,
|
||||
-0.041698616,
|
||||
-0.06924583,
|
||||
0.06434144,
|
||||
0.01583225,
|
||||
-0.027750073,
|
||||
-0.037574448,
|
||||
-0.011715211,
|
||||
0.0694801,
|
||||
-0.07104981,
|
||||
-0.039085716,
|
||||
-0.043068763,
|
||||
-0.11208956,
|
||||
-0.030723054,
|
||||
-0.063793585,
|
||||
-0.03527373,
|
||||
-0.06119042,
|
||||
-0.01526633,
|
||||
-0.10094421,
|
||||
0.047486804,
|
||||
-0.08320468,
|
||||
-0.0029513796,
|
||||
0.0131224785,
|
||||
-0.056690685,
|
||||
-0.057956036,
|
||||
0.06140136,
|
||||
2.7669969e-33,
|
||||
0.0036719525,
|
||||
0.06695694,
|
||||
-0.05591421,
|
||||
0.025166295,
|
||||
0.014735592,
|
||||
0.03381445,
|
||||
0.09345791,
|
||||
-0.01053347,
|
||||
-0.046693947,
|
||||
0.14254177,
|
||||
-0.015430197,
|
||||
0.0066938214,
|
||||
0.07679359,
|
||||
-0.045779705,
|
||||
0.07989786,
|
||||
0.0036165903,
|
||||
0.023604553,
|
||||
-0.06533708,
|
||||
-0.04253485,
|
||||
-0.025912313,
|
||||
-0.0748119,
|
||||
0.10020777,
|
||||
0.12578633,
|
||||
0.06409652,
|
||||
-0.016682886,
|
||||
0.01406972,
|
||||
0.025274348,
|
||||
0.0017218525,
|
||||
-0.013340701,
|
||||
0.01172295,
|
||||
0.03772902,
|
||||
0.040607873,
|
||||
-0.120578945,
|
||||
0.024344057,
|
||||
0.03439985,
|
||||
-0.10167353,
|
||||
0.11863072,
|
||||
-0.03571693,
|
||||
-0.0126576,
|
||||
0.022622129,
|
||||
0.039235484,
|
||||
0.10625315,
|
||||
0.0106492825,
|
||||
0.076503076,
|
||||
0.02088746,
|
||||
0.06468519,
|
||||
0.08582322,
|
||||
-0.032148413,
|
||||
0.04359905,
|
||||
0.011070053,
|
||||
0.023209164,
|
||||
-0.06709916,
|
||||
0.055355705,
|
||||
-0.008128262,
|
||||
-0.026921155,
|
||||
0.076995976,
|
||||
-0.011614669,
|
||||
0.044967294,
|
||||
-0.02459807,
|
||||
0.020910041,
|
||||
-0.0016746842,
|
||||
0.02905443,
|
||||
-0.03898753,
|
||||
-0.01360213,
|
||||
-0.019878393,
|
||||
-0.057056017,
|
||||
-0.014543598,
|
||||
0.010161744,
|
||||
0.016893594,
|
||||
0.011981163,
|
||||
0.019902436,
|
||||
0.019194229,
|
||||
-0.06551642,
|
||||
-0.050247267,
|
||||
0.050837662,
|
||||
-0.075614415,
|
||||
-0.018767305,
|
||||
-0.012229684,
|
||||
0.0019464786,
|
||||
-0.0035209567,
|
||||
0.0699799,
|
||||
-0.02925182,
|
||||
-0.008455151,
|
||||
0.04742619,
|
||||
-0.0004527954,
|
||||
-0.014011262,
|
||||
-0.0035493495,
|
||||
0.08439228,
|
||||
-0.001586065,
|
||||
0.0016962147,
|
||||
-0.023180604,
|
||||
0.059889086,
|
||||
0.019616995,
|
||||
0.05435093,
|
||||
0.012301163,
|
||||
-1.5289881e-08,
|
||||
-0.038103975,
|
||||
-0.084179275,
|
||||
-0.013605872,
|
||||
-0.03277629,
|
||||
-0.020995136,
|
||||
0.08924277,
|
||||
0.005438667,
|
||||
-0.07047066,
|
||||
-0.03966912,
|
||||
-0.018226335,
|
||||
0.05716885,
|
||||
-0.026391266,
|
||||
-0.09881308,
|
||||
0.017511,
|
||||
-0.01952465,
|
||||
-0.06237397,
|
||||
-0.019553065,
|
||||
-0.0112019945,
|
||||
-0.030052405,
|
||||
0.010624359,
|
||||
-0.005598304,
|
||||
0.05326868,
|
||||
0.044162616,
|
||||
0.025812192,
|
||||
0.0059228353,
|
||||
0.059632093,
|
||||
0.06885661,
|
||||
0.08894283,
|
||||
-0.06225795,
|
||||
-0.038893122,
|
||||
0.028817136,
|
||||
0.08772772,
|
||||
0.017759481,
|
||||
-0.050048865,
|
||||
-0.0009810333,
|
||||
0.1297453,
|
||||
0.083138496,
|
||||
0.08161095,
|
||||
0.011747931,
|
||||
0.006871316,
|
||||
-0.07277484,
|
||||
-0.0020051182,
|
||||
-0.018357608,
|
||||
0.008882652,
|
||||
-0.03823878,
|
||||
-0.09057624,
|
||||
-0.06433315,
|
||||
-0.04256367,
|
||||
-0.030856675,
|
||||
-0.09314087,
|
||||
-0.043470908,
|
||||
0.012043298,
|
||||
-9.8401986e-05,
|
||||
0.040246293,
|
||||
-0.04912119,
|
||||
0.014575804,
|
||||
0.017479645,
|
||||
-0.00515073,
|
||||
-0.033331197,
|
||||
0.0075505474,
|
||||
0.07488009,
|
||||
0.06460031,
|
||||
0.044803377,
|
||||
-0.028485151
|
||||
],
|
||||
"index": 0,
|
||||
"object": "embedding"
|
||||
}
|
||||
],
|
||||
"model": "all-minilm:l6-v2",
|
||||
"object": "list",
|
||||
"usage": {
|
||||
"prompt_tokens": 5,
|
||||
"total_tokens": 5
|
||||
}
|
||||
}
|
||||
},
|
||||
"is_streaming": false
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,423 @@
|
|||
{
|
||||
"test_id": "tests/integration/vector_io/test_openai_vector_stores.py::test_openai_vector_store_search_relevance[client_with_models-ollama/llama3.2:3b-instruct-fp16-None-ollama/all-minilm:l6-v2-None-384-test_case1]",
|
||||
"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 automatically?"
|
||||
],
|
||||
"encoding_format": "float"
|
||||
},
|
||||
"endpoint": "/v1/embeddings",
|
||||
"model": "all-minilm:l6-v2"
|
||||
},
|
||||
"response": {
|
||||
"body": {
|
||||
"__type__": "openai.types.create_embedding_response.CreateEmbeddingResponse",
|
||||
"__data__": {
|
||||
"data": [
|
||||
{
|
||||
"embedding": [
|
||||
0.042460807,
|
||||
-0.06189971,
|
||||
-0.0784711,
|
||||
0.0064329687,
|
||||
0.03129365,
|
||||
0.00807445,
|
||||
0.05801836,
|
||||
0.025447326,
|
||||
0.016402787,
|
||||
0.045995634,
|
||||
-0.028924342,
|
||||
0.04451832,
|
||||
0.05686613,
|
||||
-0.015340794,
|
||||
-0.07020505,
|
||||
-0.057178136,
|
||||
-0.07683263,
|
||||
0.006748679,
|
||||
0.0043323045,
|
||||
-0.123651944,
|
||||
0.0031534543,
|
||||
-0.03258051,
|
||||
-0.02936216,
|
||||
0.024140852,
|
||||
-0.028559243,
|
||||
0.10224467,
|
||||
0.0021632623,
|
||||
-0.006975691,
|
||||
0.025292527,
|
||||
-0.055500276,
|
||||
0.031231727,
|
||||
-0.0070274337,
|
||||
0.08430815,
|
||||
-0.028431177,
|
||||
-0.083029,
|
||||
0.009555893,
|
||||
-0.020029299,
|
||||
-0.00243229,
|
||||
-0.00768719,
|
||||
-0.023077851,
|
||||
-0.09293533,
|
||||
-0.042625993,
|
||||
-0.020000124,
|
||||
0.008240663,
|
||||
0.060970567,
|
||||
0.050315727,
|
||||
-0.0510085,
|
||||
-0.008543903,
|
||||
-0.030227834,
|
||||
-0.03582846,
|
||||
-0.17836656,
|
||||
-0.047279052,
|
||||
0.033892106,
|
||||
0.031623542,
|
||||
-0.008832113,
|
||||
0.10480918,
|
||||
0.033559043,
|
||||
0.090348184,
|
||||
-0.015757555,
|
||||
-0.0125672715,
|
||||
-0.084686965,
|
||||
-0.114781834,
|
||||
-0.13755985,
|
||||
0.021652374,
|
||||
0.047834594,
|
||||
0.043243896,
|
||||
0.008659893,
|
||||
0.038724966,
|
||||
0.046716973,
|
||||
-0.077413626,
|
||||
-0.04887495,
|
||||
0.031287406,
|
||||
0.022356613,
|
||||
0.00043283988,
|
||||
0.052321073,
|
||||
-0.012254071,
|
||||
-0.035172574,
|
||||
-0.00825216,
|
||||
-0.008866574,
|
||||
-0.034267236,
|
||||
-0.04576201,
|
||||
0.002467568,
|
||||
-0.040877618,
|
||||
0.08047682,
|
||||
0.09472728,
|
||||
0.0413438,
|
||||
0.0057974122,
|
||||
0.044982508,
|
||||
0.025369909,
|
||||
0.006618073,
|
||||
0.010467276,
|
||||
-0.07960384,
|
||||
-0.03108485,
|
||||
-0.03528749,
|
||||
0.01831391,
|
||||
0.053473305,
|
||||
0.06568304,
|
||||
-0.07259002,
|
||||
0.02523736,
|
||||
0.10520362,
|
||||
0.035732146,
|
||||
0.028157586,
|
||||
0.011687256,
|
||||
0.044207197,
|
||||
0.012604437,
|
||||
0.0018819098,
|
||||
0.03926183,
|
||||
0.043135095,
|
||||
0.09784739,
|
||||
-0.08801336,
|
||||
-0.06060836,
|
||||
0.02681984,
|
||||
0.0041358666,
|
||||
0.033492945,
|
||||
0.011799116,
|
||||
0.009551661,
|
||||
-0.0095491735,
|
||||
-0.021212189,
|
||||
-0.008917248,
|
||||
0.029352615,
|
||||
-0.012693442,
|
||||
-0.019269384,
|
||||
0.009901157,
|
||||
-0.00812101,
|
||||
0.018603146,
|
||||
-0.0007501193,
|
||||
-0.056115113,
|
||||
-3.8018077e-33,
|
||||
0.020848714,
|
||||
0.0047160466,
|
||||
0.019726405,
|
||||
0.06024251,
|
||||
-0.0685974,
|
||||
-0.07497267,
|
||||
0.007997452,
|
||||
-0.047339544,
|
||||
0.057801835,
|
||||
0.049544968,
|
||||
0.01878086,
|
||||
0.03274472,
|
||||
0.017663997,
|
||||
0.07483022,
|
||||
0.02496901,
|
||||
-0.011843339,
|
||||
-0.11212756,
|
||||
0.0070379525,
|
||||
0.028099466,
|
||||
-0.01746246,
|
||||
0.08173482,
|
||||
-0.007920462,
|
||||
0.032095373,
|
||||
-0.12300146,
|
||||
0.033773854,
|
||||
0.025873141,
|
||||
-0.0045020077,
|
||||
0.079493225,
|
||||
0.0040725255,
|
||||
0.03305898,
|
||||
0.008061117,
|
||||
0.0134422695,
|
||||
-0.03292251,
|
||||
0.031554114,
|
||||
0.04013794,
|
||||
0.0014983519,
|
||||
0.030762345,
|
||||
0.029481992,
|
||||
0.041350223,
|
||||
-0.047438618,
|
||||
0.03944708,
|
||||
-0.07526981,
|
||||
0.037927423,
|
||||
-0.026016014,
|
||||
0.016933467,
|
||||
0.0136799775,
|
||||
0.0071263947,
|
||||
-0.05386736,
|
||||
-0.07443268,
|
||||
-0.006070775,
|
||||
0.024427462,
|
||||
-0.039844982,
|
||||
-0.020661902,
|
||||
-0.033354662,
|
||||
0.009005565,
|
||||
0.12111172,
|
||||
-0.028260944,
|
||||
-0.036192853,
|
||||
-0.021332363,
|
||||
0.05333571,
|
||||
0.05161245,
|
||||
-0.01204843,
|
||||
0.035563566,
|
||||
0.05408247,
|
||||
0.060722187,
|
||||
0.07159865,
|
||||
0.04299143,
|
||||
0.008544481,
|
||||
0.07421879,
|
||||
0.00841512,
|
||||
-0.036342908,
|
||||
-0.008549791,
|
||||
-0.08816386,
|
||||
-0.049075164,
|
||||
0.00029373015,
|
||||
-0.05127952,
|
||||
0.03586739,
|
||||
-0.030380003,
|
||||
-0.012642127,
|
||||
0.018771531,
|
||||
0.01711824,
|
||||
-0.06644723,
|
||||
0.023793438,
|
||||
0.0010271219,
|
||||
-0.01939443,
|
||||
-0.053452212,
|
||||
-0.017060323,
|
||||
-0.062207118,
|
||||
-0.05962535,
|
||||
-0.012172617,
|
||||
-0.013190802,
|
||||
-0.037036054,
|
||||
0.00082622556,
|
||||
0.098088354,
|
||||
0.024690514,
|
||||
2.1767905e-33,
|
||||
-0.010088812,
|
||||
-0.016811697,
|
||||
-0.042140447,
|
||||
0.08837209,
|
||||
-0.028899776,
|
||||
-0.0048947735,
|
||||
-0.082139015,
|
||||
0.029238816,
|
||||
-0.043079354,
|
||||
-0.014153092,
|
||||
-0.028387645,
|
||||
0.025998218,
|
||||
-0.017625,
|
||||
0.046511114,
|
||||
-0.005768211,
|
||||
0.030010609,
|
||||
0.011375536,
|
||||
0.017426634,
|
||||
0.055062976,
|
||||
0.032230247,
|
||||
-0.07995765,
|
||||
0.032486655,
|
||||
-0.060016844,
|
||||
-0.011561194,
|
||||
0.010211269,
|
||||
0.046528235,
|
||||
0.001191399,
|
||||
0.0786961,
|
||||
-0.0446158,
|
||||
0.032789085,
|
||||
0.0023115936,
|
||||
-0.03886269,
|
||||
-0.017663589,
|
||||
0.07913024,
|
||||
-0.004583343,
|
||||
0.043521065,
|
||||
-0.031589273,
|
||||
0.008867868,
|
||||
-0.05013296,
|
||||
0.068929516,
|
||||
0.043675046,
|
||||
0.019968731,
|
||||
-0.08471742,
|
||||
-0.046864275,
|
||||
-0.0068198936,
|
||||
-0.026138468,
|
||||
-0.05107216,
|
||||
0.054374695,
|
||||
0.03069186,
|
||||
-0.010925094,
|
||||
0.04721093,
|
||||
-0.017387696,
|
||||
-0.020754937,
|
||||
-0.081763394,
|
||||
-0.027709637,
|
||||
0.035980806,
|
||||
0.05396534,
|
||||
0.044874854,
|
||||
0.059699643,
|
||||
0.041227758,
|
||||
-0.06664364,
|
||||
-0.09201654,
|
||||
0.008915574,
|
||||
0.025849758,
|
||||
-0.038651932,
|
||||
-0.0044070315,
|
||||
-0.052066546,
|
||||
0.027435115,
|
||||
0.012089562,
|
||||
0.048306923,
|
||||
0.059854515,
|
||||
0.097325735,
|
||||
-0.053612895,
|
||||
-0.07639326,
|
||||
0.015773866,
|
||||
-0.0444848,
|
||||
-0.13214406,
|
||||
-0.0702488,
|
||||
-0.10134438,
|
||||
-0.11905995,
|
||||
-0.027714504,
|
||||
0.006891868,
|
||||
-0.0053650527,
|
||||
0.054135524,
|
||||
-0.111159205,
|
||||
0.07835098,
|
||||
0.03506018,
|
||||
0.016036613,
|
||||
0.021490784,
|
||||
-0.061526407,
|
||||
0.007425222,
|
||||
0.04833579,
|
||||
-0.01361202,
|
||||
0.012450488,
|
||||
-0.12729599,
|
||||
-1.4009424e-08,
|
||||
-0.040908325,
|
||||
-0.01596458,
|
||||
0.060048707,
|
||||
0.03804525,
|
||||
0.0663794,
|
||||
0.04727275,
|
||||
-0.016112225,
|
||||
0.09687414,
|
||||
-0.04424251,
|
||||
-0.028799534,
|
||||
-0.01294642,
|
||||
0.013026413,
|
||||
0.022404836,
|
||||
0.04713173,
|
||||
0.06402557,
|
||||
0.12130648,
|
||||
0.06062839,
|
||||
0.10218965,
|
||||
-0.0757528,
|
||||
-0.023806982,
|
||||
0.12489501,
|
||||
-0.045460615,
|
||||
0.09545599,
|
||||
0.021262301,
|
||||
0.03731495,
|
||||
-0.075220875,
|
||||
-0.0026194793,
|
||||
0.0472452,
|
||||
0.048499025,
|
||||
0.12358729,
|
||||
0.017998053,
|
||||
0.013811017,
|
||||
-0.035893846,
|
||||
-0.051789004,
|
||||
0.06182457,
|
||||
0.05160056,
|
||||
0.008895317,
|
||||
-0.12500942,
|
||||
0.016453298,
|
||||
-0.08590811,
|
||||
-0.071096726,
|
||||
0.06987216,
|
||||
-0.036072273,
|
||||
-0.0053715096,
|
||||
-0.048762616,
|
||||
0.00081640907,
|
||||
-0.021502526,
|
||||
-0.061078615,
|
||||
0.002485032,
|
||||
-0.032720752,
|
||||
0.045743283,
|
||||
0.038934175,
|
||||
-0.024666062,
|
||||
0.025897244,
|
||||
0.10301431,
|
||||
-0.013001504,
|
||||
0.04783332,
|
||||
-0.07114252,
|
||||
0.046031926,
|
||||
0.080549754,
|
||||
-0.10302451,
|
||||
0.08449227,
|
||||
0.028010191,
|
||||
-0.03697792
|
||||
],
|
||||
"index": 0,
|
||||
"object": "embedding"
|
||||
}
|
||||
],
|
||||
"model": "all-minilm:l6-v2",
|
||||
"object": "list",
|
||||
"usage": {
|
||||
"prompt_tokens": 6,
|
||||
"total_tokens": 6
|
||||
}
|
||||
}
|
||||
},
|
||||
"is_streaming": false
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,78 @@
|
|||
{
|
||||
"test_id": "tests/integration/vector_io/test_openai_vector_stores.py::test_openai_vector_store_search_with_max_num_results[client_with_models-ollama/llama3.2:3b-instruct-fp16-None-ollama/all-minilm:l6-v2-None-384]",
|
||||
"request": {
|
||||
"method": "POST",
|
||||
"url": "http://localhost:11434/api/ps",
|
||||
"headers": {},
|
||||
"body": {},
|
||||
"endpoint": "/api/ps",
|
||||
"model": ""
|
||||
},
|
||||
"response": {
|
||||
"body": {
|
||||
"__type__": "ollama._types.ProcessResponse",
|
||||
"__data__": {
|
||||
"models": [
|
||||
{
|
||||
"model": "all-minilm:l6-v2",
|
||||
"name": "all-minilm:l6-v2",
|
||||
"digest": "1b226e2802dbb772b5fc32a58f103ca1804ef7501331012de126ab22f67475ef",
|
||||
"expires_at": "2025-10-03T21:21:08.676069-07:00",
|
||||
"size": 585846784,
|
||||
"size_vram": 585846784,
|
||||
"details": {
|
||||
"parent_model": "",
|
||||
"format": "gguf",
|
||||
"family": "bert",
|
||||
"families": [
|
||||
"bert"
|
||||
],
|
||||
"parameter_size": "23M",
|
||||
"quantization_level": "F16"
|
||||
},
|
||||
"context_length": 256
|
||||
},
|
||||
{
|
||||
"model": "llama3.2:3b-instruct-fp16",
|
||||
"name": "llama3.2:3b-instruct-fp16",
|
||||
"digest": "195a8c01d91ec3cb1e0aad4624a51f2602c51fa7d96110f8ab5a20c84081804d",
|
||||
"expires_at": "2025-10-03T21:20:56.787737-07:00",
|
||||
"size": 7919570944,
|
||||
"size_vram": 7919570944,
|
||||
"details": {
|
||||
"parent_model": "",
|
||||
"format": "gguf",
|
||||
"family": "llama",
|
||||
"families": [
|
||||
"llama"
|
||||
],
|
||||
"parameter_size": "3.2B",
|
||||
"quantization_level": "F16"
|
||||
},
|
||||
"context_length": 4096
|
||||
},
|
||||
{
|
||||
"model": "llama-guard3:1b",
|
||||
"name": "llama-guard3:1b",
|
||||
"digest": "494147e06bf99e10dbe67b63a07ac81c162f18ef3341aa3390007ac828571b3b",
|
||||
"expires_at": "2025-10-03T21:16:14.288654-07:00",
|
||||
"size": 2350966784,
|
||||
"size_vram": 2350966784,
|
||||
"details": {
|
||||
"parent_model": "",
|
||||
"format": "gguf",
|
||||
"family": "llama",
|
||||
"families": [
|
||||
"llama"
|
||||
],
|
||||
"parameter_size": "1.5B",
|
||||
"quantization_level": "Q8_0"
|
||||
},
|
||||
"context_length": 4096
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
"is_streaming": false
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,423 @@
|
|||
{
|
||||
"test_id": "tests/integration/vector_io/test_openai_vector_stores.py::test_openai_vector_store_search_relevance[client_with_models-ollama/llama3.2:3b-instruct-fp16-None-ollama/all-minilm:l6-v2-None-384-test_case0]",
|
||||
"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 other languages?"
|
||||
],
|
||||
"encoding_format": "float"
|
||||
},
|
||||
"endpoint": "/v1/embeddings",
|
||||
"model": "all-minilm:l6-v2"
|
||||
},
|
||||
"response": {
|
||||
"body": {
|
||||
"__type__": "openai.types.create_embedding_response.CreateEmbeddingResponse",
|
||||
"__data__": {
|
||||
"data": [
|
||||
{
|
||||
"embedding": [
|
||||
-0.054516047,
|
||||
-0.016456056,
|
||||
-0.010628294,
|
||||
0.022998175,
|
||||
0.011771307,
|
||||
-0.11192805,
|
||||
-0.009638266,
|
||||
0.019111464,
|
||||
0.048958372,
|
||||
-0.040184658,
|
||||
-0.022362057,
|
||||
0.016236247,
|
||||
0.009179422,
|
||||
0.054799747,
|
||||
0.049246185,
|
||||
-0.095869735,
|
||||
-0.031108288,
|
||||
-0.010185289,
|
||||
-0.02914681,
|
||||
-0.08954776,
|
||||
-0.0006788293,
|
||||
0.03496997,
|
||||
0.016079746,
|
||||
0.003440155,
|
||||
0.039660316,
|
||||
-0.016080642,
|
||||
-0.028411511,
|
||||
0.021429215,
|
||||
0.046082154,
|
||||
-0.062199906,
|
||||
-0.023051145,
|
||||
0.10141082,
|
||||
0.025186997,
|
||||
-0.03625052,
|
||||
-0.032918967,
|
||||
0.034433577,
|
||||
-0.016646268,
|
||||
-0.066217534,
|
||||
-0.06070787,
|
||||
0.0006243064,
|
||||
-0.06383077,
|
||||
0.0077886702,
|
||||
-0.005127284,
|
||||
-0.036702275,
|
||||
-0.023532037,
|
||||
0.074247204,
|
||||
-0.017199293,
|
||||
0.064781435,
|
||||
-0.00963324,
|
||||
-0.0011216484,
|
||||
-0.094671436,
|
||||
0.029772488,
|
||||
-0.0828219,
|
||||
-0.053136364,
|
||||
-0.014507852,
|
||||
-0.015170829,
|
||||
0.03712605,
|
||||
0.071739994,
|
||||
-0.018907284,
|
||||
-0.11193762,
|
||||
-0.11859575,
|
||||
0.029719124,
|
||||
0.030655412,
|
||||
0.10308374,
|
||||
-0.027978238,
|
||||
-0.045611758,
|
||||
0.0013704232,
|
||||
0.004602404,
|
||||
0.032320693,
|
||||
-0.027153788,
|
||||
-0.06603313,
|
||||
-0.015827695,
|
||||
0.01920783,
|
||||
0.06879109,
|
||||
0.047088612,
|
||||
-0.1058506,
|
||||
0.046279814,
|
||||
-0.030967912,
|
||||
-0.06984916,
|
||||
-0.014879451,
|
||||
-0.0014568317,
|
||||
0.026731879,
|
||||
-0.04702097,
|
||||
0.076069675,
|
||||
0.05755153,
|
||||
-0.020301627,
|
||||
0.038702164,
|
||||
0.06855233,
|
||||
-0.06817319,
|
||||
-0.017392006,
|
||||
0.057020444,
|
||||
-0.0795406,
|
||||
-0.014256318,
|
||||
0.0036161602,
|
||||
-0.05289696,
|
||||
0.049625576,
|
||||
0.021482797,
|
||||
0.034989595,
|
||||
0.025457244,
|
||||
-0.004806878,
|
||||
0.051217325,
|
||||
-0.085426696,
|
||||
0.07142323,
|
||||
0.04465428,
|
||||
0.039311107,
|
||||
-0.013488202,
|
||||
0.07088864,
|
||||
-0.06598805,
|
||||
0.05922822,
|
||||
-0.023026757,
|
||||
-0.027465338,
|
||||
-0.046879534,
|
||||
-0.03751372,
|
||||
-0.0085191075,
|
||||
0.05315477,
|
||||
0.0037932945,
|
||||
-0.020239882,
|
||||
0.043557003,
|
||||
-0.03434906,
|
||||
0.04282584,
|
||||
-0.007332412,
|
||||
-0.0016165953,
|
||||
0.041878954,
|
||||
-0.025151564,
|
||||
-0.0301328,
|
||||
0.05601688,
|
||||
-0.03388191,
|
||||
-4.802144e-33,
|
||||
0.008930927,
|
||||
-0.10549414,
|
||||
-0.022485359,
|
||||
-0.00461374,
|
||||
0.10122854,
|
||||
-0.024063904,
|
||||
0.072040126,
|
||||
0.00826307,
|
||||
-0.017573163,
|
||||
-0.012551788,
|
||||
0.011197847,
|
||||
0.09432378,
|
||||
0.025232295,
|
||||
0.061275084,
|
||||
0.028605146,
|
||||
0.070148624,
|
||||
-0.028050693,
|
||||
0.042055413,
|
||||
0.012653081,
|
||||
0.051212482,
|
||||
0.06987365,
|
||||
0.113007665,
|
||||
0.063927636,
|
||||
0.04614841,
|
||||
0.00071471,
|
||||
-0.04746817,
|
||||
-0.007670411,
|
||||
-0.016275087,
|
||||
-0.039374933,
|
||||
-0.0060473024,
|
||||
-0.057836913,
|
||||
-0.032802302,
|
||||
0.030103875,
|
||||
0.049495216,
|
||||
0.006514002,
|
||||
-0.015127479,
|
||||
0.027406687,
|
||||
-0.13926439,
|
||||
0.04688173,
|
||||
-0.00014261098,
|
||||
0.023295157,
|
||||
0.014260961,
|
||||
0.00048042598,
|
||||
-0.019151432,
|
||||
-0.02166308,
|
||||
0.012344319,
|
||||
-0.03541818,
|
||||
-0.014996304,
|
||||
-0.12476534,
|
||||
0.017857043,
|
||||
-0.015367026,
|
||||
-0.030933712,
|
||||
0.0775453,
|
||||
0.067932405,
|
||||
-0.002991927,
|
||||
0.034482367,
|
||||
0.07207725,
|
||||
-0.008732087,
|
||||
-0.0038812195,
|
||||
-0.048092995,
|
||||
0.021236168,
|
||||
0.06584243,
|
||||
0.07847724,
|
||||
0.014562048,
|
||||
0.066736475,
|
||||
0.07221872,
|
||||
0.03357779,
|
||||
0.084165,
|
||||
0.01657892,
|
||||
0.04212138,
|
||||
-0.059364557,
|
||||
0.020403123,
|
||||
-0.065706775,
|
||||
0.045810685,
|
||||
0.0029439582,
|
||||
0.0034878643,
|
||||
-0.008467763,
|
||||
-0.14005418,
|
||||
0.056226924,
|
||||
0.05473064,
|
||||
-0.060421,
|
||||
-0.035074305,
|
||||
-0.05707729,
|
||||
-0.0104098,
|
||||
-0.089569785,
|
||||
-0.023614792,
|
||||
0.0344653,
|
||||
0.033663824,
|
||||
0.06720568,
|
||||
-0.0725603,
|
||||
-0.04185905,
|
||||
-0.08224899,
|
||||
0.010631505,
|
||||
-0.042881776,
|
||||
-0.0014539668,
|
||||
8.40692e-34,
|
||||
-0.07032476,
|
||||
0.0070766173,
|
||||
-0.03506184,
|
||||
0.021500606,
|
||||
-0.11258514,
|
||||
-0.045659322,
|
||||
0.08482931,
|
||||
0.050339974,
|
||||
0.0533988,
|
||||
0.01208183,
|
||||
-0.0019384808,
|
||||
-0.0860773,
|
||||
0.09599927,
|
||||
0.0037235345,
|
||||
0.060938608,
|
||||
0.015288853,
|
||||
-0.040593054,
|
||||
0.10491757,
|
||||
0.07109598,
|
||||
-0.0050172145,
|
||||
-0.049021836,
|
||||
0.091859885,
|
||||
-0.09862007,
|
||||
-0.012040684,
|
||||
-0.016914355,
|
||||
-0.028067894,
|
||||
-0.12471722,
|
||||
-0.078632146,
|
||||
-0.018693453,
|
||||
0.021743925,
|
||||
0.0057838396,
|
||||
0.051090635,
|
||||
-0.08270728,
|
||||
0.07299018,
|
||||
0.014088154,
|
||||
0.0010067249,
|
||||
-0.03681869,
|
||||
0.005664378,
|
||||
0.017898101,
|
||||
0.01379136,
|
||||
0.049959406,
|
||||
0.021462437,
|
||||
0.11088524,
|
||||
0.061694097,
|
||||
0.018546695,
|
||||
0.036211833,
|
||||
-0.06682083,
|
||||
0.036322806,
|
||||
-0.021121122,
|
||||
-0.079697676,
|
||||
0.065231666,
|
||||
0.002995329,
|
||||
0.0188468,
|
||||
-0.008694769,
|
||||
-0.058170997,
|
||||
-0.040058907,
|
||||
0.051831294,
|
||||
0.016280394,
|
||||
-0.08779952,
|
||||
-0.022270929,
|
||||
-0.013231236,
|
||||
-0.03801554,
|
||||
0.0254927,
|
||||
0.030549657,
|
||||
-0.054053955,
|
||||
0.040396415,
|
||||
-0.116118245,
|
||||
-0.026093038,
|
||||
-0.004378966,
|
||||
-0.15024145,
|
||||
0.08058958,
|
||||
-0.05766716,
|
||||
0.02520104,
|
||||
-0.0038984206,
|
||||
-0.06448939,
|
||||
0.020477816,
|
||||
-0.034754846,
|
||||
-0.029315596,
|
||||
-0.052802563,
|
||||
0.050487537,
|
||||
-0.03663958,
|
||||
-0.009309272,
|
||||
-0.031305738,
|
||||
-0.0010610216,
|
||||
-0.089741714,
|
||||
0.0445201,
|
||||
-0.058746234,
|
||||
0.028397618,
|
||||
0.057035178,
|
||||
-0.021242462,
|
||||
0.024774676,
|
||||
0.023253858,
|
||||
-0.025503494,
|
||||
0.066465355,
|
||||
0.011176001,
|
||||
-1.5780694e-08,
|
||||
-0.043592602,
|
||||
0.050871234,
|
||||
0.009062051,
|
||||
0.03658537,
|
||||
0.002769079,
|
||||
0.038917493,
|
||||
-0.013205564,
|
||||
0.006855097,
|
||||
-0.006784634,
|
||||
0.020516934,
|
||||
-0.029890155,
|
||||
-0.005596517,
|
||||
-0.06777992,
|
||||
-0.05436433,
|
||||
0.02436097,
|
||||
0.13761573,
|
||||
-0.07139558,
|
||||
0.007746665,
|
||||
0.051632155,
|
||||
0.059728563,
|
||||
0.0424793,
|
||||
-0.035606194,
|
||||
-0.05791164,
|
||||
0.044417217,
|
||||
-0.105627485,
|
||||
0.009701339,
|
||||
-0.016052725,
|
||||
0.03566595,
|
||||
0.023313522,
|
||||
-0.079250954,
|
||||
0.0054293363,
|
||||
-0.060480006,
|
||||
-0.044735,
|
||||
0.013152052,
|
||||
-0.015912784,
|
||||
-0.012098195,
|
||||
0.0058634495,
|
||||
-0.070984975,
|
||||
0.017616477,
|
||||
0.03611389,
|
||||
0.023517592,
|
||||
-0.007936504,
|
||||
-0.03601146,
|
||||
0.0059993765,
|
||||
0.059939068,
|
||||
0.0058700717,
|
||||
-0.05880679,
|
||||
-0.04119574,
|
||||
-0.038231015,
|
||||
-0.030013425,
|
||||
0.01916342,
|
||||
-0.020920184,
|
||||
-0.008940394,
|
||||
-0.025874808,
|
||||
0.08722286,
|
||||
0.042265054,
|
||||
-0.09463029,
|
||||
-0.034977533,
|
||||
0.05149754,
|
||||
0.042541843,
|
||||
-0.01818799,
|
||||
0.06035198,
|
||||
0.1938343,
|
||||
0.01467125
|
||||
],
|
||||
"index": 0,
|
||||
"object": "embedding"
|
||||
}
|
||||
],
|
||||
"model": "all-minilm:l6-v2",
|
||||
"object": "list",
|
||||
"usage": {
|
||||
"prompt_tokens": 8,
|
||||
"total_tokens": 8
|
||||
}
|
||||
}
|
||||
},
|
||||
"is_streaming": false
|
||||
}
|
||||
}
|
||||
File diff suppressed because it is too large
Load diff
File diff suppressed because it is too large
Load diff
|
|
@ -0,0 +1,423 @@
|
|||
{
|
||||
"test_id": "tests/integration/vector_io/test_openai_vector_stores.py::test_openai_vector_store_list_files[client_with_models-ollama/llama3.2:3b-instruct-fp16-None-ollama/all-minilm:l6-v2-None-384]",
|
||||
"request": {
|
||||
"method": "POST",
|
||||
"url": "http://0.0.0.0:11434/v1/v1/embeddings",
|
||||
"headers": {},
|
||||
"body": {
|
||||
"model": "all-minilm:l6-v2",
|
||||
"input": [
|
||||
"This is a test file 2"
|
||||
],
|
||||
"encoding_format": "float"
|
||||
},
|
||||
"endpoint": "/v1/embeddings",
|
||||
"model": "all-minilm:l6-v2"
|
||||
},
|
||||
"response": {
|
||||
"body": {
|
||||
"__type__": "openai.types.create_embedding_response.CreateEmbeddingResponse",
|
||||
"__data__": {
|
||||
"data": [
|
||||
{
|
||||
"embedding": [
|
||||
-0.028407024,
|
||||
0.08176727,
|
||||
-0.07856116,
|
||||
0.027924549,
|
||||
0.05008439,
|
||||
-0.035268802,
|
||||
-0.0040619136,
|
||||
0.029315198,
|
||||
-0.05775003,
|
||||
0.013769637,
|
||||
0.14610882,
|
||||
-0.012019041,
|
||||
-0.024392882,
|
||||
-0.05509032,
|
||||
-0.02661779,
|
||||
-0.013253934,
|
||||
-0.109151706,
|
||||
-0.037233494,
|
||||
-0.0036058167,
|
||||
0.04766495,
|
||||
0.06212885,
|
||||
0.0070259646,
|
||||
-0.015513743,
|
||||
-0.008010851,
|
||||
0.037648663,
|
||||
0.01587603,
|
||||
-0.041856695,
|
||||
0.09732178,
|
||||
-0.025641596,
|
||||
-0.11368298,
|
||||
0.03550726,
|
||||
0.07043342,
|
||||
0.016779423,
|
||||
0.02220752,
|
||||
0.123395406,
|
||||
0.0077137193,
|
||||
0.12550895,
|
||||
0.008077936,
|
||||
-0.026158499,
|
||||
0.0028612812,
|
||||
0.018155744,
|
||||
-0.04666325,
|
||||
0.041025575,
|
||||
0.0013476727,
|
||||
0.0019516364,
|
||||
0.008663665,
|
||||
0.016689047,
|
||||
0.02200178,
|
||||
0.0020768014,
|
||||
-0.032861207,
|
||||
-0.086455174,
|
||||
0.008047145,
|
||||
-0.07434091,
|
||||
-0.016292974,
|
||||
0.06051878,
|
||||
0.005966867,
|
||||
0.0160179,
|
||||
0.021412006,
|
||||
0.009540338,
|
||||
0.03177335,
|
||||
0.023032434,
|
||||
0.03437097,
|
||||
-0.04224765,
|
||||
0.024748176,
|
||||
0.116213955,
|
||||
-0.024936162,
|
||||
-0.03895259,
|
||||
-0.024991278,
|
||||
-0.020854436,
|
||||
-0.08835937,
|
||||
-0.15073228,
|
||||
0.020921277,
|
||||
-0.022518696,
|
||||
0.0023868105,
|
||||
0.0057663955,
|
||||
-0.0015790414,
|
||||
-0.11985628,
|
||||
-0.0029912454,
|
||||
0.0550998,
|
||||
-0.11830636,
|
||||
-0.058846988,
|
||||
-0.15046737,
|
||||
0.018624697,
|
||||
-0.0093440395,
|
||||
-0.028901154,
|
||||
0.08400474,
|
||||
0.0437436,
|
||||
-0.0006745939,
|
||||
-0.052540295,
|
||||
0.00024754918,
|
||||
0.040431518,
|
||||
0.0066545215,
|
||||
0.02609114,
|
||||
0.051891107,
|
||||
0.012606882,
|
||||
0.061448827,
|
||||
0.013889043,
|
||||
0.038454182,
|
||||
0.048222367,
|
||||
0.104106456,
|
||||
-0.026478294,
|
||||
-0.021488149,
|
||||
-0.020865437,
|
||||
0.05061779,
|
||||
-0.05171592,
|
||||
-0.07573864,
|
||||
0.057483904,
|
||||
-0.049993664,
|
||||
0.06528295,
|
||||
-0.02875688,
|
||||
0.038766492,
|
||||
-0.062760465,
|
||||
-0.0144796055,
|
||||
-0.063462086,
|
||||
0.06642258,
|
||||
-0.014848135,
|
||||
-0.03523116,
|
||||
0.0774014,
|
||||
-0.039893247,
|
||||
0.032182425,
|
||||
0.10171478,
|
||||
-0.022525396,
|
||||
-0.059299074,
|
||||
0.00038746602,
|
||||
-0.05779858,
|
||||
-0.07034273,
|
||||
0.06375495,
|
||||
-4.088634e-33,
|
||||
-0.021801252,
|
||||
-0.07985834,
|
||||
-0.013881648,
|
||||
0.14923096,
|
||||
0.02520313,
|
||||
-0.042283125,
|
||||
-0.0067697223,
|
||||
0.054634638,
|
||||
-0.09223034,
|
||||
0.0081036305,
|
||||
-0.03861765,
|
||||
-0.117698364,
|
||||
0.012977803,
|
||||
0.034548674,
|
||||
-0.01703291,
|
||||
0.011910173,
|
||||
0.012945288,
|
||||
0.04277919,
|
||||
-0.017591223,
|
||||
-0.0184066,
|
||||
0.06513148,
|
||||
0.04050013,
|
||||
-0.02252127,
|
||||
-0.060939074,
|
||||
-0.018603502,
|
||||
0.011679816,
|
||||
0.01410369,
|
||||
-0.06763908,
|
||||
0.08543174,
|
||||
0.030138582,
|
||||
0.010859261,
|
||||
-0.054844614,
|
||||
-0.024129191,
|
||||
0.048327282,
|
||||
0.00750549,
|
||||
0.013356204,
|
||||
0.024558878,
|
||||
-0.005942624,
|
||||
-0.045620095,
|
||||
-0.00484637,
|
||||
0.004418298,
|
||||
-0.0023806267,
|
||||
0.013590539,
|
||||
-0.016870445,
|
||||
0.06959721,
|
||||
-0.07736302,
|
||||
0.02058481,
|
||||
0.0048155314,
|
||||
0.055696823,
|
||||
0.0131223425,
|
||||
-0.011748222,
|
||||
0.040935397,
|
||||
0.007458848,
|
||||
0.042072233,
|
||||
0.010358565,
|
||||
0.019406458,
|
||||
0.011092792,
|
||||
0.017259602,
|
||||
0.018278012,
|
||||
0.077335365,
|
||||
0.019612921,
|
||||
0.05268688,
|
||||
-0.05863009,
|
||||
0.039751627,
|
||||
-0.050250556,
|
||||
-0.048913844,
|
||||
-0.05265637,
|
||||
-0.09227304,
|
||||
0.0755598,
|
||||
0.08097828,
|
||||
-0.022257954,
|
||||
-0.042141132,
|
||||
0.056546185,
|
||||
0.023585746,
|
||||
0.0015263582,
|
||||
-0.049815144,
|
||||
0.002336895,
|
||||
0.028626408,
|
||||
-0.06897293,
|
||||
-0.04780049,
|
||||
-0.048637427,
|
||||
-0.076585636,
|
||||
-0.03285766,
|
||||
-0.046012525,
|
||||
-0.0573021,
|
||||
-0.080889866,
|
||||
-0.008056378,
|
||||
-0.0936112,
|
||||
0.051229417,
|
||||
-0.058302302,
|
||||
-0.0005942833,
|
||||
0.02222621,
|
||||
-0.046907477,
|
||||
-0.08964737,
|
||||
0.1195762,
|
||||
2.0452953e-33,
|
||||
0.012159685,
|
||||
0.086426094,
|
||||
-0.023217503,
|
||||
0.002771192,
|
||||
-0.0010614472,
|
||||
0.03487195,
|
||||
0.07328719,
|
||||
-0.049876485,
|
||||
-0.041938163,
|
||||
0.13486409,
|
||||
-0.00690217,
|
||||
0.006254477,
|
||||
0.059122436,
|
||||
-0.028893106,
|
||||
0.09141587,
|
||||
-0.018487127,
|
||||
0.0077112317,
|
||||
-0.044207573,
|
||||
-0.0251735,
|
||||
-0.014999972,
|
||||
-0.035417248,
|
||||
0.12413253,
|
||||
0.13118097,
|
||||
0.081015825,
|
||||
-0.03327241,
|
||||
0.003976432,
|
||||
0.026454262,
|
||||
0.026598025,
|
||||
0.017349144,
|
||||
-0.0036153824,
|
||||
0.035460044,
|
||||
0.05956128,
|
||||
-0.124593176,
|
||||
0.021954069,
|
||||
0.025635097,
|
||||
-0.11063109,
|
||||
0.096061416,
|
||||
-0.06731725,
|
||||
-0.011819293,
|
||||
0.042329434,
|
||||
0.03790837,
|
||||
0.10582649,
|
||||
0.0073426333,
|
||||
0.06629678,
|
||||
0.022922922,
|
||||
0.0494007,
|
||||
0.14639522,
|
||||
-0.0067070075,
|
||||
0.004380622,
|
||||
-0.029196544,
|
||||
-0.009010303,
|
||||
-0.08637028,
|
||||
0.03588363,
|
||||
0.0029887543,
|
||||
-0.029351206,
|
||||
0.07019312,
|
||||
0.014898416,
|
||||
0.028345235,
|
||||
-0.040354595,
|
||||
0.01916304,
|
||||
0.015590835,
|
||||
0.028637327,
|
||||
-0.019529723,
|
||||
-0.018309733,
|
||||
-0.0054176697,
|
||||
-0.093132764,
|
||||
-0.06116049,
|
||||
0.038816936,
|
||||
0.02793884,
|
||||
0.034137025,
|
||||
-0.027511358,
|
||||
0.010699668,
|
||||
-0.05521562,
|
||||
-0.07380209,
|
||||
0.021521263,
|
||||
-0.015450832,
|
||||
-0.024988633,
|
||||
-0.004755674,
|
||||
0.030465573,
|
||||
-0.024057997,
|
||||
0.0341225,
|
||||
-0.0103128245,
|
||||
-0.012666524,
|
||||
0.03628323,
|
||||
-0.0044518244,
|
||||
-0.014977736,
|
||||
0.02790076,
|
||||
0.0978009,
|
||||
-0.026436698,
|
||||
-0.005187212,
|
||||
-0.019124882,
|
||||
0.06205225,
|
||||
0.052137945,
|
||||
0.037870288,
|
||||
0.012578256,
|
||||
-1.705626e-08,
|
||||
-0.05000592,
|
||||
-0.08913878,
|
||||
-0.0035273295,
|
||||
-0.01577607,
|
||||
-0.021846429,
|
||||
0.07184407,
|
||||
-0.050185654,
|
||||
-0.010643527,
|
||||
-0.030602882,
|
||||
-0.01577121,
|
||||
0.013220822,
|
||||
-0.0025653532,
|
||||
-0.04210823,
|
||||
0.009286525,
|
||||
-0.041129403,
|
||||
-0.029615805,
|
||||
0.002200794,
|
||||
-0.032989334,
|
||||
-0.05041253,
|
||||
-0.021504797,
|
||||
-0.0068345494,
|
||||
0.0084738685,
|
||||
0.03568697,
|
||||
0.0252117,
|
||||
-0.016504692,
|
||||
0.04915123,
|
||||
0.018349955,
|
||||
0.049084183,
|
||||
-0.058165494,
|
||||
-0.015055481,
|
||||
0.045743454,
|
||||
0.049920842,
|
||||
0.020444298,
|
||||
-0.052004594,
|
||||
-0.033592116,
|
||||
0.061816722,
|
||||
0.111411005,
|
||||
0.07770497,
|
||||
0.022457859,
|
||||
0.0025742552,
|
||||
-0.043929543,
|
||||
0.008576763,
|
||||
-0.036182683,
|
||||
0.029673496,
|
||||
-0.017278075,
|
||||
-0.09458994,
|
||||
-0.057882637,
|
||||
-0.06579892,
|
||||
-0.06124832,
|
||||
-0.10455079,
|
||||
-0.02925637,
|
||||
0.0013624659,
|
||||
0.0060532107,
|
||||
0.04077331,
|
||||
-0.036694046,
|
||||
0.016800206,
|
||||
0.005279432,
|
||||
0.030968234,
|
||||
-0.05446385,
|
||||
0.0048696757,
|
||||
0.070877954,
|
||||
0.06684445,
|
||||
0.017715273,
|
||||
-0.029237686
|
||||
],
|
||||
"index": 0,
|
||||
"object": "embedding"
|
||||
}
|
||||
],
|
||||
"model": "all-minilm:l6-v2",
|
||||
"object": "list",
|
||||
"usage": {
|
||||
"prompt_tokens": 6,
|
||||
"total_tokens": 6
|
||||
}
|
||||
}
|
||||
},
|
||||
"is_streaming": false
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,78 @@
|
|||
{
|
||||
"test_id": "tests/integration/vector_io/test_openai_vector_stores.py::test_openai_vector_store_search_relevance[client_with_models-ollama/llama3.2:3b-instruct-fp16-None-ollama/all-minilm:l6-v2-None-384-test_case0]",
|
||||
"request": {
|
||||
"method": "POST",
|
||||
"url": "http://localhost:11434/api/ps",
|
||||
"headers": {},
|
||||
"body": {},
|
||||
"endpoint": "/api/ps",
|
||||
"model": ""
|
||||
},
|
||||
"response": {
|
||||
"body": {
|
||||
"__type__": "ollama._types.ProcessResponse",
|
||||
"__data__": {
|
||||
"models": [
|
||||
{
|
||||
"model": "all-minilm:l6-v2",
|
||||
"name": "all-minilm:l6-v2",
|
||||
"digest": "1b226e2802dbb772b5fc32a58f103ca1804ef7501331012de126ab22f67475ef",
|
||||
"expires_at": "2025-10-03T21:21:13.240742-07:00",
|
||||
"size": 585846784,
|
||||
"size_vram": 585846784,
|
||||
"details": {
|
||||
"parent_model": "",
|
||||
"format": "gguf",
|
||||
"family": "bert",
|
||||
"families": [
|
||||
"bert"
|
||||
],
|
||||
"parameter_size": "23M",
|
||||
"quantization_level": "F16"
|
||||
},
|
||||
"context_length": 256
|
||||
},
|
||||
{
|
||||
"model": "llama3.2:3b-instruct-fp16",
|
||||
"name": "llama3.2:3b-instruct-fp16",
|
||||
"digest": "195a8c01d91ec3cb1e0aad4624a51f2602c51fa7d96110f8ab5a20c84081804d",
|
||||
"expires_at": "2025-10-03T21:20:56.787737-07:00",
|
||||
"size": 7919570944,
|
||||
"size_vram": 7919570944,
|
||||
"details": {
|
||||
"parent_model": "",
|
||||
"format": "gguf",
|
||||
"family": "llama",
|
||||
"families": [
|
||||
"llama"
|
||||
],
|
||||
"parameter_size": "3.2B",
|
||||
"quantization_level": "F16"
|
||||
},
|
||||
"context_length": 4096
|
||||
},
|
||||
{
|
||||
"model": "llama-guard3:1b",
|
||||
"name": "llama-guard3:1b",
|
||||
"digest": "494147e06bf99e10dbe67b63a07ac81c162f18ef3341aa3390007ac828571b3b",
|
||||
"expires_at": "2025-10-03T21:16:14.288654-07:00",
|
||||
"size": 2350966784,
|
||||
"size_vram": 2350966784,
|
||||
"details": {
|
||||
"parent_model": "",
|
||||
"format": "gguf",
|
||||
"family": "llama",
|
||||
"families": [
|
||||
"llama"
|
||||
],
|
||||
"parameter_size": "1.5B",
|
||||
"quantization_level": "Q8_0"
|
||||
},
|
||||
"context_length": 4096
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
"is_streaming": false
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,423 @@
|
|||
{
|
||||
"test_id": "tests/integration/vector_io/test_vector_io.py::test_insert_chunks[emb=ollama/all-minilm:l6-v2:dim=384-test_case4]",
|
||||
"request": {
|
||||
"method": "POST",
|
||||
"url": "http://0.0.0.0:11434/v1/v1/embeddings",
|
||||
"headers": {},
|
||||
"body": {
|
||||
"model": "all-minilm:l6-v2",
|
||||
"input": [
|
||||
"How does machine learning improve over time?"
|
||||
],
|
||||
"encoding_format": "float"
|
||||
},
|
||||
"endpoint": "/v1/embeddings",
|
||||
"model": "all-minilm:l6-v2"
|
||||
},
|
||||
"response": {
|
||||
"body": {
|
||||
"__type__": "openai.types.create_embedding_response.CreateEmbeddingResponse",
|
||||
"__data__": {
|
||||
"data": [
|
||||
{
|
||||
"embedding": [
|
||||
-0.014445183,
|
||||
-0.009654587,
|
||||
0.10597255,
|
||||
0.033844832,
|
||||
0.08258401,
|
||||
-0.016073994,
|
||||
-0.10565998,
|
||||
-0.041170366,
|
||||
-0.037101638,
|
||||
-0.042355694,
|
||||
-0.092800476,
|
||||
0.14738984,
|
||||
0.02073352,
|
||||
-0.04585085,
|
||||
-0.018904693,
|
||||
0.0057111536,
|
||||
-0.00990371,
|
||||
0.024870383,
|
||||
-0.0643097,
|
||||
-0.15703635,
|
||||
-0.041487914,
|
||||
-0.02551005,
|
||||
0.0041570948,
|
||||
0.002755327,
|
||||
0.015192153,
|
||||
0.004825202,
|
||||
-0.008017003,
|
||||
0.0135293985,
|
||||
0.020625206,
|
||||
-0.021382572,
|
||||
-0.008219624,
|
||||
0.016415505,
|
||||
0.024082497,
|
||||
0.04667946,
|
||||
-0.12017151,
|
||||
0.027111264,
|
||||
0.009567663,
|
||||
0.07104433,
|
||||
-0.0075714453,
|
||||
0.0075137764,
|
||||
-0.046612848,
|
||||
-0.06467026,
|
||||
-0.01701626,
|
||||
-0.033229064,
|
||||
0.09738016,
|
||||
0.023499198,
|
||||
0.033301026,
|
||||
-0.07453178,
|
||||
-0.014937841,
|
||||
-0.004009824,
|
||||
-0.14380075,
|
||||
-0.049340166,
|
||||
0.031866375,
|
||||
-0.037347607,
|
||||
-0.014127062,
|
||||
0.06710688,
|
||||
0.032435875,
|
||||
0.1073399,
|
||||
0.0076118726,
|
||||
-0.03449041,
|
||||
-0.013211566,
|
||||
-0.08043777,
|
||||
-0.08540821,
|
||||
0.020908045,
|
||||
0.05838844,
|
||||
-0.068850316,
|
||||
-0.011408923,
|
||||
0.033571277,
|
||||
-0.003625804,
|
||||
0.032300755,
|
||||
-0.0031629566,
|
||||
0.10450478,
|
||||
-0.035273418,
|
||||
-0.004964187,
|
||||
0.030840868,
|
||||
0.033008352,
|
||||
0.0014793881,
|
||||
-0.016016793,
|
||||
0.095193624,
|
||||
-0.012352839,
|
||||
0.056897637,
|
||||
0.0018629982,
|
||||
-0.014621383,
|
||||
0.05316159,
|
||||
0.056566507,
|
||||
-0.07527745,
|
||||
0.0047514304,
|
||||
-0.041596726,
|
||||
-0.07345409,
|
||||
-0.06410288,
|
||||
0.08828315,
|
||||
-0.038327314,
|
||||
-0.04579678,
|
||||
-0.053514626,
|
||||
-0.009097837,
|
||||
0.017636398,
|
||||
-0.006708366,
|
||||
-0.032169648,
|
||||
0.037196606,
|
||||
0.11070655,
|
||||
-0.057413373,
|
||||
0.080887154,
|
||||
0.009774811,
|
||||
-0.03158706,
|
||||
0.05514812,
|
||||
0.007367309,
|
||||
0.087626286,
|
||||
0.051408686,
|
||||
0.053192124,
|
||||
-0.04280333,
|
||||
-0.002030632,
|
||||
0.045979824,
|
||||
-0.03926028,
|
||||
-0.014041888,
|
||||
0.0012870965,
|
||||
-0.031039823,
|
||||
-0.044484112,
|
||||
0.027111668,
|
||||
-0.036867935,
|
||||
0.10270427,
|
||||
-0.0017841645,
|
||||
-0.0014521909,
|
||||
-0.0060089766,
|
||||
0.0044829105,
|
||||
-0.033995174,
|
||||
0.016447132,
|
||||
-0.029764142,
|
||||
-2.9425865e-33,
|
||||
-0.03065355,
|
||||
-0.06274892,
|
||||
-0.02032552,
|
||||
0.03412096,
|
||||
-0.020956447,
|
||||
-0.08833501,
|
||||
-0.033842463,
|
||||
-0.065666825,
|
||||
0.051962674,
|
||||
-0.024898706,
|
||||
-0.0019572708,
|
||||
0.037274398,
|
||||
0.0057915524,
|
||||
0.04256373,
|
||||
0.06545092,
|
||||
0.0021057355,
|
||||
-0.07834314,
|
||||
0.040396694,
|
||||
0.048470274,
|
||||
0.0068822177,
|
||||
0.045191333,
|
||||
-0.08204471,
|
||||
0.015138025,
|
||||
-0.032225505,
|
||||
-0.0019436254,
|
||||
0.026963014,
|
||||
0.060294133,
|
||||
0.05053382,
|
||||
-0.038975775,
|
||||
0.00902214,
|
||||
0.04729025,
|
||||
0.027264046,
|
||||
-0.11625797,
|
||||
0.036381606,
|
||||
0.067938894,
|
||||
0.044499546,
|
||||
0.04823323,
|
||||
-0.014156788,
|
||||
0.071356796,
|
||||
0.009203482,
|
||||
-0.039818425,
|
||||
-0.03104177,
|
||||
0.043964274,
|
||||
-0.055055745,
|
||||
0.004184981,
|
||||
0.011073149,
|
||||
0.024190389,
|
||||
-0.10402976,
|
||||
-0.09454197,
|
||||
-0.016023466,
|
||||
-0.009589097,
|
||||
-0.03539048,
|
||||
-0.095120296,
|
||||
-0.00015096071,
|
||||
-0.026121946,
|
||||
0.087671585,
|
||||
-0.0120407585,
|
||||
-0.05861364,
|
||||
-0.013744345,
|
||||
0.018921549,
|
||||
0.10381874,
|
||||
-0.002846765,
|
||||
0.0058152117,
|
||||
0.017561922,
|
||||
0.041036002,
|
||||
0.11671107,
|
||||
0.09343372,
|
||||
0.028540362,
|
||||
0.043367308,
|
||||
0.04912676,
|
||||
0.024090521,
|
||||
-0.010904253,
|
||||
-0.06667193,
|
||||
-0.08496636,
|
||||
0.064724796,
|
||||
-0.052805334,
|
||||
0.045874722,
|
||||
-0.044994406,
|
||||
0.01500786,
|
||||
0.010131178,
|
||||
0.009799493,
|
||||
-0.051085465,
|
||||
0.0036220888,
|
||||
-0.0619582,
|
||||
0.03689417,
|
||||
-0.0015550242,
|
||||
0.01169604,
|
||||
-0.08581751,
|
||||
0.018775744,
|
||||
-0.0075216824,
|
||||
-0.09165994,
|
||||
-0.038218703,
|
||||
0.020158518,
|
||||
0.01817606,
|
||||
-0.040904928,
|
||||
1.0062375e-33,
|
||||
-0.08228865,
|
||||
0.010017119,
|
||||
-0.007500525,
|
||||
0.13929924,
|
||||
-0.06341449,
|
||||
-0.022938201,
|
||||
-0.12403692,
|
||||
0.047394782,
|
||||
-0.041631985,
|
||||
-0.01396022,
|
||||
0.0074987584,
|
||||
-0.0072390046,
|
||||
0.05974383,
|
||||
0.03858655,
|
||||
-0.0055575324,
|
||||
0.051137295,
|
||||
-0.017884245,
|
||||
0.009295199,
|
||||
-0.04390098,
|
||||
-0.024609054,
|
||||
2.0489018e-05,
|
||||
0.09353212,
|
||||
0.0047838883,
|
||||
-0.0018646725,
|
||||
0.008024371,
|
||||
0.011243519,
|
||||
-0.09137211,
|
||||
0.06821869,
|
||||
0.007185605,
|
||||
-0.030868849,
|
||||
-0.051907785,
|
||||
-0.027684681,
|
||||
-0.033134032,
|
||||
0.055578813,
|
||||
0.023546621,
|
||||
0.037239935,
|
||||
0.0047324942,
|
||||
-0.08015001,
|
||||
0.024990648,
|
||||
0.067437105,
|
||||
0.033119615,
|
||||
0.00025944243,
|
||||
-0.045365833,
|
||||
-0.06475522,
|
||||
0.023568489,
|
||||
-0.007590751,
|
||||
-0.04813607,
|
||||
0.021937499,
|
||||
0.0790771,
|
||||
-0.038581446,
|
||||
0.10290983,
|
||||
0.03353223,
|
||||
-0.016589917,
|
||||
-0.07674691,
|
||||
-0.039072223,
|
||||
0.008310251,
|
||||
0.014517375,
|
||||
-0.027821902,
|
||||
-0.02197131,
|
||||
0.1155822,
|
||||
-0.11817934,
|
||||
-0.021705015,
|
||||
0.010249724,
|
||||
0.027092604,
|
||||
0.017945405,
|
||||
0.022173801,
|
||||
0.004724721,
|
||||
0.030023148,
|
||||
-0.024871614,
|
||||
-0.016075572,
|
||||
0.051689487,
|
||||
0.022260286,
|
||||
-0.09371388,
|
||||
0.027562123,
|
||||
-0.089939594,
|
||||
0.019261675,
|
||||
0.011252926,
|
||||
-0.019322991,
|
||||
-0.10721179,
|
||||
-0.0078069493,
|
||||
-0.061135665,
|
||||
-0.07851136,
|
||||
-0.012761501,
|
||||
0.015778756,
|
||||
-0.023733826,
|
||||
0.06478411,
|
||||
0.05301324,
|
||||
-0.04084499,
|
||||
-0.009405145,
|
||||
-0.015252308,
|
||||
-0.03358466,
|
||||
0.0035134314,
|
||||
-0.106065415,
|
||||
-0.0038029929,
|
||||
-0.057663117,
|
||||
-1.46568055e-08,
|
||||
-0.013713633,
|
||||
0.03869807,
|
||||
0.0555249,
|
||||
0.014298617,
|
||||
0.10692336,
|
||||
-0.02456042,
|
||||
-0.052134693,
|
||||
0.14770155,
|
||||
-0.04481164,
|
||||
-0.065593,
|
||||
0.09026861,
|
||||
0.0032450645,
|
||||
0.021568127,
|
||||
0.015429909,
|
||||
0.068662986,
|
||||
0.07788491,
|
||||
0.01886548,
|
||||
0.032911487,
|
||||
-0.030448647,
|
||||
0.028750565,
|
||||
0.07331889,
|
||||
-0.004694389,
|
||||
0.09965557,
|
||||
-0.029518835,
|
||||
0.015779093,
|
||||
-0.062407773,
|
||||
-0.009757171,
|
||||
0.057655945,
|
||||
0.0081095835,
|
||||
0.047550257,
|
||||
-0.03482923,
|
||||
0.06721373,
|
||||
-0.0011755727,
|
||||
0.009683897,
|
||||
0.06402854,
|
||||
-0.0030552682,
|
||||
0.020944055,
|
||||
-0.052277595,
|
||||
-0.066048786,
|
||||
0.025421483,
|
||||
-0.037246153,
|
||||
0.10404702,
|
||||
-0.045361478,
|
||||
0.010466402,
|
||||
0.042747788,
|
||||
0.006050319,
|
||||
0.030922255,
|
||||
0.008923772,
|
||||
-0.046133805,
|
||||
-0.012284033,
|
||||
0.07955781,
|
||||
0.098930314,
|
||||
0.0439621,
|
||||
0.033146787,
|
||||
0.054618992,
|
||||
0.01350129,
|
||||
0.032790348,
|
||||
-0.055694897,
|
||||
-0.011699575,
|
||||
0.07338134,
|
||||
-0.019679813,
|
||||
-0.03570012,
|
||||
-0.03824875,
|
||||
-0.025066558
|
||||
],
|
||||
"index": 0,
|
||||
"object": "embedding"
|
||||
}
|
||||
],
|
||||
"model": "all-minilm:l6-v2",
|
||||
"object": "list",
|
||||
"usage": {
|
||||
"prompt_tokens": 8,
|
||||
"total_tokens": 8
|
||||
}
|
||||
}
|
||||
},
|
||||
"is_streaming": false
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,78 @@
|
|||
{
|
||||
"test_id": "tests/integration/vector_io/test_openai_vector_stores.py::test_openai_delete_vector_store[client_with_models-ollama/llama3.2:3b-instruct-fp16-None-ollama/all-minilm:l6-v2-None-384]",
|
||||
"request": {
|
||||
"method": "POST",
|
||||
"url": "http://localhost:11434/api/ps",
|
||||
"headers": {},
|
||||
"body": {},
|
||||
"endpoint": "/api/ps",
|
||||
"model": ""
|
||||
},
|
||||
"response": {
|
||||
"body": {
|
||||
"__type__": "ollama._types.ProcessResponse",
|
||||
"__data__": {
|
||||
"models": [
|
||||
{
|
||||
"model": "llama3.2:3b-instruct-fp16",
|
||||
"name": "llama3.2:3b-instruct-fp16",
|
||||
"digest": "195a8c01d91ec3cb1e0aad4624a51f2602c51fa7d96110f8ab5a20c84081804d",
|
||||
"expires_at": "2025-10-03T21:20:56.787737-07:00",
|
||||
"size": 7919570944,
|
||||
"size_vram": 7919570944,
|
||||
"details": {
|
||||
"parent_model": "",
|
||||
"format": "gguf",
|
||||
"family": "llama",
|
||||
"families": [
|
||||
"llama"
|
||||
],
|
||||
"parameter_size": "3.2B",
|
||||
"quantization_level": "F16"
|
||||
},
|
||||
"context_length": 4096
|
||||
},
|
||||
{
|
||||
"model": "all-minilm:l6-v2",
|
||||
"name": "all-minilm:l6-v2",
|
||||
"digest": "1b226e2802dbb772b5fc32a58f103ca1804ef7501331012de126ab22f67475ef",
|
||||
"expires_at": "2025-10-03T21:19:00.464427-07:00",
|
||||
"size": 585846784,
|
||||
"size_vram": 585846784,
|
||||
"details": {
|
||||
"parent_model": "",
|
||||
"format": "gguf",
|
||||
"family": "bert",
|
||||
"families": [
|
||||
"bert"
|
||||
],
|
||||
"parameter_size": "23M",
|
||||
"quantization_level": "F16"
|
||||
},
|
||||
"context_length": 256
|
||||
},
|
||||
{
|
||||
"model": "llama-guard3:1b",
|
||||
"name": "llama-guard3:1b",
|
||||
"digest": "494147e06bf99e10dbe67b63a07ac81c162f18ef3341aa3390007ac828571b3b",
|
||||
"expires_at": "2025-10-03T21:16:14.288654-07:00",
|
||||
"size": 2350966784,
|
||||
"size_vram": 2350966784,
|
||||
"details": {
|
||||
"parent_model": "",
|
||||
"format": "gguf",
|
||||
"family": "llama",
|
||||
"families": [
|
||||
"llama"
|
||||
],
|
||||
"parameter_size": "1.5B",
|
||||
"quantization_level": "Q8_0"
|
||||
},
|
||||
"context_length": 4096
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
"is_streaming": false
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,78 @@
|
|||
{
|
||||
"test_id": "tests/integration/vector_io/test_openai_vector_stores.py::test_openai_retrieve_vector_store[client_with_models-ollama/llama3.2:3b-instruct-fp16-None-ollama/all-minilm:l6-v2-None-384]",
|
||||
"request": {
|
||||
"method": "POST",
|
||||
"url": "http://localhost:11434/api/ps",
|
||||
"headers": {},
|
||||
"body": {},
|
||||
"endpoint": "/api/ps",
|
||||
"model": ""
|
||||
},
|
||||
"response": {
|
||||
"body": {
|
||||
"__type__": "ollama._types.ProcessResponse",
|
||||
"__data__": {
|
||||
"models": [
|
||||
{
|
||||
"model": "llama3.2:3b-instruct-fp16",
|
||||
"name": "llama3.2:3b-instruct-fp16",
|
||||
"digest": "195a8c01d91ec3cb1e0aad4624a51f2602c51fa7d96110f8ab5a20c84081804d",
|
||||
"expires_at": "2025-10-03T21:20:56.787737-07:00",
|
||||
"size": 7919570944,
|
||||
"size_vram": 7919570944,
|
||||
"details": {
|
||||
"parent_model": "",
|
||||
"format": "gguf",
|
||||
"family": "llama",
|
||||
"families": [
|
||||
"llama"
|
||||
],
|
||||
"parameter_size": "3.2B",
|
||||
"quantization_level": "F16"
|
||||
},
|
||||
"context_length": 4096
|
||||
},
|
||||
{
|
||||
"model": "all-minilm:l6-v2",
|
||||
"name": "all-minilm:l6-v2",
|
||||
"digest": "1b226e2802dbb772b5fc32a58f103ca1804ef7501331012de126ab22f67475ef",
|
||||
"expires_at": "2025-10-03T21:19:00.464427-07:00",
|
||||
"size": 585846784,
|
||||
"size_vram": 585846784,
|
||||
"details": {
|
||||
"parent_model": "",
|
||||
"format": "gguf",
|
||||
"family": "bert",
|
||||
"families": [
|
||||
"bert"
|
||||
],
|
||||
"parameter_size": "23M",
|
||||
"quantization_level": "F16"
|
||||
},
|
||||
"context_length": 256
|
||||
},
|
||||
{
|
||||
"model": "llama-guard3:1b",
|
||||
"name": "llama-guard3:1b",
|
||||
"digest": "494147e06bf99e10dbe67b63a07ac81c162f18ef3341aa3390007ac828571b3b",
|
||||
"expires_at": "2025-10-03T21:16:14.288654-07:00",
|
||||
"size": 2350966784,
|
||||
"size_vram": 2350966784,
|
||||
"details": {
|
||||
"parent_model": "",
|
||||
"format": "gguf",
|
||||
"family": "llama",
|
||||
"families": [
|
||||
"llama"
|
||||
],
|
||||
"parameter_size": "1.5B",
|
||||
"quantization_level": "Q8_0"
|
||||
},
|
||||
"context_length": 4096
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
"is_streaming": false
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,423 @@
|
|||
{
|
||||
"test_id": "tests/integration/vector_io/test_openai_vector_stores.py::test_openai_vector_store_delete_file[client_with_models-ollama/llama3.2:3b-instruct-fp16-None-ollama/all-minilm:l6-v2-None-384]",
|
||||
"request": {
|
||||
"method": "POST",
|
||||
"url": "http://0.0.0.0:11434/v1/v1/embeddings",
|
||||
"headers": {},
|
||||
"body": {
|
||||
"model": "all-minilm:l6-v2",
|
||||
"input": [
|
||||
"This is a test file 2"
|
||||
],
|
||||
"encoding_format": "float"
|
||||
},
|
||||
"endpoint": "/v1/embeddings",
|
||||
"model": "all-minilm:l6-v2"
|
||||
},
|
||||
"response": {
|
||||
"body": {
|
||||
"__type__": "openai.types.create_embedding_response.CreateEmbeddingResponse",
|
||||
"__data__": {
|
||||
"data": [
|
||||
{
|
||||
"embedding": [
|
||||
-0.028407024,
|
||||
0.08176727,
|
||||
-0.07856116,
|
||||
0.027924549,
|
||||
0.05008439,
|
||||
-0.035268802,
|
||||
-0.0040619136,
|
||||
0.029315198,
|
||||
-0.05775003,
|
||||
0.013769637,
|
||||
0.14610882,
|
||||
-0.012019041,
|
||||
-0.024392882,
|
||||
-0.05509032,
|
||||
-0.02661779,
|
||||
-0.013253934,
|
||||
-0.109151706,
|
||||
-0.037233494,
|
||||
-0.0036058167,
|
||||
0.04766495,
|
||||
0.06212885,
|
||||
0.0070259646,
|
||||
-0.015513743,
|
||||
-0.008010851,
|
||||
0.037648663,
|
||||
0.01587603,
|
||||
-0.041856695,
|
||||
0.09732178,
|
||||
-0.025641596,
|
||||
-0.11368298,
|
||||
0.03550726,
|
||||
0.07043342,
|
||||
0.016779423,
|
||||
0.02220752,
|
||||
0.123395406,
|
||||
0.0077137193,
|
||||
0.12550895,
|
||||
0.008077936,
|
||||
-0.026158499,
|
||||
0.0028612812,
|
||||
0.018155744,
|
||||
-0.04666325,
|
||||
0.041025575,
|
||||
0.0013476727,
|
||||
0.0019516364,
|
||||
0.008663665,
|
||||
0.016689047,
|
||||
0.02200178,
|
||||
0.0020768014,
|
||||
-0.032861207,
|
||||
-0.086455174,
|
||||
0.008047145,
|
||||
-0.07434091,
|
||||
-0.016292974,
|
||||
0.06051878,
|
||||
0.005966867,
|
||||
0.0160179,
|
||||
0.021412006,
|
||||
0.009540338,
|
||||
0.03177335,
|
||||
0.023032434,
|
||||
0.03437097,
|
||||
-0.04224765,
|
||||
0.024748176,
|
||||
0.116213955,
|
||||
-0.024936162,
|
||||
-0.03895259,
|
||||
-0.024991278,
|
||||
-0.020854436,
|
||||
-0.08835937,
|
||||
-0.15073228,
|
||||
0.020921277,
|
||||
-0.022518696,
|
||||
0.0023868105,
|
||||
0.0057663955,
|
||||
-0.0015790414,
|
||||
-0.11985628,
|
||||
-0.0029912454,
|
||||
0.0550998,
|
||||
-0.11830636,
|
||||
-0.058846988,
|
||||
-0.15046737,
|
||||
0.018624697,
|
||||
-0.0093440395,
|
||||
-0.028901154,
|
||||
0.08400474,
|
||||
0.0437436,
|
||||
-0.0006745939,
|
||||
-0.052540295,
|
||||
0.00024754918,
|
||||
0.040431518,
|
||||
0.0066545215,
|
||||
0.02609114,
|
||||
0.051891107,
|
||||
0.012606882,
|
||||
0.061448827,
|
||||
0.013889043,
|
||||
0.038454182,
|
||||
0.048222367,
|
||||
0.104106456,
|
||||
-0.026478294,
|
||||
-0.021488149,
|
||||
-0.020865437,
|
||||
0.05061779,
|
||||
-0.05171592,
|
||||
-0.07573864,
|
||||
0.057483904,
|
||||
-0.049993664,
|
||||
0.06528295,
|
||||
-0.02875688,
|
||||
0.038766492,
|
||||
-0.062760465,
|
||||
-0.0144796055,
|
||||
-0.063462086,
|
||||
0.06642258,
|
||||
-0.014848135,
|
||||
-0.03523116,
|
||||
0.0774014,
|
||||
-0.039893247,
|
||||
0.032182425,
|
||||
0.10171478,
|
||||
-0.022525396,
|
||||
-0.059299074,
|
||||
0.00038746602,
|
||||
-0.05779858,
|
||||
-0.07034273,
|
||||
0.06375495,
|
||||
-4.088634e-33,
|
||||
-0.021801252,
|
||||
-0.07985834,
|
||||
-0.013881648,
|
||||
0.14923096,
|
||||
0.02520313,
|
||||
-0.042283125,
|
||||
-0.0067697223,
|
||||
0.054634638,
|
||||
-0.09223034,
|
||||
0.0081036305,
|
||||
-0.03861765,
|
||||
-0.117698364,
|
||||
0.012977803,
|
||||
0.034548674,
|
||||
-0.01703291,
|
||||
0.011910173,
|
||||
0.012945288,
|
||||
0.04277919,
|
||||
-0.017591223,
|
||||
-0.0184066,
|
||||
0.06513148,
|
||||
0.04050013,
|
||||
-0.02252127,
|
||||
-0.060939074,
|
||||
-0.018603502,
|
||||
0.011679816,
|
||||
0.01410369,
|
||||
-0.06763908,
|
||||
0.08543174,
|
||||
0.030138582,
|
||||
0.010859261,
|
||||
-0.054844614,
|
||||
-0.024129191,
|
||||
0.048327282,
|
||||
0.00750549,
|
||||
0.013356204,
|
||||
0.024558878,
|
||||
-0.005942624,
|
||||
-0.045620095,
|
||||
-0.00484637,
|
||||
0.004418298,
|
||||
-0.0023806267,
|
||||
0.013590539,
|
||||
-0.016870445,
|
||||
0.06959721,
|
||||
-0.07736302,
|
||||
0.02058481,
|
||||
0.0048155314,
|
||||
0.055696823,
|
||||
0.0131223425,
|
||||
-0.011748222,
|
||||
0.040935397,
|
||||
0.007458848,
|
||||
0.042072233,
|
||||
0.010358565,
|
||||
0.019406458,
|
||||
0.011092792,
|
||||
0.017259602,
|
||||
0.018278012,
|
||||
0.077335365,
|
||||
0.019612921,
|
||||
0.05268688,
|
||||
-0.05863009,
|
||||
0.039751627,
|
||||
-0.050250556,
|
||||
-0.048913844,
|
||||
-0.05265637,
|
||||
-0.09227304,
|
||||
0.0755598,
|
||||
0.08097828,
|
||||
-0.022257954,
|
||||
-0.042141132,
|
||||
0.056546185,
|
||||
0.023585746,
|
||||
0.0015263582,
|
||||
-0.049815144,
|
||||
0.002336895,
|
||||
0.028626408,
|
||||
-0.06897293,
|
||||
-0.04780049,
|
||||
-0.048637427,
|
||||
-0.076585636,
|
||||
-0.03285766,
|
||||
-0.046012525,
|
||||
-0.0573021,
|
||||
-0.080889866,
|
||||
-0.008056378,
|
||||
-0.0936112,
|
||||
0.051229417,
|
||||
-0.058302302,
|
||||
-0.0005942833,
|
||||
0.02222621,
|
||||
-0.046907477,
|
||||
-0.08964737,
|
||||
0.1195762,
|
||||
2.0452953e-33,
|
||||
0.012159685,
|
||||
0.086426094,
|
||||
-0.023217503,
|
||||
0.002771192,
|
||||
-0.0010614472,
|
||||
0.03487195,
|
||||
0.07328719,
|
||||
-0.049876485,
|
||||
-0.041938163,
|
||||
0.13486409,
|
||||
-0.00690217,
|
||||
0.006254477,
|
||||
0.059122436,
|
||||
-0.028893106,
|
||||
0.09141587,
|
||||
-0.018487127,
|
||||
0.0077112317,
|
||||
-0.044207573,
|
||||
-0.0251735,
|
||||
-0.014999972,
|
||||
-0.035417248,
|
||||
0.12413253,
|
||||
0.13118097,
|
||||
0.081015825,
|
||||
-0.03327241,
|
||||
0.003976432,
|
||||
0.026454262,
|
||||
0.026598025,
|
||||
0.017349144,
|
||||
-0.0036153824,
|
||||
0.035460044,
|
||||
0.05956128,
|
||||
-0.124593176,
|
||||
0.021954069,
|
||||
0.025635097,
|
||||
-0.11063109,
|
||||
0.096061416,
|
||||
-0.06731725,
|
||||
-0.011819293,
|
||||
0.042329434,
|
||||
0.03790837,
|
||||
0.10582649,
|
||||
0.0073426333,
|
||||
0.06629678,
|
||||
0.022922922,
|
||||
0.0494007,
|
||||
0.14639522,
|
||||
-0.0067070075,
|
||||
0.004380622,
|
||||
-0.029196544,
|
||||
-0.009010303,
|
||||
-0.08637028,
|
||||
0.03588363,
|
||||
0.0029887543,
|
||||
-0.029351206,
|
||||
0.07019312,
|
||||
0.014898416,
|
||||
0.028345235,
|
||||
-0.040354595,
|
||||
0.01916304,
|
||||
0.015590835,
|
||||
0.028637327,
|
||||
-0.019529723,
|
||||
-0.018309733,
|
||||
-0.0054176697,
|
||||
-0.093132764,
|
||||
-0.06116049,
|
||||
0.038816936,
|
||||
0.02793884,
|
||||
0.034137025,
|
||||
-0.027511358,
|
||||
0.010699668,
|
||||
-0.05521562,
|
||||
-0.07380209,
|
||||
0.021521263,
|
||||
-0.015450832,
|
||||
-0.024988633,
|
||||
-0.004755674,
|
||||
0.030465573,
|
||||
-0.024057997,
|
||||
0.0341225,
|
||||
-0.0103128245,
|
||||
-0.012666524,
|
||||
0.03628323,
|
||||
-0.0044518244,
|
||||
-0.014977736,
|
||||
0.02790076,
|
||||
0.0978009,
|
||||
-0.026436698,
|
||||
-0.005187212,
|
||||
-0.019124882,
|
||||
0.06205225,
|
||||
0.052137945,
|
||||
0.037870288,
|
||||
0.012578256,
|
||||
-1.705626e-08,
|
||||
-0.05000592,
|
||||
-0.08913878,
|
||||
-0.0035273295,
|
||||
-0.01577607,
|
||||
-0.021846429,
|
||||
0.07184407,
|
||||
-0.050185654,
|
||||
-0.010643527,
|
||||
-0.030602882,
|
||||
-0.01577121,
|
||||
0.013220822,
|
||||
-0.0025653532,
|
||||
-0.04210823,
|
||||
0.009286525,
|
||||
-0.041129403,
|
||||
-0.029615805,
|
||||
0.002200794,
|
||||
-0.032989334,
|
||||
-0.05041253,
|
||||
-0.021504797,
|
||||
-0.0068345494,
|
||||
0.0084738685,
|
||||
0.03568697,
|
||||
0.0252117,
|
||||
-0.016504692,
|
||||
0.04915123,
|
||||
0.018349955,
|
||||
0.049084183,
|
||||
-0.058165494,
|
||||
-0.015055481,
|
||||
0.045743454,
|
||||
0.049920842,
|
||||
0.020444298,
|
||||
-0.052004594,
|
||||
-0.033592116,
|
||||
0.061816722,
|
||||
0.111411005,
|
||||
0.07770497,
|
||||
0.022457859,
|
||||
0.0025742552,
|
||||
-0.043929543,
|
||||
0.008576763,
|
||||
-0.036182683,
|
||||
0.029673496,
|
||||
-0.017278075,
|
||||
-0.09458994,
|
||||
-0.057882637,
|
||||
-0.06579892,
|
||||
-0.06124832,
|
||||
-0.10455079,
|
||||
-0.02925637,
|
||||
0.0013624659,
|
||||
0.0060532107,
|
||||
0.04077331,
|
||||
-0.036694046,
|
||||
0.016800206,
|
||||
0.005279432,
|
||||
0.030968234,
|
||||
-0.05446385,
|
||||
0.0048696757,
|
||||
0.070877954,
|
||||
0.06684445,
|
||||
0.017715273,
|
||||
-0.029237686
|
||||
],
|
||||
"index": 0,
|
||||
"object": "embedding"
|
||||
}
|
||||
],
|
||||
"model": "all-minilm:l6-v2",
|
||||
"object": "list",
|
||||
"usage": {
|
||||
"prompt_tokens": 6,
|
||||
"total_tokens": 6
|
||||
}
|
||||
}
|
||||
},
|
||||
"is_streaming": false
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,423 @@
|
|||
{
|
||||
"test_id": "tests/integration/vector_io/test_openai_vector_stores.py::test_create_vector_store_files_duplicate_vector_store_name[client_with_models-ollama/llama3.2:3b-instruct-fp16-None-ollama/all-minilm:l6-v2-None-384]",
|
||||
"request": {
|
||||
"method": "POST",
|
||||
"url": "http://0.0.0.0:11434/v1/v1/embeddings",
|
||||
"headers": {},
|
||||
"body": {
|
||||
"model": "all-minilm:l6-v2",
|
||||
"input": [
|
||||
"This is a test file 1"
|
||||
],
|
||||
"encoding_format": "float"
|
||||
},
|
||||
"endpoint": "/v1/embeddings",
|
||||
"model": "all-minilm:l6-v2"
|
||||
},
|
||||
"response": {
|
||||
"body": {
|
||||
"__type__": "openai.types.create_embedding_response.CreateEmbeddingResponse",
|
||||
"__data__": {
|
||||
"data": [
|
||||
{
|
||||
"embedding": [
|
||||
-0.055990793,
|
||||
0.076004684,
|
||||
-0.09247725,
|
||||
0.014340361,
|
||||
0.058780864,
|
||||
-0.032434482,
|
||||
0.020954052,
|
||||
0.028818125,
|
||||
-0.06591213,
|
||||
0.013541593,
|
||||
0.12999941,
|
||||
0.004603084,
|
||||
-0.0069239275,
|
||||
-0.055457443,
|
||||
-0.047553156,
|
||||
-0.029139794,
|
||||
-0.12236376,
|
||||
-0.05360872,
|
||||
-0.014706594,
|
||||
0.05984688,
|
||||
0.034442738,
|
||||
0.02076038,
|
||||
-0.048697792,
|
||||
0.0135388365,
|
||||
0.058592733,
|
||||
-0.003076384,
|
||||
-0.031565297,
|
||||
0.082541116,
|
||||
-0.031259205,
|
||||
-0.12057633,
|
||||
0.038319625,
|
||||
0.06574785,
|
||||
0.06415721,
|
||||
0.038382582,
|
||||
0.12570712,
|
||||
0.03108174,
|
||||
0.10821103,
|
||||
-0.0019794356,
|
||||
-0.024704305,
|
||||
0.028765837,
|
||||
0.01268161,
|
||||
-0.039844505,
|
||||
0.043253522,
|
||||
-0.015898596,
|
||||
-0.0135526005,
|
||||
-0.0050831717,
|
||||
-0.007911988,
|
||||
0.039783813,
|
||||
0.0036548872,
|
||||
-0.033632487,
|
||||
-0.058547974,
|
||||
0.0048877494,
|
||||
-0.089586094,
|
||||
-0.010457663,
|
||||
0.059202507,
|
||||
-0.020414542,
|
||||
0.014278556,
|
||||
0.013986488,
|
||||
-0.0046022516,
|
||||
0.0383391,
|
||||
0.0048145773,
|
||||
0.029772853,
|
||||
-0.020863408,
|
||||
0.018640704,
|
||||
0.12422993,
|
||||
-0.023236223,
|
||||
-0.040323637,
|
||||
-0.023598222,
|
||||
-0.007448043,
|
||||
-0.09083128,
|
||||
-0.16859712,
|
||||
0.01012451,
|
||||
-0.035808884,
|
||||
0.010595173,
|
||||
-0.02050494,
|
||||
0.0020821376,
|
||||
-0.10925222,
|
||||
0.00793264,
|
||||
0.048889533,
|
||||
-0.11391199,
|
||||
-0.06072707,
|
||||
-0.13435508,
|
||||
0.0063265716,
|
||||
-0.008838073,
|
||||
-0.03153269,
|
||||
0.099169336,
|
||||
0.055310693,
|
||||
0.0068571265,
|
||||
-0.023463152,
|
||||
-0.0031599961,
|
||||
0.036782328,
|
||||
0.014336826,
|
||||
0.022220163,
|
||||
0.047114056,
|
||||
0.007079763,
|
||||
0.06806425,
|
||||
0.01851431,
|
||||
0.040882625,
|
||||
0.055058856,
|
||||
0.09488346,
|
||||
-0.015833577,
|
||||
-7.924328e-05,
|
||||
0.010821554,
|
||||
0.09177704,
|
||||
-0.07464829,
|
||||
-0.06471165,
|
||||
0.07013805,
|
||||
-0.04499751,
|
||||
0.057702336,
|
||||
-0.0260911,
|
||||
0.006323043,
|
||||
-0.09500501,
|
||||
-0.010549514,
|
||||
-0.07887475,
|
||||
0.039744847,
|
||||
-0.04154404,
|
||||
-0.055268157,
|
||||
0.07540271,
|
||||
-0.04667509,
|
||||
0.036143072,
|
||||
0.080297194,
|
||||
-0.036381353,
|
||||
-0.03477274,
|
||||
0.01701203,
|
||||
-0.047007203,
|
||||
-0.06519774,
|
||||
0.062141683,
|
||||
-4.222482e-33,
|
||||
-0.0017580023,
|
||||
-0.09383388,
|
||||
-0.02982657,
|
||||
0.1257841,
|
||||
0.03802007,
|
||||
-0.03654342,
|
||||
0.0060920226,
|
||||
0.05906885,
|
||||
-0.11074452,
|
||||
0.005664566,
|
||||
-0.0259852,
|
||||
-0.074819505,
|
||||
0.008342821,
|
||||
0.027451068,
|
||||
-0.05248069,
|
||||
0.02401768,
|
||||
-0.004380289,
|
||||
0.039321493,
|
||||
-0.04213744,
|
||||
-0.027290314,
|
||||
0.054677974,
|
||||
0.02707243,
|
||||
-0.03329442,
|
||||
-0.060589895,
|
||||
-0.050737355,
|
||||
0.017969057,
|
||||
-0.0035060972,
|
||||
-0.04666249,
|
||||
0.073946096,
|
||||
0.01333894,
|
||||
-0.0033873583,
|
||||
-0.046544433,
|
||||
-0.060105033,
|
||||
0.03406923,
|
||||
0.001542676,
|
||||
0.039177947,
|
||||
0.03989323,
|
||||
-0.012346489,
|
||||
-0.030511485,
|
||||
-0.0019157606,
|
||||
-0.014608986,
|
||||
-0.012997742,
|
||||
0.019522104,
|
||||
-0.022349002,
|
||||
0.074362256,
|
||||
-0.053366993,
|
||||
-0.023993475,
|
||||
0.029225096,
|
||||
0.027534606,
|
||||
0.015111057,
|
||||
-0.020442221,
|
||||
0.043327376,
|
||||
0.019660354,
|
||||
0.017330697,
|
||||
-0.0035011724,
|
||||
0.019482937,
|
||||
-0.0003428041,
|
||||
0.0004143988,
|
||||
-0.005117252,
|
||||
0.06624799,
|
||||
0.027922852,
|
||||
0.041020587,
|
||||
-0.067166425,
|
||||
0.028737254,
|
||||
-0.03478325,
|
||||
-0.055551115,
|
||||
-0.032713737,
|
||||
-0.08099247,
|
||||
0.09216284,
|
||||
0.06395264,
|
||||
-0.049168136,
|
||||
-0.039908994,
|
||||
0.036915958,
|
||||
-0.001602359,
|
||||
0.00033041168,
|
||||
-0.026015632,
|
||||
-0.005999889,
|
||||
0.05474541,
|
||||
-0.09568287,
|
||||
-0.05186289,
|
||||
-0.048838183,
|
||||
-0.08639551,
|
||||
-0.034023147,
|
||||
-0.033257127,
|
||||
-0.05651867,
|
||||
-0.051131375,
|
||||
0.00809173,
|
||||
-0.08581851,
|
||||
0.06507323,
|
||||
-0.085427366,
|
||||
0.027997404,
|
||||
0.029847065,
|
||||
-0.031673994,
|
||||
-0.08560956,
|
||||
0.1017672,
|
||||
2.1855676e-33,
|
||||
0.01160785,
|
||||
0.077607885,
|
||||
-0.017380483,
|
||||
0.005239329,
|
||||
0.0009684126,
|
||||
0.06543702,
|
||||
0.07256893,
|
||||
-0.044318836,
|
||||
-0.04749324,
|
||||
0.14031002,
|
||||
-0.025741624,
|
||||
0.0057860985,
|
||||
0.040946104,
|
||||
-0.054880083,
|
||||
0.074413285,
|
||||
-0.023610368,
|
||||
0.018364722,
|
||||
-0.060585637,
|
||||
-0.044149306,
|
||||
0.0027854694,
|
||||
-0.04580664,
|
||||
0.1172219,
|
||||
0.10268574,
|
||||
0.07907412,
|
||||
-0.0466143,
|
||||
0.018618405,
|
||||
0.029834948,
|
||||
0.037265483,
|
||||
0.02273822,
|
||||
-0.0026589038,
|
||||
0.041726097,
|
||||
0.06439532,
|
||||
-0.089163445,
|
||||
0.018188318,
|
||||
0.024064727,
|
||||
-0.096389584,
|
||||
0.08642254,
|
||||
-0.05389359,
|
||||
0.01923105,
|
||||
0.045092683,
|
||||
0.045125954,
|
||||
0.09655961,
|
||||
0.014908797,
|
||||
0.059611585,
|
||||
0.03066662,
|
||||
0.05882299,
|
||||
0.111484826,
|
||||
0.016632542,
|
||||
0.011590394,
|
||||
-0.023702666,
|
||||
-0.008617484,
|
||||
-0.055030316,
|
||||
0.047606383,
|
||||
-0.014632687,
|
||||
-0.014156344,
|
||||
0.069926,
|
||||
0.032047603,
|
||||
0.042642817,
|
||||
-0.053942375,
|
||||
0.031047028,
|
||||
0.009216673,
|
||||
0.033024028,
|
||||
-0.019033706,
|
||||
0.005568194,
|
||||
-0.014985451,
|
||||
-0.09193244,
|
||||
-0.03210824,
|
||||
0.015367608,
|
||||
0.029150328,
|
||||
0.01250386,
|
||||
-0.004827391,
|
||||
0.023345906,
|
||||
-0.028271332,
|
||||
-0.08454125,
|
||||
0.051068563,
|
||||
-0.0133641455,
|
||||
-0.029022738,
|
||||
-0.02258452,
|
||||
0.010884119,
|
||||
-0.009810021,
|
||||
0.049751773,
|
||||
-0.0032637494,
|
||||
-0.038813565,
|
||||
0.027924104,
|
||||
0.017925078,
|
||||
0.005337612,
|
||||
0.058691237,
|
||||
0.09577674,
|
||||
-0.014308608,
|
||||
0.006972794,
|
||||
-0.02733344,
|
||||
0.06912433,
|
||||
0.05727631,
|
||||
0.03206042,
|
||||
0.0042422824,
|
||||
-1.6766318e-08,
|
||||
-0.036354303,
|
||||
-0.09146416,
|
||||
-0.026319364,
|
||||
-0.007941995,
|
||||
-0.024127059,
|
||||
0.09896698,
|
||||
-0.04723083,
|
||||
-0.03767135,
|
||||
-0.029419973,
|
||||
-0.022513283,
|
||||
0.04125822,
|
||||
-0.0011487947,
|
||||
-0.05570366,
|
||||
0.020679709,
|
||||
-0.038118906,
|
||||
-0.0524994,
|
||||
-0.02624128,
|
||||
-0.05336954,
|
||||
-0.040593866,
|
||||
-0.0073642326,
|
||||
-0.0014442836,
|
||||
0.02714257,
|
||||
0.027141048,
|
||||
0.00932513,
|
||||
-0.00026505854,
|
||||
0.038233075,
|
||||
0.037096914,
|
||||
0.08405413,
|
||||
-0.06340637,
|
||||
-0.014856458,
|
||||
0.05038612,
|
||||
0.06703033,
|
||||
0.027668556,
|
||||
-0.04360097,
|
||||
-0.012041474,
|
||||
0.08500689,
|
||||
0.111594744,
|
||||
0.1046117,
|
||||
0.019726463,
|
||||
-0.0003025109,
|
||||
-0.04110389,
|
||||
0.009575226,
|
||||
-0.05285304,
|
||||
-0.0026365265,
|
||||
-0.031144748,
|
||||
-0.08860188,
|
||||
-0.06762232,
|
||||
-0.07451522,
|
||||
-0.053012833,
|
||||
-0.09560941,
|
||||
-0.05273455,
|
||||
0.013032144,
|
||||
0.0029190276,
|
||||
0.041905046,
|
||||
-0.04522114,
|
||||
0.016730292,
|
||||
0.017214278,
|
||||
0.021578068,
|
||||
-0.03718778,
|
||||
0.02353425,
|
||||
0.052041385,
|
||||
0.06444499,
|
||||
0.02387539,
|
||||
-0.025236009
|
||||
],
|
||||
"index": 0,
|
||||
"object": "embedding"
|
||||
}
|
||||
],
|
||||
"model": "all-minilm:l6-v2",
|
||||
"object": "list",
|
||||
"usage": {
|
||||
"prompt_tokens": 6,
|
||||
"total_tokens": 6
|
||||
}
|
||||
}
|
||||
},
|
||||
"is_streaming": false
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,78 @@
|
|||
{
|
||||
"test_id": "tests/integration/vector_io/test_openai_vector_stores.py::test_openai_vector_store_attach_files_on_creation[client_with_models-ollama/llama3.2:3b-instruct-fp16-None-ollama/all-minilm:l6-v2-None-384]",
|
||||
"request": {
|
||||
"method": "POST",
|
||||
"url": "http://localhost:11434/api/ps",
|
||||
"headers": {},
|
||||
"body": {},
|
||||
"endpoint": "/api/ps",
|
||||
"model": ""
|
||||
},
|
||||
"response": {
|
||||
"body": {
|
||||
"__type__": "ollama._types.ProcessResponse",
|
||||
"__data__": {
|
||||
"models": [
|
||||
{
|
||||
"model": "all-minilm:l6-v2",
|
||||
"name": "all-minilm:l6-v2",
|
||||
"digest": "1b226e2802dbb772b5fc32a58f103ca1804ef7501331012de126ab22f67475ef",
|
||||
"expires_at": "2025-10-03T21:21:09.278124-07:00",
|
||||
"size": 585846784,
|
||||
"size_vram": 585846784,
|
||||
"details": {
|
||||
"parent_model": "",
|
||||
"format": "gguf",
|
||||
"family": "bert",
|
||||
"families": [
|
||||
"bert"
|
||||
],
|
||||
"parameter_size": "23M",
|
||||
"quantization_level": "F16"
|
||||
},
|
||||
"context_length": 256
|
||||
},
|
||||
{
|
||||
"model": "llama3.2:3b-instruct-fp16",
|
||||
"name": "llama3.2:3b-instruct-fp16",
|
||||
"digest": "195a8c01d91ec3cb1e0aad4624a51f2602c51fa7d96110f8ab5a20c84081804d",
|
||||
"expires_at": "2025-10-03T21:20:56.787737-07:00",
|
||||
"size": 7919570944,
|
||||
"size_vram": 7919570944,
|
||||
"details": {
|
||||
"parent_model": "",
|
||||
"format": "gguf",
|
||||
"family": "llama",
|
||||
"families": [
|
||||
"llama"
|
||||
],
|
||||
"parameter_size": "3.2B",
|
||||
"quantization_level": "F16"
|
||||
},
|
||||
"context_length": 4096
|
||||
},
|
||||
{
|
||||
"model": "llama-guard3:1b",
|
||||
"name": "llama-guard3:1b",
|
||||
"digest": "494147e06bf99e10dbe67b63a07ac81c162f18ef3341aa3390007ac828571b3b",
|
||||
"expires_at": "2025-10-03T21:16:14.288654-07:00",
|
||||
"size": 2350966784,
|
||||
"size_vram": 2350966784,
|
||||
"details": {
|
||||
"parent_model": "",
|
||||
"format": "gguf",
|
||||
"family": "llama",
|
||||
"families": [
|
||||
"llama"
|
||||
],
|
||||
"parameter_size": "1.5B",
|
||||
"quantization_level": "Q8_0"
|
||||
},
|
||||
"context_length": 4096
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
"is_streaming": false
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,423 @@
|
|||
{
|
||||
"test_id": "tests/integration/vector_io/test_vector_io.py::test_insert_chunks_with_precomputed_embeddings[emb=ollama/all-minilm:l6-v2:dim=384]",
|
||||
"request": {
|
||||
"method": "POST",
|
||||
"url": "http://0.0.0.0:11434/v1/v1/embeddings",
|
||||
"headers": {},
|
||||
"body": {
|
||||
"model": "all-minilm:l6-v2",
|
||||
"input": [
|
||||
"precomputed embedding test"
|
||||
],
|
||||
"encoding_format": "float"
|
||||
},
|
||||
"endpoint": "/v1/embeddings",
|
||||
"model": "all-minilm:l6-v2"
|
||||
},
|
||||
"response": {
|
||||
"body": {
|
||||
"__type__": "openai.types.create_embedding_response.CreateEmbeddingResponse",
|
||||
"__data__": {
|
||||
"data": [
|
||||
{
|
||||
"embedding": [
|
||||
0.018028654,
|
||||
-0.012809699,
|
||||
0.031236293,
|
||||
-0.023765916,
|
||||
0.025391443,
|
||||
0.060524806,
|
||||
-0.02021129,
|
||||
-0.012998811,
|
||||
-0.043262906,
|
||||
-0.02457441,
|
||||
0.024864476,
|
||||
-0.03498206,
|
||||
0.027732838,
|
||||
0.03259526,
|
||||
-0.07889667,
|
||||
0.009486857,
|
||||
0.10838813,
|
||||
0.07934079,
|
||||
-0.058535714,
|
||||
-0.017988257,
|
||||
-0.066730656,
|
||||
-0.003303451,
|
||||
0.013297177,
|
||||
-0.030867582,
|
||||
0.044619933,
|
||||
-0.064448416,
|
||||
-0.04156302,
|
||||
0.05774738,
|
||||
0.11160175,
|
||||
-0.051375058,
|
||||
0.1242071,
|
||||
-0.01810127,
|
||||
-0.002112344,
|
||||
0.08216886,
|
||||
-0.015315923,
|
||||
0.047978178,
|
||||
0.020136585,
|
||||
-0.048352767,
|
||||
-0.018297242,
|
||||
0.059441578,
|
||||
0.0004810502,
|
||||
-0.0129834395,
|
||||
0.028861092,
|
||||
0.04012127,
|
||||
0.029778276,
|
||||
-0.015386682,
|
||||
0.008893761,
|
||||
0.008527668,
|
||||
-0.101560704,
|
||||
-0.039107118,
|
||||
-0.00219929,
|
||||
0.0013412037,
|
||||
-0.050971545,
|
||||
-0.05588329,
|
||||
-0.057825375,
|
||||
-0.062680334,
|
||||
0.021698005,
|
||||
-0.05011937,
|
||||
0.0403251,
|
||||
0.033563063,
|
||||
-0.009977842,
|
||||
-0.086822525,
|
||||
0.073723786,
|
||||
0.008028875,
|
||||
0.022204494,
|
||||
0.023199162,
|
||||
0.027907066,
|
||||
0.035214607,
|
||||
0.017993199,
|
||||
0.098552026,
|
||||
-0.020663997,
|
||||
0.027003827,
|
||||
-0.0500774,
|
||||
0.04686782,
|
||||
0.00917108,
|
||||
0.07882336,
|
||||
-0.018557398,
|
||||
-0.077729434,
|
||||
0.10943155,
|
||||
-0.11207308,
|
||||
0.010439173,
|
||||
-0.07340931,
|
||||
-0.0066290516,
|
||||
-0.042460304,
|
||||
0.12506229,
|
||||
0.09801683,
|
||||
0.0660869,
|
||||
-0.003981612,
|
||||
-0.08177393,
|
||||
-0.009402311,
|
||||
0.04328112,
|
||||
-0.01717944,
|
||||
-0.07916157,
|
||||
0.0873264,
|
||||
-0.005553213,
|
||||
-0.024283845,
|
||||
-0.026255112,
|
||||
-0.021208413,
|
||||
0.02769755,
|
||||
0.11184319,
|
||||
0.00814788,
|
||||
0.009298051,
|
||||
0.06087815,
|
||||
0.031728,
|
||||
-0.027759751,
|
||||
-0.06756223,
|
||||
0.083241135,
|
||||
-0.010728824,
|
||||
-0.0035912073,
|
||||
-0.037301995,
|
||||
0.0005677059,
|
||||
-0.06368156,
|
||||
0.008759182,
|
||||
0.03228621,
|
||||
-0.03566285,
|
||||
-0.07348217,
|
||||
0.041781336,
|
||||
0.028546328,
|
||||
-0.024625478,
|
||||
-0.02344546,
|
||||
0.028893117,
|
||||
0.04187537,
|
||||
0.04327681,
|
||||
0.007868683,
|
||||
0.02204154,
|
||||
-0.05596309,
|
||||
0.016420309,
|
||||
2.7086095e-33,
|
||||
0.006498072,
|
||||
-0.05102914,
|
||||
0.021128993,
|
||||
0.079696916,
|
||||
-0.04368096,
|
||||
0.014891595,
|
||||
-0.03284718,
|
||||
0.13597973,
|
||||
-0.05611768,
|
||||
0.065166466,
|
||||
-0.020231556,
|
||||
0.053045265,
|
||||
-0.044832457,
|
||||
0.0828567,
|
||||
-0.018177088,
|
||||
0.03377287,
|
||||
-0.016103493,
|
||||
-0.039715588,
|
||||
-0.050904434,
|
||||
-0.0038329896,
|
||||
0.015498999,
|
||||
-0.030282972,
|
||||
-0.050938744,
|
||||
-0.115957625,
|
||||
-0.076649554,
|
||||
-0.06565169,
|
||||
0.019764075,
|
||||
-0.06825472,
|
||||
-0.07423054,
|
||||
0.025802143,
|
||||
-0.14319569,
|
||||
-0.07893587,
|
||||
-0.021244677,
|
||||
0.039639056,
|
||||
-0.016771762,
|
||||
-0.044094212,
|
||||
0.006607121,
|
||||
0.0058665574,
|
||||
-0.079957776,
|
||||
0.0024178843,
|
||||
-0.026912177,
|
||||
-0.001314472,
|
||||
0.0020497818,
|
||||
-0.03380618,
|
||||
0.0059291054,
|
||||
-0.046081297,
|
||||
-0.034725416,
|
||||
0.02528868,
|
||||
0.019049278,
|
||||
-0.024219116,
|
||||
0.019568719,
|
||||
0.03941725,
|
||||
-0.033345263,
|
||||
-0.07684812,
|
||||
0.0054315818,
|
||||
-0.0031623829,
|
||||
0.0005356066,
|
||||
0.018244456,
|
||||
0.07461002,
|
||||
0.025117932,
|
||||
-0.10991429,
|
||||
0.01122152,
|
||||
-0.050930005,
|
||||
0.07580464,
|
||||
-0.12484931,
|
||||
-0.0591179,
|
||||
-0.0036239042,
|
||||
-0.08543652,
|
||||
0.039191302,
|
||||
0.072754264,
|
||||
0.011465748,
|
||||
0.027549291,
|
||||
-0.08110097,
|
||||
-0.030435283,
|
||||
-0.03465816,
|
||||
0.032245405,
|
||||
-0.03507338,
|
||||
0.010230925,
|
||||
-0.021762168,
|
||||
0.0010682199,
|
||||
0.013822321,
|
||||
-0.028904948,
|
||||
0.017150717,
|
||||
-0.05295273,
|
||||
-0.012557206,
|
||||
-0.16905425,
|
||||
0.030619822,
|
||||
-0.10054792,
|
||||
0.026634272,
|
||||
-0.07122915,
|
||||
0.0092741735,
|
||||
0.017939111,
|
||||
-0.03531683,
|
||||
-0.038101353,
|
||||
0.11609597,
|
||||
-2.2711247e-33,
|
||||
0.041248765,
|
||||
0.083693914,
|
||||
0.0089820735,
|
||||
0.13582829,
|
||||
-0.009228323,
|
||||
0.0038762907,
|
||||
0.061341565,
|
||||
0.01469015,
|
||||
-0.08240378,
|
||||
0.05107197,
|
||||
0.052173425,
|
||||
-0.09126192,
|
||||
0.018780502,
|
||||
-0.050300993,
|
||||
-0.0038688742,
|
||||
0.008737851,
|
||||
-0.08193838,
|
||||
-0.060001966,
|
||||
0.016477142,
|
||||
0.043078806,
|
||||
-0.04115415,
|
||||
0.045952313,
|
||||
0.037546176,
|
||||
0.03270977,
|
||||
-0.007376975,
|
||||
0.08626973,
|
||||
0.03767993,
|
||||
-0.00026940287,
|
||||
-0.035631977,
|
||||
0.020278217,
|
||||
-0.0061969752,
|
||||
-0.019155525,
|
||||
-0.055412345,
|
||||
0.034521118,
|
||||
-0.028578442,
|
||||
0.004530765,
|
||||
0.07261302,
|
||||
0.042001948,
|
||||
0.011119676,
|
||||
0.018817117,
|
||||
0.09709029,
|
||||
0.09413343,
|
||||
-0.12912744,
|
||||
0.035019256,
|
||||
-0.0044004405,
|
||||
-0.012197643,
|
||||
-0.0016767152,
|
||||
-0.050653454,
|
||||
0.15880086,
|
||||
-0.012520415,
|
||||
-0.021363545,
|
||||
0.032528505,
|
||||
0.046278242,
|
||||
0.05432749,
|
||||
0.0068259244,
|
||||
-0.027164718,
|
||||
-0.061874453,
|
||||
-0.045347977,
|
||||
-0.008326152,
|
||||
0.040174823,
|
||||
-0.016723135,
|
||||
-0.040927786,
|
||||
0.039524958,
|
||||
-0.021477904,
|
||||
0.005540513,
|
||||
-0.08496149,
|
||||
-0.03831685,
|
||||
0.10397451,
|
||||
-0.020332867,
|
||||
0.029680394,
|
||||
-0.039777882,
|
||||
0.035099667,
|
||||
-0.0034420816,
|
||||
-0.0068078735,
|
||||
0.053187653,
|
||||
0.011835961,
|
||||
0.046571333,
|
||||
0.024157742,
|
||||
0.06848898,
|
||||
-0.009515957,
|
||||
-0.0065540504,
|
||||
-0.03787176,
|
||||
-0.013776801,
|
||||
0.021354824,
|
||||
0.030594762,
|
||||
0.1030499,
|
||||
0.02779013,
|
||||
0.007137683,
|
||||
0.0043066535,
|
||||
0.009143458,
|
||||
0.06913005,
|
||||
0.087646194,
|
||||
-0.04637201,
|
||||
0.018210901,
|
||||
0.065364964,
|
||||
-1.7641524e-08,
|
||||
-0.06085661,
|
||||
-0.07560718,
|
||||
0.044324413,
|
||||
-0.024757527,
|
||||
-0.0613841,
|
||||
-0.045388643,
|
||||
0.020636274,
|
||||
-0.034330957,
|
||||
-0.035204973,
|
||||
-0.023755621,
|
||||
0.027765684,
|
||||
-0.0021510508,
|
||||
-0.053484533,
|
||||
-0.01961888,
|
||||
-0.041783966,
|
||||
-0.0009724822,
|
||||
-0.043084696,
|
||||
-0.0115936445,
|
||||
-0.0051043336,
|
||||
0.06577775,
|
||||
-0.05711708,
|
||||
0.095585465,
|
||||
0.08890878,
|
||||
-0.022215102,
|
||||
-0.067304604,
|
||||
-0.022770444,
|
||||
0.018797465,
|
||||
0.03001117,
|
||||
0.055300087,
|
||||
0.05072916,
|
||||
0.02093567,
|
||||
0.06547353,
|
||||
-0.0373716,
|
||||
-0.078019574,
|
||||
-0.03963001,
|
||||
0.095844686,
|
||||
0.06597364,
|
||||
-0.010788323,
|
||||
-0.047525086,
|
||||
0.034165245,
|
||||
-0.05954935,
|
||||
-0.02092253,
|
||||
0.00427131,
|
||||
-0.097080074,
|
||||
0.06944156,
|
||||
-0.046935465,
|
||||
0.0026667016,
|
||||
0.014033051,
|
||||
0.0018345766,
|
||||
-0.014996133,
|
||||
0.018471623,
|
||||
-0.026374022,
|
||||
-0.06662875,
|
||||
0.036712583,
|
||||
-0.0066104354,
|
||||
0.015776748,
|
||||
0.024043838,
|
||||
0.03837956,
|
||||
-0.06429473,
|
||||
0.013731244,
|
||||
0.00576132,
|
||||
-0.025671437,
|
||||
0.077528514,
|
||||
-0.014770322
|
||||
],
|
||||
"index": 0,
|
||||
"object": "embedding"
|
||||
}
|
||||
],
|
||||
"model": "all-minilm:l6-v2",
|
||||
"object": "list",
|
||||
"usage": {
|
||||
"prompt_tokens": 7,
|
||||
"total_tokens": 7
|
||||
}
|
||||
}
|
||||
},
|
||||
"is_streaming": false
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,423 @@
|
|||
{
|
||||
"test_id": "tests/integration/vector_io/test_openai_vector_stores.py::test_openai_vector_store_search_modes[ollama/llama3.2:3b-instruct-fp16-None-ollama/all-minilm:l6-v2-None-384-hybrid]",
|
||||
"request": {
|
||||
"method": "POST",
|
||||
"url": "http://0.0.0.0:11434/v1/v1/embeddings",
|
||||
"headers": {},
|
||||
"body": {
|
||||
"model": "all-minilm:l6-v2",
|
||||
"input": [
|
||||
"Python programming language"
|
||||
],
|
||||
"encoding_format": "float"
|
||||
},
|
||||
"endpoint": "/v1/embeddings",
|
||||
"model": "all-minilm:l6-v2"
|
||||
},
|
||||
"response": {
|
||||
"body": {
|
||||
"__type__": "openai.types.create_embedding_response.CreateEmbeddingResponse",
|
||||
"__data__": {
|
||||
"data": [
|
||||
{
|
||||
"embedding": [
|
||||
-0.063880146,
|
||||
0.013411989,
|
||||
-0.054502595,
|
||||
0.01193493,
|
||||
-0.074262686,
|
||||
-0.13344447,
|
||||
0.04294062,
|
||||
0.045387108,
|
||||
-0.06949706,
|
||||
-0.035939943,
|
||||
0.01200873,
|
||||
0.0068830596,
|
||||
0.08886977,
|
||||
0.0026030506,
|
||||
0.032482542,
|
||||
-0.007821568,
|
||||
-0.05044649,
|
||||
0.006662123,
|
||||
0.027794942,
|
||||
-0.12791364,
|
||||
0.00062353734,
|
||||
0.045270294,
|
||||
-0.03605076,
|
||||
0.044243146,
|
||||
0.0129354475,
|
||||
-0.0092799105,
|
||||
0.011904844,
|
||||
0.026060482,
|
||||
0.020055141,
|
||||
-0.03368774,
|
||||
-0.028043076,
|
||||
0.087557025,
|
||||
0.059002083,
|
||||
0.053893365,
|
||||
0.02027196,
|
||||
0.06840361,
|
||||
-0.03180594,
|
||||
-0.087597735,
|
||||
-0.11277839,
|
||||
0.022651086,
|
||||
-0.09037903,
|
||||
-0.0033202847,
|
||||
-0.040132593,
|
||||
-0.034084503,
|
||||
-0.032953303,
|
||||
0.02925268,
|
||||
-0.03903928,
|
||||
0.04551951,
|
||||
-0.0331016,
|
||||
-0.006518362,
|
||||
-0.09629851,
|
||||
-0.011739161,
|
||||
-0.052575007,
|
||||
-0.064773224,
|
||||
0.031043475,
|
||||
-0.012586444,
|
||||
0.09737276,
|
||||
0.005224713,
|
||||
-0.035071153,
|
||||
-0.1404299,
|
||||
-0.06678175,
|
||||
0.03654573,
|
||||
-0.039277818,
|
||||
0.07014256,
|
||||
-0.0010227569,
|
||||
-0.026846789,
|
||||
-0.0175696,
|
||||
0.03044068,
|
||||
0.06403526,
|
||||
-0.031643596,
|
||||
-0.14598879,
|
||||
-0.045400888,
|
||||
-0.018469285,
|
||||
0.06689445,
|
||||
0.030553635,
|
||||
-0.12255281,
|
||||
0.061046645,
|
||||
-0.05678168,
|
||||
-0.005118667,
|
||||
-0.0087622,
|
||||
0.006514719,
|
||||
-0.016424034,
|
||||
-0.033650044,
|
||||
0.08491301,
|
||||
-0.00029260007,
|
||||
-0.07339515,
|
||||
0.038627055,
|
||||
0.15695965,
|
||||
0.010035773,
|
||||
0.025318887,
|
||||
-0.0021428047,
|
||||
-0.04613549,
|
||||
0.06244243,
|
||||
-0.019905778,
|
||||
-0.05471386,
|
||||
0.09796629,
|
||||
0.0384793,
|
||||
-0.072424814,
|
||||
-0.038704097,
|
||||
0.07158691,
|
||||
0.007360897,
|
||||
-0.05120446,
|
||||
0.0313513,
|
||||
-0.032230332,
|
||||
0.039326303,
|
||||
-0.009643992,
|
||||
0.069905065,
|
||||
-0.052026685,
|
||||
0.049440835,
|
||||
-0.04272916,
|
||||
-0.0037707465,
|
||||
-0.04155246,
|
||||
-0.0561972,
|
||||
-0.03340213,
|
||||
0.05105359,
|
||||
0.038616214,
|
||||
-0.0029470131,
|
||||
0.08188407,
|
||||
-0.0035886324,
|
||||
0.04530431,
|
||||
0.0068888925,
|
||||
0.016499842,
|
||||
0.016347302,
|
||||
0.007283021,
|
||||
-0.021663606,
|
||||
-0.0046215886,
|
||||
-0.007931065,
|
||||
-4.1536508e-33,
|
||||
-0.045777988,
|
||||
-0.050903402,
|
||||
-0.038634304,
|
||||
0.0100991195,
|
||||
0.070007294,
|
||||
-0.025182785,
|
||||
0.1050647,
|
||||
-0.0049731904,
|
||||
-0.064141616,
|
||||
-0.047639705,
|
||||
0.012718577,
|
||||
0.05198462,
|
||||
-0.016051587,
|
||||
0.08170543,
|
||||
0.024008816,
|
||||
-0.020879291,
|
||||
0.045706064,
|
||||
0.091577366,
|
||||
0.02512945,
|
||||
0.019055998,
|
||||
0.048144504,
|
||||
0.097951256,
|
||||
0.034154113,
|
||||
0.03543114,
|
||||
0.011410896,
|
||||
-0.043446988,
|
||||
-0.0041784984,
|
||||
-0.05564714,
|
||||
0.01147717,
|
||||
0.0071039577,
|
||||
-0.06426582,
|
||||
-0.020623188,
|
||||
-0.0045247558,
|
||||
-0.012943628,
|
||||
0.02658834,
|
||||
-0.012385487,
|
||||
0.008399212,
|
||||
-0.06824828,
|
||||
0.04683057,
|
||||
-0.04165085,
|
||||
-0.025662417,
|
||||
-0.0038799767,
|
||||
0.05007075,
|
||||
-0.008117481,
|
||||
-0.023308154,
|
||||
0.023914568,
|
||||
0.0015741173,
|
||||
0.046142872,
|
||||
-0.06898886,
|
||||
0.041611847,
|
||||
0.0045286645,
|
||||
-0.047628563,
|
||||
0.054236773,
|
||||
0.06972688,
|
||||
-0.016889753,
|
||||
0.04806098,
|
||||
0.012714234,
|
||||
0.0022186628,
|
||||
-0.006355918,
|
||||
-0.031550523,
|
||||
0.023726372,
|
||||
0.06859327,
|
||||
0.077228814,
|
||||
-0.01227583,
|
||||
0.03901903,
|
||||
0.034360897,
|
||||
0.03032876,
|
||||
0.058690928,
|
||||
0.08030179,
|
||||
0.06976231,
|
||||
-0.09047136,
|
||||
0.02376998,
|
||||
-0.008751518,
|
||||
0.038334776,
|
||||
-0.02751323,
|
||||
0.023137644,
|
||||
0.027101006,
|
||||
-0.08135271,
|
||||
-0.010334998,
|
||||
0.04730408,
|
||||
-0.02033998,
|
||||
-0.026008504,
|
||||
-0.017415512,
|
||||
-0.0035714875,
|
||||
-0.018727385,
|
||||
-0.037389226,
|
||||
0.041064497,
|
||||
0.05317889,
|
||||
-0.0055602547,
|
||||
-0.058561854,
|
||||
-0.072036326,
|
||||
-0.075019896,
|
||||
0.04825644,
|
||||
0.011348427,
|
||||
-0.02259257,
|
||||
1.3515749e-33,
|
||||
0.006240622,
|
||||
0.031606406,
|
||||
-0.036119435,
|
||||
-0.0016494404,
|
||||
-0.08255665,
|
||||
-0.06069396,
|
||||
0.059934463,
|
||||
0.014492232,
|
||||
0.059514895,
|
||||
0.027053975,
|
||||
-0.011601325,
|
||||
-0.057609312,
|
||||
0.10365583,
|
||||
-0.002784741,
|
||||
0.07693759,
|
||||
0.019432511,
|
||||
-0.052210074,
|
||||
0.015158053,
|
||||
-0.0012768542,
|
||||
0.027789148,
|
||||
-0.115292676,
|
||||
0.047323048,
|
||||
-0.07599195,
|
||||
-0.074344486,
|
||||
-0.029194841,
|
||||
-0.020079462,
|
||||
-0.034749795,
|
||||
-0.05769437,
|
||||
-0.0301632,
|
||||
0.04749987,
|
||||
0.012206333,
|
||||
0.011497502,
|
||||
-0.051970575,
|
||||
0.05972769,
|
||||
0.03281016,
|
||||
0.0013676677,
|
||||
0.057720944,
|
||||
-0.041179247,
|
||||
-0.02150875,
|
||||
-0.0067487382,
|
||||
0.1419711,
|
||||
0.05795878,
|
||||
0.010094941,
|
||||
0.09603845,
|
||||
0.014521089,
|
||||
0.02133803,
|
||||
-0.07551916,
|
||||
0.07887724,
|
||||
-0.04273237,
|
||||
-0.06601746,
|
||||
-0.038729392,
|
||||
-0.008161129,
|
||||
0.015012324,
|
||||
-0.049418066,
|
||||
-0.037083283,
|
||||
-0.02378242,
|
||||
0.03743137,
|
||||
0.008194503,
|
||||
-0.086978436,
|
||||
-0.05960285,
|
||||
-0.07732487,
|
||||
-0.056507926,
|
||||
0.029065313,
|
||||
0.0073954053,
|
||||
-0.077878684,
|
||||
0.0026059505,
|
||||
-0.10405392,
|
||||
-0.04738624,
|
||||
-0.015872862,
|
||||
-0.11591199,
|
||||
0.09724705,
|
||||
0.0049243565,
|
||||
-0.010273523,
|
||||
0.0066429917,
|
||||
-0.060295314,
|
||||
0.02550513,
|
||||
-0.052950058,
|
||||
-0.0038489713,
|
||||
-0.050250847,
|
||||
0.07679287,
|
||||
0.046089787,
|
||||
0.007386997,
|
||||
0.0046740095,
|
||||
0.07385862,
|
||||
-0.07792065,
|
||||
0.0013675193,
|
||||
0.013730894,
|
||||
0.05658653,
|
||||
0.021934126,
|
||||
0.007195913,
|
||||
0.0076705213,
|
||||
0.10221154,
|
||||
0.060060997,
|
||||
0.036779005,
|
||||
-0.037765697,
|
||||
-1.187368e-08,
|
||||
-0.00885571,
|
||||
0.01760442,
|
||||
0.062224448,
|
||||
0.032051455,
|
||||
-0.011581793,
|
||||
0.051908698,
|
||||
-0.011685676,
|
||||
-0.06391574,
|
||||
-0.029866237,
|
||||
0.03258576,
|
||||
0.0055078953,
|
||||
-0.012040446,
|
||||
-0.054406017,
|
||||
-0.056690563,
|
||||
-0.030638037,
|
||||
0.14276367,
|
||||
0.028526368,
|
||||
-0.028743364,
|
||||
0.019917691,
|
||||
0.025652615,
|
||||
0.073813364,
|
||||
-0.0066998666,
|
||||
0.0061508445,
|
||||
0.09610696,
|
||||
-0.08799916,
|
||||
-0.0089272335,
|
||||
0.03823298,
|
||||
0.04832936,
|
||||
0.018829934,
|
||||
-0.10534708,
|
||||
0.048226915,
|
||||
-0.02225069,
|
||||
0.020491786,
|
||||
0.014641141,
|
||||
0.030794447,
|
||||
-0.029119467,
|
||||
0.008283775,
|
||||
-0.04506887,
|
||||
0.0025344177,
|
||||
0.021756247,
|
||||
-0.008108281,
|
||||
0.00904927,
|
||||
-0.013340866,
|
||||
-0.014037631,
|
||||
0.06845187,
|
||||
0.045173325,
|
||||
-0.034587316,
|
||||
-0.07275669,
|
||||
-0.004159724,
|
||||
-0.058231864,
|
||||
-0.033032075,
|
||||
0.0040235794,
|
||||
-0.019985583,
|
||||
-0.020122562,
|
||||
0.055365406,
|
||||
0.10250875,
|
||||
-0.10799118,
|
||||
-0.013780294,
|
||||
-0.009652406,
|
||||
0.015592658,
|
||||
-0.031221472,
|
||||
0.1329332,
|
||||
0.15243866,
|
||||
-0.022426173
|
||||
],
|
||||
"index": 0,
|
||||
"object": "embedding"
|
||||
}
|
||||
],
|
||||
"model": "all-minilm:l6-v2",
|
||||
"object": "list",
|
||||
"usage": {
|
||||
"prompt_tokens": 3,
|
||||
"total_tokens": 3
|
||||
}
|
||||
}
|
||||
},
|
||||
"is_streaming": false
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,78 @@
|
|||
{
|
||||
"test_id": "tests/integration/vector_io/test_vector_io.py::test_insert_chunks_with_precomputed_embeddings[emb=ollama/all-minilm:l6-v2:dim=384]",
|
||||
"request": {
|
||||
"method": "POST",
|
||||
"url": "http://localhost:11434/api/ps",
|
||||
"headers": {},
|
||||
"body": {},
|
||||
"endpoint": "/api/ps",
|
||||
"model": ""
|
||||
},
|
||||
"response": {
|
||||
"body": {
|
||||
"__type__": "ollama._types.ProcessResponse",
|
||||
"__data__": {
|
||||
"models": [
|
||||
{
|
||||
"model": "all-minilm:l6-v2",
|
||||
"name": "all-minilm:l6-v2",
|
||||
"digest": "1b226e2802dbb772b5fc32a58f103ca1804ef7501331012de126ab22f67475ef",
|
||||
"expires_at": "2025-10-03T21:19:00.162339-07:00",
|
||||
"size": 585846784,
|
||||
"size_vram": 585846784,
|
||||
"details": {
|
||||
"parent_model": "",
|
||||
"format": "gguf",
|
||||
"family": "bert",
|
||||
"families": [
|
||||
"bert"
|
||||
],
|
||||
"parameter_size": "23M",
|
||||
"quantization_level": "F16"
|
||||
},
|
||||
"context_length": 256
|
||||
},
|
||||
{
|
||||
"model": "llama-guard3:1b",
|
||||
"name": "llama-guard3:1b",
|
||||
"digest": "494147e06bf99e10dbe67b63a07ac81c162f18ef3341aa3390007ac828571b3b",
|
||||
"expires_at": "2025-10-03T21:16:14.288654-07:00",
|
||||
"size": 2350966784,
|
||||
"size_vram": 2350966784,
|
||||
"details": {
|
||||
"parent_model": "",
|
||||
"format": "gguf",
|
||||
"family": "llama",
|
||||
"families": [
|
||||
"llama"
|
||||
],
|
||||
"parameter_size": "1.5B",
|
||||
"quantization_level": "Q8_0"
|
||||
},
|
||||
"context_length": 4096
|
||||
},
|
||||
{
|
||||
"model": "llama3.2:3b-instruct-fp16",
|
||||
"name": "llama3.2:3b-instruct-fp16",
|
||||
"digest": "195a8c01d91ec3cb1e0aad4624a51f2602c51fa7d96110f8ab5a20c84081804d",
|
||||
"expires_at": "2025-10-03T21:16:13.983283-07:00",
|
||||
"size": 7919570944,
|
||||
"size_vram": 7919570944,
|
||||
"details": {
|
||||
"parent_model": "",
|
||||
"format": "gguf",
|
||||
"family": "llama",
|
||||
"families": [
|
||||
"llama"
|
||||
],
|
||||
"parameter_size": "3.2B",
|
||||
"quantization_level": "F16"
|
||||
},
|
||||
"context_length": 4096
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
"is_streaming": false
|
||||
}
|
||||
}
|
||||
File diff suppressed because it is too large
Load diff
|
|
@ -0,0 +1,423 @@
|
|||
{
|
||||
"test_id": "tests/integration/vector_io/test_openai_vector_stores.py::test_openai_vector_store_search_with_high_score_filter[client_with_models-ollama/llama3.2:3b-instruct-fp16-None-ollama/all-minilm:l6-v2-None-384]",
|
||||
"request": {
|
||||
"method": "POST",
|
||||
"url": "http://0.0.0.0:11434/v1/v1/embeddings",
|
||||
"headers": {},
|
||||
"body": {
|
||||
"model": "all-minilm:l6-v2",
|
||||
"input": [
|
||||
"Python is a high-level programming language with code readability and fewer lines than C++ or 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.07642644,
|
||||
0.0213101,
|
||||
-0.03612849,
|
||||
-0.0012144424,
|
||||
-0.048599217,
|
||||
-0.13194773,
|
||||
-0.084226094,
|
||||
0.059389386,
|
||||
-0.0617182,
|
||||
-0.009323243,
|
||||
-0.08099486,
|
||||
0.055514984,
|
||||
0.052610602,
|
||||
0.026061919,
|
||||
0.063071534,
|
||||
-0.062316332,
|
||||
-0.065115415,
|
||||
-0.022351492,
|
||||
0.017378356,
|
||||
-0.11605584,
|
||||
-0.036349725,
|
||||
0.0404155,
|
||||
-0.0325302,
|
||||
-0.01770141,
|
||||
0.05722761,
|
||||
0.012393438,
|
||||
-0.018529164,
|
||||
-0.030017126,
|
||||
0.002365914,
|
||||
0.0066701965,
|
||||
-0.08862459,
|
||||
0.0779319,
|
||||
0.03702611,
|
||||
0.029523117,
|
||||
-0.01977821,
|
||||
0.05424799,
|
||||
-0.00074063655,
|
||||
-0.08949148,
|
||||
-0.05312112,
|
||||
-0.012703181,
|
||||
-0.08622611,
|
||||
0.07689996,
|
||||
-0.038602136,
|
||||
-0.011616902,
|
||||
-0.03234132,
|
||||
-0.0073969415,
|
||||
-0.024779495,
|
||||
-0.067999884,
|
||||
-0.03039565,
|
||||
-0.025974417,
|
||||
-0.09690519,
|
||||
0.009931951,
|
||||
-0.05362519,
|
||||
-0.09107193,
|
||||
-0.009222061,
|
||||
-0.008804084,
|
||||
0.048185978,
|
||||
-0.003329437,
|
||||
-0.0058579347,
|
||||
-0.13306528,
|
||||
-0.09721703,
|
||||
0.013474277,
|
||||
0.047286008,
|
||||
0.06279936,
|
||||
-0.01582815,
|
||||
-0.03771013,
|
||||
-0.01651892,
|
||||
0.029905442,
|
||||
0.09326656,
|
||||
-0.06746783,
|
||||
-0.13385954,
|
||||
-0.020873511,
|
||||
-0.02586237,
|
||||
0.11623731,
|
||||
0.030632136,
|
||||
-0.10494776,
|
||||
0.03905967,
|
||||
-0.010701787,
|
||||
-0.0014734551,
|
||||
0.020711906,
|
||||
0.0017687598,
|
||||
0.027797814,
|
||||
-0.078500465,
|
||||
0.10791581,
|
||||
0.02910256,
|
||||
-0.05398749,
|
||||
0.030513834,
|
||||
0.07001416,
|
||||
-0.034323946,
|
||||
0.00986597,
|
||||
0.034644563,
|
||||
-0.04232179,
|
||||
0.065106474,
|
||||
0.026648693,
|
||||
-0.032122962,
|
||||
0.07616709,
|
||||
0.020026332,
|
||||
-0.030642457,
|
||||
-0.07188906,
|
||||
0.027189687,
|
||||
-0.018678213,
|
||||
-0.05416582,
|
||||
0.07488992,
|
||||
0.017753933,
|
||||
0.03386007,
|
||||
0.02414506,
|
||||
0.09077034,
|
||||
-0.052096054,
|
||||
0.040722203,
|
||||
-0.018450806,
|
||||
-0.012474094,
|
||||
-0.06403705,
|
||||
-0.023205942,
|
||||
-0.061878704,
|
||||
0.053436812,
|
||||
0.047876816,
|
||||
-0.010608645,
|
||||
0.07852118,
|
||||
0.03579911,
|
||||
0.027097313,
|
||||
0.022424318,
|
||||
-0.004912598,
|
||||
-0.02455264,
|
||||
0.003700777,
|
||||
0.00039888592,
|
||||
-0.008842094,
|
||||
0.009365857,
|
||||
2.05052e-34,
|
||||
-0.03236592,
|
||||
-0.024301885,
|
||||
0.027186498,
|
||||
0.021633558,
|
||||
0.06519107,
|
||||
-0.019539308,
|
||||
0.05306087,
|
||||
0.007985293,
|
||||
-0.03927361,
|
||||
-0.020062907,
|
||||
0.008070545,
|
||||
0.02382429,
|
||||
0.015006528,
|
||||
0.1128094,
|
||||
0.06113956,
|
||||
-0.011911169,
|
||||
0.016901307,
|
||||
0.045509744,
|
||||
0.0013988831,
|
||||
0.00907712,
|
||||
0.01314859,
|
||||
-0.012022324,
|
||||
0.027043821,
|
||||
0.0071581583,
|
||||
0.022573117,
|
||||
-0.013721936,
|
||||
-0.004378743,
|
||||
-0.0007087661,
|
||||
0.033585846,
|
||||
0.011227843,
|
||||
-0.05136015,
|
||||
-0.0739591,
|
||||
-0.03094639,
|
||||
0.01957863,
|
||||
-0.010360539,
|
||||
-0.0029881562,
|
||||
-0.00480912,
|
||||
-0.10446798,
|
||||
0.034694213,
|
||||
-0.02424012,
|
||||
-0.047155295,
|
||||
0.035451673,
|
||||
0.037169226,
|
||||
-0.016986743,
|
||||
0.0056092087,
|
||||
0.05057555,
|
||||
-0.008601115,
|
||||
0.0060349177,
|
||||
-0.12273999,
|
||||
0.036871877,
|
||||
-0.022267655,
|
||||
-0.009739047,
|
||||
0.075974636,
|
||||
0.08902226,
|
||||
0.01647873,
|
||||
0.044345584,
|
||||
0.06792565,
|
||||
0.06456903,
|
||||
-0.050189856,
|
||||
-0.0016995457,
|
||||
-0.00090498856,
|
||||
0.09925942,
|
||||
0.09253569,
|
||||
-0.011321612,
|
||||
0.050309792,
|
||||
0.07697773,
|
||||
0.0100068,
|
||||
0.101032645,
|
||||
0.03268899,
|
||||
0.06433435,
|
||||
-0.044524822,
|
||||
0.03860177,
|
||||
-0.019314477,
|
||||
0.037440598,
|
||||
-0.0017394378,
|
||||
0.011816814,
|
||||
0.011359969,
|
||||
-0.1040215,
|
||||
0.06984421,
|
||||
0.01910163,
|
||||
-0.028409261,
|
||||
-0.013704911,
|
||||
0.048502754,
|
||||
-0.015429918,
|
||||
-0.03423058,
|
||||
-0.055616368,
|
||||
0.005001686,
|
||||
0.026054256,
|
||||
-0.0007700968,
|
||||
-0.0041726283,
|
||||
-0.0640977,
|
||||
-0.05985385,
|
||||
0.0813829,
|
||||
0.014288322,
|
||||
-0.038147252,
|
||||
-2.1576616e-33,
|
||||
-0.027279941,
|
||||
-0.034765568,
|
||||
-0.02465107,
|
||||
0.026859807,
|
||||
-0.090699576,
|
||||
-0.045698144,
|
||||
0.013666582,
|
||||
0.002109106,
|
||||
0.054007426,
|
||||
0.032838397,
|
||||
-0.029939773,
|
||||
-0.058843046,
|
||||
0.09825693,
|
||||
0.03251322,
|
||||
0.109977886,
|
||||
0.020682266,
|
||||
-0.0958973,
|
||||
0.0005566991,
|
||||
0.0018037638,
|
||||
0.017544486,
|
||||
-0.06843023,
|
||||
0.06435102,
|
||||
-0.050149646,
|
||||
-0.048880838,
|
||||
-0.027535524,
|
||||
-0.014993001,
|
||||
-0.1210176,
|
||||
-0.04412877,
|
||||
-0.011025324,
|
||||
0.058610573,
|
||||
-0.007498303,
|
||||
0.038722932,
|
||||
-0.07025986,
|
||||
0.030281536,
|
||||
0.055707317,
|
||||
-0.001162887,
|
||||
0.01707519,
|
||||
-0.042081844,
|
||||
-0.016578361,
|
||||
-0.025714336,
|
||||
0.117893435,
|
||||
0.04196084,
|
||||
0.064787276,
|
||||
0.046081997,
|
||||
0.014950138,
|
||||
0.030026693,
|
||||
-0.039077066,
|
||||
0.087156676,
|
||||
-0.012328571,
|
||||
-0.035646956,
|
||||
-0.048145168,
|
||||
0.041394625,
|
||||
0.038984135,
|
||||
-0.025188481,
|
||||
-0.028836856,
|
||||
-0.02917782,
|
||||
0.029690607,
|
||||
0.051454436,
|
||||
-0.08629761,
|
||||
-0.06921346,
|
||||
-0.07273269,
|
||||
-0.05952071,
|
||||
0.0050034616,
|
||||
0.025693603,
|
||||
-0.022103382,
|
||||
0.024972659,
|
||||
-0.09724792,
|
||||
0.0062089814,
|
||||
-0.04963219,
|
||||
-0.13054384,
|
||||
0.124669954,
|
||||
-0.01361085,
|
||||
-0.022798477,
|
||||
0.039057832,
|
||||
-0.07550591,
|
||||
0.049364913,
|
||||
0.0007779102,
|
||||
0.004692535,
|
||||
-0.040757872,
|
||||
0.06355995,
|
||||
0.110190175,
|
||||
0.02015945,
|
||||
-0.048807338,
|
||||
0.05842704,
|
||||
-0.066375315,
|
||||
0.026938869,
|
||||
-0.062775925,
|
||||
-0.014049011,
|
||||
0.023343485,
|
||||
0.02358394,
|
||||
-0.002172394,
|
||||
0.07766165,
|
||||
0.031056313,
|
||||
0.020171564,
|
||||
-0.020073414,
|
||||
-2.4317085e-08,
|
||||
0.020261949,
|
||||
-0.008623839,
|
||||
0.0621209,
|
||||
-0.008334477,
|
||||
0.02526615,
|
||||
0.08902315,
|
||||
-0.007958188,
|
||||
-0.018911751,
|
||||
-0.035572145,
|
||||
0.06189234,
|
||||
-0.017249323,
|
||||
-0.030186126,
|
||||
-0.10225455,
|
||||
-0.06522741,
|
||||
-0.004033112,
|
||||
0.10897627,
|
||||
-0.02168822,
|
||||
-0.053784374,
|
||||
0.011841631,
|
||||
0.052263785,
|
||||
0.058334205,
|
||||
0.0052479547,
|
||||
-0.06017166,
|
||||
0.08723854,
|
||||
-0.08275336,
|
||||
-0.040676847,
|
||||
0.065786876,
|
||||
0.028317772,
|
||||
-0.012168614,
|
||||
-0.07196286,
|
||||
0.014588226,
|
||||
-0.03231537,
|
||||
0.0028357722,
|
||||
0.03868031,
|
||||
0.055439528,
|
||||
-0.015238348,
|
||||
0.05482384,
|
||||
-0.025080629,
|
||||
-0.033771332,
|
||||
0.0030752022,
|
||||
-0.037511814,
|
||||
0.015122315,
|
||||
0.02292684,
|
||||
0.012024873,
|
||||
0.03559873,
|
||||
0.006865039,
|
||||
-0.04049267,
|
||||
-0.049685854,
|
||||
-0.05455341,
|
||||
-0.073071465,
|
||||
-0.024902396,
|
||||
-0.002133957,
|
||||
-0.013212662,
|
||||
-0.06657236,
|
||||
0.023245512,
|
||||
0.046919,
|
||||
-0.13278763,
|
||||
-0.011092663,
|
||||
-0.023939205,
|
||||
0.043182902,
|
||||
0.024406029,
|
||||
0.06922961,
|
||||
0.15658055,
|
||||
0.017658537
|
||||
],
|
||||
"index": 0,
|
||||
"object": "embedding"
|
||||
}
|
||||
],
|
||||
"model": "all-minilm:l6-v2",
|
||||
"object": "list",
|
||||
"usage": {
|
||||
"prompt_tokens": 21,
|
||||
"total_tokens": 21
|
||||
}
|
||||
}
|
||||
},
|
||||
"is_streaming": false
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,423 @@
|
|||
{
|
||||
"test_id": "tests/integration/vector_io/test_openai_vector_stores.py::test_openai_vector_store_delete_file_removes_from_vector_store[client_with_models-ollama/llama3.2:3b-instruct-fp16-None-ollama/all-minilm:l6-v2-None-384]",
|
||||
"request": {
|
||||
"method": "POST",
|
||||
"url": "http://0.0.0.0:11434/v1/v1/embeddings",
|
||||
"headers": {},
|
||||
"body": {
|
||||
"model": "all-minilm:l6-v2",
|
||||
"input": [
|
||||
"The secret string is foobazbar."
|
||||
],
|
||||
"encoding_format": "float"
|
||||
},
|
||||
"endpoint": "/v1/embeddings",
|
||||
"model": "all-minilm:l6-v2"
|
||||
},
|
||||
"response": {
|
||||
"body": {
|
||||
"__type__": "openai.types.create_embedding_response.CreateEmbeddingResponse",
|
||||
"__data__": {
|
||||
"data": [
|
||||
{
|
||||
"embedding": [
|
||||
-0.060630284,
|
||||
0.06372823,
|
||||
-0.059383437,
|
||||
-0.010313639,
|
||||
-0.11985778,
|
||||
0.033409074,
|
||||
0.056847293,
|
||||
-0.0064553,
|
||||
0.029896382,
|
||||
-0.05037607,
|
||||
0.015193001,
|
||||
-0.0634204,
|
||||
0.015119892,
|
||||
-0.08354324,
|
||||
0.0092577925,
|
||||
0.044272587,
|
||||
-0.024397198,
|
||||
-0.05100177,
|
||||
-0.028086444,
|
||||
-0.07390362,
|
||||
0.07088186,
|
||||
0.08101153,
|
||||
0.006050408,
|
||||
-0.043090094,
|
||||
0.010714593,
|
||||
-0.01581376,
|
||||
0.0351736,
|
||||
0.06538307,
|
||||
0.03639655,
|
||||
-0.05625738,
|
||||
0.073681176,
|
||||
0.04730274,
|
||||
0.067169026,
|
||||
-0.01207242,
|
||||
-0.018193275,
|
||||
0.0042488067,
|
||||
0.029168725,
|
||||
0.0067459582,
|
||||
0.037927665,
|
||||
0.0024767139,
|
||||
0.014044963,
|
||||
0.022671249,
|
||||
-0.090508185,
|
||||
0.041952047,
|
||||
-0.07933115,
|
||||
0.031992197,
|
||||
-0.038355146,
|
||||
0.037013844,
|
||||
-0.0036946274,
|
||||
-0.016986867,
|
||||
0.03696087,
|
||||
-0.07697335,
|
||||
-0.020080294,
|
||||
0.07733012,
|
||||
0.04521822,
|
||||
-0.007816803,
|
||||
-0.0058926586,
|
||||
0.009962128,
|
||||
0.033492323,
|
||||
0.09000152,
|
||||
0.016161384,
|
||||
0.036999356,
|
||||
-0.039193578,
|
||||
-0.010969346,
|
||||
0.023929566,
|
||||
-0.03698458,
|
||||
-0.008227196,
|
||||
0.018780757,
|
||||
-0.0006967325,
|
||||
-0.062018193,
|
||||
-0.030388007,
|
||||
-0.037649162,
|
||||
-0.04654288,
|
||||
0.038450293,
|
||||
-0.010377299,
|
||||
-0.032971557,
|
||||
0.013547814,
|
||||
-0.059036925,
|
||||
0.0630603,
|
||||
0.0159564,
|
||||
-0.04845087,
|
||||
-0.069917254,
|
||||
-0.022502322,
|
||||
0.04408022,
|
||||
0.03618941,
|
||||
0.060470726,
|
||||
-0.04313285,
|
||||
0.028797466,
|
||||
0.0062393937,
|
||||
0.01027349,
|
||||
-0.078714885,
|
||||
-0.091531575,
|
||||
0.04391341,
|
||||
0.013202597,
|
||||
-0.0037814155,
|
||||
0.0102497,
|
||||
0.020225797,
|
||||
0.05634384,
|
||||
-0.09700619,
|
||||
0.06577961,
|
||||
0.047118917,
|
||||
0.01876648,
|
||||
0.12445029,
|
||||
-0.06447121,
|
||||
-0.012632697,
|
||||
0.016056264,
|
||||
0.08604982,
|
||||
0.024878234,
|
||||
0.10627678,
|
||||
-0.043176394,
|
||||
-0.046339765,
|
||||
-0.03149599,
|
||||
-0.001784808,
|
||||
-0.023469802,
|
||||
-0.05079461,
|
||||
0.0046657966,
|
||||
0.043237828,
|
||||
0.057146583,
|
||||
-0.065833576,
|
||||
0.032975562,
|
||||
-0.028763266,
|
||||
0.037831448,
|
||||
0.00017829033,
|
||||
0.043322463,
|
||||
-0.13265091,
|
||||
0.0263673,
|
||||
-0.04247752,
|
||||
-3.3340873e-33,
|
||||
-0.0022191573,
|
||||
0.050657377,
|
||||
0.028066125,
|
||||
-0.033898965,
|
||||
-0.0045730886,
|
||||
-0.034653578,
|
||||
-0.08628417,
|
||||
0.043108672,
|
||||
0.01022734,
|
||||
0.044009056,
|
||||
-0.03020062,
|
||||
-0.0936044,
|
||||
-0.06522928,
|
||||
-0.059762992,
|
||||
0.037560984,
|
||||
-0.025942331,
|
||||
-0.06655938,
|
||||
0.0043691625,
|
||||
0.018846871,
|
||||
-0.035582166,
|
||||
0.02240012,
|
||||
0.08943218,
|
||||
0.033568345,
|
||||
-0.11379316,
|
||||
0.03822112,
|
||||
-0.044403847,
|
||||
0.10261262,
|
||||
-0.07330182,
|
||||
0.089390896,
|
||||
0.056668896,
|
||||
-0.009407597,
|
||||
-0.0646505,
|
||||
0.016652016,
|
||||
0.007326742,
|
||||
0.005187682,
|
||||
0.0051324354,
|
||||
-0.013595071,
|
||||
-0.04918112,
|
||||
-0.06672084,
|
||||
0.010838405,
|
||||
0.04638185,
|
||||
-0.11490209,
|
||||
-0.055054087,
|
||||
0.040443793,
|
||||
-0.032746885,
|
||||
0.03498173,
|
||||
-0.023567867,
|
||||
-0.012213799,
|
||||
0.048050664,
|
||||
0.01159698,
|
||||
0.007860181,
|
||||
0.03801084,
|
||||
-0.027765153,
|
||||
0.003296162,
|
||||
-0.0033349432,
|
||||
0.006083357,
|
||||
0.03200884,
|
||||
0.048306234,
|
||||
0.013800832,
|
||||
0.036165927,
|
||||
-0.022672432,
|
||||
0.09197581,
|
||||
0.029846204,
|
||||
0.08112345,
|
||||
-0.08677228,
|
||||
-0.028041098,
|
||||
0.0556574,
|
||||
-0.030357547,
|
||||
-0.016538681,
|
||||
0.031826265,
|
||||
-0.07586954,
|
||||
-0.009915978,
|
||||
0.028101236,
|
||||
0.002207158,
|
||||
-0.10496646,
|
||||
-0.023673821,
|
||||
-0.024204832,
|
||||
-0.0003132271,
|
||||
0.0016462951,
|
||||
-0.037603874,
|
||||
0.025533162,
|
||||
-0.05221861,
|
||||
0.021656586,
|
||||
0.099111386,
|
||||
-0.06896361,
|
||||
-0.018568028,
|
||||
0.07245527,
|
||||
-0.10582686,
|
||||
-0.08505038,
|
||||
-0.029969748,
|
||||
-0.015717981,
|
||||
-0.056855034,
|
||||
-0.02698479,
|
||||
-0.06410572,
|
||||
0.0057078917,
|
||||
1.2902391e-33,
|
||||
0.05490771,
|
||||
-0.036417797,
|
||||
-0.0023541928,
|
||||
-0.03591478,
|
||||
0.106852315,
|
||||
-0.04931468,
|
||||
0.037884213,
|
||||
0.050633065,
|
||||
-0.083874516,
|
||||
-0.018756155,
|
||||
0.0036251817,
|
||||
0.028974183,
|
||||
-0.0027879397,
|
||||
-0.036439158,
|
||||
0.11148004,
|
||||
0.051007163,
|
||||
0.040258586,
|
||||
0.09245398,
|
||||
-0.01367112,
|
||||
-0.070999645,
|
||||
-0.043213032,
|
||||
-0.060117763,
|
||||
-0.03019449,
|
||||
0.009107182,
|
||||
-0.044254936,
|
||||
0.04843456,
|
||||
0.117205575,
|
||||
-0.009833911,
|
||||
0.0023962231,
|
||||
0.09339494,
|
||||
-0.059902366,
|
||||
0.0101377955,
|
||||
-0.03777244,
|
||||
-0.04344207,
|
||||
-0.14677393,
|
||||
-0.022666233,
|
||||
-0.008934328,
|
||||
-0.02157697,
|
||||
-0.021902358,
|
||||
-0.06611372,
|
||||
0.016243221,
|
||||
0.062620856,
|
||||
0.01056146,
|
||||
0.04721975,
|
||||
-0.087221384,
|
||||
0.009420561,
|
||||
-0.017691165,
|
||||
-0.03847053,
|
||||
0.010398396,
|
||||
0.022942957,
|
||||
0.099518456,
|
||||
-0.021421565,
|
||||
0.0016765085,
|
||||
-0.039359514,
|
||||
0.01641369,
|
||||
0.039669517,
|
||||
-0.119695365,
|
||||
0.009885617,
|
||||
0.003855461,
|
||||
0.018273395,
|
||||
-0.0454586,
|
||||
0.0020496584,
|
||||
0.024263415,
|
||||
0.016978405,
|
||||
0.06884217,
|
||||
-0.027432522,
|
||||
-0.01813802,
|
||||
0.053840507,
|
||||
-0.028815664,
|
||||
-0.045221787,
|
||||
0.11472852,
|
||||
0.019796453,
|
||||
-0.05785514,
|
||||
0.016556906,
|
||||
-0.07362942,
|
||||
0.04025756,
|
||||
-0.01510899,
|
||||
0.0067040483,
|
||||
-0.049666926,
|
||||
0.045941774,
|
||||
0.077951804,
|
||||
-0.042951427,
|
||||
0.021852365,
|
||||
0.063826546,
|
||||
0.08110754,
|
||||
-0.070652775,
|
||||
-0.03245094,
|
||||
0.09259784,
|
||||
-0.020451743,
|
||||
0.0701599,
|
||||
-0.020740295,
|
||||
0.09339449,
|
||||
-0.051164806,
|
||||
0.039440546,
|
||||
0.02560772,
|
||||
-1.6767814e-08,
|
||||
0.001529873,
|
||||
0.0080792755,
|
||||
-0.017666567,
|
||||
-0.034070052,
|
||||
0.06805411,
|
||||
0.07387949,
|
||||
-0.07592055,
|
||||
-0.11369049,
|
||||
-0.022008128,
|
||||
0.009088418,
|
||||
0.03108134,
|
||||
-0.0056734695,
|
||||
-0.0462051,
|
||||
0.0037219985,
|
||||
0.013269294,
|
||||
-0.03213892,
|
||||
-0.05557376,
|
||||
-0.010602884,
|
||||
0.006751397,
|
||||
-0.025462827,
|
||||
-0.0836812,
|
||||
0.08886153,
|
||||
0.005159859,
|
||||
-0.051621262,
|
||||
-0.051873572,
|
||||
0.039706588,
|
||||
-0.042155124,
|
||||
0.057125967,
|
||||
0.088910565,
|
||||
0.049736783,
|
||||
0.04144574,
|
||||
0.094677895,
|
||||
-0.037107926,
|
||||
-0.06845684,
|
||||
-0.061673928,
|
||||
0.09891817,
|
||||
-0.05952751,
|
||||
-0.0331722,
|
||||
-0.026014913,
|
||||
0.077612035,
|
||||
0.056150436,
|
||||
0.010709955,
|
||||
0.018974187,
|
||||
0.056079865,
|
||||
-0.041700333,
|
||||
-0.02731697,
|
||||
0.10184176,
|
||||
-0.036189064,
|
||||
-0.029914921,
|
||||
-0.043333948,
|
||||
0.043660097,
|
||||
0.018800316,
|
||||
-0.0042763646,
|
||||
0.055898346,
|
||||
-0.0034344571,
|
||||
0.060258396,
|
||||
-0.1337251,
|
||||
0.008184424,
|
||||
-0.031549457,
|
||||
0.022398692,
|
||||
0.037932154,
|
||||
0.024529235,
|
||||
0.068037644,
|
||||
0.07021777
|
||||
],
|
||||
"index": 0,
|
||||
"object": "embedding"
|
||||
}
|
||||
],
|
||||
"model": "all-minilm:l6-v2",
|
||||
"object": "list",
|
||||
"usage": {
|
||||
"prompt_tokens": 9,
|
||||
"total_tokens": 9
|
||||
}
|
||||
}
|
||||
},
|
||||
"is_streaming": false
|
||||
}
|
||||
}
|
||||
File diff suppressed because it is too large
Load diff
|
|
@ -0,0 +1,78 @@
|
|||
{
|
||||
"test_id": "tests/integration/vector_io/test_openai_vector_stores.py::test_create_vector_store_files_duplicate_vector_store_name[client_with_models-ollama/llama3.2:3b-instruct-fp16-None-ollama/all-minilm:l6-v2-None-384]",
|
||||
"request": {
|
||||
"method": "POST",
|
||||
"url": "http://localhost:11434/api/ps",
|
||||
"headers": {},
|
||||
"body": {},
|
||||
"endpoint": "/api/ps",
|
||||
"model": ""
|
||||
},
|
||||
"response": {
|
||||
"body": {
|
||||
"__type__": "ollama._types.ProcessResponse",
|
||||
"__data__": {
|
||||
"models": [
|
||||
{
|
||||
"model": "all-minilm:l6-v2",
|
||||
"name": "all-minilm:l6-v2",
|
||||
"digest": "1b226e2802dbb772b5fc32a58f103ca1804ef7501331012de126ab22f67475ef",
|
||||
"expires_at": "2025-10-03T21:21:11.028144-07:00",
|
||||
"size": 585846784,
|
||||
"size_vram": 585846784,
|
||||
"details": {
|
||||
"parent_model": "",
|
||||
"format": "gguf",
|
||||
"family": "bert",
|
||||
"families": [
|
||||
"bert"
|
||||
],
|
||||
"parameter_size": "23M",
|
||||
"quantization_level": "F16"
|
||||
},
|
||||
"context_length": 256
|
||||
},
|
||||
{
|
||||
"model": "llama3.2:3b-instruct-fp16",
|
||||
"name": "llama3.2:3b-instruct-fp16",
|
||||
"digest": "195a8c01d91ec3cb1e0aad4624a51f2602c51fa7d96110f8ab5a20c84081804d",
|
||||
"expires_at": "2025-10-03T21:20:56.787737-07:00",
|
||||
"size": 7919570944,
|
||||
"size_vram": 7919570944,
|
||||
"details": {
|
||||
"parent_model": "",
|
||||
"format": "gguf",
|
||||
"family": "llama",
|
||||
"families": [
|
||||
"llama"
|
||||
],
|
||||
"parameter_size": "3.2B",
|
||||
"quantization_level": "F16"
|
||||
},
|
||||
"context_length": 4096
|
||||
},
|
||||
{
|
||||
"model": "llama-guard3:1b",
|
||||
"name": "llama-guard3:1b",
|
||||
"digest": "494147e06bf99e10dbe67b63a07ac81c162f18ef3341aa3390007ac828571b3b",
|
||||
"expires_at": "2025-10-03T21:16:14.288654-07:00",
|
||||
"size": 2350966784,
|
||||
"size_vram": 2350966784,
|
||||
"details": {
|
||||
"parent_model": "",
|
||||
"format": "gguf",
|
||||
"family": "llama",
|
||||
"families": [
|
||||
"llama"
|
||||
],
|
||||
"parameter_size": "1.5B",
|
||||
"quantization_level": "Q8_0"
|
||||
},
|
||||
"context_length": 4096
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
"is_streaming": false
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,78 @@
|
|||
{
|
||||
"test_id": "tests/integration/vector_io/test_openai_vector_stores.py::test_openai_vector_store_attach_file[client_with_models-ollama/llama3.2:3b-instruct-fp16-None-ollama/all-minilm:l6-v2-None-384]",
|
||||
"request": {
|
||||
"method": "POST",
|
||||
"url": "http://localhost:11434/api/ps",
|
||||
"headers": {},
|
||||
"body": {},
|
||||
"endpoint": "/api/ps",
|
||||
"model": ""
|
||||
},
|
||||
"response": {
|
||||
"body": {
|
||||
"__type__": "ollama._types.ProcessResponse",
|
||||
"__data__": {
|
||||
"models": [
|
||||
{
|
||||
"model": "all-minilm:l6-v2",
|
||||
"name": "all-minilm:l6-v2",
|
||||
"digest": "1b226e2802dbb772b5fc32a58f103ca1804ef7501331012de126ab22f67475ef",
|
||||
"expires_at": "2025-10-03T21:21:08.988550-07:00",
|
||||
"size": 585846784,
|
||||
"size_vram": 585846784,
|
||||
"details": {
|
||||
"parent_model": "",
|
||||
"format": "gguf",
|
||||
"family": "bert",
|
||||
"families": [
|
||||
"bert"
|
||||
],
|
||||
"parameter_size": "23M",
|
||||
"quantization_level": "F16"
|
||||
},
|
||||
"context_length": 256
|
||||
},
|
||||
{
|
||||
"model": "llama3.2:3b-instruct-fp16",
|
||||
"name": "llama3.2:3b-instruct-fp16",
|
||||
"digest": "195a8c01d91ec3cb1e0aad4624a51f2602c51fa7d96110f8ab5a20c84081804d",
|
||||
"expires_at": "2025-10-03T21:20:56.787737-07:00",
|
||||
"size": 7919570944,
|
||||
"size_vram": 7919570944,
|
||||
"details": {
|
||||
"parent_model": "",
|
||||
"format": "gguf",
|
||||
"family": "llama",
|
||||
"families": [
|
||||
"llama"
|
||||
],
|
||||
"parameter_size": "3.2B",
|
||||
"quantization_level": "F16"
|
||||
},
|
||||
"context_length": 4096
|
||||
},
|
||||
{
|
||||
"model": "llama-guard3:1b",
|
||||
"name": "llama-guard3:1b",
|
||||
"digest": "494147e06bf99e10dbe67b63a07ac81c162f18ef3341aa3390007ac828571b3b",
|
||||
"expires_at": "2025-10-03T21:16:14.288654-07:00",
|
||||
"size": 2350966784,
|
||||
"size_vram": 2350966784,
|
||||
"details": {
|
||||
"parent_model": "",
|
||||
"format": "gguf",
|
||||
"family": "llama",
|
||||
"families": [
|
||||
"llama"
|
||||
],
|
||||
"parameter_size": "1.5B",
|
||||
"quantization_level": "Q8_0"
|
||||
},
|
||||
"context_length": 4096
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
"is_streaming": false
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,423 @@
|
|||
{
|
||||
"test_id": "tests/integration/vector_io/test_vector_io.py::test_insert_chunks[emb=ollama/all-minilm:l6-v2:dim=384-test_case1]",
|
||||
"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.04985814,
|
||||
-0.006484621,
|
||||
-0.07639632,
|
||||
0.039171286,
|
||||
0.0003285748,
|
||||
-0.040406607,
|
||||
0.0011274401,
|
||||
0.0039382554,
|
||||
-0.019640302,
|
||||
0.063846365,
|
||||
-0.023034906,
|
||||
0.037561387,
|
||||
0.04771867,
|
||||
-0.03397234,
|
||||
0.0018662167,
|
||||
-0.05374754,
|
||||
-0.080473416,
|
||||
0.029605655,
|
||||
0.034336362,
|
||||
-0.10368462,
|
||||
-0.012398107,
|
||||
-0.036980536,
|
||||
-0.039589718,
|
||||
-0.010132727,
|
||||
0.014395345,
|
||||
0.085246086,
|
||||
-0.008367353,
|
||||
0.020125635,
|
||||
0.018635511,
|
||||
-0.0048617236,
|
||||
0.05273393,
|
||||
0.031992413,
|
||||
0.09851099,
|
||||
-0.02186396,
|
||||
-0.03075449,
|
||||
0.029208627,
|
||||
0.007745687,
|
||||
-0.023191713,
|
||||
-0.024708096,
|
||||
-0.008203671,
|
||||
-0.1363937,
|
||||
0.043781713,
|
||||
-0.02209391,
|
||||
0.039705113,
|
||||
0.094754376,
|
||||
0.019031243,
|
||||
-0.046084713,
|
||||
-0.043257236,
|
||||
-0.045460355,
|
||||
-0.06835949,
|
||||
-0.15304741,
|
||||
-0.034345936,
|
||||
0.013268892,
|
||||
-0.039285928,
|
||||
-0.019674588,
|
||||
0.028097907,
|
||||
0.025518803,
|
||||
0.08946302,
|
||||
-0.0633011,
|
||||
-0.025946302,
|
||||
-0.11979478,
|
||||
-0.123344384,
|
||||
-0.08761578,
|
||||
-0.013226897,
|
||||
0.013779543,
|
||||
0.015536621,
|
||||
0.0006112545,
|
||||
0.040828727,
|
||||
0.076982774,
|
||||
-0.030963646,
|
||||
-0.061706472,
|
||||
0.0036123067,
|
||||
-0.021995466,
|
||||
0.0018378185,
|
||||
0.057049222,
|
||||
-0.06933811,
|
||||
0.020945517,
|
||||
0.06473703,
|
||||
-0.002078578,
|
||||
-0.0064895563,
|
||||
-0.062614344,
|
||||
-0.015847808,
|
||||
-0.03749083,
|
||||
0.07493633,
|
||||
0.06506477,
|
||||
0.039337497,
|
||||
0.012611905,
|
||||
0.085792385,
|
||||
0.06542312,
|
||||
0.0011835264,
|
||||
-0.00564626,
|
||||
-0.083959706,
|
||||
-0.059728183,
|
||||
-0.03125304,
|
||||
0.056612693,
|
||||
0.029365564,
|
||||
0.08776306,
|
||||
-0.08420161,
|
||||
-0.049312875,
|
||||
0.09727544,
|
||||
-0.0017464709,
|
||||
0.019262984,
|
||||
0.05755193,
|
||||
-0.008543949,
|
||||
-0.04054945,
|
||||
0.029247828,
|
||||
0.061236817,
|
||||
0.020613596,
|
||||
0.076879896,
|
||||
-0.12176849,
|
||||
-0.024960497,
|
||||
0.00020659101,
|
||||
0.0057559246,
|
||||
0.014139607,
|
||||
-0.034033317,
|
||||
-0.0013776207,
|
||||
0.019628955,
|
||||
-0.047732376,
|
||||
0.03198172,
|
||||
0.02844568,
|
||||
-0.00997675,
|
||||
-0.017131114,
|
||||
-1.6518161e-05,
|
||||
0.08105489,
|
||||
-0.03463291,
|
||||
-0.00949668,
|
||||
-0.06654962,
|
||||
-3.9537837e-33,
|
||||
-0.0072678844,
|
||||
0.0067667,
|
||||
0.06723925,
|
||||
0.03072888,
|
||||
-0.011752723,
|
||||
-0.04102176,
|
||||
0.0685693,
|
||||
-0.03723892,
|
||||
0.027421504,
|
||||
0.06693709,
|
||||
0.043869007,
|
||||
0.0061082994,
|
||||
0.061318368,
|
||||
0.10138914,
|
||||
0.0871967,
|
||||
0.03721472,
|
||||
-0.067396216,
|
||||
0.023838848,
|
||||
0.014482204,
|
||||
-0.028989535,
|
||||
0.089327045,
|
||||
0.0359519,
|
||||
0.005651078,
|
||||
-0.10818499,
|
||||
0.023760667,
|
||||
0.051611368,
|
||||
-0.011381774,
|
||||
-0.016346263,
|
||||
0.035534084,
|
||||
0.009769582,
|
||||
-0.03086182,
|
||||
0.040687628,
|
||||
-0.029731084,
|
||||
0.06971769,
|
||||
0.061820786,
|
||||
0.02580453,
|
||||
0.037035868,
|
||||
-0.0021883938,
|
||||
0.087185495,
|
||||
-0.053763762,
|
||||
0.06978468,
|
||||
-0.04437307,
|
||||
0.053521182,
|
||||
-0.014533035,
|
||||
0.0019412999,
|
||||
0.022792269,
|
||||
0.020512138,
|
||||
-0.027900148,
|
||||
-0.11748269,
|
||||
-0.008887951,
|
||||
-0.03055689,
|
||||
0.0013708967,
|
||||
-0.016405566,
|
||||
-0.073286384,
|
||||
0.010635144,
|
||||
0.08229501,
|
||||
-0.012972133,
|
||||
-0.015556476,
|
||||
-0.044266284,
|
||||
0.068522945,
|
||||
0.004476856,
|
||||
0.027400197,
|
||||
0.074036255,
|
||||
0.04888861,
|
||||
-0.006386152,
|
||||
0.046447594,
|
||||
-0.057980005,
|
||||
0.059803516,
|
||||
0.08625034,
|
||||
0.025480084,
|
||||
-0.057325,
|
||||
0.045213766,
|
||||
-0.079702295,
|
||||
-0.03658952,
|
||||
0.029424323,
|
||||
-0.038534246,
|
||||
0.06697193,
|
||||
-0.08022955,
|
||||
0.03597607,
|
||||
0.04908864,
|
||||
0.029752122,
|
||||
-0.03762622,
|
||||
0.035735346,
|
||||
0.0011071431,
|
||||
-0.03170961,
|
||||
0.0017896778,
|
||||
-0.017651744,
|
||||
0.00048256316,
|
||||
-0.036469735,
|
||||
-0.07055056,
|
||||
-0.048734743,
|
||||
-0.05242354,
|
||||
-0.06112396,
|
||||
0.037230793,
|
||||
0.04336431,
|
||||
1.5313257e-33,
|
||||
-2.3588118e-05,
|
||||
0.034650125,
|
||||
-0.06958117,
|
||||
-0.036046583,
|
||||
-0.067991026,
|
||||
0.025346313,
|
||||
-0.026457025,
|
||||
-0.048120454,
|
||||
-0.003017448,
|
||||
-0.02291274,
|
||||
-0.032278426,
|
||||
0.003907084,
|
||||
-0.011227783,
|
||||
0.06142471,
|
||||
-0.0037108567,
|
||||
0.03956137,
|
||||
-0.09323695,
|
||||
0.0677124,
|
||||
0.013570079,
|
||||
0.042344656,
|
||||
-0.04191122,
|
||||
0.049460515,
|
||||
-0.06582937,
|
||||
-0.012351819,
|
||||
0.026276885,
|
||||
0.03628333,
|
||||
-0.033476308,
|
||||
0.10759926,
|
||||
-0.030154334,
|
||||
0.05460381,
|
||||
0.030300532,
|
||||
-0.04880059,
|
||||
-0.025444364,
|
||||
0.020971887,
|
||||
0.016944937,
|
||||
0.031225454,
|
||||
-0.0140569,
|
||||
0.05421567,
|
||||
-0.079391345,
|
||||
0.033854038,
|
||||
0.04089873,
|
||||
-0.014045609,
|
||||
-0.048715036,
|
||||
0.0066174385,
|
||||
0.027028777,
|
||||
-0.01227076,
|
||||
-0.05665228,
|
||||
0.012493835,
|
||||
0.012352465,
|
||||
0.01081389,
|
||||
0.051551733,
|
||||
-0.033291373,
|
||||
-0.038081072,
|
||||
-0.09300816,
|
||||
-0.038075384,
|
||||
-0.028886562,
|
||||
0.052128207,
|
||||
0.04032741,
|
||||
0.050333504,
|
||||
-0.008598549,
|
||||
-0.051279385,
|
||||
-0.08659074,
|
||||
0.004758718,
|
||||
0.0066617117,
|
||||
-0.03771395,
|
||||
-0.024324164,
|
||||
-0.045410533,
|
||||
0.0031837397,
|
||||
0.027526462,
|
||||
-0.03825772,
|
||||
0.039862733,
|
||||
0.07774032,
|
||||
-0.06533744,
|
||||
-0.043189432,
|
||||
0.03868761,
|
||||
0.05325771,
|
||||
-0.08045656,
|
||||
-0.040789165,
|
||||
-0.09836529,
|
||||
-0.08612763,
|
||||
0.052051533,
|
||||
0.024763746,
|
||||
0.047283154,
|
||||
0.040196724,
|
||||
-0.040843565,
|
||||
0.065164626,
|
||||
0.012012182,
|
||||
-0.007895783,
|
||||
-0.0080871135,
|
||||
-0.055304665,
|
||||
0.0023953072,
|
||||
0.028453553,
|
||||
0.025608843,
|
||||
0.011817925,
|
||||
-0.12404795,
|
||||
-1.552218e-08,
|
||||
-0.006458822,
|
||||
-0.0377838,
|
||||
0.059613157,
|
||||
-0.028206356,
|
||||
0.08013841,
|
||||
0.08606473,
|
||||
-0.03121667,
|
||||
0.024653317,
|
||||
-0.06019263,
|
||||
-0.020640263,
|
||||
-0.01197567,
|
||||
0.017331647,
|
||||
0.037324104,
|
||||
0.01851503,
|
||||
0.062001307,
|
||||
0.14394769,
|
||||
0.08758177,
|
||||
0.046467125,
|
||||
-0.07268677,
|
||||
0.015102763,
|
||||
0.08359223,
|
||||
-0.033308506,
|
||||
-0.017341746,
|
||||
0.07352546,
|
||||
0.005645426,
|
||||
-0.08583693,
|
||||
-0.04523994,
|
||||
0.06248573,
|
||||
0.099253416,
|
||||
0.08586562,
|
||||
0.033792045,
|
||||
-0.008231433,
|
||||
0.0032562139,
|
||||
-0.012471013,
|
||||
0.023780445,
|
||||
0.04319565,
|
||||
0.03468868,
|
||||
-0.06261025,
|
||||
-0.042051118,
|
||||
-0.12016146,
|
||||
-0.1426969,
|
||||
0.06897669,
|
||||
0.00372085,
|
||||
-0.01936681,
|
||||
-0.034935307,
|
||||
0.014702754,
|
||||
-0.063167475,
|
||||
-0.09796725,
|
||||
-0.03379008,
|
||||
-0.010187179,
|
||||
0.03374691,
|
||||
0.075596645,
|
||||
-0.04105162,
|
||||
0.022008104,
|
||||
0.055716064,
|
||||
0.028231235,
|
||||
-0.02561615,
|
||||
-0.04389294,
|
||||
-0.044391,
|
||||
0.11932775,
|
||||
-0.08721518,
|
||||
0.07054473,
|
||||
0.04946795,
|
||||
-0.039758317
|
||||
],
|
||||
"index": 0,
|
||||
"object": "embedding"
|
||||
}
|
||||
],
|
||||
"model": "all-minilm:l6-v2",
|
||||
"object": "list",
|
||||
"usage": {
|
||||
"prompt_tokens": 8,
|
||||
"total_tokens": 8
|
||||
}
|
||||
}
|
||||
},
|
||||
"is_streaming": false
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,423 @@
|
|||
{
|
||||
"test_id": "tests/integration/vector_io/test_openai_vector_stores.py::test_openai_vector_store_with_chunks[client_with_models-ollama/llama3.2:3b-instruct-fp16-None-ollama/all-minilm:l6-v2-None-384]",
|
||||
"request": {
|
||||
"method": "POST",
|
||||
"url": "http://0.0.0.0:11434/v1/v1/embeddings",
|
||||
"headers": {},
|
||||
"body": {
|
||||
"model": "all-minilm:l6-v2",
|
||||
"input": [
|
||||
"artificial intelligence"
|
||||
],
|
||||
"encoding_format": "float"
|
||||
},
|
||||
"endpoint": "/v1/embeddings",
|
||||
"model": "all-minilm:l6-v2"
|
||||
},
|
||||
"response": {
|
||||
"body": {
|
||||
"__type__": "openai.types.create_embedding_response.CreateEmbeddingResponse",
|
||||
"__data__": {
|
||||
"data": [
|
||||
{
|
||||
"embedding": [
|
||||
-0.024330618,
|
||||
0.016706783,
|
||||
0.037677176,
|
||||
-0.00915746,
|
||||
-0.030534461,
|
||||
-0.017140884,
|
||||
0.074272,
|
||||
0.0456916,
|
||||
-0.009377196,
|
||||
0.009883053,
|
||||
-0.0056895507,
|
||||
0.007668296,
|
||||
0.039537333,
|
||||
0.015226257,
|
||||
-0.083189555,
|
||||
0.019439526,
|
||||
-0.022046678,
|
||||
-0.033254813,
|
||||
-0.18105465,
|
||||
-0.13025087,
|
||||
-0.0022671346,
|
||||
0.013451522,
|
||||
-0.024325468,
|
||||
-0.0370128,
|
||||
0.0020083552,
|
||||
0.08566712,
|
||||
0.0047639925,
|
||||
-0.0033431018,
|
||||
-0.006082307,
|
||||
-0.11575565,
|
||||
0.06682902,
|
||||
-0.018777572,
|
||||
0.08786827,
|
||||
-0.0074177794,
|
||||
-0.093573004,
|
||||
0.06146399,
|
||||
-0.08110609,
|
||||
0.012222862,
|
||||
0.03971064,
|
||||
-0.0026197461,
|
||||
-0.04657111,
|
||||
-0.08183902,
|
||||
0.03959615,
|
||||
0.015451151,
|
||||
0.04370617,
|
||||
0.103643835,
|
||||
-0.058421485,
|
||||
0.036699355,
|
||||
-0.052699573,
|
||||
0.040590122,
|
||||
-0.12578927,
|
||||
0.006500531,
|
||||
-0.03583627,
|
||||
-0.010050973,
|
||||
-0.023851713,
|
||||
0.045972254,
|
||||
0.014605586,
|
||||
0.019414552,
|
||||
0.028465148,
|
||||
-0.055030964,
|
||||
0.024210233,
|
||||
-0.052867457,
|
||||
0.015230711,
|
||||
-0.0043921247,
|
||||
0.092372045,
|
||||
0.033849865,
|
||||
-0.04737281,
|
||||
0.03204496,
|
||||
0.001322036,
|
||||
-0.051211488,
|
||||
0.025862284,
|
||||
0.08155327,
|
||||
0.04092595,
|
||||
0.019154705,
|
||||
0.056453932,
|
||||
-0.052758913,
|
||||
0.030533386,
|
||||
-0.01663434,
|
||||
0.07877244,
|
||||
-0.054262977,
|
||||
-0.042149354,
|
||||
-0.045443602,
|
||||
-0.052689902,
|
||||
0.11225497,
|
||||
0.01989102,
|
||||
-0.042375352,
|
||||
-0.01168115,
|
||||
0.024315914,
|
||||
0.01915792,
|
||||
-0.016550383,
|
||||
-0.01030883,
|
||||
-0.08545277,
|
||||
0.023834355,
|
||||
-0.042181373,
|
||||
-0.02503509,
|
||||
0.062114798,
|
||||
-0.0045557353,
|
||||
-0.15369569,
|
||||
0.001106691,
|
||||
0.19423288,
|
||||
-0.0338511,
|
||||
0.026152972,
|
||||
-0.02032091,
|
||||
0.0012884078,
|
||||
-0.0010269672,
|
||||
-0.02411262,
|
||||
0.017495485,
|
||||
-0.009808713,
|
||||
0.07037937,
|
||||
-0.13769862,
|
||||
-0.11118059,
|
||||
-0.01736481,
|
||||
0.06603106,
|
||||
-0.05188892,
|
||||
0.0019610007,
|
||||
0.014606686,
|
||||
0.060775463,
|
||||
0.096280165,
|
||||
0.013551965,
|
||||
0.019343173,
|
||||
-0.00010512453,
|
||||
-0.026652312,
|
||||
-0.009341819,
|
||||
0.07083247,
|
||||
-0.0034617546,
|
||||
-0.062412772,
|
||||
-0.044611085,
|
||||
-8.796679e-34,
|
||||
-0.111884,
|
||||
-0.04256611,
|
||||
0.027425196,
|
||||
0.06574074,
|
||||
0.002830377,
|
||||
-0.044104468,
|
||||
0.005238822,
|
||||
-0.036899913,
|
||||
-0.015583552,
|
||||
0.0206543,
|
||||
-0.059225976,
|
||||
0.007236511,
|
||||
-0.028716031,
|
||||
0.040467348,
|
||||
0.13387093,
|
||||
0.006795838,
|
||||
-0.01636956,
|
||||
0.082198486,
|
||||
-0.02261007,
|
||||
-0.03641293,
|
||||
0.06524453,
|
||||
0.021011814,
|
||||
-0.005472363,
|
||||
-0.038433436,
|
||||
0.001462021,
|
||||
0.0073671984,
|
||||
0.016773427,
|
||||
-0.062663026,
|
||||
0.035388503,
|
||||
-0.014395795,
|
||||
0.027888605,
|
||||
0.0837546,
|
||||
-0.027772024,
|
||||
-0.0036210797,
|
||||
0.03903557,
|
||||
-0.026879627,
|
||||
-0.018737236,
|
||||
0.019059159,
|
||||
0.06522148,
|
||||
0.0070414003,
|
||||
0.004749159,
|
||||
-0.0030224407,
|
||||
0.040062208,
|
||||
0.028016094,
|
||||
-0.004660955,
|
||||
0.012264517,
|
||||
0.08708117,
|
||||
-0.0070171114,
|
||||
-0.03749808,
|
||||
0.011326775,
|
||||
0.015419708,
|
||||
0.013775354,
|
||||
0.017958472,
|
||||
-0.009817919,
|
||||
0.09011542,
|
||||
0.05170552,
|
||||
-0.034259036,
|
||||
0.0043903207,
|
||||
-0.01884889,
|
||||
-0.031481344,
|
||||
0.08216297,
|
||||
0.016875258,
|
||||
-0.022163702,
|
||||
0.06844141,
|
||||
0.01581623,
|
||||
0.020322658,
|
||||
0.0063856863,
|
||||
0.016461994,
|
||||
0.12718283,
|
||||
0.014996434,
|
||||
-0.010813858,
|
||||
0.0017669421,
|
||||
0.03166716,
|
||||
-0.044353984,
|
||||
-0.05225622,
|
||||
0.022843942,
|
||||
0.050988898,
|
||||
-0.018916955,
|
||||
0.0027930918,
|
||||
-0.033645593,
|
||||
-0.13571611,
|
||||
-0.027015164,
|
||||
-0.035672266,
|
||||
-0.033537813,
|
||||
0.047864296,
|
||||
-0.0054381513,
|
||||
0.021346755,
|
||||
-0.040034927,
|
||||
0.019374551,
|
||||
0.012011466,
|
||||
-0.04336231,
|
||||
0.00054701004,
|
||||
0.034879614,
|
||||
0.017960642,
|
||||
-0.062501945,
|
||||
8.224154e-34,
|
||||
-0.09450138,
|
||||
0.013776636,
|
||||
-0.025351105,
|
||||
0.098992504,
|
||||
0.045503527,
|
||||
-0.02053458,
|
||||
-0.029694881,
|
||||
-0.059200566,
|
||||
0.042453792,
|
||||
0.0844487,
|
||||
-0.043211546,
|
||||
-0.0077362363,
|
||||
0.049354795,
|
||||
0.04203366,
|
||||
-0.036539596,
|
||||
0.014424774,
|
||||
0.040357023,
|
||||
-0.058971472,
|
||||
0.010022987,
|
||||
0.059877146,
|
||||
-0.02790864,
|
||||
0.034927685,
|
||||
-0.087597504,
|
||||
-0.060616262,
|
||||
-0.0048867166,
|
||||
0.08776906,
|
||||
-0.0053599468,
|
||||
-0.021816833,
|
||||
-0.048162397,
|
||||
0.046919785,
|
||||
0.0083988905,
|
||||
-0.0517289,
|
||||
-0.020422187,
|
||||
0.08581073,
|
||||
-0.022597926,
|
||||
0.034425046,
|
||||
-0.014506674,
|
||||
0.0031332907,
|
||||
-0.04651877,
|
||||
0.030281488,
|
||||
0.039713897,
|
||||
0.02969227,
|
||||
-0.09310218,
|
||||
0.051527865,
|
||||
0.007809,
|
||||
-0.05700871,
|
||||
-0.041792583,
|
||||
0.08987064,
|
||||
-0.00813404,
|
||||
-0.04082285,
|
||||
-0.053487595,
|
||||
-0.034378976,
|
||||
-0.045253906,
|
||||
-0.09715307,
|
||||
-0.058194414,
|
||||
0.06093547,
|
||||
-0.009079956,
|
||||
0.006918499,
|
||||
0.012345728,
|
||||
0.062036473,
|
||||
-0.0060238577,
|
||||
-0.0864295,
|
||||
0.05872831,
|
||||
0.053304974,
|
||||
-0.05352623,
|
||||
0.039521407,
|
||||
-0.04498403,
|
||||
0.0727911,
|
||||
-0.039616212,
|
||||
-0.05134442,
|
||||
0.10334881,
|
||||
0.02176773,
|
||||
0.00016648973,
|
||||
0.009423309,
|
||||
0.022016358,
|
||||
-0.006902813,
|
||||
-0.128883,
|
||||
-0.009864072,
|
||||
-0.036396757,
|
||||
-0.042481646,
|
||||
0.004420737,
|
||||
-0.047660243,
|
||||
0.0065179355,
|
||||
0.102602735,
|
||||
-0.053166825,
|
||||
0.07328581,
|
||||
0.015810944,
|
||||
-0.029149039,
|
||||
0.025130944,
|
||||
-0.063055776,
|
||||
-0.043462534,
|
||||
0.06719971,
|
||||
0.014921177,
|
||||
-0.0010985207,
|
||||
-0.09869465,
|
||||
-1.4682753e-08,
|
||||
0.004611013,
|
||||
-0.06715223,
|
||||
0.07644809,
|
||||
-0.019802453,
|
||||
0.06737909,
|
||||
0.044783685,
|
||||
-0.050963327,
|
||||
-0.0077186874,
|
||||
-0.029319718,
|
||||
0.028867716,
|
||||
0.018877175,
|
||||
-0.024279349,
|
||||
0.04412064,
|
||||
0.04416273,
|
||||
0.03432814,
|
||||
0.046517964,
|
||||
0.02158077,
|
||||
-0.001748483,
|
||||
-0.0029956794,
|
||||
0.014355785,
|
||||
0.12525895,
|
||||
0.03431845,
|
||||
-0.014617591,
|
||||
0.039184693,
|
||||
-0.0023036227,
|
||||
-0.014352919,
|
||||
0.01010173,
|
||||
0.02430961,
|
||||
-0.041730728,
|
||||
0.08832413,
|
||||
-0.031459343,
|
||||
0.030073628,
|
||||
-0.0029376182,
|
||||
0.0049478672,
|
||||
0.09588392,
|
||||
0.09396655,
|
||||
0.01412568,
|
||||
-0.077148266,
|
||||
-0.039246846,
|
||||
-0.01064901,
|
||||
-0.008556093,
|
||||
0.06409403,
|
||||
-0.033037152,
|
||||
-0.03049978,
|
||||
0.0945846,
|
||||
-0.008954658,
|
||||
-0.029921891,
|
||||
-0.132985,
|
||||
0.059934624,
|
||||
-0.011668423,
|
||||
0.0071737366,
|
||||
0.035627652,
|
||||
0.0041028745,
|
||||
0.056198087,
|
||||
0.07656151,
|
||||
-0.010067092,
|
||||
0.05678312,
|
||||
0.023536043,
|
||||
-0.063770495,
|
||||
0.08934554,
|
||||
0.043756966,
|
||||
0.04337246,
|
||||
0.046287052,
|
||||
-0.07039028
|
||||
],
|
||||
"index": 0,
|
||||
"object": "embedding"
|
||||
}
|
||||
],
|
||||
"model": "all-minilm:l6-v2",
|
||||
"object": "list",
|
||||
"usage": {
|
||||
"prompt_tokens": 2,
|
||||
"total_tokens": 2
|
||||
}
|
||||
}
|
||||
},
|
||||
"is_streaming": false
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,423 @@
|
|||
{
|
||||
"test_id": "tests/integration/vector_io/test_vector_io.py::test_insert_chunks[emb=ollama/all-minilm:l6-v2:dim=384-test_case0]",
|
||||
"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.10114214,
|
||||
0.03907222,
|
||||
-0.0136641655,
|
||||
-0.0072733867,
|
||||
-0.029630955,
|
||||
-0.08419825,
|
||||
-0.09115893,
|
||||
0.045271404,
|
||||
-0.014401329,
|
||||
-0.03197073,
|
||||
-0.056301404,
|
||||
0.007848106,
|
||||
0.045092124,
|
||||
0.016427228,
|
||||
0.03918103,
|
||||
-0.11779858,
|
||||
-0.038849887,
|
||||
-0.0020038206,
|
||||
0.024111351,
|
||||
-0.06552662,
|
||||
-0.017039359,
|
||||
-0.019270914,
|
||||
-0.021036105,
|
||||
-0.05220699,
|
||||
0.09144319,
|
||||
0.015262649,
|
||||
-0.0018117974,
|
||||
-0.040091433,
|
||||
0.009259739,
|
||||
0.0020523896,
|
||||
-0.010952759,
|
||||
0.044184238,
|
||||
0.021551771,
|
||||
-0.01303849,
|
||||
-0.06874452,
|
||||
0.021739954,
|
||||
-0.0032466175,
|
||||
-0.085020766,
|
||||
-0.05317665,
|
||||
-0.015456109,
|
||||
-0.08548471,
|
||||
0.07158118,
|
||||
-0.054785267,
|
||||
0.0016628855,
|
||||
-0.077042535,
|
||||
0.034955945,
|
||||
-0.013297581,
|
||||
0.004827764,
|
||||
-0.017441196,
|
||||
-0.023658844,
|
||||
-0.06933736,
|
||||
0.039610106,
|
||||
-0.06341067,
|
||||
-0.0848227,
|
||||
-0.008904518,
|
||||
-0.009383634,
|
||||
0.021251267,
|
||||
0.028612463,
|
||||
-0.007153803,
|
||||
-0.1005249,
|
||||
-0.084017456,
|
||||
0.0006758074,
|
||||
0.049526986,
|
||||
0.09174785,
|
||||
-0.040068343,
|
||||
-0.083671585,
|
||||
0.011383463,
|
||||
0.027855974,
|
||||
0.08031947,
|
||||
-0.08157933,
|
||||
-0.13828354,
|
||||
0.0020071496,
|
||||
-0.013313974,
|
||||
0.06468236,
|
||||
0.011694861,
|
||||
-0.06847593,
|
||||
-0.00809834,
|
||||
-0.0073247305,
|
||||
-0.04928498,
|
||||
-0.016807823,
|
||||
-0.0023689861,
|
||||
0.046255514,
|
||||
-0.09154476,
|
||||
0.07043282,
|
||||
0.047471054,
|
||||
-0.03399052,
|
||||
0.030891502,
|
||||
0.06225142,
|
||||
-0.07528323,
|
||||
0.022166278,
|
||||
0.072581686,
|
||||
-0.059428774,
|
||||
-0.016640864,
|
||||
0.027896203,
|
||||
-0.030342449,
|
||||
0.026414659,
|
||||
-0.024078583,
|
||||
0.027981212,
|
||||
0.0018131789,
|
||||
0.005452342,
|
||||
0.017845215,
|
||||
-0.055024315,
|
||||
0.10013643,
|
||||
0.06022327,
|
||||
0.09585158,
|
||||
0.0045811245,
|
||||
0.022359503,
|
||||
-0.073088154,
|
||||
0.071565166,
|
||||
-0.0057549966,
|
||||
-0.02758434,
|
||||
-0.07228957,
|
||||
0.0022432443,
|
||||
-0.056439098,
|
||||
0.056760304,
|
||||
0.049624503,
|
||||
-0.035935506,
|
||||
0.07388852,
|
||||
0.018553086,
|
||||
-0.02012753,
|
||||
0.025371902,
|
||||
-0.038569324,
|
||||
0.00046126024,
|
||||
-0.019829638,
|
||||
-0.052187666,
|
||||
0.083509386,
|
||||
-0.08311344,
|
||||
-3.450042e-33,
|
||||
-9.5951305e-05,
|
||||
-0.10703808,
|
||||
0.0005907826,
|
||||
0.022349609,
|
||||
0.06789932,
|
||||
-0.009231551,
|
||||
0.01043412,
|
||||
0.06903771,
|
||||
0.008283294,
|
||||
-0.027107019,
|
||||
-0.020996496,
|
||||
0.05135145,
|
||||
0.021256963,
|
||||
0.10377047,
|
||||
0.0516977,
|
||||
-0.016388537,
|
||||
-0.0054499,
|
||||
0.018042242,
|
||||
-0.012412981,
|
||||
-0.01670625,
|
||||
0.02888575,
|
||||
0.030310739,
|
||||
0.05225688,
|
||||
0.07002477,
|
||||
0.038847093,
|
||||
-0.012829767,
|
||||
0.010876501,
|
||||
0.009466387,
|
||||
-0.031189095,
|
||||
0.012374546,
|
||||
-0.043738823,
|
||||
-0.06606086,
|
||||
-0.048342932,
|
||||
0.061392996,
|
||||
0.04780769,
|
||||
0.03705927,
|
||||
-0.0107321385,
|
||||
-0.111132264,
|
||||
0.010811268,
|
||||
-0.05612893,
|
||||
-0.06987752,
|
||||
-0.0075500263,
|
||||
0.017742567,
|
||||
-0.05037409,
|
||||
-0.0013054982,
|
||||
0.014647113,
|
||||
-0.028618252,
|
||||
-0.037010238,
|
||||
-0.1298283,
|
||||
0.0113550965,
|
||||
0.016460437,
|
||||
0.024126524,
|
||||
0.06691595,
|
||||
0.11010248,
|
||||
0.0024214247,
|
||||
0.029295715,
|
||||
0.064561754,
|
||||
0.025433032,
|
||||
-0.065200716,
|
||||
-0.0030545525,
|
||||
-0.014491044,
|
||||
0.17163919,
|
||||
0.095030405,
|
||||
0.0045891963,
|
||||
0.034705147,
|
||||
0.08072168,
|
||||
0.028373849,
|
||||
0.07841086,
|
||||
0.005205931,
|
||||
0.10743857,
|
||||
0.0007014695,
|
||||
0.048996735,
|
||||
-0.026168453,
|
||||
0.024847178,
|
||||
0.019963117,
|
||||
0.0025105758,
|
||||
-0.008854137,
|
||||
-0.12396376,
|
||||
0.013480892,
|
||||
0.012555528,
|
||||
-0.06528301,
|
||||
0.0025346398,
|
||||
0.01240918,
|
||||
-0.052885078,
|
||||
-0.060320165,
|
||||
-0.066110075,
|
||||
0.022565817,
|
||||
0.034772247,
|
||||
0.07140949,
|
||||
-0.042248387,
|
||||
-0.046747327,
|
||||
-0.013105569,
|
||||
0.050651688,
|
||||
0.009715156,
|
||||
-0.06581985,
|
||||
-7.635395e-34,
|
||||
-0.04897506,
|
||||
0.0010128694,
|
||||
-0.027718432,
|
||||
-0.0041697295,
|
||||
-0.07848968,
|
||||
-0.014492874,
|
||||
-0.0031687638,
|
||||
-0.0036255568,
|
||||
0.0064202263,
|
||||
-0.004983974,
|
||||
-0.02579909,
|
||||
-0.057978548,
|
||||
0.08951978,
|
||||
0.032288257,
|
||||
0.09727884,
|
||||
0.014959338,
|
||||
-0.09056506,
|
||||
0.048781175,
|
||||
0.017300608,
|
||||
0.001862639,
|
||||
-0.018078858,
|
||||
0.076162815,
|
||||
-0.038080547,
|
||||
-0.03363362,
|
||||
0.024905922,
|
||||
-0.021433176,
|
||||
-0.08961812,
|
||||
-0.017817033,
|
||||
-0.005293553,
|
||||
0.039034076,
|
||||
0.039332952,
|
||||
0.09031179,
|
||||
-0.08850806,
|
||||
0.018940613,
|
||||
0.04462756,
|
||||
-0.022598635,
|
||||
-0.032514982,
|
||||
-0.025538381,
|
||||
0.025907593,
|
||||
-0.0015969023,
|
||||
0.122049265,
|
||||
0.007121432,
|
||||
0.091294795,
|
||||
0.08834903,
|
||||
0.029018097,
|
||||
0.053964727,
|
||||
-0.025502406,
|
||||
0.07880072,
|
||||
0.021113113,
|
||||
-0.10103803,
|
||||
0.017860822,
|
||||
0.036331084,
|
||||
0.05827095,
|
||||
-0.03918518,
|
||||
-0.0099170245,
|
||||
-0.03438984,
|
||||
0.049824018,
|
||||
0.05366972,
|
||||
-0.06543297,
|
||||
-0.009113741,
|
||||
-0.045461684,
|
||||
-0.07628902,
|
||||
0.04937,
|
||||
0.004117691,
|
||||
-0.04964563,
|
||||
0.036199104,
|
||||
-0.049797464,
|
||||
-0.014319117,
|
||||
-0.048715435,
|
||||
-0.13180226,
|
||||
0.092643484,
|
||||
0.02324219,
|
||||
-0.015897153,
|
||||
0.012075257,
|
||||
-0.06727492,
|
||||
0.024846908,
|
||||
-0.000951305,
|
||||
0.0052683842,
|
||||
-0.034409966,
|
||||
0.04838344,
|
||||
0.01549755,
|
||||
0.03753494,
|
||||
-0.029204983,
|
||||
0.035670146,
|
||||
-0.089233644,
|
||||
0.034226168,
|
||||
-0.07903887,
|
||||
-0.02996078,
|
||||
-0.004548613,
|
||||
-0.005951666,
|
||||
0.029300887,
|
||||
0.09811565,
|
||||
-0.03359726,
|
||||
0.015628323,
|
||||
-0.018502824,
|
||||
-1.6826924e-08,
|
||||
0.055624004,
|
||||
0.009106331,
|
||||
0.006510649,
|
||||
0.012460225,
|
||||
0.044167887,
|
||||
0.038391363,
|
||||
-0.040823948,
|
||||
-0.010433062,
|
||||
-0.007968836,
|
||||
0.017141042,
|
||||
-0.036474515,
|
||||
-0.0002891457,
|
||||
-0.07383876,
|
||||
-0.059356246,
|
||||
0.01263675,
|
||||
0.08645746,
|
||||
-0.061042227,
|
||||
-0.0598006,
|
||||
0.009283659,
|
||||
0.070248455,
|
||||
0.050018266,
|
||||
-0.018549316,
|
||||
-0.07250673,
|
||||
0.116423815,
|
||||
-0.094454624,
|
||||
-0.044917557,
|
||||
0.053439382,
|
||||
0.016372094,
|
||||
0.036027066,
|
||||
-0.037508164,
|
||||
0.0030754239,
|
||||
0.0030424313,
|
||||
-0.050895445,
|
||||
0.030551752,
|
||||
-0.0034856314,
|
||||
-0.0062451097,
|
||||
0.029863443,
|
||||
-0.039702807,
|
||||
-0.04185474,
|
||||
0.022604853,
|
||||
-0.037152383,
|
||||
-0.009120953,
|
||||
-0.008043679,
|
||||
0.006496744,
|
||||
0.041414227,
|
||||
0.037997484,
|
||||
-0.044111177,
|
||||
-0.017690517,
|
||||
-0.070938915,
|
||||
-0.021036588,
|
||||
-0.012320768,
|
||||
0.011402398,
|
||||
0.07050368,
|
||||
-0.058289114,
|
||||
0.03478118,
|
||||
0.018043809,
|
||||
-0.12436488,
|
||||
-0.050911676,
|
||||
0.006109093,
|
||||
0.050273232,
|
||||
-0.0049426276,
|
||||
-0.015945744,
|
||||
0.18111129,
|
||||
0.023929134
|
||||
],
|
||||
"index": 0,
|
||||
"object": "embedding"
|
||||
}
|
||||
],
|
||||
"model": "all-minilm:l6-v2",
|
||||
"object": "list",
|
||||
"usage": {
|
||||
"prompt_tokens": 11,
|
||||
"total_tokens": 11
|
||||
}
|
||||
}
|
||||
},
|
||||
"is_streaming": false
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,78 @@
|
|||
{
|
||||
"test_id": "tests/integration/vector_io/test_openai_vector_stores.py::test_openai_list_vector_stores[client_with_models-ollama/llama3.2:3b-instruct-fp16-None-ollama/all-minilm:l6-v2-None-384]",
|
||||
"request": {
|
||||
"method": "POST",
|
||||
"url": "http://localhost:11434/api/ps",
|
||||
"headers": {},
|
||||
"body": {},
|
||||
"endpoint": "/api/ps",
|
||||
"model": ""
|
||||
},
|
||||
"response": {
|
||||
"body": {
|
||||
"__type__": "ollama._types.ProcessResponse",
|
||||
"__data__": {
|
||||
"models": [
|
||||
{
|
||||
"model": "llama3.2:3b-instruct-fp16",
|
||||
"name": "llama3.2:3b-instruct-fp16",
|
||||
"digest": "195a8c01d91ec3cb1e0aad4624a51f2602c51fa7d96110f8ab5a20c84081804d",
|
||||
"expires_at": "2025-10-03T21:20:56.787737-07:00",
|
||||
"size": 7919570944,
|
||||
"size_vram": 7919570944,
|
||||
"details": {
|
||||
"parent_model": "",
|
||||
"format": "gguf",
|
||||
"family": "llama",
|
||||
"families": [
|
||||
"llama"
|
||||
],
|
||||
"parameter_size": "3.2B",
|
||||
"quantization_level": "F16"
|
||||
},
|
||||
"context_length": 4096
|
||||
},
|
||||
{
|
||||
"model": "all-minilm:l6-v2",
|
||||
"name": "all-minilm:l6-v2",
|
||||
"digest": "1b226e2802dbb772b5fc32a58f103ca1804ef7501331012de126ab22f67475ef",
|
||||
"expires_at": "2025-10-03T21:19:00.464427-07:00",
|
||||
"size": 585846784,
|
||||
"size_vram": 585846784,
|
||||
"details": {
|
||||
"parent_model": "",
|
||||
"format": "gguf",
|
||||
"family": "bert",
|
||||
"families": [
|
||||
"bert"
|
||||
],
|
||||
"parameter_size": "23M",
|
||||
"quantization_level": "F16"
|
||||
},
|
||||
"context_length": 256
|
||||
},
|
||||
{
|
||||
"model": "llama-guard3:1b",
|
||||
"name": "llama-guard3:1b",
|
||||
"digest": "494147e06bf99e10dbe67b63a07ac81c162f18ef3341aa3390007ac828571b3b",
|
||||
"expires_at": "2025-10-03T21:16:14.288654-07:00",
|
||||
"size": 2350966784,
|
||||
"size_vram": 2350966784,
|
||||
"details": {
|
||||
"parent_model": "",
|
||||
"format": "gguf",
|
||||
"family": "llama",
|
||||
"families": [
|
||||
"llama"
|
||||
],
|
||||
"parameter_size": "1.5B",
|
||||
"quantization_level": "Q8_0"
|
||||
},
|
||||
"context_length": 4096
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
"is_streaming": false
|
||||
}
|
||||
}
|
||||
File diff suppressed because it is too large
Load diff
File diff suppressed because it is too large
Load diff
|
|
@ -0,0 +1,423 @@
|
|||
{
|
||||
"test_id": "tests/integration/vector_io/test_openai_vector_stores.py::test_openai_vector_store_attach_files_on_creation[client_with_models-ollama/llama3.2:3b-instruct-fp16-None-ollama/all-minilm:l6-v2-None-384]",
|
||||
"request": {
|
||||
"method": "POST",
|
||||
"url": "http://0.0.0.0:11434/v1/v1/embeddings",
|
||||
"headers": {},
|
||||
"body": {
|
||||
"model": "all-minilm:l6-v2",
|
||||
"input": [
|
||||
"This is a test file 0"
|
||||
],
|
||||
"encoding_format": "float"
|
||||
},
|
||||
"endpoint": "/v1/embeddings",
|
||||
"model": "all-minilm:l6-v2"
|
||||
},
|
||||
"response": {
|
||||
"body": {
|
||||
"__type__": "openai.types.create_embedding_response.CreateEmbeddingResponse",
|
||||
"__data__": {
|
||||
"data": [
|
||||
{
|
||||
"embedding": [
|
||||
-0.021802,
|
||||
0.088129535,
|
||||
-0.10867403,
|
||||
0.0027561262,
|
||||
0.04917365,
|
||||
-0.030165128,
|
||||
-0.0155558735,
|
||||
0.027549915,
|
||||
-0.025064131,
|
||||
0.016137881,
|
||||
0.124836035,
|
||||
0.0027821937,
|
||||
-0.033310093,
|
||||
-0.0071708336,
|
||||
-0.07004796,
|
||||
-0.027996853,
|
||||
-0.09748515,
|
||||
-0.091607764,
|
||||
0.013367206,
|
||||
0.08752305,
|
||||
0.013990884,
|
||||
0.03663788,
|
||||
-0.036330026,
|
||||
-0.019752761,
|
||||
0.04456914,
|
||||
-0.009629443,
|
||||
-0.01832647,
|
||||
0.048832405,
|
||||
-0.015315298,
|
||||
-0.07147843,
|
||||
0.04094573,
|
||||
0.082709365,
|
||||
0.063961774,
|
||||
0.01448001,
|
||||
0.13194442,
|
||||
0.0303949,
|
||||
0.101027474,
|
||||
-0.030359762,
|
||||
-0.047630757,
|
||||
0.044637363,
|
||||
0.027034018,
|
||||
-0.029368822,
|
||||
0.038537122,
|
||||
0.0053882804,
|
||||
0.01478374,
|
||||
0.025617138,
|
||||
0.0041860593,
|
||||
0.0034900715,
|
||||
0.029765956,
|
||||
-0.036669906,
|
||||
-0.04589116,
|
||||
0.031120853,
|
||||
-0.07786974,
|
||||
-0.019517597,
|
||||
0.053876307,
|
||||
-0.0152282175,
|
||||
-0.0016955235,
|
||||
0.016938528,
|
||||
0.019939963,
|
||||
0.07106882,
|
||||
0.009938938,
|
||||
0.03114348,
|
||||
-0.010335175,
|
||||
0.029952966,
|
||||
0.115054145,
|
||||
0.025746102,
|
||||
-0.052842245,
|
||||
-0.042447682,
|
||||
0.0053093657,
|
||||
-0.09987591,
|
||||
-0.12741813,
|
||||
-0.012022532,
|
||||
-0.013787561,
|
||||
0.05265948,
|
||||
-0.01723935,
|
||||
0.009638554,
|
||||
-0.0775266,
|
||||
0.0014047497,
|
||||
0.06974368,
|
||||
-0.08465856,
|
||||
-0.061480872,
|
||||
-0.14244927,
|
||||
0.0096944375,
|
||||
-0.008611519,
|
||||
-0.0318523,
|
||||
0.12823504,
|
||||
0.053257603,
|
||||
0.021978743,
|
||||
0.0026468195,
|
||||
0.015444479,
|
||||
-0.042528655,
|
||||
0.031551417,
|
||||
-0.06209267,
|
||||
0.044017885,
|
||||
-0.0060390937,
|
||||
0.06959196,
|
||||
0.0050514904,
|
||||
0.059341036,
|
||||
0.00658094,
|
||||
0.08397857,
|
||||
-0.0067914296,
|
||||
-0.041901726,
|
||||
0.027081704,
|
||||
0.106456675,
|
||||
-0.039408114,
|
||||
-0.053899165,
|
||||
0.09689717,
|
||||
-0.0084604705,
|
||||
0.03398384,
|
||||
-0.033843804,
|
||||
0.002225838,
|
||||
-0.08180734,
|
||||
-0.008216738,
|
||||
-0.11271415,
|
||||
0.0058824755,
|
||||
-0.095151186,
|
||||
-0.07958445,
|
||||
0.052868627,
|
||||
-0.08120183,
|
||||
0.034291897,
|
||||
0.07903789,
|
||||
-0.02675632,
|
||||
-0.04391073,
|
||||
0.0067707864,
|
||||
-0.05438546,
|
||||
-0.021719433,
|
||||
0.080597855,
|
||||
-3.9388086e-33,
|
||||
-0.0072714644,
|
||||
-0.079664536,
|
||||
0.024838887,
|
||||
0.115598045,
|
||||
0.03591746,
|
||||
-0.07254434,
|
||||
0.012642099,
|
||||
0.050809097,
|
||||
-0.100082524,
|
||||
0.019521356,
|
||||
0.0035883472,
|
||||
-0.07001022,
|
||||
0.007977421,
|
||||
0.029305879,
|
||||
-0.017785804,
|
||||
0.02702277,
|
||||
0.016827941,
|
||||
0.035956737,
|
||||
-0.0209356,
|
||||
-0.032321777,
|
||||
0.056705642,
|
||||
-0.009747762,
|
||||
-0.059722506,
|
||||
-0.053817417,
|
||||
-0.055837773,
|
||||
0.06526892,
|
||||
-0.024752634,
|
||||
-0.07778206,
|
||||
0.038636208,
|
||||
0.008998632,
|
||||
0.009699391,
|
||||
-0.02798574,
|
||||
-0.024878206,
|
||||
-0.0017547129,
|
||||
0.025541965,
|
||||
0.034623418,
|
||||
-8.975541e-06,
|
||||
0.0034556785,
|
||||
-0.04525613,
|
||||
0.03461154,
|
||||
-0.025307115,
|
||||
-0.02981576,
|
||||
-0.019071916,
|
||||
-0.023184983,
|
||||
0.049324982,
|
||||
-0.061433185,
|
||||
0.00038017757,
|
||||
0.0028894164,
|
||||
0.027610173,
|
||||
0.0069347974,
|
||||
-0.020659719,
|
||||
0.060771395,
|
||||
0.015200205,
|
||||
0.038918514,
|
||||
-0.025353896,
|
||||
-0.0017897633,
|
||||
-0.019378036,
|
||||
-0.0056970986,
|
||||
-0.017806012,
|
||||
0.038060427,
|
||||
0.0320353,
|
||||
0.03998783,
|
||||
-0.09612384,
|
||||
0.0006942505,
|
||||
-0.018478483,
|
||||
-0.06866618,
|
||||
-0.0077035497,
|
||||
-0.083554305,
|
||||
0.10223985,
|
||||
0.05141575,
|
||||
-0.033018276,
|
||||
-0.05033401,
|
||||
0.043923385,
|
||||
0.017748218,
|
||||
-0.006601344,
|
||||
-0.018691983,
|
||||
0.012763011,
|
||||
0.016694913,
|
||||
-0.095070764,
|
||||
-0.023533016,
|
||||
0.006879241,
|
||||
-0.07225332,
|
||||
-0.0029991802,
|
||||
-0.06930797,
|
||||
-0.027289826,
|
||||
-0.0672911,
|
||||
-0.006683099,
|
||||
-0.06801406,
|
||||
0.04452207,
|
||||
-0.09788058,
|
||||
0.050909285,
|
||||
0.010051549,
|
||||
-0.04617998,
|
||||
-0.067622505,
|
||||
0.04447288,
|
||||
2.5643933e-33,
|
||||
0.014783131,
|
||||
0.071710624,
|
||||
-0.05237768,
|
||||
0.011041238,
|
||||
-0.013921518,
|
||||
0.07072471,
|
||||
0.091977395,
|
||||
-0.01916791,
|
||||
-0.015780058,
|
||||
0.14812021,
|
||||
0.031904023,
|
||||
0.022344623,
|
||||
0.07071857,
|
||||
-0.037060503,
|
||||
0.08806883,
|
||||
-0.018145561,
|
||||
-0.013254877,
|
||||
-0.041782882,
|
||||
-0.052317847,
|
||||
-0.00279131,
|
||||
-0.024807084,
|
||||
0.13974102,
|
||||
0.074973755,
|
||||
0.056424167,
|
||||
-0.029412953,
|
||||
0.017093861,
|
||||
0.03373144,
|
||||
0.06874087,
|
||||
0.020454561,
|
||||
-0.018965451,
|
||||
0.081238694,
|
||||
0.06527906,
|
||||
-0.09342225,
|
||||
0.0037720343,
|
||||
0.06347132,
|
||||
-0.08775714,
|
||||
0.09286548,
|
||||
-0.024266576,
|
||||
0.029101077,
|
||||
0.0034162905,
|
||||
0.05528427,
|
||||
0.102037616,
|
||||
-0.023588225,
|
||||
0.065829135,
|
||||
0.01520327,
|
||||
0.034344077,
|
||||
0.10559419,
|
||||
0.011605323,
|
||||
0.0409873,
|
||||
-0.056635953,
|
||||
0.037730522,
|
||||
-0.04976337,
|
||||
0.047961522,
|
||||
0.0042118295,
|
||||
-0.014172872,
|
||||
0.07564937,
|
||||
-0.009671058,
|
||||
0.05520304,
|
||||
-0.031121492,
|
||||
0.019924358,
|
||||
-0.024975697,
|
||||
0.031822197,
|
||||
-0.019536836,
|
||||
-0.009870229,
|
||||
-0.020225972,
|
||||
-0.03319855,
|
||||
-0.026266782,
|
||||
0.038882248,
|
||||
0.012940086,
|
||||
-0.041266225,
|
||||
0.012833021,
|
||||
0.028703777,
|
||||
-0.054075323,
|
||||
-0.07628176,
|
||||
0.021953572,
|
||||
-0.023357453,
|
||||
-0.026714878,
|
||||
-0.029401133,
|
||||
0.005280363,
|
||||
0.012325193,
|
||||
0.05232579,
|
||||
0.0054451786,
|
||||
-0.0063759633,
|
||||
0.04604998,
|
||||
0.042399842,
|
||||
-0.018433316,
|
||||
0.01260558,
|
||||
0.09300185,
|
||||
-0.005949781,
|
||||
-0.015193224,
|
||||
-0.011673769,
|
||||
0.048114438,
|
||||
0.02588804,
|
||||
0.050943956,
|
||||
0.005536351,
|
||||
-1.5059804e-08,
|
||||
-0.03100338,
|
||||
-0.07003323,
|
||||
-0.032613333,
|
||||
-0.008732137,
|
||||
-0.0045523546,
|
||||
0.0759239,
|
||||
-0.032725554,
|
||||
-0.08790561,
|
||||
-0.032228027,
|
||||
-0.02459868,
|
||||
0.051224917,
|
||||
-0.034561895,
|
||||
-0.08266327,
|
||||
0.013319846,
|
||||
-0.020541467,
|
||||
-0.056271035,
|
||||
-0.009450659,
|
||||
-0.015903467,
|
||||
-0.036625408,
|
||||
0.010096497,
|
||||
-0.03440534,
|
||||
0.0315293,
|
||||
-0.00013937108,
|
||||
0.010463861,
|
||||
0.017065981,
|
||||
0.015492903,
|
||||
0.074808784,
|
||||
0.07079003,
|
||||
-0.050000764,
|
||||
-0.047017526,
|
||||
0.01375958,
|
||||
0.060757488,
|
||||
-0.009361379,
|
||||
-0.01570009,
|
||||
-0.01836736,
|
||||
0.12301148,
|
||||
0.1185397,
|
||||
0.12366319,
|
||||
0.022782512,
|
||||
-0.020027133,
|
||||
-0.07401259,
|
||||
-0.0047104736,
|
||||
-0.024872223,
|
||||
0.006070436,
|
||||
-0.06660639,
|
||||
-0.08130306,
|
||||
-0.0873992,
|
||||
-0.0634906,
|
||||
-0.039198957,
|
||||
-0.11274462,
|
||||
-0.030654918,
|
||||
0.026607778,
|
||||
-0.063220546,
|
||||
0.042023618,
|
||||
-0.039010853,
|
||||
-0.009214424,
|
||||
0.005044682,
|
||||
0.0015641748,
|
||||
-0.058640927,
|
||||
0.043107104,
|
||||
0.06682025,
|
||||
0.062172387,
|
||||
0.021147223,
|
||||
-0.041068073
|
||||
],
|
||||
"index": 0,
|
||||
"object": "embedding"
|
||||
}
|
||||
],
|
||||
"model": "all-minilm:l6-v2",
|
||||
"object": "list",
|
||||
"usage": {
|
||||
"prompt_tokens": 6,
|
||||
"total_tokens": 6
|
||||
}
|
||||
}
|
||||
},
|
||||
"is_streaming": false
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,423 @@
|
|||
{
|
||||
"test_id": "tests/integration/vector_io/test_vector_io.py::test_query_returns_valid_object_when_identical_to_embedding_in_vdb[emb=ollama/all-minilm:l6-v2:dim=384]",
|
||||
"request": {
|
||||
"method": "POST",
|
||||
"url": "http://0.0.0.0:11434/v1/v1/embeddings",
|
||||
"headers": {},
|
||||
"body": {
|
||||
"model": "all-minilm:l6-v2",
|
||||
"input": [
|
||||
"duplicate"
|
||||
],
|
||||
"encoding_format": "float"
|
||||
},
|
||||
"endpoint": "/v1/embeddings",
|
||||
"model": "all-minilm:l6-v2"
|
||||
},
|
||||
"response": {
|
||||
"body": {
|
||||
"__type__": "openai.types.create_embedding_response.CreateEmbeddingResponse",
|
||||
"__data__": {
|
||||
"data": [
|
||||
{
|
||||
"embedding": [
|
||||
-0.07724742,
|
||||
-0.05244129,
|
||||
-0.018358208,
|
||||
0.018783353,
|
||||
-0.06849563,
|
||||
-0.08415035,
|
||||
0.086291835,
|
||||
0.057018615,
|
||||
0.1136279,
|
||||
-0.036064528,
|
||||
0.008722526,
|
||||
-0.014351915,
|
||||
0.003886647,
|
||||
0.0043135756,
|
||||
-0.037594624,
|
||||
-0.010966992,
|
||||
-0.030476239,
|
||||
-0.056255527,
|
||||
-0.08672033,
|
||||
-0.004044561,
|
||||
0.0059786327,
|
||||
0.015305735,
|
||||
-0.05657407,
|
||||
0.047554016,
|
||||
-0.016725264,
|
||||
0.029383903,
|
||||
-0.022913637,
|
||||
0.07799145,
|
||||
-0.021310635,
|
||||
-0.104716286,
|
||||
-0.004392033,
|
||||
0.020784372,
|
||||
0.04148304,
|
||||
-0.0027664201,
|
||||
0.02698053,
|
||||
0.031121965,
|
||||
-0.015487055,
|
||||
0.015977867,
|
||||
0.048849303,
|
||||
-0.049809974,
|
||||
-0.026278382,
|
||||
-0.0940992,
|
||||
-0.02550013,
|
||||
0.014167875,
|
||||
-0.010784731,
|
||||
0.066950604,
|
||||
-0.018985689,
|
||||
0.033695955,
|
||||
0.040894657,
|
||||
0.025937518,
|
||||
-0.012449657,
|
||||
-0.023945555,
|
||||
-0.026861332,
|
||||
-0.05440934,
|
||||
0.12576178,
|
||||
0.014031229,
|
||||
-0.07666608,
|
||||
0.042413868,
|
||||
0.019895919,
|
||||
-0.014834209,
|
||||
0.041385364,
|
||||
0.07035096,
|
||||
-0.050546475,
|
||||
0.082744986,
|
||||
0.049436357,
|
||||
0.012414772,
|
||||
-0.004369083,
|
||||
0.0059830816,
|
||||
-0.06874091,
|
||||
-0.044230867,
|
||||
0.011145832,
|
||||
0.09924995,
|
||||
0.002179932,
|
||||
0.08260443,
|
||||
0.026017305,
|
||||
-0.031161657,
|
||||
-0.0067120134,
|
||||
-0.022108195,
|
||||
0.017211348,
|
||||
0.039283223,
|
||||
-0.084271796,
|
||||
-0.070168905,
|
||||
-0.041618396,
|
||||
-0.030235965,
|
||||
0.048027903,
|
||||
0.008951923,
|
||||
0.059128545,
|
||||
-0.0052282223,
|
||||
-0.06385816,
|
||||
-0.047423717,
|
||||
-0.07691618,
|
||||
0.10716712,
|
||||
0.02838012,
|
||||
-0.04510517,
|
||||
-0.09495914,
|
||||
0.0013446311,
|
||||
0.018730218,
|
||||
0.053789828,
|
||||
-0.058221553,
|
||||
0.23250507,
|
||||
0.014788604,
|
||||
0.047749292,
|
||||
0.015474045,
|
||||
0.011511364,
|
||||
0.0057538874,
|
||||
-0.0629816,
|
||||
-0.029131796,
|
||||
0.047270518,
|
||||
0.001283126,
|
||||
-0.043159317,
|
||||
-0.030766038,
|
||||
0.0061556227,
|
||||
-0.015973011,
|
||||
0.03481056,
|
||||
0.062749244,
|
||||
0.0029082517,
|
||||
0.010572958,
|
||||
0.027749807,
|
||||
0.050668936,
|
||||
-0.051467456,
|
||||
0.007794117,
|
||||
0.0027644718,
|
||||
0.03543721,
|
||||
-0.0022148099,
|
||||
-0.05313771,
|
||||
-0.10215321,
|
||||
0.03707251,
|
||||
-2.6713175e-33,
|
||||
0.0017724886,
|
||||
-0.064549305,
|
||||
0.083517104,
|
||||
0.0075378036,
|
||||
0.0373638,
|
||||
-0.050084334,
|
||||
0.014043211,
|
||||
0.020553099,
|
||||
-0.07188897,
|
||||
0.011441495,
|
||||
0.022517225,
|
||||
0.031318914,
|
||||
-0.016180433,
|
||||
0.015433824,
|
||||
0.008950052,
|
||||
-0.021158809,
|
||||
0.034379054,
|
||||
0.07882736,
|
||||
-0.07134793,
|
||||
0.03718742,
|
||||
-0.01402067,
|
||||
0.11467582,
|
||||
0.027725333,
|
||||
0.103083044,
|
||||
0.0020317438,
|
||||
-0.011571618,
|
||||
0.023986591,
|
||||
-0.11256917,
|
||||
0.04468431,
|
||||
0.025734378,
|
||||
0.014319986,
|
||||
0.010833818,
|
||||
-0.0005189497,
|
||||
0.12757385,
|
||||
-0.0047730957,
|
||||
0.0099472245,
|
||||
0.08402423,
|
||||
-0.07101441,
|
||||
-0.019073823,
|
||||
-0.040513888,
|
||||
-0.059322916,
|
||||
-0.010433166,
|
||||
-0.071019754,
|
||||
-0.040704224,
|
||||
0.08586277,
|
||||
-0.018428363,
|
||||
-0.015254462,
|
||||
-0.052051596,
|
||||
0.043923747,
|
||||
0.014250693,
|
||||
0.020743154,
|
||||
-0.041564606,
|
||||
-0.05012484,
|
||||
-0.014720733,
|
||||
-0.08762599,
|
||||
-0.04295185,
|
||||
0.04303896,
|
||||
-0.053854093,
|
||||
-0.015607529,
|
||||
0.111948535,
|
||||
0.0679723,
|
||||
0.10907892,
|
||||
-0.069508664,
|
||||
0.00887828,
|
||||
0.015481415,
|
||||
-0.03690716,
|
||||
0.08508598,
|
||||
-0.059459347,
|
||||
0.015344124,
|
||||
-0.060224805,
|
||||
-0.00603072,
|
||||
-0.09113789,
|
||||
-0.0136159845,
|
||||
-0.037026063,
|
||||
0.04790111,
|
||||
-0.100247644,
|
||||
-0.019773062,
|
||||
0.07999973,
|
||||
-0.0128980465,
|
||||
-0.018863179,
|
||||
-0.059017047,
|
||||
0.00248596,
|
||||
-0.0144997155,
|
||||
-0.02121462,
|
||||
-0.0017333464,
|
||||
0.07713876,
|
||||
-0.051054224,
|
||||
-0.10495583,
|
||||
-0.0073451903,
|
||||
0.052062955,
|
||||
0.016453652,
|
||||
-0.009236932,
|
||||
0.055282637,
|
||||
0.0038197949,
|
||||
-0.020051114,
|
||||
2.5464958e-33,
|
||||
-0.038987577,
|
||||
-0.043897048,
|
||||
0.03787998,
|
||||
0.074700505,
|
||||
0.014658231,
|
||||
-0.031063978,
|
||||
0.03932032,
|
||||
0.0086922515,
|
||||
-0.079684064,
|
||||
0.00907119,
|
||||
0.018906428,
|
||||
-0.04523901,
|
||||
0.08419313,
|
||||
-0.032539196,
|
||||
-0.014256086,
|
||||
0.03184282,
|
||||
0.055137835,
|
||||
0.008252636,
|
||||
-0.08645058,
|
||||
0.033518456,
|
||||
-0.03877447,
|
||||
0.011789311,
|
||||
0.008589286,
|
||||
0.040438384,
|
||||
-0.029595155,
|
||||
0.015558957,
|
||||
0.01706848,
|
||||
0.0082632555,
|
||||
0.055422414,
|
||||
-0.047813375,
|
||||
0.12587819,
|
||||
0.0012081665,
|
||||
-0.056614272,
|
||||
-0.049693204,
|
||||
0.019767676,
|
||||
0.10198586,
|
||||
0.052604027,
|
||||
0.005185193,
|
||||
-0.007734863,
|
||||
0.03135029,
|
||||
0.10176289,
|
||||
-0.009025921,
|
||||
0.012806229,
|
||||
0.11788305,
|
||||
0.020581847,
|
||||
-0.042219758,
|
||||
-0.0068787434,
|
||||
0.022657244,
|
||||
0.047365777,
|
||||
-0.022893863,
|
||||
-0.051349323,
|
||||
-0.005233177,
|
||||
-0.076251194,
|
||||
-0.04236047,
|
||||
0.019560752,
|
||||
-0.06629419,
|
||||
0.021389643,
|
||||
0.030450732,
|
||||
0.050301515,
|
||||
-0.09925603,
|
||||
0.047766063,
|
||||
0.024021091,
|
||||
-0.09243169,
|
||||
0.052473485,
|
||||
-0.027104896,
|
||||
-0.034923382,
|
||||
-0.035148807,
|
||||
0.07990074,
|
||||
0.012386824,
|
||||
-0.016390324,
|
||||
-0.11454378,
|
||||
-0.011963314,
|
||||
-0.048622582,
|
||||
-0.009833977,
|
||||
0.008378115,
|
||||
-0.04069243,
|
||||
0.012471775,
|
||||
0.11785673,
|
||||
-0.083506085,
|
||||
0.021854725,
|
||||
0.016397662,
|
||||
-0.067396075,
|
||||
-0.05733745,
|
||||
0.022288153,
|
||||
-0.09067268,
|
||||
-0.012360014,
|
||||
0.08768485,
|
||||
0.038021423,
|
||||
-0.008215962,
|
||||
-0.033709865,
|
||||
-0.06452811,
|
||||
0.075504094,
|
||||
-0.06108504,
|
||||
0.034222264,
|
||||
-0.03457496,
|
||||
-1.466989e-08,
|
||||
0.010145719,
|
||||
0.09416839,
|
||||
-0.006477657,
|
||||
0.044030815,
|
||||
0.072401255,
|
||||
-0.02240294,
|
||||
-0.023854287,
|
||||
-0.022957338,
|
||||
-0.008710809,
|
||||
0.054063216,
|
||||
0.015527666,
|
||||
-0.008091619,
|
||||
-0.02358684,
|
||||
0.05656128,
|
||||
0.047717538,
|
||||
-0.072567485,
|
||||
-0.084655635,
|
||||
-0.028462045,
|
||||
0.038069323,
|
||||
0.05122655,
|
||||
0.008662912,
|
||||
0.020227194,
|
||||
0.032318383,
|
||||
-0.02934469,
|
||||
-0.008373493,
|
||||
-0.030406654,
|
||||
-0.0018623174,
|
||||
0.04668153,
|
||||
-0.014274433,
|
||||
-0.011503898,
|
||||
-0.012042847,
|
||||
0.03997898,
|
||||
-0.04851871,
|
||||
-0.054651935,
|
||||
-0.037423328,
|
||||
-0.025878351,
|
||||
0.008015021,
|
||||
0.0097502675,
|
||||
-0.011484835,
|
||||
0.017112983,
|
||||
0.0017380291,
|
||||
-0.05770241,
|
||||
0.09601054,
|
||||
0.008765968,
|
||||
0.012350261,
|
||||
-0.015184217,
|
||||
0.06604998,
|
||||
-0.09777801,
|
||||
0.0019177026,
|
||||
0.011822941,
|
||||
-0.032919675,
|
||||
0.018701306,
|
||||
0.09756877,
|
||||
0.030090347,
|
||||
0.0767435,
|
||||
0.016393822,
|
||||
0.022264855,
|
||||
-0.009713106,
|
||||
-0.031033427,
|
||||
0.054199275,
|
||||
0.14510539,
|
||||
-0.04926405,
|
||||
0.054231234,
|
||||
0.05421684
|
||||
],
|
||||
"index": 0,
|
||||
"object": "embedding"
|
||||
}
|
||||
],
|
||||
"model": "all-minilm:l6-v2",
|
||||
"object": "list",
|
||||
"usage": {
|
||||
"prompt_tokens": 1,
|
||||
"total_tokens": 1
|
||||
}
|
||||
}
|
||||
},
|
||||
"is_streaming": false
|
||||
}
|
||||
}
|
||||
File diff suppressed because it is too large
Load diff
|
|
@ -0,0 +1,423 @@
|
|||
{
|
||||
"test_id": "tests/integration/vector_io/test_openai_vector_stores.py::test_openai_vector_store_search_with_ranking_options[client_with_models-ollama/llama3.2:3b-instruct-fp16-None-ollama/all-minilm:l6-v2-None-384]",
|
||||
"request": {
|
||||
"method": "POST",
|
||||
"url": "http://0.0.0.0:11434/v1/v1/embeddings",
|
||||
"headers": {},
|
||||
"body": {
|
||||
"model": "all-minilm:l6-v2",
|
||||
"input": [
|
||||
"machine learning and artificial intelligence"
|
||||
],
|
||||
"encoding_format": "float"
|
||||
},
|
||||
"endpoint": "/v1/embeddings",
|
||||
"model": "all-minilm:l6-v2"
|
||||
},
|
||||
"response": {
|
||||
"body": {
|
||||
"__type__": "openai.types.create_embedding_response.CreateEmbeddingResponse",
|
||||
"__data__": {
|
||||
"data": [
|
||||
{
|
||||
"embedding": [
|
||||
-0.04308226,
|
||||
0.008707138,
|
||||
0.06876158,
|
||||
0.018115537,
|
||||
0.04603657,
|
||||
0.0026118131,
|
||||
-0.0032358477,
|
||||
-0.041284926,
|
||||
-0.09074888,
|
||||
-0.033087812,
|
||||
-0.026611822,
|
||||
0.0077352105,
|
||||
0.020191023,
|
||||
-0.03254043,
|
||||
-0.035847843,
|
||||
0.031108031,
|
||||
-0.039247137,
|
||||
-0.011286401,
|
||||
-0.109710276,
|
||||
-0.12942196,
|
||||
0.018077252,
|
||||
0.011446383,
|
||||
-0.07231236,
|
||||
-0.013655743,
|
||||
0.035438832,
|
||||
0.024783252,
|
||||
0.03387316,
|
||||
0.0726014,
|
||||
-0.012643238,
|
||||
-0.058606703,
|
||||
0.057943814,
|
||||
-0.08163548,
|
||||
0.064962864,
|
||||
0.0013675748,
|
||||
-0.06751009,
|
||||
0.03504323,
|
||||
-0.044962864,
|
||||
-0.004789603,
|
||||
0.039971247,
|
||||
-0.010461211,
|
||||
0.019703588,
|
||||
-0.09856083,
|
||||
-0.01284534,
|
||||
0.018876119,
|
||||
0.09569305,
|
||||
0.11571406,
|
||||
-0.040684983,
|
||||
-0.026837468,
|
||||
-0.046950106,
|
||||
0.022655226,
|
||||
-0.0884734,
|
||||
-0.023497678,
|
||||
-0.022986038,
|
||||
-0.031128721,
|
||||
-0.052087843,
|
||||
0.04241795,
|
||||
0.011578454,
|
||||
0.06702011,
|
||||
0.027121129,
|
||||
-0.0021518404,
|
||||
0.04675332,
|
||||
-0.082024105,
|
||||
-0.038331598,
|
||||
0.05215799,
|
||||
0.097757615,
|
||||
-0.0006708623,
|
||||
-0.051935766,
|
||||
0.09100271,
|
||||
-0.016111707,
|
||||
-0.06877312,
|
||||
0.00767068,
|
||||
0.076737314,
|
||||
-0.0017499238,
|
||||
0.014369293,
|
||||
0.038031887,
|
||||
-0.0044654603,
|
||||
0.011287075,
|
||||
0.0006178959,
|
||||
0.08834809,
|
||||
-0.05933476,
|
||||
-0.042706404,
|
||||
-0.048178285,
|
||||
-0.053068914,
|
||||
0.033110976,
|
||||
0.008051986,
|
||||
-0.042581946,
|
||||
-0.038104057,
|
||||
-0.007202849,
|
||||
0.010891519,
|
||||
-0.05466173,
|
||||
0.03903238,
|
||||
-0.06774145,
|
||||
-0.02356764,
|
||||
-0.03883483,
|
||||
0.03464186,
|
||||
0.015297014,
|
||||
0.0073803077,
|
||||
-0.12351391,
|
||||
0.036168184,
|
||||
0.13193323,
|
||||
-0.06441449,
|
||||
0.033508655,
|
||||
-0.01435515,
|
||||
0.0014314495,
|
||||
0.031048443,
|
||||
-0.03981852,
|
||||
0.0236718,
|
||||
-0.0028333638,
|
||||
0.096959464,
|
||||
-0.13331193,
|
||||
-0.054209094,
|
||||
0.019610135,
|
||||
0.06984815,
|
||||
-0.05347757,
|
||||
0.0018131314,
|
||||
0.02127606,
|
||||
0.01981612,
|
||||
0.036502477,
|
||||
0.008825069,
|
||||
0.018954003,
|
||||
-0.07161326,
|
||||
-0.018733062,
|
||||
0.031044634,
|
||||
0.09102944,
|
||||
0.016508427,
|
||||
-0.08625295,
|
||||
-0.08300717,
|
||||
-1.4044197e-34,
|
||||
-0.072007515,
|
||||
-0.045496386,
|
||||
-0.027986562,
|
||||
0.05823018,
|
||||
-0.010462877,
|
||||
-0.06121516,
|
||||
0.026053715,
|
||||
-0.06574638,
|
||||
0.029178392,
|
||||
0.012307141,
|
||||
-0.06338016,
|
||||
0.040593755,
|
||||
0.03648161,
|
||||
0.01977942,
|
||||
0.08755496,
|
||||
0.028216325,
|
||||
0.044194777,
|
||||
0.076237544,
|
||||
0.02949726,
|
||||
-0.0022650051,
|
||||
0.04304541,
|
||||
0.025918182,
|
||||
1.2261046e-05,
|
||||
-0.038463842,
|
||||
-0.0161955,
|
||||
0.03338553,
|
||||
0.02112944,
|
||||
-0.023382189,
|
||||
0.009846733,
|
||||
0.033575017,
|
||||
0.030112585,
|
||||
0.060389582,
|
||||
-0.06522927,
|
||||
-0.016030189,
|
||||
0.019156763,
|
||||
-0.002600835,
|
||||
-0.04663393,
|
||||
0.02794595,
|
||||
0.021004112,
|
||||
0.0074595963,
|
||||
-0.048745092,
|
||||
-0.0070450655,
|
||||
0.019834043,
|
||||
0.016411202,
|
||||
-0.06381404,
|
||||
0.031237993,
|
||||
0.091976196,
|
||||
-0.0313931,
|
||||
0.022238847,
|
||||
-0.015018542,
|
||||
0.0025784613,
|
||||
-0.031382624,
|
||||
-0.0152902305,
|
||||
-0.025491757,
|
||||
0.08233924,
|
||||
0.14333151,
|
||||
-0.0255008,
|
||||
-0.005104579,
|
||||
-0.02309693,
|
||||
-0.03117742,
|
||||
0.06995927,
|
||||
0.030787794,
|
||||
0.04810884,
|
||||
0.037135385,
|
||||
0.0068392092,
|
||||
0.06759879,
|
||||
0.049763102,
|
||||
0.008472162,
|
||||
0.07170584,
|
||||
0.0076969583,
|
||||
-0.005139827,
|
||||
-0.0031728086,
|
||||
0.024646448,
|
||||
-0.06879641,
|
||||
0.05249289,
|
||||
-0.009404918,
|
||||
0.10184627,
|
||||
-0.013639711,
|
||||
-0.022681188,
|
||||
0.021382388,
|
||||
-0.09593746,
|
||||
0.024071718,
|
||||
-0.072101034,
|
||||
-0.04462981,
|
||||
0.033456877,
|
||||
-0.03942254,
|
||||
0.020099705,
|
||||
-0.07495305,
|
||||
-0.008311987,
|
||||
0.013811793,
|
||||
-0.09847922,
|
||||
0.0336409,
|
||||
0.08235891,
|
||||
-0.0034134828,
|
||||
-0.05005179,
|
||||
-2.0283256e-33,
|
||||
-0.13664234,
|
||||
0.06463093,
|
||||
0.05221015,
|
||||
0.10102781,
|
||||
0.016344123,
|
||||
-0.01269384,
|
||||
-0.09024102,
|
||||
-0.023596523,
|
||||
0.0057664234,
|
||||
0.10294541,
|
||||
-0.025930807,
|
||||
-0.040247634,
|
||||
0.034446176,
|
||||
0.019228913,
|
||||
-0.056902077,
|
||||
0.019905953,
|
||||
0.018969242,
|
||||
-0.039362065,
|
||||
0.011287794,
|
||||
0.056024995,
|
||||
-0.016000811,
|
||||
0.058928564,
|
||||
-0.038211577,
|
||||
-0.030445429,
|
||||
-0.02130076,
|
||||
0.031401403,
|
||||
-0.021228284,
|
||||
-0.01400283,
|
||||
-0.051042903,
|
||||
0.048970606,
|
||||
0.018451849,
|
||||
-0.015488385,
|
||||
-0.05033241,
|
||||
0.053844187,
|
||||
-0.050984643,
|
||||
0.016940817,
|
||||
-0.032773405,
|
||||
-0.02502497,
|
||||
0.000826887,
|
||||
0.10213942,
|
||||
0.04724571,
|
||||
0.010156266,
|
||||
-0.11653258,
|
||||
0.012165439,
|
||||
-0.029735534,
|
||||
-0.09959623,
|
||||
-0.052066926,
|
||||
0.06851813,
|
||||
0.054645896,
|
||||
-0.066007115,
|
||||
0.025503889,
|
||||
0.013539478,
|
||||
0.008429433,
|
||||
-0.10756056,
|
||||
-0.08184448,
|
||||
0.07179834,
|
||||
0.007978949,
|
||||
-0.013011469,
|
||||
0.020322459,
|
||||
0.07827889,
|
||||
-0.07320297,
|
||||
-0.1153648,
|
||||
0.04087073,
|
||||
0.04355079,
|
||||
-0.0012279376,
|
||||
0.045840748,
|
||||
-0.004366462,
|
||||
0.074786335,
|
||||
-0.017625354,
|
||||
-0.046014115,
|
||||
0.022716347,
|
||||
0.057738,
|
||||
-0.015408269,
|
||||
0.007771719,
|
||||
-0.04381374,
|
||||
-0.05289107,
|
||||
-0.08783473,
|
||||
0.016243288,
|
||||
-0.018398289,
|
||||
-0.05679973,
|
||||
0.036058675,
|
||||
-0.040418148,
|
||||
0.039242174,
|
||||
0.083593465,
|
||||
-0.019223504,
|
||||
0.05582025,
|
||||
0.04756948,
|
||||
-0.07378718,
|
||||
0.03371102,
|
||||
-0.08680738,
|
||||
-0.010659349,
|
||||
0.0524085,
|
||||
0.009771544,
|
||||
0.023841262,
|
||||
-0.086208895,
|
||||
-1.7164519e-08,
|
||||
0.021028979,
|
||||
-0.051292755,
|
||||
0.11877283,
|
||||
-0.04687027,
|
||||
0.06566496,
|
||||
0.058750976,
|
||||
-0.050496,
|
||||
0.055720143,
|
||||
-0.040577173,
|
||||
0.055665523,
|
||||
0.025019526,
|
||||
-0.001681203,
|
||||
-0.031047702,
|
||||
0.022228474,
|
||||
0.028109053,
|
||||
0.03163934,
|
||||
-0.025502652,
|
||||
0.020898303,
|
||||
-0.023064507,
|
||||
0.013436037,
|
||||
0.07504084,
|
||||
0.022279648,
|
||||
0.028908938,
|
||||
-0.014271217,
|
||||
0.025474275,
|
||||
-0.051414162,
|
||||
-0.014502164,
|
||||
0.014646399,
|
||||
-0.028023712,
|
||||
0.08406334,
|
||||
-0.07755092,
|
||||
0.038713943,
|
||||
-0.0043370826,
|
||||
0.025676368,
|
||||
0.12571524,
|
||||
0.06996381,
|
||||
0.0059321956,
|
||||
-0.10410214,
|
||||
-0.041439336,
|
||||
0.016119901,
|
||||
-0.040744506,
|
||||
0.017772397,
|
||||
-0.09114363,
|
||||
-0.026066387,
|
||||
0.055598073,
|
||||
0.016705057,
|
||||
0.016444646,
|
||||
-0.11935461,
|
||||
0.02789905,
|
||||
0.0151745565,
|
||||
0.042357437,
|
||||
0.06817164,
|
||||
0.05782822,
|
||||
0.063278705,
|
||||
0.06748475,
|
||||
0.059781626,
|
||||
0.06468886,
|
||||
-0.06749451,
|
||||
-0.035589237,
|
||||
0.0640055,
|
||||
0.008595763,
|
||||
0.003157698,
|
||||
0.009343837,
|
||||
-0.08392565
|
||||
],
|
||||
"index": 0,
|
||||
"object": "embedding"
|
||||
}
|
||||
],
|
||||
"model": "all-minilm:l6-v2",
|
||||
"object": "list",
|
||||
"usage": {
|
||||
"prompt_tokens": 5,
|
||||
"total_tokens": 5
|
||||
}
|
||||
}
|
||||
},
|
||||
"is_streaming": false
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,423 @@
|
|||
{
|
||||
"test_id": "tests/integration/vector_io/test_openai_vector_stores.py::test_openai_vector_store_list_files[client_with_models-ollama/llama3.2:3b-instruct-fp16-None-ollama/all-minilm:l6-v2-None-384]",
|
||||
"request": {
|
||||
"method": "POST",
|
||||
"url": "http://0.0.0.0:11434/v1/v1/embeddings",
|
||||
"headers": {},
|
||||
"body": {
|
||||
"model": "all-minilm:l6-v2",
|
||||
"input": [
|
||||
"This is a test file 0"
|
||||
],
|
||||
"encoding_format": "float"
|
||||
},
|
||||
"endpoint": "/v1/embeddings",
|
||||
"model": "all-minilm:l6-v2"
|
||||
},
|
||||
"response": {
|
||||
"body": {
|
||||
"__type__": "openai.types.create_embedding_response.CreateEmbeddingResponse",
|
||||
"__data__": {
|
||||
"data": [
|
||||
{
|
||||
"embedding": [
|
||||
-0.021802,
|
||||
0.088129535,
|
||||
-0.10867403,
|
||||
0.0027561262,
|
||||
0.04917365,
|
||||
-0.030165128,
|
||||
-0.0155558735,
|
||||
0.027549915,
|
||||
-0.025064131,
|
||||
0.016137881,
|
||||
0.124836035,
|
||||
0.0027821937,
|
||||
-0.033310093,
|
||||
-0.0071708336,
|
||||
-0.07004796,
|
||||
-0.027996853,
|
||||
-0.09748515,
|
||||
-0.091607764,
|
||||
0.013367206,
|
||||
0.08752305,
|
||||
0.013990884,
|
||||
0.03663788,
|
||||
-0.036330026,
|
||||
-0.019752761,
|
||||
0.04456914,
|
||||
-0.009629443,
|
||||
-0.01832647,
|
||||
0.048832405,
|
||||
-0.015315298,
|
||||
-0.07147843,
|
||||
0.04094573,
|
||||
0.082709365,
|
||||
0.063961774,
|
||||
0.01448001,
|
||||
0.13194442,
|
||||
0.0303949,
|
||||
0.101027474,
|
||||
-0.030359762,
|
||||
-0.047630757,
|
||||
0.044637363,
|
||||
0.027034018,
|
||||
-0.029368822,
|
||||
0.038537122,
|
||||
0.0053882804,
|
||||
0.01478374,
|
||||
0.025617138,
|
||||
0.0041860593,
|
||||
0.0034900715,
|
||||
0.029765956,
|
||||
-0.036669906,
|
||||
-0.04589116,
|
||||
0.031120853,
|
||||
-0.07786974,
|
||||
-0.019517597,
|
||||
0.053876307,
|
||||
-0.0152282175,
|
||||
-0.0016955235,
|
||||
0.016938528,
|
||||
0.019939963,
|
||||
0.07106882,
|
||||
0.009938938,
|
||||
0.03114348,
|
||||
-0.010335175,
|
||||
0.029952966,
|
||||
0.115054145,
|
||||
0.025746102,
|
||||
-0.052842245,
|
||||
-0.042447682,
|
||||
0.0053093657,
|
||||
-0.09987591,
|
||||
-0.12741813,
|
||||
-0.012022532,
|
||||
-0.013787561,
|
||||
0.05265948,
|
||||
-0.01723935,
|
||||
0.009638554,
|
||||
-0.0775266,
|
||||
0.0014047497,
|
||||
0.06974368,
|
||||
-0.08465856,
|
||||
-0.061480872,
|
||||
-0.14244927,
|
||||
0.0096944375,
|
||||
-0.008611519,
|
||||
-0.0318523,
|
||||
0.12823504,
|
||||
0.053257603,
|
||||
0.021978743,
|
||||
0.0026468195,
|
||||
0.015444479,
|
||||
-0.042528655,
|
||||
0.031551417,
|
||||
-0.06209267,
|
||||
0.044017885,
|
||||
-0.0060390937,
|
||||
0.06959196,
|
||||
0.0050514904,
|
||||
0.059341036,
|
||||
0.00658094,
|
||||
0.08397857,
|
||||
-0.0067914296,
|
||||
-0.041901726,
|
||||
0.027081704,
|
||||
0.106456675,
|
||||
-0.039408114,
|
||||
-0.053899165,
|
||||
0.09689717,
|
||||
-0.0084604705,
|
||||
0.03398384,
|
||||
-0.033843804,
|
||||
0.002225838,
|
||||
-0.08180734,
|
||||
-0.008216738,
|
||||
-0.11271415,
|
||||
0.0058824755,
|
||||
-0.095151186,
|
||||
-0.07958445,
|
||||
0.052868627,
|
||||
-0.08120183,
|
||||
0.034291897,
|
||||
0.07903789,
|
||||
-0.02675632,
|
||||
-0.04391073,
|
||||
0.0067707864,
|
||||
-0.05438546,
|
||||
-0.021719433,
|
||||
0.080597855,
|
||||
-3.9388086e-33,
|
||||
-0.0072714644,
|
||||
-0.079664536,
|
||||
0.024838887,
|
||||
0.115598045,
|
||||
0.03591746,
|
||||
-0.07254434,
|
||||
0.012642099,
|
||||
0.050809097,
|
||||
-0.100082524,
|
||||
0.019521356,
|
||||
0.0035883472,
|
||||
-0.07001022,
|
||||
0.007977421,
|
||||
0.029305879,
|
||||
-0.017785804,
|
||||
0.02702277,
|
||||
0.016827941,
|
||||
0.035956737,
|
||||
-0.0209356,
|
||||
-0.032321777,
|
||||
0.056705642,
|
||||
-0.009747762,
|
||||
-0.059722506,
|
||||
-0.053817417,
|
||||
-0.055837773,
|
||||
0.06526892,
|
||||
-0.024752634,
|
||||
-0.07778206,
|
||||
0.038636208,
|
||||
0.008998632,
|
||||
0.009699391,
|
||||
-0.02798574,
|
||||
-0.024878206,
|
||||
-0.0017547129,
|
||||
0.025541965,
|
||||
0.034623418,
|
||||
-8.975541e-06,
|
||||
0.0034556785,
|
||||
-0.04525613,
|
||||
0.03461154,
|
||||
-0.025307115,
|
||||
-0.02981576,
|
||||
-0.019071916,
|
||||
-0.023184983,
|
||||
0.049324982,
|
||||
-0.061433185,
|
||||
0.00038017757,
|
||||
0.0028894164,
|
||||
0.027610173,
|
||||
0.0069347974,
|
||||
-0.020659719,
|
||||
0.060771395,
|
||||
0.015200205,
|
||||
0.038918514,
|
||||
-0.025353896,
|
||||
-0.0017897633,
|
||||
-0.019378036,
|
||||
-0.0056970986,
|
||||
-0.017806012,
|
||||
0.038060427,
|
||||
0.0320353,
|
||||
0.03998783,
|
||||
-0.09612384,
|
||||
0.0006942505,
|
||||
-0.018478483,
|
||||
-0.06866618,
|
||||
-0.0077035497,
|
||||
-0.083554305,
|
||||
0.10223985,
|
||||
0.05141575,
|
||||
-0.033018276,
|
||||
-0.05033401,
|
||||
0.043923385,
|
||||
0.017748218,
|
||||
-0.006601344,
|
||||
-0.018691983,
|
||||
0.012763011,
|
||||
0.016694913,
|
||||
-0.095070764,
|
||||
-0.023533016,
|
||||
0.006879241,
|
||||
-0.07225332,
|
||||
-0.0029991802,
|
||||
-0.06930797,
|
||||
-0.027289826,
|
||||
-0.0672911,
|
||||
-0.006683099,
|
||||
-0.06801406,
|
||||
0.04452207,
|
||||
-0.09788058,
|
||||
0.050909285,
|
||||
0.010051549,
|
||||
-0.04617998,
|
||||
-0.067622505,
|
||||
0.04447288,
|
||||
2.5643933e-33,
|
||||
0.014783131,
|
||||
0.071710624,
|
||||
-0.05237768,
|
||||
0.011041238,
|
||||
-0.013921518,
|
||||
0.07072471,
|
||||
0.091977395,
|
||||
-0.01916791,
|
||||
-0.015780058,
|
||||
0.14812021,
|
||||
0.031904023,
|
||||
0.022344623,
|
||||
0.07071857,
|
||||
-0.037060503,
|
||||
0.08806883,
|
||||
-0.018145561,
|
||||
-0.013254877,
|
||||
-0.041782882,
|
||||
-0.052317847,
|
||||
-0.00279131,
|
||||
-0.024807084,
|
||||
0.13974102,
|
||||
0.074973755,
|
||||
0.056424167,
|
||||
-0.029412953,
|
||||
0.017093861,
|
||||
0.03373144,
|
||||
0.06874087,
|
||||
0.020454561,
|
||||
-0.018965451,
|
||||
0.081238694,
|
||||
0.06527906,
|
||||
-0.09342225,
|
||||
0.0037720343,
|
||||
0.06347132,
|
||||
-0.08775714,
|
||||
0.09286548,
|
||||
-0.024266576,
|
||||
0.029101077,
|
||||
0.0034162905,
|
||||
0.05528427,
|
||||
0.102037616,
|
||||
-0.023588225,
|
||||
0.065829135,
|
||||
0.01520327,
|
||||
0.034344077,
|
||||
0.10559419,
|
||||
0.011605323,
|
||||
0.0409873,
|
||||
-0.056635953,
|
||||
0.037730522,
|
||||
-0.04976337,
|
||||
0.047961522,
|
||||
0.0042118295,
|
||||
-0.014172872,
|
||||
0.07564937,
|
||||
-0.009671058,
|
||||
0.05520304,
|
||||
-0.031121492,
|
||||
0.019924358,
|
||||
-0.024975697,
|
||||
0.031822197,
|
||||
-0.019536836,
|
||||
-0.009870229,
|
||||
-0.020225972,
|
||||
-0.03319855,
|
||||
-0.026266782,
|
||||
0.038882248,
|
||||
0.012940086,
|
||||
-0.041266225,
|
||||
0.012833021,
|
||||
0.028703777,
|
||||
-0.054075323,
|
||||
-0.07628176,
|
||||
0.021953572,
|
||||
-0.023357453,
|
||||
-0.026714878,
|
||||
-0.029401133,
|
||||
0.005280363,
|
||||
0.012325193,
|
||||
0.05232579,
|
||||
0.0054451786,
|
||||
-0.0063759633,
|
||||
0.04604998,
|
||||
0.042399842,
|
||||
-0.018433316,
|
||||
0.01260558,
|
||||
0.09300185,
|
||||
-0.005949781,
|
||||
-0.015193224,
|
||||
-0.011673769,
|
||||
0.048114438,
|
||||
0.02588804,
|
||||
0.050943956,
|
||||
0.005536351,
|
||||
-1.5059804e-08,
|
||||
-0.03100338,
|
||||
-0.07003323,
|
||||
-0.032613333,
|
||||
-0.008732137,
|
||||
-0.0045523546,
|
||||
0.0759239,
|
||||
-0.032725554,
|
||||
-0.08790561,
|
||||
-0.032228027,
|
||||
-0.02459868,
|
||||
0.051224917,
|
||||
-0.034561895,
|
||||
-0.08266327,
|
||||
0.013319846,
|
||||
-0.020541467,
|
||||
-0.056271035,
|
||||
-0.009450659,
|
||||
-0.015903467,
|
||||
-0.036625408,
|
||||
0.010096497,
|
||||
-0.03440534,
|
||||
0.0315293,
|
||||
-0.00013937108,
|
||||
0.010463861,
|
||||
0.017065981,
|
||||
0.015492903,
|
||||
0.074808784,
|
||||
0.07079003,
|
||||
-0.050000764,
|
||||
-0.047017526,
|
||||
0.01375958,
|
||||
0.060757488,
|
||||
-0.009361379,
|
||||
-0.01570009,
|
||||
-0.01836736,
|
||||
0.12301148,
|
||||
0.1185397,
|
||||
0.12366319,
|
||||
0.022782512,
|
||||
-0.020027133,
|
||||
-0.07401259,
|
||||
-0.0047104736,
|
||||
-0.024872223,
|
||||
0.006070436,
|
||||
-0.06660639,
|
||||
-0.08130306,
|
||||
-0.0873992,
|
||||
-0.0634906,
|
||||
-0.039198957,
|
||||
-0.11274462,
|
||||
-0.030654918,
|
||||
0.026607778,
|
||||
-0.063220546,
|
||||
0.042023618,
|
||||
-0.039010853,
|
||||
-0.009214424,
|
||||
0.005044682,
|
||||
0.0015641748,
|
||||
-0.058640927,
|
||||
0.043107104,
|
||||
0.06682025,
|
||||
0.062172387,
|
||||
0.021147223,
|
||||
-0.041068073
|
||||
],
|
||||
"index": 0,
|
||||
"object": "embedding"
|
||||
}
|
||||
],
|
||||
"model": "all-minilm:l6-v2",
|
||||
"object": "list",
|
||||
"usage": {
|
||||
"prompt_tokens": 6,
|
||||
"total_tokens": 6
|
||||
}
|
||||
}
|
||||
},
|
||||
"is_streaming": false
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,423 @@
|
|||
{
|
||||
"test_id": "tests/integration/vector_io/test_openai_vector_stores.py::test_openai_vector_store_search_modes[ollama/llama3.2:3b-instruct-fp16-None-ollama/all-minilm:l6-v2-None-384-vector]",
|
||||
"request": {
|
||||
"method": "POST",
|
||||
"url": "http://0.0.0.0:11434/v1/v1/embeddings",
|
||||
"headers": {},
|
||||
"body": {
|
||||
"model": "all-minilm:l6-v2",
|
||||
"input": [
|
||||
"Python programming language"
|
||||
],
|
||||
"encoding_format": "float"
|
||||
},
|
||||
"endpoint": "/v1/embeddings",
|
||||
"model": "all-minilm:l6-v2"
|
||||
},
|
||||
"response": {
|
||||
"body": {
|
||||
"__type__": "openai.types.create_embedding_response.CreateEmbeddingResponse",
|
||||
"__data__": {
|
||||
"data": [
|
||||
{
|
||||
"embedding": [
|
||||
-0.063880146,
|
||||
0.013411989,
|
||||
-0.054502595,
|
||||
0.01193493,
|
||||
-0.074262686,
|
||||
-0.13344447,
|
||||
0.04294062,
|
||||
0.045387108,
|
||||
-0.06949706,
|
||||
-0.035939943,
|
||||
0.01200873,
|
||||
0.0068830596,
|
||||
0.08886977,
|
||||
0.0026030506,
|
||||
0.032482542,
|
||||
-0.007821568,
|
||||
-0.05044649,
|
||||
0.006662123,
|
||||
0.027794942,
|
||||
-0.12791364,
|
||||
0.00062353734,
|
||||
0.045270294,
|
||||
-0.03605076,
|
||||
0.044243146,
|
||||
0.0129354475,
|
||||
-0.0092799105,
|
||||
0.011904844,
|
||||
0.026060482,
|
||||
0.020055141,
|
||||
-0.03368774,
|
||||
-0.028043076,
|
||||
0.087557025,
|
||||
0.059002083,
|
||||
0.053893365,
|
||||
0.02027196,
|
||||
0.06840361,
|
||||
-0.03180594,
|
||||
-0.087597735,
|
||||
-0.11277839,
|
||||
0.022651086,
|
||||
-0.09037903,
|
||||
-0.0033202847,
|
||||
-0.040132593,
|
||||
-0.034084503,
|
||||
-0.032953303,
|
||||
0.02925268,
|
||||
-0.03903928,
|
||||
0.04551951,
|
||||
-0.0331016,
|
||||
-0.006518362,
|
||||
-0.09629851,
|
||||
-0.011739161,
|
||||
-0.052575007,
|
||||
-0.064773224,
|
||||
0.031043475,
|
||||
-0.012586444,
|
||||
0.09737276,
|
||||
0.005224713,
|
||||
-0.035071153,
|
||||
-0.1404299,
|
||||
-0.06678175,
|
||||
0.03654573,
|
||||
-0.039277818,
|
||||
0.07014256,
|
||||
-0.0010227569,
|
||||
-0.026846789,
|
||||
-0.0175696,
|
||||
0.03044068,
|
||||
0.06403526,
|
||||
-0.031643596,
|
||||
-0.14598879,
|
||||
-0.045400888,
|
||||
-0.018469285,
|
||||
0.06689445,
|
||||
0.030553635,
|
||||
-0.12255281,
|
||||
0.061046645,
|
||||
-0.05678168,
|
||||
-0.005118667,
|
||||
-0.0087622,
|
||||
0.006514719,
|
||||
-0.016424034,
|
||||
-0.033650044,
|
||||
0.08491301,
|
||||
-0.00029260007,
|
||||
-0.07339515,
|
||||
0.038627055,
|
||||
0.15695965,
|
||||
0.010035773,
|
||||
0.025318887,
|
||||
-0.0021428047,
|
||||
-0.04613549,
|
||||
0.06244243,
|
||||
-0.019905778,
|
||||
-0.05471386,
|
||||
0.09796629,
|
||||
0.0384793,
|
||||
-0.072424814,
|
||||
-0.038704097,
|
||||
0.07158691,
|
||||
0.007360897,
|
||||
-0.05120446,
|
||||
0.0313513,
|
||||
-0.032230332,
|
||||
0.039326303,
|
||||
-0.009643992,
|
||||
0.069905065,
|
||||
-0.052026685,
|
||||
0.049440835,
|
||||
-0.04272916,
|
||||
-0.0037707465,
|
||||
-0.04155246,
|
||||
-0.0561972,
|
||||
-0.03340213,
|
||||
0.05105359,
|
||||
0.038616214,
|
||||
-0.0029470131,
|
||||
0.08188407,
|
||||
-0.0035886324,
|
||||
0.04530431,
|
||||
0.0068888925,
|
||||
0.016499842,
|
||||
0.016347302,
|
||||
0.007283021,
|
||||
-0.021663606,
|
||||
-0.0046215886,
|
||||
-0.007931065,
|
||||
-4.1536508e-33,
|
||||
-0.045777988,
|
||||
-0.050903402,
|
||||
-0.038634304,
|
||||
0.0100991195,
|
||||
0.070007294,
|
||||
-0.025182785,
|
||||
0.1050647,
|
||||
-0.0049731904,
|
||||
-0.064141616,
|
||||
-0.047639705,
|
||||
0.012718577,
|
||||
0.05198462,
|
||||
-0.016051587,
|
||||
0.08170543,
|
||||
0.024008816,
|
||||
-0.020879291,
|
||||
0.045706064,
|
||||
0.091577366,
|
||||
0.02512945,
|
||||
0.019055998,
|
||||
0.048144504,
|
||||
0.097951256,
|
||||
0.034154113,
|
||||
0.03543114,
|
||||
0.011410896,
|
||||
-0.043446988,
|
||||
-0.0041784984,
|
||||
-0.05564714,
|
||||
0.01147717,
|
||||
0.0071039577,
|
||||
-0.06426582,
|
||||
-0.020623188,
|
||||
-0.0045247558,
|
||||
-0.012943628,
|
||||
0.02658834,
|
||||
-0.012385487,
|
||||
0.008399212,
|
||||
-0.06824828,
|
||||
0.04683057,
|
||||
-0.04165085,
|
||||
-0.025662417,
|
||||
-0.0038799767,
|
||||
0.05007075,
|
||||
-0.008117481,
|
||||
-0.023308154,
|
||||
0.023914568,
|
||||
0.0015741173,
|
||||
0.046142872,
|
||||
-0.06898886,
|
||||
0.041611847,
|
||||
0.0045286645,
|
||||
-0.047628563,
|
||||
0.054236773,
|
||||
0.06972688,
|
||||
-0.016889753,
|
||||
0.04806098,
|
||||
0.012714234,
|
||||
0.0022186628,
|
||||
-0.006355918,
|
||||
-0.031550523,
|
||||
0.023726372,
|
||||
0.06859327,
|
||||
0.077228814,
|
||||
-0.01227583,
|
||||
0.03901903,
|
||||
0.034360897,
|
||||
0.03032876,
|
||||
0.058690928,
|
||||
0.08030179,
|
||||
0.06976231,
|
||||
-0.09047136,
|
||||
0.02376998,
|
||||
-0.008751518,
|
||||
0.038334776,
|
||||
-0.02751323,
|
||||
0.023137644,
|
||||
0.027101006,
|
||||
-0.08135271,
|
||||
-0.010334998,
|
||||
0.04730408,
|
||||
-0.02033998,
|
||||
-0.026008504,
|
||||
-0.017415512,
|
||||
-0.0035714875,
|
||||
-0.018727385,
|
||||
-0.037389226,
|
||||
0.041064497,
|
||||
0.05317889,
|
||||
-0.0055602547,
|
||||
-0.058561854,
|
||||
-0.072036326,
|
||||
-0.075019896,
|
||||
0.04825644,
|
||||
0.011348427,
|
||||
-0.02259257,
|
||||
1.3515749e-33,
|
||||
0.006240622,
|
||||
0.031606406,
|
||||
-0.036119435,
|
||||
-0.0016494404,
|
||||
-0.08255665,
|
||||
-0.06069396,
|
||||
0.059934463,
|
||||
0.014492232,
|
||||
0.059514895,
|
||||
0.027053975,
|
||||
-0.011601325,
|
||||
-0.057609312,
|
||||
0.10365583,
|
||||
-0.002784741,
|
||||
0.07693759,
|
||||
0.019432511,
|
||||
-0.052210074,
|
||||
0.015158053,
|
||||
-0.0012768542,
|
||||
0.027789148,
|
||||
-0.115292676,
|
||||
0.047323048,
|
||||
-0.07599195,
|
||||
-0.074344486,
|
||||
-0.029194841,
|
||||
-0.020079462,
|
||||
-0.034749795,
|
||||
-0.05769437,
|
||||
-0.0301632,
|
||||
0.04749987,
|
||||
0.012206333,
|
||||
0.011497502,
|
||||
-0.051970575,
|
||||
0.05972769,
|
||||
0.03281016,
|
||||
0.0013676677,
|
||||
0.057720944,
|
||||
-0.041179247,
|
||||
-0.02150875,
|
||||
-0.0067487382,
|
||||
0.1419711,
|
||||
0.05795878,
|
||||
0.010094941,
|
||||
0.09603845,
|
||||
0.014521089,
|
||||
0.02133803,
|
||||
-0.07551916,
|
||||
0.07887724,
|
||||
-0.04273237,
|
||||
-0.06601746,
|
||||
-0.038729392,
|
||||
-0.008161129,
|
||||
0.015012324,
|
||||
-0.049418066,
|
||||
-0.037083283,
|
||||
-0.02378242,
|
||||
0.03743137,
|
||||
0.008194503,
|
||||
-0.086978436,
|
||||
-0.05960285,
|
||||
-0.07732487,
|
||||
-0.056507926,
|
||||
0.029065313,
|
||||
0.0073954053,
|
||||
-0.077878684,
|
||||
0.0026059505,
|
||||
-0.10405392,
|
||||
-0.04738624,
|
||||
-0.015872862,
|
||||
-0.11591199,
|
||||
0.09724705,
|
||||
0.0049243565,
|
||||
-0.010273523,
|
||||
0.0066429917,
|
||||
-0.060295314,
|
||||
0.02550513,
|
||||
-0.052950058,
|
||||
-0.0038489713,
|
||||
-0.050250847,
|
||||
0.07679287,
|
||||
0.046089787,
|
||||
0.007386997,
|
||||
0.0046740095,
|
||||
0.07385862,
|
||||
-0.07792065,
|
||||
0.0013675193,
|
||||
0.013730894,
|
||||
0.05658653,
|
||||
0.021934126,
|
||||
0.007195913,
|
||||
0.0076705213,
|
||||
0.10221154,
|
||||
0.060060997,
|
||||
0.036779005,
|
||||
-0.037765697,
|
||||
-1.187368e-08,
|
||||
-0.00885571,
|
||||
0.01760442,
|
||||
0.062224448,
|
||||
0.032051455,
|
||||
-0.011581793,
|
||||
0.051908698,
|
||||
-0.011685676,
|
||||
-0.06391574,
|
||||
-0.029866237,
|
||||
0.03258576,
|
||||
0.0055078953,
|
||||
-0.012040446,
|
||||
-0.054406017,
|
||||
-0.056690563,
|
||||
-0.030638037,
|
||||
0.14276367,
|
||||
0.028526368,
|
||||
-0.028743364,
|
||||
0.019917691,
|
||||
0.025652615,
|
||||
0.073813364,
|
||||
-0.0066998666,
|
||||
0.0061508445,
|
||||
0.09610696,
|
||||
-0.08799916,
|
||||
-0.0089272335,
|
||||
0.03823298,
|
||||
0.04832936,
|
||||
0.018829934,
|
||||
-0.10534708,
|
||||
0.048226915,
|
||||
-0.02225069,
|
||||
0.020491786,
|
||||
0.014641141,
|
||||
0.030794447,
|
||||
-0.029119467,
|
||||
0.008283775,
|
||||
-0.04506887,
|
||||
0.0025344177,
|
||||
0.021756247,
|
||||
-0.008108281,
|
||||
0.00904927,
|
||||
-0.013340866,
|
||||
-0.014037631,
|
||||
0.06845187,
|
||||
0.045173325,
|
||||
-0.034587316,
|
||||
-0.07275669,
|
||||
-0.004159724,
|
||||
-0.058231864,
|
||||
-0.033032075,
|
||||
0.0040235794,
|
||||
-0.019985583,
|
||||
-0.020122562,
|
||||
0.055365406,
|
||||
0.10250875,
|
||||
-0.10799118,
|
||||
-0.013780294,
|
||||
-0.009652406,
|
||||
0.015592658,
|
||||
-0.031221472,
|
||||
0.1329332,
|
||||
0.15243866,
|
||||
-0.022426173
|
||||
],
|
||||
"index": 0,
|
||||
"object": "embedding"
|
||||
}
|
||||
],
|
||||
"model": "all-minilm:l6-v2",
|
||||
"object": "list",
|
||||
"usage": {
|
||||
"prompt_tokens": 3,
|
||||
"total_tokens": 3
|
||||
}
|
||||
}
|
||||
},
|
||||
"is_streaming": false
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,78 @@
|
|||
{
|
||||
"test_id": "tests/integration/vector_io/test_openai_vector_stores.py::test_openai_vector_store_search_relevance[client_with_models-ollama/llama3.2:3b-instruct-fp16-None-ollama/all-minilm:l6-v2-None-384-test_case1]",
|
||||
"request": {
|
||||
"method": "POST",
|
||||
"url": "http://localhost:11434/api/ps",
|
||||
"headers": {},
|
||||
"body": {},
|
||||
"endpoint": "/api/ps",
|
||||
"model": ""
|
||||
},
|
||||
"response": {
|
||||
"body": {
|
||||
"__type__": "ollama._types.ProcessResponse",
|
||||
"__data__": {
|
||||
"models": [
|
||||
{
|
||||
"model": "all-minilm:l6-v2",
|
||||
"name": "all-minilm:l6-v2",
|
||||
"digest": "1b226e2802dbb772b5fc32a58f103ca1804ef7501331012de126ab22f67475ef",
|
||||
"expires_at": "2025-10-03T21:21:13.749967-07:00",
|
||||
"size": 585846784,
|
||||
"size_vram": 585846784,
|
||||
"details": {
|
||||
"parent_model": "",
|
||||
"format": "gguf",
|
||||
"family": "bert",
|
||||
"families": [
|
||||
"bert"
|
||||
],
|
||||
"parameter_size": "23M",
|
||||
"quantization_level": "F16"
|
||||
},
|
||||
"context_length": 256
|
||||
},
|
||||
{
|
||||
"model": "llama3.2:3b-instruct-fp16",
|
||||
"name": "llama3.2:3b-instruct-fp16",
|
||||
"digest": "195a8c01d91ec3cb1e0aad4624a51f2602c51fa7d96110f8ab5a20c84081804d",
|
||||
"expires_at": "2025-10-03T21:20:56.787737-07:00",
|
||||
"size": 7919570944,
|
||||
"size_vram": 7919570944,
|
||||
"details": {
|
||||
"parent_model": "",
|
||||
"format": "gguf",
|
||||
"family": "llama",
|
||||
"families": [
|
||||
"llama"
|
||||
],
|
||||
"parameter_size": "3.2B",
|
||||
"quantization_level": "F16"
|
||||
},
|
||||
"context_length": 4096
|
||||
},
|
||||
{
|
||||
"model": "llama-guard3:1b",
|
||||
"name": "llama-guard3:1b",
|
||||
"digest": "494147e06bf99e10dbe67b63a07ac81c162f18ef3341aa3390007ac828571b3b",
|
||||
"expires_at": "2025-10-03T21:16:14.288654-07:00",
|
||||
"size": 2350966784,
|
||||
"size_vram": 2350966784,
|
||||
"details": {
|
||||
"parent_model": "",
|
||||
"format": "gguf",
|
||||
"family": "llama",
|
||||
"families": [
|
||||
"llama"
|
||||
],
|
||||
"parameter_size": "1.5B",
|
||||
"quantization_level": "Q8_0"
|
||||
},
|
||||
"context_length": 4096
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
"is_streaming": false
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,78 @@
|
|||
{
|
||||
"test_id": "tests/integration/vector_io/test_openai_vector_stores.py::test_openai_vector_store_search_relevance[client_with_models-ollama/llama3.2:3b-instruct-fp16-None-ollama/all-minilm:l6-v2-None-384-test_case3]",
|
||||
"request": {
|
||||
"method": "POST",
|
||||
"url": "http://localhost:11434/api/ps",
|
||||
"headers": {},
|
||||
"body": {},
|
||||
"endpoint": "/api/ps",
|
||||
"model": ""
|
||||
},
|
||||
"response": {
|
||||
"body": {
|
||||
"__type__": "ollama._types.ProcessResponse",
|
||||
"__data__": {
|
||||
"models": [
|
||||
{
|
||||
"model": "all-minilm:l6-v2",
|
||||
"name": "all-minilm:l6-v2",
|
||||
"digest": "1b226e2802dbb772b5fc32a58f103ca1804ef7501331012de126ab22f67475ef",
|
||||
"expires_at": "2025-10-03T21:21:14.238301-07:00",
|
||||
"size": 585846784,
|
||||
"size_vram": 585846784,
|
||||
"details": {
|
||||
"parent_model": "",
|
||||
"format": "gguf",
|
||||
"family": "bert",
|
||||
"families": [
|
||||
"bert"
|
||||
],
|
||||
"parameter_size": "23M",
|
||||
"quantization_level": "F16"
|
||||
},
|
||||
"context_length": 256
|
||||
},
|
||||
{
|
||||
"model": "llama3.2:3b-instruct-fp16",
|
||||
"name": "llama3.2:3b-instruct-fp16",
|
||||
"digest": "195a8c01d91ec3cb1e0aad4624a51f2602c51fa7d96110f8ab5a20c84081804d",
|
||||
"expires_at": "2025-10-03T21:20:56.787737-07:00",
|
||||
"size": 7919570944,
|
||||
"size_vram": 7919570944,
|
||||
"details": {
|
||||
"parent_model": "",
|
||||
"format": "gguf",
|
||||
"family": "llama",
|
||||
"families": [
|
||||
"llama"
|
||||
],
|
||||
"parameter_size": "3.2B",
|
||||
"quantization_level": "F16"
|
||||
},
|
||||
"context_length": 4096
|
||||
},
|
||||
{
|
||||
"model": "llama-guard3:1b",
|
||||
"name": "llama-guard3:1b",
|
||||
"digest": "494147e06bf99e10dbe67b63a07ac81c162f18ef3341aa3390007ac828571b3b",
|
||||
"expires_at": "2025-10-03T21:16:14.288654-07:00",
|
||||
"size": 2350966784,
|
||||
"size_vram": 2350966784,
|
||||
"details": {
|
||||
"parent_model": "",
|
||||
"format": "gguf",
|
||||
"family": "llama",
|
||||
"families": [
|
||||
"llama"
|
||||
],
|
||||
"parameter_size": "1.5B",
|
||||
"quantization_level": "Q8_0"
|
||||
},
|
||||
"context_length": 4096
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
"is_streaming": false
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,423 @@
|
|||
{
|
||||
"test_id": "tests/integration/vector_io/test_vector_io.py::test_insert_chunks[emb=ollama/all-minilm:l6-v2:dim=384-test_case0]",
|
||||
"request": {
|
||||
"method": "POST",
|
||||
"url": "http://0.0.0.0:11434/v1/v1/embeddings",
|
||||
"headers": {},
|
||||
"body": {
|
||||
"model": "all-minilm:l6-v2",
|
||||
"input": [
|
||||
"What is the capital of France?"
|
||||
],
|
||||
"encoding_format": "float"
|
||||
},
|
||||
"endpoint": "/v1/embeddings",
|
||||
"model": "all-minilm:l6-v2"
|
||||
},
|
||||
"response": {
|
||||
"body": {
|
||||
"__type__": "openai.types.create_embedding_response.CreateEmbeddingResponse",
|
||||
"__data__": {
|
||||
"data": [
|
||||
{
|
||||
"embedding": [
|
||||
0.082037136,
|
||||
0.03605009,
|
||||
-0.003858349,
|
||||
-0.0048745335,
|
||||
0.025680654,
|
||||
-0.05718634,
|
||||
0.012181495,
|
||||
0.0046627503,
|
||||
0.03504826,
|
||||
-0.022433529,
|
||||
-0.008051872,
|
||||
-0.10929119,
|
||||
0.022724133,
|
||||
-0.029288922,
|
||||
-0.043489166,
|
||||
-0.120253265,
|
||||
-0.00086341135,
|
||||
-0.018151222,
|
||||
0.0561967,
|
||||
0.00309959,
|
||||
0.0022962212,
|
||||
-0.016878856,
|
||||
0.06362854,
|
||||
-0.02366614,
|
||||
0.031488717,
|
||||
-0.034919456,
|
||||
-0.020573795,
|
||||
-0.002815633,
|
||||
-0.011089214,
|
||||
-0.036135226,
|
||||
0.054130327,
|
||||
-0.036599707,
|
||||
-0.025023036,
|
||||
-0.038259722,
|
||||
-0.049688417,
|
||||
-0.015200446,
|
||||
0.021407988,
|
||||
-0.0127598485,
|
||||
0.07668212,
|
||||
0.044370703,
|
||||
-0.0108555285,
|
||||
-0.02972891,
|
||||
-0.016925987,
|
||||
-0.024663594,
|
||||
0.008030216,
|
||||
0.043554515,
|
||||
0.0071516195,
|
||||
0.07550263,
|
||||
0.032855336,
|
||||
-0.062009048,
|
||||
0.066706404,
|
||||
0.027028719,
|
||||
-0.04570193,
|
||||
-0.03146736,
|
||||
-0.031145794,
|
||||
0.091601126,
|
||||
-0.0017914127,
|
||||
-0.011287448,
|
||||
0.03652323,
|
||||
0.05692562,
|
||||
0.0023244114,
|
||||
-0.037794005,
|
||||
-0.015485576,
|
||||
0.05239373,
|
||||
0.060352743,
|
||||
-0.01656626,
|
||||
0.008852838,
|
||||
-0.0066740657,
|
||||
-0.10624023,
|
||||
0.0016855119,
|
||||
-0.04846779,
|
||||
-0.029726079,
|
||||
0.004318477,
|
||||
-0.08570177,
|
||||
0.066239014,
|
||||
-0.055177763,
|
||||
-0.113279216,
|
||||
0.050822813,
|
||||
-0.0093511855,
|
||||
0.0059375227,
|
||||
0.020984603,
|
||||
-0.022525566,
|
||||
0.00049133686,
|
||||
0.056391854,
|
||||
0.045508638,
|
||||
-0.005227753,
|
||||
0.09361666,
|
||||
0.027507791,
|
||||
0.02937236,
|
||||
-0.045665868,
|
||||
-0.048981518,
|
||||
0.0014411878,
|
||||
-0.012885078,
|
||||
0.079774186,
|
||||
-0.119063824,
|
||||
0.06878127,
|
||||
-0.022768173,
|
||||
0.044935144,
|
||||
-0.081365064,
|
||||
0.0439928,
|
||||
0.002936521,
|
||||
0.01760215,
|
||||
0.08313044,
|
||||
-0.018089816,
|
||||
-0.04793947,
|
||||
0.058759455,
|
||||
0.0062854686,
|
||||
-0.014705522,
|
||||
-0.0072833668,
|
||||
-0.078145795,
|
||||
-0.10076618,
|
||||
-0.03352427,
|
||||
-0.0008879286,
|
||||
-0.05110566,
|
||||
0.027157873,
|
||||
0.07079609,
|
||||
0.04741029,
|
||||
-0.10456867,
|
||||
0.0044786637,
|
||||
-0.028797852,
|
||||
-0.018375952,
|
||||
-0.050554108,
|
||||
-0.031530026,
|
||||
-0.009527807,
|
||||
-0.060606185,
|
||||
0.021066627,
|
||||
-0.046673466,
|
||||
-7.760674e-33,
|
||||
-0.03134469,
|
||||
0.056437604,
|
||||
0.07740162,
|
||||
0.063869186,
|
||||
-0.04665667,
|
||||
-0.0076621915,
|
||||
-0.055314656,
|
||||
0.040249433,
|
||||
-0.03159584,
|
||||
-0.0070865196,
|
||||
0.0394448,
|
||||
-0.13172099,
|
||||
-0.06611813,
|
||||
0.021771116,
|
||||
0.09699056,
|
||||
0.011762843,
|
||||
0.08904323,
|
||||
0.034680966,
|
||||
-0.043843478,
|
||||
-0.00029840716,
|
||||
0.014667039,
|
||||
-0.0027011412,
|
||||
-0.0033179414,
|
||||
0.017366407,
|
||||
0.060072616,
|
||||
0.039403416,
|
||||
-0.0017028108,
|
||||
0.07735126,
|
||||
0.01458652,
|
||||
-0.0022484495,
|
||||
-0.0018689616,
|
||||
0.015051134,
|
||||
0.021683147,
|
||||
0.00743522,
|
||||
0.018044684,
|
||||
0.049780875,
|
||||
0.012682762,
|
||||
-0.0025319885,
|
||||
0.04345311,
|
||||
0.062966056,
|
||||
0.06655509,
|
||||
-0.036332715,
|
||||
-0.03873148,
|
||||
0.04407342,
|
||||
0.005618046,
|
||||
0.005606404,
|
||||
-0.03491582,
|
||||
-0.071468666,
|
||||
0.100827605,
|
||||
-0.02480599,
|
||||
0.014779361,
|
||||
-0.025853567,
|
||||
-0.07272276,
|
||||
-0.017332677,
|
||||
0.026024899,
|
||||
0.1141519,
|
||||
-0.0709077,
|
||||
0.017926728,
|
||||
-0.0033771452,
|
||||
0.008450764,
|
||||
-0.0031734016,
|
||||
0.0058758706,
|
||||
-0.022959052,
|
||||
0.07754777,
|
||||
0.034691088,
|
||||
0.087492526,
|
||||
0.04631641,
|
||||
0.018653069,
|
||||
0.011075838,
|
||||
-0.045833264,
|
||||
-0.04647619,
|
||||
0.026525397,
|
||||
0.073937215,
|
||||
0.0656064,
|
||||
0.0626801,
|
||||
0.07236128,
|
||||
-0.008934351,
|
||||
-0.035436727,
|
||||
-0.0053167064,
|
||||
-0.0031780244,
|
||||
-0.03794062,
|
||||
-0.04136672,
|
||||
-0.096589684,
|
||||
0.044174723,
|
||||
-0.03346829,
|
||||
-0.0714272,
|
||||
-0.011707928,
|
||||
-0.0071373517,
|
||||
0.00062674406,
|
||||
-0.08837231,
|
||||
-0.11327292,
|
||||
-0.121232145,
|
||||
-0.0013483085,
|
||||
-0.044267938,
|
||||
-0.0866299,
|
||||
3.9974636e-33,
|
||||
0.025347712,
|
||||
-0.0026484786,
|
||||
-0.081128426,
|
||||
0.025477463,
|
||||
0.0013318929,
|
||||
0.016020615,
|
||||
0.09553763,
|
||||
0.03323222,
|
||||
-0.012020247,
|
||||
0.01704576,
|
||||
-0.08304897,
|
||||
-0.12452585,
|
||||
0.043876667,
|
||||
0.012038639,
|
||||
0.065846756,
|
||||
0.10058584,
|
||||
0.07289197,
|
||||
-0.02691023,
|
||||
-0.032209095,
|
||||
-0.05359179,
|
||||
-0.12634858,
|
||||
0.0054822033,
|
||||
-0.035338957,
|
||||
-0.0042626564,
|
||||
-0.02503011,
|
||||
0.041566424,
|
||||
-0.09993105,
|
||||
-0.047632236,
|
||||
-0.023974935,
|
||||
0.0026521643,
|
||||
-0.05512872,
|
||||
0.013588852,
|
||||
0.048989374,
|
||||
0.08497172,
|
||||
-0.04203127,
|
||||
0.07672574,
|
||||
0.033201486,
|
||||
0.0012890669,
|
||||
0.039995532,
|
||||
0.06453696,
|
||||
-0.043386992,
|
||||
-0.04967135,
|
||||
0.05796046,
|
||||
0.11259055,
|
||||
0.07072716,
|
||||
0.008217265,
|
||||
0.043992482,
|
||||
-0.022529528,
|
||||
-0.007255873,
|
||||
0.049954277,
|
||||
0.03863772,
|
||||
0.067863524,
|
||||
-0.040989004,
|
||||
0.0057252604,
|
||||
0.01790208,
|
||||
0.049277905,
|
||||
-0.051399034,
|
||||
0.051036645,
|
||||
-0.09386299,
|
||||
-0.06816727,
|
||||
0.06536689,
|
||||
0.075451665,
|
||||
-0.016844928,
|
||||
0.066079356,
|
||||
-0.002883201,
|
||||
-0.02066376,
|
||||
-0.12701727,
|
||||
0.061581187,
|
||||
-0.009843711,
|
||||
-0.014696306,
|
||||
0.13543285,
|
||||
0.034152385,
|
||||
-0.064830035,
|
||||
0.050995078,
|
||||
-0.06642675,
|
||||
0.02918273,
|
||||
0.0794261,
|
||||
0.014402853,
|
||||
-0.0273022,
|
||||
0.0053402875,
|
||||
-0.067574784,
|
||||
-0.020469556,
|
||||
-0.027134288,
|
||||
-0.026119156,
|
||||
-0.07057518,
|
||||
0.034702294,
|
||||
0.0075764027,
|
||||
-0.102168776,
|
||||
0.058453083,
|
||||
-0.074793324,
|
||||
-0.022044567,
|
||||
-0.006830346,
|
||||
-0.051225647,
|
||||
-0.03697986,
|
||||
0.025650427,
|
||||
-1.7504691e-08,
|
||||
0.06810578,
|
||||
0.04502295,
|
||||
-0.04405543,
|
||||
0.012894445,
|
||||
-0.05787301,
|
||||
-0.09544731,
|
||||
0.062167827,
|
||||
-0.00424131,
|
||||
-0.008617457,
|
||||
0.00019244938,
|
||||
-0.07362401,
|
||||
0.056028713,
|
||||
-0.06966302,
|
||||
-0.051120024,
|
||||
-0.04107452,
|
||||
-0.0047826064,
|
||||
-0.032448206,
|
||||
0.043075,
|
||||
0.008685862,
|
||||
0.022739133,
|
||||
-0.004866129,
|
||||
0.023324043,
|
||||
-0.045655783,
|
||||
-0.058080837,
|
||||
0.012551997,
|
||||
-0.09902558,
|
||||
0.040637206,
|
||||
0.045673274,
|
||||
0.0027036674,
|
||||
-0.005293385,
|
||||
0.06631416,
|
||||
-0.027342914,
|
||||
-0.05006773,
|
||||
-0.09028891,
|
||||
-0.036147803,
|
||||
0.012678981,
|
||||
-0.005860591,
|
||||
-0.0049548894,
|
||||
0.009455272,
|
||||
-0.029030358,
|
||||
0.09503264,
|
||||
0.061976723,
|
||||
0.012456961,
|
||||
-0.011967612,
|
||||
0.024475172,
|
||||
0.045389146,
|
||||
0.05380351,
|
||||
-0.035200197,
|
||||
0.11459815,
|
||||
-0.08903123,
|
||||
-0.111395806,
|
||||
0.09941666,
|
||||
0.0039118743,
|
||||
0.004477415,
|
||||
0.0033548488,
|
||||
0.07087783,
|
||||
-0.051348306,
|
||||
-0.012647007,
|
||||
0.021842662,
|
||||
-0.02008024,
|
||||
-0.0149204545,
|
||||
0.049170345,
|
||||
0.08937761,
|
||||
-0.011069278
|
||||
],
|
||||
"index": 0,
|
||||
"object": "embedding"
|
||||
}
|
||||
],
|
||||
"model": "all-minilm:l6-v2",
|
||||
"object": "list",
|
||||
"usage": {
|
||||
"prompt_tokens": 7,
|
||||
"total_tokens": 7
|
||||
}
|
||||
}
|
||||
},
|
||||
"is_streaming": false
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,78 @@
|
|||
{
|
||||
"test_id": "tests/integration/vector_io/test_openai_vector_stores.py::test_openai_vector_store_search_empty[client_with_models-ollama/llama3.2:3b-instruct-fp16-None-ollama/all-minilm:l6-v2-None-384]",
|
||||
"request": {
|
||||
"method": "POST",
|
||||
"url": "http://localhost:11434/api/ps",
|
||||
"headers": {},
|
||||
"body": {},
|
||||
"endpoint": "/api/ps",
|
||||
"model": ""
|
||||
},
|
||||
"response": {
|
||||
"body": {
|
||||
"__type__": "ollama._types.ProcessResponse",
|
||||
"__data__": {
|
||||
"models": [
|
||||
{
|
||||
"model": "llama3.2:3b-instruct-fp16",
|
||||
"name": "llama3.2:3b-instruct-fp16",
|
||||
"digest": "195a8c01d91ec3cb1e0aad4624a51f2602c51fa7d96110f8ab5a20c84081804d",
|
||||
"expires_at": "2025-10-03T21:20:56.787737-07:00",
|
||||
"size": 7919570944,
|
||||
"size_vram": 7919570944,
|
||||
"details": {
|
||||
"parent_model": "",
|
||||
"format": "gguf",
|
||||
"family": "llama",
|
||||
"families": [
|
||||
"llama"
|
||||
],
|
||||
"parameter_size": "3.2B",
|
||||
"quantization_level": "F16"
|
||||
},
|
||||
"context_length": 4096
|
||||
},
|
||||
{
|
||||
"model": "all-minilm:l6-v2",
|
||||
"name": "all-minilm:l6-v2",
|
||||
"digest": "1b226e2802dbb772b5fc32a58f103ca1804ef7501331012de126ab22f67475ef",
|
||||
"expires_at": "2025-10-03T21:19:00.464427-07:00",
|
||||
"size": 585846784,
|
||||
"size_vram": 585846784,
|
||||
"details": {
|
||||
"parent_model": "",
|
||||
"format": "gguf",
|
||||
"family": "bert",
|
||||
"families": [
|
||||
"bert"
|
||||
],
|
||||
"parameter_size": "23M",
|
||||
"quantization_level": "F16"
|
||||
},
|
||||
"context_length": 256
|
||||
},
|
||||
{
|
||||
"model": "llama-guard3:1b",
|
||||
"name": "llama-guard3:1b",
|
||||
"digest": "494147e06bf99e10dbe67b63a07ac81c162f18ef3341aa3390007ac828571b3b",
|
||||
"expires_at": "2025-10-03T21:16:14.288654-07:00",
|
||||
"size": 2350966784,
|
||||
"size_vram": 2350966784,
|
||||
"details": {
|
||||
"parent_model": "",
|
||||
"format": "gguf",
|
||||
"family": "llama",
|
||||
"families": [
|
||||
"llama"
|
||||
],
|
||||
"parameter_size": "1.5B",
|
||||
"quantization_level": "Q8_0"
|
||||
},
|
||||
"context_length": 4096
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
"is_streaming": false
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,423 @@
|
|||
{
|
||||
"test_id": "tests/integration/vector_io/test_vector_io.py::test_insert_chunks[emb=ollama/all-minilm:l6-v2:dim=384-test_case3]",
|
||||
"request": {
|
||||
"method": "POST",
|
||||
"url": "http://0.0.0.0:11434/v1/v1/embeddings",
|
||||
"headers": {},
|
||||
"body": {
|
||||
"model": "all-minilm:l6-v2",
|
||||
"input": [
|
||||
"What is the capital of France?"
|
||||
],
|
||||
"encoding_format": "float"
|
||||
},
|
||||
"endpoint": "/v1/embeddings",
|
||||
"model": "all-minilm:l6-v2"
|
||||
},
|
||||
"response": {
|
||||
"body": {
|
||||
"__type__": "openai.types.create_embedding_response.CreateEmbeddingResponse",
|
||||
"__data__": {
|
||||
"data": [
|
||||
{
|
||||
"embedding": [
|
||||
0.082037136,
|
||||
0.03605009,
|
||||
-0.003858349,
|
||||
-0.0048745335,
|
||||
0.025680654,
|
||||
-0.05718634,
|
||||
0.012181495,
|
||||
0.0046627503,
|
||||
0.03504826,
|
||||
-0.022433529,
|
||||
-0.008051872,
|
||||
-0.10929119,
|
||||
0.022724133,
|
||||
-0.029288922,
|
||||
-0.043489166,
|
||||
-0.120253265,
|
||||
-0.00086341135,
|
||||
-0.018151222,
|
||||
0.0561967,
|
||||
0.00309959,
|
||||
0.0022962212,
|
||||
-0.016878856,
|
||||
0.06362854,
|
||||
-0.02366614,
|
||||
0.031488717,
|
||||
-0.034919456,
|
||||
-0.020573795,
|
||||
-0.002815633,
|
||||
-0.011089214,
|
||||
-0.036135226,
|
||||
0.054130327,
|
||||
-0.036599707,
|
||||
-0.025023036,
|
||||
-0.038259722,
|
||||
-0.049688417,
|
||||
-0.015200446,
|
||||
0.021407988,
|
||||
-0.0127598485,
|
||||
0.07668212,
|
||||
0.044370703,
|
||||
-0.0108555285,
|
||||
-0.02972891,
|
||||
-0.016925987,
|
||||
-0.024663594,
|
||||
0.008030216,
|
||||
0.043554515,
|
||||
0.0071516195,
|
||||
0.07550263,
|
||||
0.032855336,
|
||||
-0.062009048,
|
||||
0.066706404,
|
||||
0.027028719,
|
||||
-0.04570193,
|
||||
-0.03146736,
|
||||
-0.031145794,
|
||||
0.091601126,
|
||||
-0.0017914127,
|
||||
-0.011287448,
|
||||
0.03652323,
|
||||
0.05692562,
|
||||
0.0023244114,
|
||||
-0.037794005,
|
||||
-0.015485576,
|
||||
0.05239373,
|
||||
0.060352743,
|
||||
-0.01656626,
|
||||
0.008852838,
|
||||
-0.0066740657,
|
||||
-0.10624023,
|
||||
0.0016855119,
|
||||
-0.04846779,
|
||||
-0.029726079,
|
||||
0.004318477,
|
||||
-0.08570177,
|
||||
0.066239014,
|
||||
-0.055177763,
|
||||
-0.113279216,
|
||||
0.050822813,
|
||||
-0.0093511855,
|
||||
0.0059375227,
|
||||
0.020984603,
|
||||
-0.022525566,
|
||||
0.00049133686,
|
||||
0.056391854,
|
||||
0.045508638,
|
||||
-0.005227753,
|
||||
0.09361666,
|
||||
0.027507791,
|
||||
0.02937236,
|
||||
-0.045665868,
|
||||
-0.048981518,
|
||||
0.0014411878,
|
||||
-0.012885078,
|
||||
0.079774186,
|
||||
-0.119063824,
|
||||
0.06878127,
|
||||
-0.022768173,
|
||||
0.044935144,
|
||||
-0.081365064,
|
||||
0.0439928,
|
||||
0.002936521,
|
||||
0.01760215,
|
||||
0.08313044,
|
||||
-0.018089816,
|
||||
-0.04793947,
|
||||
0.058759455,
|
||||
0.0062854686,
|
||||
-0.014705522,
|
||||
-0.0072833668,
|
||||
-0.078145795,
|
||||
-0.10076618,
|
||||
-0.03352427,
|
||||
-0.0008879286,
|
||||
-0.05110566,
|
||||
0.027157873,
|
||||
0.07079609,
|
||||
0.04741029,
|
||||
-0.10456867,
|
||||
0.0044786637,
|
||||
-0.028797852,
|
||||
-0.018375952,
|
||||
-0.050554108,
|
||||
-0.031530026,
|
||||
-0.009527807,
|
||||
-0.060606185,
|
||||
0.021066627,
|
||||
-0.046673466,
|
||||
-7.760674e-33,
|
||||
-0.03134469,
|
||||
0.056437604,
|
||||
0.07740162,
|
||||
0.063869186,
|
||||
-0.04665667,
|
||||
-0.0076621915,
|
||||
-0.055314656,
|
||||
0.040249433,
|
||||
-0.03159584,
|
||||
-0.0070865196,
|
||||
0.0394448,
|
||||
-0.13172099,
|
||||
-0.06611813,
|
||||
0.021771116,
|
||||
0.09699056,
|
||||
0.011762843,
|
||||
0.08904323,
|
||||
0.034680966,
|
||||
-0.043843478,
|
||||
-0.00029840716,
|
||||
0.014667039,
|
||||
-0.0027011412,
|
||||
-0.0033179414,
|
||||
0.017366407,
|
||||
0.060072616,
|
||||
0.039403416,
|
||||
-0.0017028108,
|
||||
0.07735126,
|
||||
0.01458652,
|
||||
-0.0022484495,
|
||||
-0.0018689616,
|
||||
0.015051134,
|
||||
0.021683147,
|
||||
0.00743522,
|
||||
0.018044684,
|
||||
0.049780875,
|
||||
0.012682762,
|
||||
-0.0025319885,
|
||||
0.04345311,
|
||||
0.062966056,
|
||||
0.06655509,
|
||||
-0.036332715,
|
||||
-0.03873148,
|
||||
0.04407342,
|
||||
0.005618046,
|
||||
0.005606404,
|
||||
-0.03491582,
|
||||
-0.071468666,
|
||||
0.100827605,
|
||||
-0.02480599,
|
||||
0.014779361,
|
||||
-0.025853567,
|
||||
-0.07272276,
|
||||
-0.017332677,
|
||||
0.026024899,
|
||||
0.1141519,
|
||||
-0.0709077,
|
||||
0.017926728,
|
||||
-0.0033771452,
|
||||
0.008450764,
|
||||
-0.0031734016,
|
||||
0.0058758706,
|
||||
-0.022959052,
|
||||
0.07754777,
|
||||
0.034691088,
|
||||
0.087492526,
|
||||
0.04631641,
|
||||
0.018653069,
|
||||
0.011075838,
|
||||
-0.045833264,
|
||||
-0.04647619,
|
||||
0.026525397,
|
||||
0.073937215,
|
||||
0.0656064,
|
||||
0.0626801,
|
||||
0.07236128,
|
||||
-0.008934351,
|
||||
-0.035436727,
|
||||
-0.0053167064,
|
||||
-0.0031780244,
|
||||
-0.03794062,
|
||||
-0.04136672,
|
||||
-0.096589684,
|
||||
0.044174723,
|
||||
-0.03346829,
|
||||
-0.0714272,
|
||||
-0.011707928,
|
||||
-0.0071373517,
|
||||
0.00062674406,
|
||||
-0.08837231,
|
||||
-0.11327292,
|
||||
-0.121232145,
|
||||
-0.0013483085,
|
||||
-0.044267938,
|
||||
-0.0866299,
|
||||
3.9974636e-33,
|
||||
0.025347712,
|
||||
-0.0026484786,
|
||||
-0.081128426,
|
||||
0.025477463,
|
||||
0.0013318929,
|
||||
0.016020615,
|
||||
0.09553763,
|
||||
0.03323222,
|
||||
-0.012020247,
|
||||
0.01704576,
|
||||
-0.08304897,
|
||||
-0.12452585,
|
||||
0.043876667,
|
||||
0.012038639,
|
||||
0.065846756,
|
||||
0.10058584,
|
||||
0.07289197,
|
||||
-0.02691023,
|
||||
-0.032209095,
|
||||
-0.05359179,
|
||||
-0.12634858,
|
||||
0.0054822033,
|
||||
-0.035338957,
|
||||
-0.0042626564,
|
||||
-0.02503011,
|
||||
0.041566424,
|
||||
-0.09993105,
|
||||
-0.047632236,
|
||||
-0.023974935,
|
||||
0.0026521643,
|
||||
-0.05512872,
|
||||
0.013588852,
|
||||
0.048989374,
|
||||
0.08497172,
|
||||
-0.04203127,
|
||||
0.07672574,
|
||||
0.033201486,
|
||||
0.0012890669,
|
||||
0.039995532,
|
||||
0.06453696,
|
||||
-0.043386992,
|
||||
-0.04967135,
|
||||
0.05796046,
|
||||
0.11259055,
|
||||
0.07072716,
|
||||
0.008217265,
|
||||
0.043992482,
|
||||
-0.022529528,
|
||||
-0.007255873,
|
||||
0.049954277,
|
||||
0.03863772,
|
||||
0.067863524,
|
||||
-0.040989004,
|
||||
0.0057252604,
|
||||
0.01790208,
|
||||
0.049277905,
|
||||
-0.051399034,
|
||||
0.051036645,
|
||||
-0.09386299,
|
||||
-0.06816727,
|
||||
0.06536689,
|
||||
0.075451665,
|
||||
-0.016844928,
|
||||
0.066079356,
|
||||
-0.002883201,
|
||||
-0.02066376,
|
||||
-0.12701727,
|
||||
0.061581187,
|
||||
-0.009843711,
|
||||
-0.014696306,
|
||||
0.13543285,
|
||||
0.034152385,
|
||||
-0.064830035,
|
||||
0.050995078,
|
||||
-0.06642675,
|
||||
0.02918273,
|
||||
0.0794261,
|
||||
0.014402853,
|
||||
-0.0273022,
|
||||
0.0053402875,
|
||||
-0.067574784,
|
||||
-0.020469556,
|
||||
-0.027134288,
|
||||
-0.026119156,
|
||||
-0.07057518,
|
||||
0.034702294,
|
||||
0.0075764027,
|
||||
-0.102168776,
|
||||
0.058453083,
|
||||
-0.074793324,
|
||||
-0.022044567,
|
||||
-0.006830346,
|
||||
-0.051225647,
|
||||
-0.03697986,
|
||||
0.025650427,
|
||||
-1.7504691e-08,
|
||||
0.06810578,
|
||||
0.04502295,
|
||||
-0.04405543,
|
||||
0.012894445,
|
||||
-0.05787301,
|
||||
-0.09544731,
|
||||
0.062167827,
|
||||
-0.00424131,
|
||||
-0.008617457,
|
||||
0.00019244938,
|
||||
-0.07362401,
|
||||
0.056028713,
|
||||
-0.06966302,
|
||||
-0.051120024,
|
||||
-0.04107452,
|
||||
-0.0047826064,
|
||||
-0.032448206,
|
||||
0.043075,
|
||||
0.008685862,
|
||||
0.022739133,
|
||||
-0.004866129,
|
||||
0.023324043,
|
||||
-0.045655783,
|
||||
-0.058080837,
|
||||
0.012551997,
|
||||
-0.09902558,
|
||||
0.040637206,
|
||||
0.045673274,
|
||||
0.0027036674,
|
||||
-0.005293385,
|
||||
0.06631416,
|
||||
-0.027342914,
|
||||
-0.05006773,
|
||||
-0.09028891,
|
||||
-0.036147803,
|
||||
0.012678981,
|
||||
-0.005860591,
|
||||
-0.0049548894,
|
||||
0.009455272,
|
||||
-0.029030358,
|
||||
0.09503264,
|
||||
0.061976723,
|
||||
0.012456961,
|
||||
-0.011967612,
|
||||
0.024475172,
|
||||
0.045389146,
|
||||
0.05380351,
|
||||
-0.035200197,
|
||||
0.11459815,
|
||||
-0.08903123,
|
||||
-0.111395806,
|
||||
0.09941666,
|
||||
0.0039118743,
|
||||
0.004477415,
|
||||
0.0033548488,
|
||||
0.07087783,
|
||||
-0.051348306,
|
||||
-0.012647007,
|
||||
0.021842662,
|
||||
-0.02008024,
|
||||
-0.0149204545,
|
||||
0.049170345,
|
||||
0.08937761,
|
||||
-0.011069278
|
||||
],
|
||||
"index": 0,
|
||||
"object": "embedding"
|
||||
}
|
||||
],
|
||||
"model": "all-minilm:l6-v2",
|
||||
"object": "list",
|
||||
"usage": {
|
||||
"prompt_tokens": 7,
|
||||
"total_tokens": 7
|
||||
}
|
||||
}
|
||||
},
|
||||
"is_streaming": false
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,423 @@
|
|||
{
|
||||
"test_id": "tests/integration/vector_io/test_openai_vector_stores.py::test_openai_vector_store_with_chunks[client_with_models-ollama/llama3.2:3b-instruct-fp16-None-ollama/all-minilm:l6-v2-None-384]",
|
||||
"request": {
|
||||
"method": "POST",
|
||||
"url": "http://0.0.0.0:11434/v1/v1/embeddings",
|
||||
"headers": {},
|
||||
"body": {
|
||||
"model": "all-minilm:l6-v2",
|
||||
"input": [
|
||||
"What is Python programming language?"
|
||||
],
|
||||
"encoding_format": "float"
|
||||
},
|
||||
"endpoint": "/v1/embeddings",
|
||||
"model": "all-minilm:l6-v2"
|
||||
},
|
||||
"response": {
|
||||
"body": {
|
||||
"__type__": "openai.types.create_embedding_response.CreateEmbeddingResponse",
|
||||
"__data__": {
|
||||
"data": [
|
||||
{
|
||||
"embedding": [
|
||||
-0.062304743,
|
||||
0.04315718,
|
||||
-0.056847535,
|
||||
0.03486019,
|
||||
-0.045148205,
|
||||
-0.1325256,
|
||||
0.021795923,
|
||||
0.039035086,
|
||||
-0.048403695,
|
||||
-0.03187157,
|
||||
-0.03934502,
|
||||
0.006355416,
|
||||
0.07870429,
|
||||
-0.004275144,
|
||||
0.023635335,
|
||||
-0.02171452,
|
||||
-0.055756103,
|
||||
-0.009452624,
|
||||
0.03968397,
|
||||
-0.11446917,
|
||||
-0.011574315,
|
||||
0.06161675,
|
||||
-0.026243819,
|
||||
0.024376081,
|
||||
0.029439807,
|
||||
-0.0035745306,
|
||||
-0.0014413354,
|
||||
-0.0031348146,
|
||||
0.0137771955,
|
||||
-0.00021878166,
|
||||
-0.0148119675,
|
||||
0.08438267,
|
||||
0.06679146,
|
||||
0.042289164,
|
||||
0.0077238376,
|
||||
0.073178865,
|
||||
-0.008341517,
|
||||
-0.094652176,
|
||||
-0.09245101,
|
||||
0.0075944075,
|
||||
-0.07389992,
|
||||
0.015481098,
|
||||
-0.04405396,
|
||||
-0.04497366,
|
||||
-0.041315924,
|
||||
0.06968346,
|
||||
-0.027464444,
|
||||
0.014380017,
|
||||
-0.036109854,
|
||||
-0.006690219,
|
||||
-0.080297194,
|
||||
-5.8296577e-05,
|
||||
-0.03897778,
|
||||
-0.049029846,
|
||||
0.017797105,
|
||||
-0.0064906515,
|
||||
0.05977029,
|
||||
-0.0031445406,
|
||||
-0.024804324,
|
||||
-0.114971094,
|
||||
-0.047434244,
|
||||
0.018489277,
|
||||
-0.009801151,
|
||||
0.09573786,
|
||||
-0.009445709,
|
||||
-0.035714474,
|
||||
-0.031265706,
|
||||
-0.0032087746,
|
||||
0.07714283,
|
||||
-0.076175354,
|
||||
-0.11878057,
|
||||
-0.06322687,
|
||||
-0.0045974515,
|
||||
0.06524851,
|
||||
0.045755487,
|
||||
-0.13797933,
|
||||
0.045973603,
|
||||
-0.03356543,
|
||||
-0.013575197,
|
||||
0.004536992,
|
||||
0.01706251,
|
||||
-0.0016689816,
|
||||
-0.051292486,
|
||||
0.10251468,
|
||||
0.015364908,
|
||||
-0.05339754,
|
||||
0.046751976,
|
||||
0.11428272,
|
||||
-0.0060051866,
|
||||
0.010296865,
|
||||
-0.03160346,
|
||||
-0.051935352,
|
||||
0.02092994,
|
||||
0.008887596,
|
||||
-0.069010794,
|
||||
0.08132733,
|
||||
0.012102074,
|
||||
-0.06409327,
|
||||
-0.036342084,
|
||||
0.046690084,
|
||||
0.011248327,
|
||||
-0.050334014,
|
||||
0.073782355,
|
||||
-0.02119414,
|
||||
0.0324611,
|
||||
-0.026148362,
|
||||
0.06814877,
|
||||
-0.03795885,
|
||||
0.030811384,
|
||||
-0.037118603,
|
||||
-0.036956605,
|
||||
-0.02943471,
|
||||
-0.0328876,
|
||||
-0.00579801,
|
||||
0.04255975,
|
||||
0.05469473,
|
||||
-0.01927437,
|
||||
0.12277417,
|
||||
0.0037985598,
|
||||
0.032079652,
|
||||
0.023717156,
|
||||
0.019211154,
|
||||
0.019987307,
|
||||
-0.012261412,
|
||||
-0.032464176,
|
||||
-0.004472998,
|
||||
-0.03568547,
|
||||
-6.953471e-33,
|
||||
-0.02200053,
|
||||
-0.06861985,
|
||||
-0.035355665,
|
||||
0.008892092,
|
||||
0.07110619,
|
||||
-0.02524488,
|
||||
0.091491714,
|
||||
-0.009333656,
|
||||
-0.059515916,
|
||||
-0.03471947,
|
||||
0.04331791,
|
||||
0.033350475,
|
||||
0.02423151,
|
||||
0.08795865,
|
||||
0.020580785,
|
||||
-0.00087637454,
|
||||
-0.012995603,
|
||||
0.088356934,
|
||||
0.04568453,
|
||||
0.025818799,
|
||||
0.054319557,
|
||||
0.09676607,
|
||||
0.02314351,
|
||||
0.024316499,
|
||||
0.014192086,
|
||||
-0.01867069,
|
||||
-0.024500258,
|
||||
-0.032566376,
|
||||
0.025218401,
|
||||
0.016804473,
|
||||
-0.07628905,
|
||||
0.012665322,
|
||||
-0.021314982,
|
||||
0.006895667,
|
||||
0.030793479,
|
||||
-0.00033363912,
|
||||
0.0005291749,
|
||||
-0.08589274,
|
||||
0.040542576,
|
||||
0.0062958263,
|
||||
-0.009977536,
|
||||
0.0016065374,
|
||||
0.012649728,
|
||||
-0.036491103,
|
||||
-0.023085777,
|
||||
0.012404348,
|
||||
-0.0051287347,
|
||||
0.020217113,
|
||||
-0.08761001,
|
||||
0.0451902,
|
||||
-0.0012827619,
|
||||
-0.06574815,
|
||||
0.07477121,
|
||||
0.08403992,
|
||||
-0.01390955,
|
||||
0.05589554,
|
||||
0.019330526,
|
||||
-0.019641383,
|
||||
-0.016001293,
|
||||
-0.02915193,
|
||||
0.037374426,
|
||||
0.068089314,
|
||||
0.069200926,
|
||||
-0.007668733,
|
||||
0.021160824,
|
||||
0.040417258,
|
||||
0.035068225,
|
||||
0.082075246,
|
||||
0.08809441,
|
||||
0.05050193,
|
||||
-0.059343174,
|
||||
0.04576526,
|
||||
-0.025118835,
|
||||
0.03583576,
|
||||
-0.028081506,
|
||||
0.019838363,
|
||||
0.033905286,
|
||||
-0.07977674,
|
||||
0.023003135,
|
||||
0.062460173,
|
||||
-0.034886148,
|
||||
-0.05390937,
|
||||
-0.016114287,
|
||||
-0.0057315156,
|
||||
-0.03051132,
|
||||
-0.02269694,
|
||||
-0.010376983,
|
||||
0.06762264,
|
||||
-0.010560655,
|
||||
-0.09605588,
|
||||
-0.07854035,
|
||||
-0.08528194,
|
||||
0.029969428,
|
||||
-0.0059528793,
|
||||
-0.039581347,
|
||||
2.9781768e-33,
|
||||
0.011482255,
|
||||
0.010417832,
|
||||
-0.0698601,
|
||||
0.019292813,
|
||||
-0.08453582,
|
||||
-0.08570265,
|
||||
0.06624837,
|
||||
0.063025005,
|
||||
0.050434116,
|
||||
0.033736084,
|
||||
-0.0058885855,
|
||||
-0.069622226,
|
||||
0.12551048,
|
||||
0.021380005,
|
||||
0.07413853,
|
||||
0.0342258,
|
||||
-0.045818888,
|
||||
0.014834041,
|
||||
-0.012672501,
|
||||
0.0036430089,
|
||||
-0.08024709,
|
||||
0.06730083,
|
||||
-0.056032285,
|
||||
-0.086702436,
|
||||
-0.027874194,
|
||||
-0.03391202,
|
||||
-0.03872441,
|
||||
-0.07792124,
|
||||
-0.017794719,
|
||||
0.061800934,
|
||||
0.014696384,
|
||||
0.019996569,
|
||||
-0.08146178,
|
||||
0.052340467,
|
||||
0.06287676,
|
||||
-0.0015751559,
|
||||
0.040512506,
|
||||
-0.027605608,
|
||||
-0.009630798,
|
||||
-0.017303543,
|
||||
0.11392578,
|
||||
0.044186074,
|
||||
0.035317622,
|
||||
0.12113664,
|
||||
0.018812222,
|
||||
0.049269576,
|
||||
-0.036081262,
|
||||
0.07789768,
|
||||
-0.0296637,
|
||||
-0.07068735,
|
||||
-0.006731622,
|
||||
0.0060941395,
|
||||
0.042274125,
|
||||
-0.039680813,
|
||||
-0.048600707,
|
||||
-0.03980193,
|
||||
0.032409266,
|
||||
0.03371183,
|
||||
-0.092499994,
|
||||
-0.049876206,
|
||||
-0.06597403,
|
||||
-0.042388365,
|
||||
0.031259395,
|
||||
0.011791109,
|
||||
-0.04424881,
|
||||
0.04685171,
|
||||
-0.12302249,
|
||||
-0.034650978,
|
||||
-0.01387166,
|
||||
-0.13122807,
|
||||
0.1448325,
|
||||
0.0056148693,
|
||||
-0.0031096544,
|
||||
0.022904772,
|
||||
-0.07642485,
|
||||
0.016454488,
|
||||
-0.019540928,
|
||||
-0.024970472,
|
||||
-0.068574235,
|
||||
0.07073104,
|
||||
0.026643677,
|
||||
-0.035163663,
|
||||
-0.0015607082,
|
||||
0.029314166,
|
||||
-0.08943546,
|
||||
-0.022545528,
|
||||
-0.031130569,
|
||||
0.053781237,
|
||||
0.007896568,
|
||||
0.023091432,
|
||||
-0.0043701245,
|
||||
0.05380369,
|
||||
0.01729408,
|
||||
0.05636822,
|
||||
-0.05328019,
|
||||
-1.3478804e-08,
|
||||
-0.039678477,
|
||||
0.013365443,
|
||||
0.036817312,
|
||||
0.009736139,
|
||||
0.004703614,
|
||||
0.06661744,
|
||||
0.02291141,
|
||||
-0.047423527,
|
||||
-0.04049001,
|
||||
0.0068159057,
|
||||
0.008662143,
|
||||
-0.006292634,
|
||||
-0.045681197,
|
||||
-0.06387613,
|
||||
-0.013174571,
|
||||
0.11696965,
|
||||
0.016895585,
|
||||
-0.0013498863,
|
||||
0.023227682,
|
||||
0.022274282,
|
||||
0.07852807,
|
||||
-0.04508963,
|
||||
-0.009177306,
|
||||
0.06640095,
|
||||
-0.06651727,
|
||||
-0.015498115,
|
||||
0.054094598,
|
||||
0.07642527,
|
||||
0.0082470365,
|
||||
-0.12409585,
|
||||
0.01265297,
|
||||
-0.017635401,
|
||||
-0.020622984,
|
||||
0.03250185,
|
||||
-0.012997484,
|
||||
0.022324847,
|
||||
0.010529934,
|
||||
-0.0883164,
|
||||
0.021471445,
|
||||
-0.0029947716,
|
||||
-0.03183814,
|
||||
0.0718419,
|
||||
0.010377949,
|
||||
0.0035974192,
|
||||
0.048932698,
|
||||
0.07039089,
|
||||
-0.03657371,
|
||||
-0.035186097,
|
||||
-0.03655875,
|
||||
-0.07017832,
|
||||
-0.030322824,
|
||||
0.028595895,
|
||||
-0.019070871,
|
||||
-0.0025186248,
|
||||
0.021279149,
|
||||
0.07436103,
|
||||
-0.114249244,
|
||||
-0.027311146,
|
||||
-0.0107884705,
|
||||
0.010422842,
|
||||
-0.022787437,
|
||||
0.11515081,
|
||||
0.18532182,
|
||||
-0.026544156
|
||||
],
|
||||
"index": 0,
|
||||
"object": "embedding"
|
||||
}
|
||||
],
|
||||
"model": "all-minilm:l6-v2",
|
||||
"object": "list",
|
||||
"usage": {
|
||||
"prompt_tokens": 6,
|
||||
"total_tokens": 6
|
||||
}
|
||||
}
|
||||
},
|
||||
"is_streaming": false
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,59 @@
|
|||
{
|
||||
"test_id": "tests/integration/vector_io/test_openai_vector_stores.py::test_openai_vector_store_search_modes[ollama/llama3.2:3b-instruct-fp16-None-ollama/all-minilm:l6-v2-None-384-vector]",
|
||||
"request": {
|
||||
"method": "POST",
|
||||
"url": "http://localhost:11434/api/ps",
|
||||
"headers": {},
|
||||
"body": {},
|
||||
"endpoint": "/api/ps",
|
||||
"model": ""
|
||||
},
|
||||
"response": {
|
||||
"body": {
|
||||
"__type__": "ollama._types.ProcessResponse",
|
||||
"__data__": {
|
||||
"models": [
|
||||
{
|
||||
"model": "llama-guard3:1b",
|
||||
"name": "llama-guard3:1b",
|
||||
"digest": "494147e06bf99e10dbe67b63a07ac81c162f18ef3341aa3390007ac828571b3b",
|
||||
"expires_at": "2025-10-03T21:16:14.288654-07:00",
|
||||
"size": 2350966784,
|
||||
"size_vram": 2350966784,
|
||||
"details": {
|
||||
"parent_model": "",
|
||||
"format": "gguf",
|
||||
"family": "llama",
|
||||
"families": [
|
||||
"llama"
|
||||
],
|
||||
"parameter_size": "1.5B",
|
||||
"quantization_level": "Q8_0"
|
||||
},
|
||||
"context_length": 4096
|
||||
},
|
||||
{
|
||||
"model": "llama3.2:3b-instruct-fp16",
|
||||
"name": "llama3.2:3b-instruct-fp16",
|
||||
"digest": "195a8c01d91ec3cb1e0aad4624a51f2602c51fa7d96110f8ab5a20c84081804d",
|
||||
"expires_at": "2025-10-03T21:16:13.983283-07:00",
|
||||
"size": 7919570944,
|
||||
"size_vram": 7919570944,
|
||||
"details": {
|
||||
"parent_model": "",
|
||||
"format": "gguf",
|
||||
"family": "llama",
|
||||
"families": [
|
||||
"llama"
|
||||
],
|
||||
"parameter_size": "3.2B",
|
||||
"quantization_level": "F16"
|
||||
},
|
||||
"context_length": 4096
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
"is_streaming": false
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,423 @@
|
|||
{
|
||||
"test_id": "tests/integration/vector_io/test_openai_vector_stores.py::test_openai_vector_store_delete_file[client_with_models-ollama/llama3.2:3b-instruct-fp16-None-ollama/all-minilm:l6-v2-None-384]",
|
||||
"request": {
|
||||
"method": "POST",
|
||||
"url": "http://0.0.0.0:11434/v1/v1/embeddings",
|
||||
"headers": {},
|
||||
"body": {
|
||||
"model": "all-minilm:l6-v2",
|
||||
"input": [
|
||||
"This is a test file 1"
|
||||
],
|
||||
"encoding_format": "float"
|
||||
},
|
||||
"endpoint": "/v1/embeddings",
|
||||
"model": "all-minilm:l6-v2"
|
||||
},
|
||||
"response": {
|
||||
"body": {
|
||||
"__type__": "openai.types.create_embedding_response.CreateEmbeddingResponse",
|
||||
"__data__": {
|
||||
"data": [
|
||||
{
|
||||
"embedding": [
|
||||
-0.055990793,
|
||||
0.076004684,
|
||||
-0.09247725,
|
||||
0.014340361,
|
||||
0.058780864,
|
||||
-0.032434482,
|
||||
0.020954052,
|
||||
0.028818125,
|
||||
-0.06591213,
|
||||
0.013541593,
|
||||
0.12999941,
|
||||
0.004603084,
|
||||
-0.0069239275,
|
||||
-0.055457443,
|
||||
-0.047553156,
|
||||
-0.029139794,
|
||||
-0.12236376,
|
||||
-0.05360872,
|
||||
-0.014706594,
|
||||
0.05984688,
|
||||
0.034442738,
|
||||
0.02076038,
|
||||
-0.048697792,
|
||||
0.0135388365,
|
||||
0.058592733,
|
||||
-0.003076384,
|
||||
-0.031565297,
|
||||
0.082541116,
|
||||
-0.031259205,
|
||||
-0.12057633,
|
||||
0.038319625,
|
||||
0.06574785,
|
||||
0.06415721,
|
||||
0.038382582,
|
||||
0.12570712,
|
||||
0.03108174,
|
||||
0.10821103,
|
||||
-0.0019794356,
|
||||
-0.024704305,
|
||||
0.028765837,
|
||||
0.01268161,
|
||||
-0.039844505,
|
||||
0.043253522,
|
||||
-0.015898596,
|
||||
-0.0135526005,
|
||||
-0.0050831717,
|
||||
-0.007911988,
|
||||
0.039783813,
|
||||
0.0036548872,
|
||||
-0.033632487,
|
||||
-0.058547974,
|
||||
0.0048877494,
|
||||
-0.089586094,
|
||||
-0.010457663,
|
||||
0.059202507,
|
||||
-0.020414542,
|
||||
0.014278556,
|
||||
0.013986488,
|
||||
-0.0046022516,
|
||||
0.0383391,
|
||||
0.0048145773,
|
||||
0.029772853,
|
||||
-0.020863408,
|
||||
0.018640704,
|
||||
0.12422993,
|
||||
-0.023236223,
|
||||
-0.040323637,
|
||||
-0.023598222,
|
||||
-0.007448043,
|
||||
-0.09083128,
|
||||
-0.16859712,
|
||||
0.01012451,
|
||||
-0.035808884,
|
||||
0.010595173,
|
||||
-0.02050494,
|
||||
0.0020821376,
|
||||
-0.10925222,
|
||||
0.00793264,
|
||||
0.048889533,
|
||||
-0.11391199,
|
||||
-0.06072707,
|
||||
-0.13435508,
|
||||
0.0063265716,
|
||||
-0.008838073,
|
||||
-0.03153269,
|
||||
0.099169336,
|
||||
0.055310693,
|
||||
0.0068571265,
|
||||
-0.023463152,
|
||||
-0.0031599961,
|
||||
0.036782328,
|
||||
0.014336826,
|
||||
0.022220163,
|
||||
0.047114056,
|
||||
0.007079763,
|
||||
0.06806425,
|
||||
0.01851431,
|
||||
0.040882625,
|
||||
0.055058856,
|
||||
0.09488346,
|
||||
-0.015833577,
|
||||
-7.924328e-05,
|
||||
0.010821554,
|
||||
0.09177704,
|
||||
-0.07464829,
|
||||
-0.06471165,
|
||||
0.07013805,
|
||||
-0.04499751,
|
||||
0.057702336,
|
||||
-0.0260911,
|
||||
0.006323043,
|
||||
-0.09500501,
|
||||
-0.010549514,
|
||||
-0.07887475,
|
||||
0.039744847,
|
||||
-0.04154404,
|
||||
-0.055268157,
|
||||
0.07540271,
|
||||
-0.04667509,
|
||||
0.036143072,
|
||||
0.080297194,
|
||||
-0.036381353,
|
||||
-0.03477274,
|
||||
0.01701203,
|
||||
-0.047007203,
|
||||
-0.06519774,
|
||||
0.062141683,
|
||||
-4.222482e-33,
|
||||
-0.0017580023,
|
||||
-0.09383388,
|
||||
-0.02982657,
|
||||
0.1257841,
|
||||
0.03802007,
|
||||
-0.03654342,
|
||||
0.0060920226,
|
||||
0.05906885,
|
||||
-0.11074452,
|
||||
0.005664566,
|
||||
-0.0259852,
|
||||
-0.074819505,
|
||||
0.008342821,
|
||||
0.027451068,
|
||||
-0.05248069,
|
||||
0.02401768,
|
||||
-0.004380289,
|
||||
0.039321493,
|
||||
-0.04213744,
|
||||
-0.027290314,
|
||||
0.054677974,
|
||||
0.02707243,
|
||||
-0.03329442,
|
||||
-0.060589895,
|
||||
-0.050737355,
|
||||
0.017969057,
|
||||
-0.0035060972,
|
||||
-0.04666249,
|
||||
0.073946096,
|
||||
0.01333894,
|
||||
-0.0033873583,
|
||||
-0.046544433,
|
||||
-0.060105033,
|
||||
0.03406923,
|
||||
0.001542676,
|
||||
0.039177947,
|
||||
0.03989323,
|
||||
-0.012346489,
|
||||
-0.030511485,
|
||||
-0.0019157606,
|
||||
-0.014608986,
|
||||
-0.012997742,
|
||||
0.019522104,
|
||||
-0.022349002,
|
||||
0.074362256,
|
||||
-0.053366993,
|
||||
-0.023993475,
|
||||
0.029225096,
|
||||
0.027534606,
|
||||
0.015111057,
|
||||
-0.020442221,
|
||||
0.043327376,
|
||||
0.019660354,
|
||||
0.017330697,
|
||||
-0.0035011724,
|
||||
0.019482937,
|
||||
-0.0003428041,
|
||||
0.0004143988,
|
||||
-0.005117252,
|
||||
0.06624799,
|
||||
0.027922852,
|
||||
0.041020587,
|
||||
-0.067166425,
|
||||
0.028737254,
|
||||
-0.03478325,
|
||||
-0.055551115,
|
||||
-0.032713737,
|
||||
-0.08099247,
|
||||
0.09216284,
|
||||
0.06395264,
|
||||
-0.049168136,
|
||||
-0.039908994,
|
||||
0.036915958,
|
||||
-0.001602359,
|
||||
0.00033041168,
|
||||
-0.026015632,
|
||||
-0.005999889,
|
||||
0.05474541,
|
||||
-0.09568287,
|
||||
-0.05186289,
|
||||
-0.048838183,
|
||||
-0.08639551,
|
||||
-0.034023147,
|
||||
-0.033257127,
|
||||
-0.05651867,
|
||||
-0.051131375,
|
||||
0.00809173,
|
||||
-0.08581851,
|
||||
0.06507323,
|
||||
-0.085427366,
|
||||
0.027997404,
|
||||
0.029847065,
|
||||
-0.031673994,
|
||||
-0.08560956,
|
||||
0.1017672,
|
||||
2.1855676e-33,
|
||||
0.01160785,
|
||||
0.077607885,
|
||||
-0.017380483,
|
||||
0.005239329,
|
||||
0.0009684126,
|
||||
0.06543702,
|
||||
0.07256893,
|
||||
-0.044318836,
|
||||
-0.04749324,
|
||||
0.14031002,
|
||||
-0.025741624,
|
||||
0.0057860985,
|
||||
0.040946104,
|
||||
-0.054880083,
|
||||
0.074413285,
|
||||
-0.023610368,
|
||||
0.018364722,
|
||||
-0.060585637,
|
||||
-0.044149306,
|
||||
0.0027854694,
|
||||
-0.04580664,
|
||||
0.1172219,
|
||||
0.10268574,
|
||||
0.07907412,
|
||||
-0.0466143,
|
||||
0.018618405,
|
||||
0.029834948,
|
||||
0.037265483,
|
||||
0.02273822,
|
||||
-0.0026589038,
|
||||
0.041726097,
|
||||
0.06439532,
|
||||
-0.089163445,
|
||||
0.018188318,
|
||||
0.024064727,
|
||||
-0.096389584,
|
||||
0.08642254,
|
||||
-0.05389359,
|
||||
0.01923105,
|
||||
0.045092683,
|
||||
0.045125954,
|
||||
0.09655961,
|
||||
0.014908797,
|
||||
0.059611585,
|
||||
0.03066662,
|
||||
0.05882299,
|
||||
0.111484826,
|
||||
0.016632542,
|
||||
0.011590394,
|
||||
-0.023702666,
|
||||
-0.008617484,
|
||||
-0.055030316,
|
||||
0.047606383,
|
||||
-0.014632687,
|
||||
-0.014156344,
|
||||
0.069926,
|
||||
0.032047603,
|
||||
0.042642817,
|
||||
-0.053942375,
|
||||
0.031047028,
|
||||
0.009216673,
|
||||
0.033024028,
|
||||
-0.019033706,
|
||||
0.005568194,
|
||||
-0.014985451,
|
||||
-0.09193244,
|
||||
-0.03210824,
|
||||
0.015367608,
|
||||
0.029150328,
|
||||
0.01250386,
|
||||
-0.004827391,
|
||||
0.023345906,
|
||||
-0.028271332,
|
||||
-0.08454125,
|
||||
0.051068563,
|
||||
-0.0133641455,
|
||||
-0.029022738,
|
||||
-0.02258452,
|
||||
0.010884119,
|
||||
-0.009810021,
|
||||
0.049751773,
|
||||
-0.0032637494,
|
||||
-0.038813565,
|
||||
0.027924104,
|
||||
0.017925078,
|
||||
0.005337612,
|
||||
0.058691237,
|
||||
0.09577674,
|
||||
-0.014308608,
|
||||
0.006972794,
|
||||
-0.02733344,
|
||||
0.06912433,
|
||||
0.05727631,
|
||||
0.03206042,
|
||||
0.0042422824,
|
||||
-1.6766318e-08,
|
||||
-0.036354303,
|
||||
-0.09146416,
|
||||
-0.026319364,
|
||||
-0.007941995,
|
||||
-0.024127059,
|
||||
0.09896698,
|
||||
-0.04723083,
|
||||
-0.03767135,
|
||||
-0.029419973,
|
||||
-0.022513283,
|
||||
0.04125822,
|
||||
-0.0011487947,
|
||||
-0.05570366,
|
||||
0.020679709,
|
||||
-0.038118906,
|
||||
-0.0524994,
|
||||
-0.02624128,
|
||||
-0.05336954,
|
||||
-0.040593866,
|
||||
-0.0073642326,
|
||||
-0.0014442836,
|
||||
0.02714257,
|
||||
0.027141048,
|
||||
0.00932513,
|
||||
-0.00026505854,
|
||||
0.038233075,
|
||||
0.037096914,
|
||||
0.08405413,
|
||||
-0.06340637,
|
||||
-0.014856458,
|
||||
0.05038612,
|
||||
0.06703033,
|
||||
0.027668556,
|
||||
-0.04360097,
|
||||
-0.012041474,
|
||||
0.08500689,
|
||||
0.111594744,
|
||||
0.1046117,
|
||||
0.019726463,
|
||||
-0.0003025109,
|
||||
-0.04110389,
|
||||
0.009575226,
|
||||
-0.05285304,
|
||||
-0.0026365265,
|
||||
-0.031144748,
|
||||
-0.08860188,
|
||||
-0.06762232,
|
||||
-0.07451522,
|
||||
-0.053012833,
|
||||
-0.09560941,
|
||||
-0.05273455,
|
||||
0.013032144,
|
||||
0.0029190276,
|
||||
0.041905046,
|
||||
-0.04522114,
|
||||
0.016730292,
|
||||
0.017214278,
|
||||
0.021578068,
|
||||
-0.03718778,
|
||||
0.02353425,
|
||||
0.052041385,
|
||||
0.06444499,
|
||||
0.02387539,
|
||||
-0.025236009
|
||||
],
|
||||
"index": 0,
|
||||
"object": "embedding"
|
||||
}
|
||||
],
|
||||
"model": "all-minilm:l6-v2",
|
||||
"object": "list",
|
||||
"usage": {
|
||||
"prompt_tokens": 6,
|
||||
"total_tokens": 6
|
||||
}
|
||||
}
|
||||
},
|
||||
"is_streaming": false
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,423 @@
|
|||
{
|
||||
"test_id": "tests/integration/vector_io/test_vector_io.py::test_insert_chunks[emb=ollama/all-minilm:l6-v2:dim=384-test_case2]",
|
||||
"request": {
|
||||
"method": "POST",
|
||||
"url": "http://0.0.0.0:11434/v1/v1/embeddings",
|
||||
"headers": {},
|
||||
"body": {
|
||||
"model": "all-minilm:l6-v2",
|
||||
"input": [
|
||||
"What is the capital of France?"
|
||||
],
|
||||
"encoding_format": "float"
|
||||
},
|
||||
"endpoint": "/v1/embeddings",
|
||||
"model": "all-minilm:l6-v2"
|
||||
},
|
||||
"response": {
|
||||
"body": {
|
||||
"__type__": "openai.types.create_embedding_response.CreateEmbeddingResponse",
|
||||
"__data__": {
|
||||
"data": [
|
||||
{
|
||||
"embedding": [
|
||||
0.082037136,
|
||||
0.03605009,
|
||||
-0.003858349,
|
||||
-0.0048745335,
|
||||
0.025680654,
|
||||
-0.05718634,
|
||||
0.012181495,
|
||||
0.0046627503,
|
||||
0.03504826,
|
||||
-0.022433529,
|
||||
-0.008051872,
|
||||
-0.10929119,
|
||||
0.022724133,
|
||||
-0.029288922,
|
||||
-0.043489166,
|
||||
-0.120253265,
|
||||
-0.00086341135,
|
||||
-0.018151222,
|
||||
0.0561967,
|
||||
0.00309959,
|
||||
0.0022962212,
|
||||
-0.016878856,
|
||||
0.06362854,
|
||||
-0.02366614,
|
||||
0.031488717,
|
||||
-0.034919456,
|
||||
-0.020573795,
|
||||
-0.002815633,
|
||||
-0.011089214,
|
||||
-0.036135226,
|
||||
0.054130327,
|
||||
-0.036599707,
|
||||
-0.025023036,
|
||||
-0.038259722,
|
||||
-0.049688417,
|
||||
-0.015200446,
|
||||
0.021407988,
|
||||
-0.0127598485,
|
||||
0.07668212,
|
||||
0.044370703,
|
||||
-0.0108555285,
|
||||
-0.02972891,
|
||||
-0.016925987,
|
||||
-0.024663594,
|
||||
0.008030216,
|
||||
0.043554515,
|
||||
0.0071516195,
|
||||
0.07550263,
|
||||
0.032855336,
|
||||
-0.062009048,
|
||||
0.066706404,
|
||||
0.027028719,
|
||||
-0.04570193,
|
||||
-0.03146736,
|
||||
-0.031145794,
|
||||
0.091601126,
|
||||
-0.0017914127,
|
||||
-0.011287448,
|
||||
0.03652323,
|
||||
0.05692562,
|
||||
0.0023244114,
|
||||
-0.037794005,
|
||||
-0.015485576,
|
||||
0.05239373,
|
||||
0.060352743,
|
||||
-0.01656626,
|
||||
0.008852838,
|
||||
-0.0066740657,
|
||||
-0.10624023,
|
||||
0.0016855119,
|
||||
-0.04846779,
|
||||
-0.029726079,
|
||||
0.004318477,
|
||||
-0.08570177,
|
||||
0.066239014,
|
||||
-0.055177763,
|
||||
-0.113279216,
|
||||
0.050822813,
|
||||
-0.0093511855,
|
||||
0.0059375227,
|
||||
0.020984603,
|
||||
-0.022525566,
|
||||
0.00049133686,
|
||||
0.056391854,
|
||||
0.045508638,
|
||||
-0.005227753,
|
||||
0.09361666,
|
||||
0.027507791,
|
||||
0.02937236,
|
||||
-0.045665868,
|
||||
-0.048981518,
|
||||
0.0014411878,
|
||||
-0.012885078,
|
||||
0.079774186,
|
||||
-0.119063824,
|
||||
0.06878127,
|
||||
-0.022768173,
|
||||
0.044935144,
|
||||
-0.081365064,
|
||||
0.0439928,
|
||||
0.002936521,
|
||||
0.01760215,
|
||||
0.08313044,
|
||||
-0.018089816,
|
||||
-0.04793947,
|
||||
0.058759455,
|
||||
0.0062854686,
|
||||
-0.014705522,
|
||||
-0.0072833668,
|
||||
-0.078145795,
|
||||
-0.10076618,
|
||||
-0.03352427,
|
||||
-0.0008879286,
|
||||
-0.05110566,
|
||||
0.027157873,
|
||||
0.07079609,
|
||||
0.04741029,
|
||||
-0.10456867,
|
||||
0.0044786637,
|
||||
-0.028797852,
|
||||
-0.018375952,
|
||||
-0.050554108,
|
||||
-0.031530026,
|
||||
-0.009527807,
|
||||
-0.060606185,
|
||||
0.021066627,
|
||||
-0.046673466,
|
||||
-7.760674e-33,
|
||||
-0.03134469,
|
||||
0.056437604,
|
||||
0.07740162,
|
||||
0.063869186,
|
||||
-0.04665667,
|
||||
-0.0076621915,
|
||||
-0.055314656,
|
||||
0.040249433,
|
||||
-0.03159584,
|
||||
-0.0070865196,
|
||||
0.0394448,
|
||||
-0.13172099,
|
||||
-0.06611813,
|
||||
0.021771116,
|
||||
0.09699056,
|
||||
0.011762843,
|
||||
0.08904323,
|
||||
0.034680966,
|
||||
-0.043843478,
|
||||
-0.00029840716,
|
||||
0.014667039,
|
||||
-0.0027011412,
|
||||
-0.0033179414,
|
||||
0.017366407,
|
||||
0.060072616,
|
||||
0.039403416,
|
||||
-0.0017028108,
|
||||
0.07735126,
|
||||
0.01458652,
|
||||
-0.0022484495,
|
||||
-0.0018689616,
|
||||
0.015051134,
|
||||
0.021683147,
|
||||
0.00743522,
|
||||
0.018044684,
|
||||
0.049780875,
|
||||
0.012682762,
|
||||
-0.0025319885,
|
||||
0.04345311,
|
||||
0.062966056,
|
||||
0.06655509,
|
||||
-0.036332715,
|
||||
-0.03873148,
|
||||
0.04407342,
|
||||
0.005618046,
|
||||
0.005606404,
|
||||
-0.03491582,
|
||||
-0.071468666,
|
||||
0.100827605,
|
||||
-0.02480599,
|
||||
0.014779361,
|
||||
-0.025853567,
|
||||
-0.07272276,
|
||||
-0.017332677,
|
||||
0.026024899,
|
||||
0.1141519,
|
||||
-0.0709077,
|
||||
0.017926728,
|
||||
-0.0033771452,
|
||||
0.008450764,
|
||||
-0.0031734016,
|
||||
0.0058758706,
|
||||
-0.022959052,
|
||||
0.07754777,
|
||||
0.034691088,
|
||||
0.087492526,
|
||||
0.04631641,
|
||||
0.018653069,
|
||||
0.011075838,
|
||||
-0.045833264,
|
||||
-0.04647619,
|
||||
0.026525397,
|
||||
0.073937215,
|
||||
0.0656064,
|
||||
0.0626801,
|
||||
0.07236128,
|
||||
-0.008934351,
|
||||
-0.035436727,
|
||||
-0.0053167064,
|
||||
-0.0031780244,
|
||||
-0.03794062,
|
||||
-0.04136672,
|
||||
-0.096589684,
|
||||
0.044174723,
|
||||
-0.03346829,
|
||||
-0.0714272,
|
||||
-0.011707928,
|
||||
-0.0071373517,
|
||||
0.00062674406,
|
||||
-0.08837231,
|
||||
-0.11327292,
|
||||
-0.121232145,
|
||||
-0.0013483085,
|
||||
-0.044267938,
|
||||
-0.0866299,
|
||||
3.9974636e-33,
|
||||
0.025347712,
|
||||
-0.0026484786,
|
||||
-0.081128426,
|
||||
0.025477463,
|
||||
0.0013318929,
|
||||
0.016020615,
|
||||
0.09553763,
|
||||
0.03323222,
|
||||
-0.012020247,
|
||||
0.01704576,
|
||||
-0.08304897,
|
||||
-0.12452585,
|
||||
0.043876667,
|
||||
0.012038639,
|
||||
0.065846756,
|
||||
0.10058584,
|
||||
0.07289197,
|
||||
-0.02691023,
|
||||
-0.032209095,
|
||||
-0.05359179,
|
||||
-0.12634858,
|
||||
0.0054822033,
|
||||
-0.035338957,
|
||||
-0.0042626564,
|
||||
-0.02503011,
|
||||
0.041566424,
|
||||
-0.09993105,
|
||||
-0.047632236,
|
||||
-0.023974935,
|
||||
0.0026521643,
|
||||
-0.05512872,
|
||||
0.013588852,
|
||||
0.048989374,
|
||||
0.08497172,
|
||||
-0.04203127,
|
||||
0.07672574,
|
||||
0.033201486,
|
||||
0.0012890669,
|
||||
0.039995532,
|
||||
0.06453696,
|
||||
-0.043386992,
|
||||
-0.04967135,
|
||||
0.05796046,
|
||||
0.11259055,
|
||||
0.07072716,
|
||||
0.008217265,
|
||||
0.043992482,
|
||||
-0.022529528,
|
||||
-0.007255873,
|
||||
0.049954277,
|
||||
0.03863772,
|
||||
0.067863524,
|
||||
-0.040989004,
|
||||
0.0057252604,
|
||||
0.01790208,
|
||||
0.049277905,
|
||||
-0.051399034,
|
||||
0.051036645,
|
||||
-0.09386299,
|
||||
-0.06816727,
|
||||
0.06536689,
|
||||
0.075451665,
|
||||
-0.016844928,
|
||||
0.066079356,
|
||||
-0.002883201,
|
||||
-0.02066376,
|
||||
-0.12701727,
|
||||
0.061581187,
|
||||
-0.009843711,
|
||||
-0.014696306,
|
||||
0.13543285,
|
||||
0.034152385,
|
||||
-0.064830035,
|
||||
0.050995078,
|
||||
-0.06642675,
|
||||
0.02918273,
|
||||
0.0794261,
|
||||
0.014402853,
|
||||
-0.0273022,
|
||||
0.0053402875,
|
||||
-0.067574784,
|
||||
-0.020469556,
|
||||
-0.027134288,
|
||||
-0.026119156,
|
||||
-0.07057518,
|
||||
0.034702294,
|
||||
0.0075764027,
|
||||
-0.102168776,
|
||||
0.058453083,
|
||||
-0.074793324,
|
||||
-0.022044567,
|
||||
-0.006830346,
|
||||
-0.051225647,
|
||||
-0.03697986,
|
||||
0.025650427,
|
||||
-1.7504691e-08,
|
||||
0.06810578,
|
||||
0.04502295,
|
||||
-0.04405543,
|
||||
0.012894445,
|
||||
-0.05787301,
|
||||
-0.09544731,
|
||||
0.062167827,
|
||||
-0.00424131,
|
||||
-0.008617457,
|
||||
0.00019244938,
|
||||
-0.07362401,
|
||||
0.056028713,
|
||||
-0.06966302,
|
||||
-0.051120024,
|
||||
-0.04107452,
|
||||
-0.0047826064,
|
||||
-0.032448206,
|
||||
0.043075,
|
||||
0.008685862,
|
||||
0.022739133,
|
||||
-0.004866129,
|
||||
0.023324043,
|
||||
-0.045655783,
|
||||
-0.058080837,
|
||||
0.012551997,
|
||||
-0.09902558,
|
||||
0.040637206,
|
||||
0.045673274,
|
||||
0.0027036674,
|
||||
-0.005293385,
|
||||
0.06631416,
|
||||
-0.027342914,
|
||||
-0.05006773,
|
||||
-0.09028891,
|
||||
-0.036147803,
|
||||
0.012678981,
|
||||
-0.005860591,
|
||||
-0.0049548894,
|
||||
0.009455272,
|
||||
-0.029030358,
|
||||
0.09503264,
|
||||
0.061976723,
|
||||
0.012456961,
|
||||
-0.011967612,
|
||||
0.024475172,
|
||||
0.045389146,
|
||||
0.05380351,
|
||||
-0.035200197,
|
||||
0.11459815,
|
||||
-0.08903123,
|
||||
-0.111395806,
|
||||
0.09941666,
|
||||
0.0039118743,
|
||||
0.004477415,
|
||||
0.0033548488,
|
||||
0.07087783,
|
||||
-0.051348306,
|
||||
-0.012647007,
|
||||
0.021842662,
|
||||
-0.02008024,
|
||||
-0.0149204545,
|
||||
0.049170345,
|
||||
0.08937761,
|
||||
-0.011069278
|
||||
],
|
||||
"index": 0,
|
||||
"object": "embedding"
|
||||
}
|
||||
],
|
||||
"model": "all-minilm:l6-v2",
|
||||
"object": "list",
|
||||
"usage": {
|
||||
"prompt_tokens": 7,
|
||||
"total_tokens": 7
|
||||
}
|
||||
}
|
||||
},
|
||||
"is_streaming": false
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,423 @@
|
|||
{
|
||||
"test_id": "tests/integration/vector_io/test_openai_vector_stores.py::test_openai_vector_store_attach_files_on_creation[client_with_models-ollama/llama3.2:3b-instruct-fp16-None-ollama/all-minilm:l6-v2-None-384]",
|
||||
"request": {
|
||||
"method": "POST",
|
||||
"url": "http://0.0.0.0:11434/v1/v1/embeddings",
|
||||
"headers": {},
|
||||
"body": {
|
||||
"model": "all-minilm:l6-v2",
|
||||
"input": [
|
||||
"This is a test file 2"
|
||||
],
|
||||
"encoding_format": "float"
|
||||
},
|
||||
"endpoint": "/v1/embeddings",
|
||||
"model": "all-minilm:l6-v2"
|
||||
},
|
||||
"response": {
|
||||
"body": {
|
||||
"__type__": "openai.types.create_embedding_response.CreateEmbeddingResponse",
|
||||
"__data__": {
|
||||
"data": [
|
||||
{
|
||||
"embedding": [
|
||||
-0.028407024,
|
||||
0.08176727,
|
||||
-0.07856116,
|
||||
0.027924549,
|
||||
0.05008439,
|
||||
-0.035268802,
|
||||
-0.0040619136,
|
||||
0.029315198,
|
||||
-0.05775003,
|
||||
0.013769637,
|
||||
0.14610882,
|
||||
-0.012019041,
|
||||
-0.024392882,
|
||||
-0.05509032,
|
||||
-0.02661779,
|
||||
-0.013253934,
|
||||
-0.109151706,
|
||||
-0.037233494,
|
||||
-0.0036058167,
|
||||
0.04766495,
|
||||
0.06212885,
|
||||
0.0070259646,
|
||||
-0.015513743,
|
||||
-0.008010851,
|
||||
0.037648663,
|
||||
0.01587603,
|
||||
-0.041856695,
|
||||
0.09732178,
|
||||
-0.025641596,
|
||||
-0.11368298,
|
||||
0.03550726,
|
||||
0.07043342,
|
||||
0.016779423,
|
||||
0.02220752,
|
||||
0.123395406,
|
||||
0.0077137193,
|
||||
0.12550895,
|
||||
0.008077936,
|
||||
-0.026158499,
|
||||
0.0028612812,
|
||||
0.018155744,
|
||||
-0.04666325,
|
||||
0.041025575,
|
||||
0.0013476727,
|
||||
0.0019516364,
|
||||
0.008663665,
|
||||
0.016689047,
|
||||
0.02200178,
|
||||
0.0020768014,
|
||||
-0.032861207,
|
||||
-0.086455174,
|
||||
0.008047145,
|
||||
-0.07434091,
|
||||
-0.016292974,
|
||||
0.06051878,
|
||||
0.005966867,
|
||||
0.0160179,
|
||||
0.021412006,
|
||||
0.009540338,
|
||||
0.03177335,
|
||||
0.023032434,
|
||||
0.03437097,
|
||||
-0.04224765,
|
||||
0.024748176,
|
||||
0.116213955,
|
||||
-0.024936162,
|
||||
-0.03895259,
|
||||
-0.024991278,
|
||||
-0.020854436,
|
||||
-0.08835937,
|
||||
-0.15073228,
|
||||
0.020921277,
|
||||
-0.022518696,
|
||||
0.0023868105,
|
||||
0.0057663955,
|
||||
-0.0015790414,
|
||||
-0.11985628,
|
||||
-0.0029912454,
|
||||
0.0550998,
|
||||
-0.11830636,
|
||||
-0.058846988,
|
||||
-0.15046737,
|
||||
0.018624697,
|
||||
-0.0093440395,
|
||||
-0.028901154,
|
||||
0.08400474,
|
||||
0.0437436,
|
||||
-0.0006745939,
|
||||
-0.052540295,
|
||||
0.00024754918,
|
||||
0.040431518,
|
||||
0.0066545215,
|
||||
0.02609114,
|
||||
0.051891107,
|
||||
0.012606882,
|
||||
0.061448827,
|
||||
0.013889043,
|
||||
0.038454182,
|
||||
0.048222367,
|
||||
0.104106456,
|
||||
-0.026478294,
|
||||
-0.021488149,
|
||||
-0.020865437,
|
||||
0.05061779,
|
||||
-0.05171592,
|
||||
-0.07573864,
|
||||
0.057483904,
|
||||
-0.049993664,
|
||||
0.06528295,
|
||||
-0.02875688,
|
||||
0.038766492,
|
||||
-0.062760465,
|
||||
-0.0144796055,
|
||||
-0.063462086,
|
||||
0.06642258,
|
||||
-0.014848135,
|
||||
-0.03523116,
|
||||
0.0774014,
|
||||
-0.039893247,
|
||||
0.032182425,
|
||||
0.10171478,
|
||||
-0.022525396,
|
||||
-0.059299074,
|
||||
0.00038746602,
|
||||
-0.05779858,
|
||||
-0.07034273,
|
||||
0.06375495,
|
||||
-4.088634e-33,
|
||||
-0.021801252,
|
||||
-0.07985834,
|
||||
-0.013881648,
|
||||
0.14923096,
|
||||
0.02520313,
|
||||
-0.042283125,
|
||||
-0.0067697223,
|
||||
0.054634638,
|
||||
-0.09223034,
|
||||
0.0081036305,
|
||||
-0.03861765,
|
||||
-0.117698364,
|
||||
0.012977803,
|
||||
0.034548674,
|
||||
-0.01703291,
|
||||
0.011910173,
|
||||
0.012945288,
|
||||
0.04277919,
|
||||
-0.017591223,
|
||||
-0.0184066,
|
||||
0.06513148,
|
||||
0.04050013,
|
||||
-0.02252127,
|
||||
-0.060939074,
|
||||
-0.018603502,
|
||||
0.011679816,
|
||||
0.01410369,
|
||||
-0.06763908,
|
||||
0.08543174,
|
||||
0.030138582,
|
||||
0.010859261,
|
||||
-0.054844614,
|
||||
-0.024129191,
|
||||
0.048327282,
|
||||
0.00750549,
|
||||
0.013356204,
|
||||
0.024558878,
|
||||
-0.005942624,
|
||||
-0.045620095,
|
||||
-0.00484637,
|
||||
0.004418298,
|
||||
-0.0023806267,
|
||||
0.013590539,
|
||||
-0.016870445,
|
||||
0.06959721,
|
||||
-0.07736302,
|
||||
0.02058481,
|
||||
0.0048155314,
|
||||
0.055696823,
|
||||
0.0131223425,
|
||||
-0.011748222,
|
||||
0.040935397,
|
||||
0.007458848,
|
||||
0.042072233,
|
||||
0.010358565,
|
||||
0.019406458,
|
||||
0.011092792,
|
||||
0.017259602,
|
||||
0.018278012,
|
||||
0.077335365,
|
||||
0.019612921,
|
||||
0.05268688,
|
||||
-0.05863009,
|
||||
0.039751627,
|
||||
-0.050250556,
|
||||
-0.048913844,
|
||||
-0.05265637,
|
||||
-0.09227304,
|
||||
0.0755598,
|
||||
0.08097828,
|
||||
-0.022257954,
|
||||
-0.042141132,
|
||||
0.056546185,
|
||||
0.023585746,
|
||||
0.0015263582,
|
||||
-0.049815144,
|
||||
0.002336895,
|
||||
0.028626408,
|
||||
-0.06897293,
|
||||
-0.04780049,
|
||||
-0.048637427,
|
||||
-0.076585636,
|
||||
-0.03285766,
|
||||
-0.046012525,
|
||||
-0.0573021,
|
||||
-0.080889866,
|
||||
-0.008056378,
|
||||
-0.0936112,
|
||||
0.051229417,
|
||||
-0.058302302,
|
||||
-0.0005942833,
|
||||
0.02222621,
|
||||
-0.046907477,
|
||||
-0.08964737,
|
||||
0.1195762,
|
||||
2.0452953e-33,
|
||||
0.012159685,
|
||||
0.086426094,
|
||||
-0.023217503,
|
||||
0.002771192,
|
||||
-0.0010614472,
|
||||
0.03487195,
|
||||
0.07328719,
|
||||
-0.049876485,
|
||||
-0.041938163,
|
||||
0.13486409,
|
||||
-0.00690217,
|
||||
0.006254477,
|
||||
0.059122436,
|
||||
-0.028893106,
|
||||
0.09141587,
|
||||
-0.018487127,
|
||||
0.0077112317,
|
||||
-0.044207573,
|
||||
-0.0251735,
|
||||
-0.014999972,
|
||||
-0.035417248,
|
||||
0.12413253,
|
||||
0.13118097,
|
||||
0.081015825,
|
||||
-0.03327241,
|
||||
0.003976432,
|
||||
0.026454262,
|
||||
0.026598025,
|
||||
0.017349144,
|
||||
-0.0036153824,
|
||||
0.035460044,
|
||||
0.05956128,
|
||||
-0.124593176,
|
||||
0.021954069,
|
||||
0.025635097,
|
||||
-0.11063109,
|
||||
0.096061416,
|
||||
-0.06731725,
|
||||
-0.011819293,
|
||||
0.042329434,
|
||||
0.03790837,
|
||||
0.10582649,
|
||||
0.0073426333,
|
||||
0.06629678,
|
||||
0.022922922,
|
||||
0.0494007,
|
||||
0.14639522,
|
||||
-0.0067070075,
|
||||
0.004380622,
|
||||
-0.029196544,
|
||||
-0.009010303,
|
||||
-0.08637028,
|
||||
0.03588363,
|
||||
0.0029887543,
|
||||
-0.029351206,
|
||||
0.07019312,
|
||||
0.014898416,
|
||||
0.028345235,
|
||||
-0.040354595,
|
||||
0.01916304,
|
||||
0.015590835,
|
||||
0.028637327,
|
||||
-0.019529723,
|
||||
-0.018309733,
|
||||
-0.0054176697,
|
||||
-0.093132764,
|
||||
-0.06116049,
|
||||
0.038816936,
|
||||
0.02793884,
|
||||
0.034137025,
|
||||
-0.027511358,
|
||||
0.010699668,
|
||||
-0.05521562,
|
||||
-0.07380209,
|
||||
0.021521263,
|
||||
-0.015450832,
|
||||
-0.024988633,
|
||||
-0.004755674,
|
||||
0.030465573,
|
||||
-0.024057997,
|
||||
0.0341225,
|
||||
-0.0103128245,
|
||||
-0.012666524,
|
||||
0.03628323,
|
||||
-0.0044518244,
|
||||
-0.014977736,
|
||||
0.02790076,
|
||||
0.0978009,
|
||||
-0.026436698,
|
||||
-0.005187212,
|
||||
-0.019124882,
|
||||
0.06205225,
|
||||
0.052137945,
|
||||
0.037870288,
|
||||
0.012578256,
|
||||
-1.705626e-08,
|
||||
-0.05000592,
|
||||
-0.08913878,
|
||||
-0.0035273295,
|
||||
-0.01577607,
|
||||
-0.021846429,
|
||||
0.07184407,
|
||||
-0.050185654,
|
||||
-0.010643527,
|
||||
-0.030602882,
|
||||
-0.01577121,
|
||||
0.013220822,
|
||||
-0.0025653532,
|
||||
-0.04210823,
|
||||
0.009286525,
|
||||
-0.041129403,
|
||||
-0.029615805,
|
||||
0.002200794,
|
||||
-0.032989334,
|
||||
-0.05041253,
|
||||
-0.021504797,
|
||||
-0.0068345494,
|
||||
0.0084738685,
|
||||
0.03568697,
|
||||
0.0252117,
|
||||
-0.016504692,
|
||||
0.04915123,
|
||||
0.018349955,
|
||||
0.049084183,
|
||||
-0.058165494,
|
||||
-0.015055481,
|
||||
0.045743454,
|
||||
0.049920842,
|
||||
0.020444298,
|
||||
-0.052004594,
|
||||
-0.033592116,
|
||||
0.061816722,
|
||||
0.111411005,
|
||||
0.07770497,
|
||||
0.022457859,
|
||||
0.0025742552,
|
||||
-0.043929543,
|
||||
0.008576763,
|
||||
-0.036182683,
|
||||
0.029673496,
|
||||
-0.017278075,
|
||||
-0.09458994,
|
||||
-0.057882637,
|
||||
-0.06579892,
|
||||
-0.06124832,
|
||||
-0.10455079,
|
||||
-0.02925637,
|
||||
0.0013624659,
|
||||
0.0060532107,
|
||||
0.04077331,
|
||||
-0.036694046,
|
||||
0.016800206,
|
||||
0.005279432,
|
||||
0.030968234,
|
||||
-0.05446385,
|
||||
0.0048696757,
|
||||
0.070877954,
|
||||
0.06684445,
|
||||
0.017715273,
|
||||
-0.029237686
|
||||
],
|
||||
"index": 0,
|
||||
"object": "embedding"
|
||||
}
|
||||
],
|
||||
"model": "all-minilm:l6-v2",
|
||||
"object": "list",
|
||||
"usage": {
|
||||
"prompt_tokens": 6,
|
||||
"total_tokens": 6
|
||||
}
|
||||
}
|
||||
},
|
||||
"is_streaming": false
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,78 @@
|
|||
{
|
||||
"test_id": "tests/integration/vector_io/test_openai_vector_stores.py::test_openai_vector_store_retrieve_file_contents[client_with_models-ollama/llama3.2:3b-instruct-fp16-None-ollama/all-minilm:l6-v2-None-384]",
|
||||
"request": {
|
||||
"method": "POST",
|
||||
"url": "http://localhost:11434/api/ps",
|
||||
"headers": {},
|
||||
"body": {},
|
||||
"endpoint": "/api/ps",
|
||||
"model": ""
|
||||
},
|
||||
"response": {
|
||||
"body": {
|
||||
"__type__": "ollama._types.ProcessResponse",
|
||||
"__data__": {
|
||||
"models": [
|
||||
{
|
||||
"model": "all-minilm:l6-v2",
|
||||
"name": "all-minilm:l6-v2",
|
||||
"digest": "1b226e2802dbb772b5fc32a58f103ca1804ef7501331012de126ab22f67475ef",
|
||||
"expires_at": "2025-10-03T21:21:10.126762-07:00",
|
||||
"size": 585846784,
|
||||
"size_vram": 585846784,
|
||||
"details": {
|
||||
"parent_model": "",
|
||||
"format": "gguf",
|
||||
"family": "bert",
|
||||
"families": [
|
||||
"bert"
|
||||
],
|
||||
"parameter_size": "23M",
|
||||
"quantization_level": "F16"
|
||||
},
|
||||
"context_length": 256
|
||||
},
|
||||
{
|
||||
"model": "llama3.2:3b-instruct-fp16",
|
||||
"name": "llama3.2:3b-instruct-fp16",
|
||||
"digest": "195a8c01d91ec3cb1e0aad4624a51f2602c51fa7d96110f8ab5a20c84081804d",
|
||||
"expires_at": "2025-10-03T21:20:56.787737-07:00",
|
||||
"size": 7919570944,
|
||||
"size_vram": 7919570944,
|
||||
"details": {
|
||||
"parent_model": "",
|
||||
"format": "gguf",
|
||||
"family": "llama",
|
||||
"families": [
|
||||
"llama"
|
||||
],
|
||||
"parameter_size": "3.2B",
|
||||
"quantization_level": "F16"
|
||||
},
|
||||
"context_length": 4096
|
||||
},
|
||||
{
|
||||
"model": "llama-guard3:1b",
|
||||
"name": "llama-guard3:1b",
|
||||
"digest": "494147e06bf99e10dbe67b63a07ac81c162f18ef3341aa3390007ac828571b3b",
|
||||
"expires_at": "2025-10-03T21:16:14.288654-07:00",
|
||||
"size": 2350966784,
|
||||
"size_vram": 2350966784,
|
||||
"details": {
|
||||
"parent_model": "",
|
||||
"format": "gguf",
|
||||
"family": "llama",
|
||||
"families": [
|
||||
"llama"
|
||||
],
|
||||
"parameter_size": "1.5B",
|
||||
"quantization_level": "Q8_0"
|
||||
},
|
||||
"context_length": 4096
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
"is_streaming": false
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,423 @@
|
|||
{
|
||||
"test_id": "tests/integration/vector_io/test_vector_io.py::test_insert_chunks[emb=ollama/all-minilm:l6-v2:dim=384-test_case3]",
|
||||
"request": {
|
||||
"method": "POST",
|
||||
"url": "http://0.0.0.0:11434/v1/v1/embeddings",
|
||||
"headers": {},
|
||||
"body": {
|
||||
"model": "all-minilm:l6-v2",
|
||||
"input": [
|
||||
"What is the biological inspiration for neural networks?"
|
||||
],
|
||||
"encoding_format": "float"
|
||||
},
|
||||
"endpoint": "/v1/embeddings",
|
||||
"model": "all-minilm:l6-v2"
|
||||
},
|
||||
"response": {
|
||||
"body": {
|
||||
"__type__": "openai.types.create_embedding_response.CreateEmbeddingResponse",
|
||||
"__data__": {
|
||||
"data": [
|
||||
{
|
||||
"embedding": [
|
||||
-0.102330685,
|
||||
-0.08222143,
|
||||
0.023849107,
|
||||
-0.035386752,
|
||||
-0.018475818,
|
||||
0.0578896,
|
||||
-0.031360373,
|
||||
0.03091021,
|
||||
0.07039858,
|
||||
-0.027736196,
|
||||
-0.047167104,
|
||||
-0.0046790815,
|
||||
-0.016752493,
|
||||
0.0173751,
|
||||
-0.10087633,
|
||||
0.026435323,
|
||||
-0.06759769,
|
||||
0.09432078,
|
||||
-0.0208287,
|
||||
-0.022391133,
|
||||
-0.009296815,
|
||||
0.04311602,
|
||||
0.0119217895,
|
||||
0.0086748,
|
||||
-0.047963552,
|
||||
0.06344523,
|
||||
-0.029294455,
|
||||
0.0046546115,
|
||||
0.00050116424,
|
||||
-0.030808281,
|
||||
0.096657984,
|
||||
-0.009569187,
|
||||
0.010736549,
|
||||
0.020487383,
|
||||
-0.08409849,
|
||||
0.05994872,
|
||||
-0.0882803,
|
||||
-0.0016710517,
|
||||
0.021770542,
|
||||
-0.00396551,
|
||||
-0.021723896,
|
||||
-0.01425659,
|
||||
0.04799408,
|
||||
0.015441384,
|
||||
0.097571544,
|
||||
0.010340785,
|
||||
0.02049317,
|
||||
-0.04124913,
|
||||
0.033259537,
|
||||
-0.01397454,
|
||||
-0.08825209,
|
||||
-0.033199053,
|
||||
-0.02127663,
|
||||
0.024476556,
|
||||
0.061298497,
|
||||
0.06117002,
|
||||
-0.026500424,
|
||||
0.015110193,
|
||||
-0.06975388,
|
||||
-0.010423374,
|
||||
0.040201526,
|
||||
-0.0117177935,
|
||||
-0.069048814,
|
||||
0.02080807,
|
||||
0.037834734,
|
||||
0.022597855,
|
||||
-0.055426925,
|
||||
0.023261596,
|
||||
0.08010227,
|
||||
-0.04486483,
|
||||
0.0883864,
|
||||
0.020656507,
|
||||
-0.05141091,
|
||||
0.02588306,
|
||||
0.018273551,
|
||||
0.06560091,
|
||||
0.06508275,
|
||||
0.039803468,
|
||||
0.019714857,
|
||||
-0.07227075,
|
||||
4.2482498e-05,
|
||||
-0.0085583925,
|
||||
0.021982534,
|
||||
0.046294376,
|
||||
0.06426625,
|
||||
0.035296988,
|
||||
0.014716454,
|
||||
0.03063199,
|
||||
-0.07761695,
|
||||
0.0003067794,
|
||||
-0.03412447,
|
||||
-0.024930855,
|
||||
-0.029632322,
|
||||
-0.10677919,
|
||||
-0.060672726,
|
||||
-0.0017783132,
|
||||
-0.02337392,
|
||||
-0.07842998,
|
||||
0.0020828575,
|
||||
0.02887434,
|
||||
-0.028194016,
|
||||
0.00929589,
|
||||
-0.018032415,
|
||||
0.0150065115,
|
||||
0.07563327,
|
||||
-0.01716204,
|
||||
0.06467641,
|
||||
0.0021297722,
|
||||
0.1310825,
|
||||
-0.06148729,
|
||||
-0.064995274,
|
||||
0.05144873,
|
||||
-0.053126894,
|
||||
0.016807107,
|
||||
0.049339898,
|
||||
-0.023128523,
|
||||
0.008750037,
|
||||
-0.01565876,
|
||||
0.0855584,
|
||||
0.07377115,
|
||||
-0.04275256,
|
||||
-0.023523713,
|
||||
-0.102763854,
|
||||
-0.04006283,
|
||||
-0.0374375,
|
||||
0.003610695,
|
||||
-0.15966031,
|
||||
-5.148395e-33,
|
||||
-0.013756277,
|
||||
0.008380514,
|
||||
0.050061867,
|
||||
0.009022877,
|
||||
0.07742807,
|
||||
-0.078416444,
|
||||
0.033923395,
|
||||
-0.07099193,
|
||||
0.07607714,
|
||||
-0.029935367,
|
||||
-0.12365924,
|
||||
0.057388358,
|
||||
-0.017260615,
|
||||
0.1220459,
|
||||
0.07019,
|
||||
-0.07704578,
|
||||
-0.10395857,
|
||||
-0.018809224,
|
||||
0.03343144,
|
||||
-0.070907116,
|
||||
-0.009657422,
|
||||
0.00990411,
|
||||
0.04270812,
|
||||
-0.012363031,
|
||||
-0.045289382,
|
||||
-0.022864757,
|
||||
-0.045476113,
|
||||
0.0120091755,
|
||||
0.00090258307,
|
||||
0.008676922,
|
||||
-0.0048326156,
|
||||
0.045132767,
|
||||
-0.061205026,
|
||||
-0.019018896,
|
||||
0.029649338,
|
||||
0.016980082,
|
||||
0.0224916,
|
||||
-0.0577033,
|
||||
0.039177682,
|
||||
0.055904604,
|
||||
0.022307469,
|
||||
-0.021677727,
|
||||
0.04486529,
|
||||
-0.03850927,
|
||||
0.056779943,
|
||||
0.024314301,
|
||||
-0.038990144,
|
||||
0.007452133,
|
||||
-0.003676962,
|
||||
-0.028577616,
|
||||
-0.008352812,
|
||||
0.012111947,
|
||||
0.032759745,
|
||||
-0.10742359,
|
||||
0.027142446,
|
||||
0.00079298473,
|
||||
-0.03431923,
|
||||
0.0028812038,
|
||||
0.004114752,
|
||||
0.06686275,
|
||||
-0.02113422,
|
||||
0.032334656,
|
||||
-0.0019497788,
|
||||
0.046803083,
|
||||
0.09052381,
|
||||
0.0340555,
|
||||
-0.03683834,
|
||||
-0.08246603,
|
||||
0.038677294,
|
||||
0.039468862,
|
||||
0.007331405,
|
||||
0.052999154,
|
||||
-0.07252041,
|
||||
-0.115630165,
|
||||
-0.065455414,
|
||||
-0.00075357925,
|
||||
-0.04989836,
|
||||
-0.05956273,
|
||||
-0.06453486,
|
||||
0.03599657,
|
||||
-0.024443697,
|
||||
-0.013300746,
|
||||
-0.0654482,
|
||||
0.060042396,
|
||||
-0.044301573,
|
||||
0.076960735,
|
||||
0.04855135,
|
||||
-0.054440822,
|
||||
-0.01842965,
|
||||
-0.0016263687,
|
||||
-0.060962223,
|
||||
-0.038685184,
|
||||
0.06801455,
|
||||
-0.058003865,
|
||||
-0.0803795,
|
||||
3.6119088e-33,
|
||||
-0.08261766,
|
||||
-0.032064464,
|
||||
-0.028822873,
|
||||
0.048930816,
|
||||
0.030817589,
|
||||
0.07780849,
|
||||
-0.02196625,
|
||||
-0.002280137,
|
||||
-0.034250326,
|
||||
0.0806337,
|
||||
0.031109456,
|
||||
0.04716627,
|
||||
0.07164793,
|
||||
-0.0013591237,
|
||||
0.025608243,
|
||||
-0.041621193,
|
||||
-0.05452118,
|
||||
-0.009791562,
|
||||
0.08776599,
|
||||
-0.075233065,
|
||||
0.012744201,
|
||||
0.17171955,
|
||||
-0.07510516,
|
||||
-0.022935094,
|
||||
0.033547398,
|
||||
0.035892926,
|
||||
-0.08415079,
|
||||
0.12037621,
|
||||
-0.03303422,
|
||||
0.034911793,
|
||||
-0.062139686,
|
||||
0.007963575,
|
||||
-0.043843705,
|
||||
0.015013244,
|
||||
0.054410197,
|
||||
0.14011596,
|
||||
0.045027215,
|
||||
-0.005801743,
|
||||
0.017305247,
|
||||
-0.039756194,
|
||||
0.028245239,
|
||||
0.014228499,
|
||||
0.012697823,
|
||||
0.030635843,
|
||||
0.039057273,
|
||||
-0.044624396,
|
||||
-0.05224932,
|
||||
0.040863708,
|
||||
-0.040199704,
|
||||
0.061844826,
|
||||
0.055033505,
|
||||
0.01919765,
|
||||
-0.045835,
|
||||
-0.06836153,
|
||||
-0.024145976,
|
||||
-0.00096166413,
|
||||
0.06107192,
|
||||
-0.018271897,
|
||||
0.07768199,
|
||||
-0.005674581,
|
||||
-0.061070014,
|
||||
-0.085874714,
|
||||
0.032807987,
|
||||
-0.023999775,
|
||||
-0.049648684,
|
||||
0.058388963,
|
||||
-0.014155298,
|
||||
0.09713512,
|
||||
0.010796487,
|
||||
-0.052061364,
|
||||
0.04608279,
|
||||
0.07334005,
|
||||
0.071200654,
|
||||
0.10283986,
|
||||
-0.0793042,
|
||||
-0.038504407,
|
||||
-0.030224252,
|
||||
-0.0041409084,
|
||||
-0.04935141,
|
||||
-0.036238834,
|
||||
-0.05901937,
|
||||
-0.07668426,
|
||||
0.0047916556,
|
||||
0.0049559944,
|
||||
0.09084668,
|
||||
0.05959956,
|
||||
-0.039215356,
|
||||
0.011205138,
|
||||
0.030405413,
|
||||
0.018765593,
|
||||
-0.0015950126,
|
||||
0.04107909,
|
||||
-0.031452127,
|
||||
0.055633347,
|
||||
-0.027381845,
|
||||
-1.6182968e-08,
|
||||
0.007661676,
|
||||
0.019475829,
|
||||
0.07298782,
|
||||
0.020929456,
|
||||
0.05296439,
|
||||
-0.039968412,
|
||||
0.04866676,
|
||||
0.0088626705,
|
||||
-0.042707004,
|
||||
-0.037415456,
|
||||
0.050815433,
|
||||
0.04526211,
|
||||
-0.0035307528,
|
||||
0.034556147,
|
||||
0.08016739,
|
||||
0.0038649621,
|
||||
0.024748258,
|
||||
0.017378997,
|
||||
-0.012018707,
|
||||
0.0008560242,
|
||||
0.036906302,
|
||||
0.031123282,
|
||||
-0.05273057,
|
||||
0.030093167,
|
||||
0.091761604,
|
||||
-0.09346192,
|
||||
-0.035473835,
|
||||
0.032061327,
|
||||
-0.004931772,
|
||||
0.048442423,
|
||||
0.009838844,
|
||||
0.07135688,
|
||||
0.039019894,
|
||||
-0.033052295,
|
||||
0.000205161,
|
||||
0.060079947,
|
||||
-0.0016076236,
|
||||
-0.06733456,
|
||||
-0.10156984,
|
||||
-0.06704366,
|
||||
-0.06510569,
|
||||
0.031467088,
|
||||
0.012753711,
|
||||
0.0046931216,
|
||||
0.016316148,
|
||||
-0.040228114,
|
||||
0.058498155,
|
||||
-0.054203916,
|
||||
0.046388485,
|
||||
0.0020223975,
|
||||
-0.03840418,
|
||||
0.04096099,
|
||||
0.011038689,
|
||||
-0.025036456,
|
||||
-0.04103131,
|
||||
-0.015756173,
|
||||
-0.031358927,
|
||||
-0.08783605,
|
||||
-0.06835565,
|
||||
0.05109743,
|
||||
0.0068257614,
|
||||
0.12122199,
|
||||
0.04956429,
|
||||
-0.050856892
|
||||
],
|
||||
"index": 0,
|
||||
"object": "embedding"
|
||||
}
|
||||
],
|
||||
"model": "all-minilm:l6-v2",
|
||||
"object": "list",
|
||||
"usage": {
|
||||
"prompt_tokens": 9,
|
||||
"total_tokens": 9
|
||||
}
|
||||
}
|
||||
},
|
||||
"is_streaming": false
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,423 @@
|
|||
{
|
||||
"test_id": "tests/integration/vector_io/test_openai_vector_stores.py::test_openai_vector_store_search_relevance[client_with_models-ollama/llama3.2:3b-instruct-fp16-None-ollama/all-minilm:l6-v2-None-384-test_case2]",
|
||||
"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?"
|
||||
],
|
||||
"encoding_format": "float"
|
||||
},
|
||||
"endpoint": "/v1/embeddings",
|
||||
"model": "all-minilm:l6-v2"
|
||||
},
|
||||
"response": {
|
||||
"body": {
|
||||
"__type__": "openai.types.create_embedding_response.CreateEmbeddingResponse",
|
||||
"__data__": {
|
||||
"data": [
|
||||
{
|
||||
"embedding": [
|
||||
-0.003961408,
|
||||
0.051414188,
|
||||
-0.00058039324,
|
||||
-0.03805786,
|
||||
0.00026862609,
|
||||
-0.07164569,
|
||||
-0.032947958,
|
||||
0.029143414,
|
||||
0.0895043,
|
||||
0.027018296,
|
||||
0.022992423,
|
||||
0.029479899,
|
||||
0.013462918,
|
||||
0.021877697,
|
||||
0.024697151,
|
||||
0.023186686,
|
||||
-0.06790505,
|
||||
0.042193525,
|
||||
-0.0668863,
|
||||
-0.04484601,
|
||||
-0.019504927,
|
||||
-0.017638002,
|
||||
-0.047011577,
|
||||
0.010105266,
|
||||
-0.035193082,
|
||||
0.12793653,
|
||||
-0.03992006,
|
||||
-0.03702981,
|
||||
0.021819357,
|
||||
-0.06665871,
|
||||
0.020533124,
|
||||
0.03142357,
|
||||
0.121719204,
|
||||
0.037876442,
|
||||
-0.075640336,
|
||||
0.0359664,
|
||||
0.11100785,
|
||||
-0.02567441,
|
||||
-0.07788109,
|
||||
0.016981006,
|
||||
-0.08081605,
|
||||
0.042523988,
|
||||
0.008232587,
|
||||
0.0731737,
|
||||
0.011123085,
|
||||
0.016207846,
|
||||
0.01944517,
|
||||
-0.057269264,
|
||||
-0.026940528,
|
||||
0.027561199,
|
||||
-0.103662655,
|
||||
0.06181235,
|
||||
-0.028062372,
|
||||
0.04553612,
|
||||
0.038513146,
|
||||
0.10225101,
|
||||
0.010200513,
|
||||
0.003872203,
|
||||
-0.074381135,
|
||||
-0.0097752875,
|
||||
-0.014599097,
|
||||
0.0054576746,
|
||||
-0.04897588,
|
||||
0.024681844,
|
||||
0.08043012,
|
||||
-0.0014103616,
|
||||
0.0008604012,
|
||||
0.0016741438,
|
||||
0.016251745,
|
||||
0.00360708,
|
||||
0.058014695,
|
||||
-0.010049014,
|
||||
-0.0084027,
|
||||
0.06814959,
|
||||
0.033971835,
|
||||
-0.011656133,
|
||||
-0.04935883,
|
||||
-0.03459291,
|
||||
0.022477727,
|
||||
0.01610207,
|
||||
0.025287844,
|
||||
0.03501659,
|
||||
-0.018194117,
|
||||
0.06807382,
|
||||
0.059983365,
|
||||
-0.025374522,
|
||||
0.04583719,
|
||||
-0.04297365,
|
||||
-0.104865946,
|
||||
-0.028109012,
|
||||
0.079001896,
|
||||
-0.017114554,
|
||||
0.012419278,
|
||||
0.04061318,
|
||||
-0.020101532,
|
||||
0.026956845,
|
||||
0.041828763,
|
||||
-0.044170532,
|
||||
0.08095696,
|
||||
0.021788325,
|
||||
0.081747636,
|
||||
0.033276387,
|
||||
0.021741632,
|
||||
0.092068955,
|
||||
-0.05207143,
|
||||
-0.13620017,
|
||||
0.013549487,
|
||||
-0.019821124,
|
||||
-0.036206715,
|
||||
-0.050286006,
|
||||
-0.032959178,
|
||||
0.04662646,
|
||||
-0.062424622,
|
||||
-0.056837536,
|
||||
-0.027646665,
|
||||
-0.15120761,
|
||||
-0.093959294,
|
||||
-0.010999317,
|
||||
-0.02427833,
|
||||
-0.046769585,
|
||||
-0.002897303,
|
||||
-0.06647176,
|
||||
-0.025597623,
|
||||
0.018255977,
|
||||
0.0020313214,
|
||||
-0.06226326,
|
||||
-0.117481604,
|
||||
-4.4295206e-33,
|
||||
-0.009129055,
|
||||
-0.037181977,
|
||||
-0.02604801,
|
||||
0.052037112,
|
||||
0.00087297254,
|
||||
0.0065994835,
|
||||
-0.0045263134,
|
||||
-0.040167294,
|
||||
0.0041152886,
|
||||
0.042845216,
|
||||
-0.049708433,
|
||||
0.045345027,
|
||||
0.04285296,
|
||||
0.044911012,
|
||||
0.11100636,
|
||||
0.021593297,
|
||||
-0.03125754,
|
||||
0.072277226,
|
||||
-0.01916381,
|
||||
-0.03471753,
|
||||
0.06770263,
|
||||
-0.016145714,
|
||||
0.05970865,
|
||||
-0.02298266,
|
||||
0.028831182,
|
||||
0.015415605,
|
||||
-0.00031274176,
|
||||
-0.012733097,
|
||||
-0.03328956,
|
||||
-0.00013622487,
|
||||
-0.024770694,
|
||||
-0.042212497,
|
||||
-0.0024302523,
|
||||
0.04124051,
|
||||
0.09191475,
|
||||
0.06856497,
|
||||
-0.015284932,
|
||||
-0.12650564,
|
||||
0.017038988,
|
||||
-0.086213395,
|
||||
0.05503028,
|
||||
0.030287316,
|
||||
0.0043085497,
|
||||
0.03199775,
|
||||
-0.032243066,
|
||||
0.004920853,
|
||||
0.009013211,
|
||||
-0.023148343,
|
||||
-0.04070659,
|
||||
-0.091041416,
|
||||
0.036388315,
|
||||
0.024427423,
|
||||
0.013590955,
|
||||
0.032416057,
|
||||
0.040976506,
|
||||
0.037508775,
|
||||
-0.041537814,
|
||||
-0.0790035,
|
||||
-0.05377612,
|
||||
0.06448428,
|
||||
-0.080218546,
|
||||
0.021294411,
|
||||
0.062302276,
|
||||
0.045776673,
|
||||
0.032483075,
|
||||
0.08931608,
|
||||
-0.04060625,
|
||||
-0.031852096,
|
||||
0.09785858,
|
||||
0.01842136,
|
||||
0.005539284,
|
||||
0.033401128,
|
||||
-0.069316946,
|
||||
0.0050071795,
|
||||
-0.01113226,
|
||||
0.04040353,
|
||||
-0.018702384,
|
||||
-0.061634906,
|
||||
-0.019955046,
|
||||
0.055725593,
|
||||
-0.0339558,
|
||||
-0.03284888,
|
||||
0.039789777,
|
||||
0.032518264,
|
||||
-0.014831044,
|
||||
-0.040828414,
|
||||
0.09042645,
|
||||
-0.07117855,
|
||||
-0.0452999,
|
||||
0.004429679,
|
||||
-0.011286574,
|
||||
0.010456636,
|
||||
-0.005107356,
|
||||
-0.03228427,
|
||||
-0.014561991,
|
||||
1.973978e-33,
|
||||
-0.014741807,
|
||||
-0.011373571,
|
||||
-0.018968971,
|
||||
-0.030024195,
|
||||
-0.032379575,
|
||||
0.00021643718,
|
||||
-0.012567692,
|
||||
-0.121494584,
|
||||
0.0020773544,
|
||||
0.03192013,
|
||||
-0.004760303,
|
||||
0.0094626825,
|
||||
0.070903994,
|
||||
-0.10057645,
|
||||
0.025073227,
|
||||
0.0619163,
|
||||
-0.0040503214,
|
||||
-0.099229865,
|
||||
-0.011797051,
|
||||
-0.04770035,
|
||||
-0.030485118,
|
||||
0.06268395,
|
||||
-0.073855996,
|
||||
-0.0061467164,
|
||||
-0.01423362,
|
||||
0.0073681897,
|
||||
-0.12381955,
|
||||
-0.12358002,
|
||||
0.049814835,
|
||||
0.013639601,
|
||||
-0.04231122,
|
||||
-0.057728436,
|
||||
0.008867639,
|
||||
-0.03936158,
|
||||
-0.010378862,
|
||||
0.01995126,
|
||||
0.06864242,
|
||||
-0.0034683226,
|
||||
0.034935873,
|
||||
0.01691657,
|
||||
-0.041248,
|
||||
0.12756771,
|
||||
-0.0109369,
|
||||
-0.038407195,
|
||||
0.03351686,
|
||||
0.024284633,
|
||||
-0.009186648,
|
||||
0.089450404,
|
||||
-0.037300985,
|
||||
-0.033677705,
|
||||
0.083595864,
|
||||
0.024388704,
|
||||
0.013052032,
|
||||
-0.082466476,
|
||||
0.08174954,
|
||||
0.025851287,
|
||||
-0.0407412,
|
||||
0.011634866,
|
||||
0.045149248,
|
||||
0.057999264,
|
||||
-0.043137826,
|
||||
-0.0218611,
|
||||
0.007614091,
|
||||
0.075013876,
|
||||
-0.037117332,
|
||||
-0.040271968,
|
||||
-0.044543337,
|
||||
-0.10995435,
|
||||
-0.024011672,
|
||||
-0.08962033,
|
||||
0.020206504,
|
||||
0.030622963,
|
||||
-0.021175418,
|
||||
0.046819735,
|
||||
-0.08388905,
|
||||
-0.04419095,
|
||||
-0.041822553,
|
||||
0.031128531,
|
||||
0.010744972,
|
||||
0.06392119,
|
||||
-0.0031621107,
|
||||
-0.012324199,
|
||||
0.039583333,
|
||||
0.03872388,
|
||||
0.04003792,
|
||||
0.012126796,
|
||||
0.060538515,
|
||||
-0.046224117,
|
||||
0.009284271,
|
||||
-0.051235553,
|
||||
-0.049639463,
|
||||
-0.015559349,
|
||||
-0.08584357,
|
||||
0.07390804,
|
||||
-0.029281551,
|
||||
-1.4552155e-08,
|
||||
-0.060234137,
|
||||
-0.05653537,
|
||||
-0.003924483,
|
||||
-0.030553697,
|
||||
0.033688337,
|
||||
-0.051516354,
|
||||
0.011325061,
|
||||
0.14125879,
|
||||
0.0239569,
|
||||
0.01933575,
|
||||
0.066012196,
|
||||
0.030753234,
|
||||
-0.10696803,
|
||||
0.0034088665,
|
||||
0.073148385,
|
||||
0.02414587,
|
||||
0.080867074,
|
||||
-0.07877004,
|
||||
-0.032145467,
|
||||
0.07524812,
|
||||
0.0542984,
|
||||
0.009829384,
|
||||
-0.1270656,
|
||||
0.06314169,
|
||||
0.09003407,
|
||||
-0.0016169662,
|
||||
0.058391552,
|
||||
0.059590362,
|
||||
-0.0047688517,
|
||||
0.022996303,
|
||||
0.035714924,
|
||||
-0.034012605,
|
||||
0.07277301,
|
||||
0.0797266,
|
||||
0.0912049,
|
||||
0.022215161,
|
||||
0.045965668,
|
||||
0.04404474,
|
||||
-0.083592154,
|
||||
-0.10004596,
|
||||
0.020836696,
|
||||
0.023092525,
|
||||
-0.047950342,
|
||||
0.08443384,
|
||||
0.0771323,
|
||||
0.009310225,
|
||||
-0.080956854,
|
||||
0.09289323,
|
||||
-0.020150434,
|
||||
-0.00083508895,
|
||||
-0.038630493,
|
||||
0.01606296,
|
||||
0.007031474,
|
||||
-0.01770303,
|
||||
-0.0022343053,
|
||||
-0.021911092,
|
||||
0.03337036,
|
||||
-0.032134622,
|
||||
-0.012314019,
|
||||
-0.0021285508,
|
||||
0.021125747,
|
||||
0.016543584,
|
||||
0.01756058,
|
||||
-0.0771557
|
||||
],
|
||||
"index": 0,
|
||||
"object": "embedding"
|
||||
}
|
||||
],
|
||||
"model": "all-minilm:l6-v2",
|
||||
"object": "list",
|
||||
"usage": {
|
||||
"prompt_tokens": 6,
|
||||
"total_tokens": 6
|
||||
}
|
||||
}
|
||||
},
|
||||
"is_streaming": false
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,423 @@
|
|||
{
|
||||
"test_id": "tests/integration/vector_io/test_vector_io.py::test_insert_chunks[emb=ollama/all-minilm:l6-v2:dim=384-test_case4]",
|
||||
"request": {
|
||||
"method": "POST",
|
||||
"url": "http://0.0.0.0:11434/v1/v1/embeddings",
|
||||
"headers": {},
|
||||
"body": {
|
||||
"model": "all-minilm:l6-v2",
|
||||
"input": [
|
||||
"What is the capital of France?"
|
||||
],
|
||||
"encoding_format": "float"
|
||||
},
|
||||
"endpoint": "/v1/embeddings",
|
||||
"model": "all-minilm:l6-v2"
|
||||
},
|
||||
"response": {
|
||||
"body": {
|
||||
"__type__": "openai.types.create_embedding_response.CreateEmbeddingResponse",
|
||||
"__data__": {
|
||||
"data": [
|
||||
{
|
||||
"embedding": [
|
||||
0.082037136,
|
||||
0.03605009,
|
||||
-0.003858349,
|
||||
-0.0048745335,
|
||||
0.025680654,
|
||||
-0.05718634,
|
||||
0.012181495,
|
||||
0.0046627503,
|
||||
0.03504826,
|
||||
-0.022433529,
|
||||
-0.008051872,
|
||||
-0.10929119,
|
||||
0.022724133,
|
||||
-0.029288922,
|
||||
-0.043489166,
|
||||
-0.120253265,
|
||||
-0.00086341135,
|
||||
-0.018151222,
|
||||
0.0561967,
|
||||
0.00309959,
|
||||
0.0022962212,
|
||||
-0.016878856,
|
||||
0.06362854,
|
||||
-0.02366614,
|
||||
0.031488717,
|
||||
-0.034919456,
|
||||
-0.020573795,
|
||||
-0.002815633,
|
||||
-0.011089214,
|
||||
-0.036135226,
|
||||
0.054130327,
|
||||
-0.036599707,
|
||||
-0.025023036,
|
||||
-0.038259722,
|
||||
-0.049688417,
|
||||
-0.015200446,
|
||||
0.021407988,
|
||||
-0.0127598485,
|
||||
0.07668212,
|
||||
0.044370703,
|
||||
-0.0108555285,
|
||||
-0.02972891,
|
||||
-0.016925987,
|
||||
-0.024663594,
|
||||
0.008030216,
|
||||
0.043554515,
|
||||
0.0071516195,
|
||||
0.07550263,
|
||||
0.032855336,
|
||||
-0.062009048,
|
||||
0.066706404,
|
||||
0.027028719,
|
||||
-0.04570193,
|
||||
-0.03146736,
|
||||
-0.031145794,
|
||||
0.091601126,
|
||||
-0.0017914127,
|
||||
-0.011287448,
|
||||
0.03652323,
|
||||
0.05692562,
|
||||
0.0023244114,
|
||||
-0.037794005,
|
||||
-0.015485576,
|
||||
0.05239373,
|
||||
0.060352743,
|
||||
-0.01656626,
|
||||
0.008852838,
|
||||
-0.0066740657,
|
||||
-0.10624023,
|
||||
0.0016855119,
|
||||
-0.04846779,
|
||||
-0.029726079,
|
||||
0.004318477,
|
||||
-0.08570177,
|
||||
0.066239014,
|
||||
-0.055177763,
|
||||
-0.113279216,
|
||||
0.050822813,
|
||||
-0.0093511855,
|
||||
0.0059375227,
|
||||
0.020984603,
|
||||
-0.022525566,
|
||||
0.00049133686,
|
||||
0.056391854,
|
||||
0.045508638,
|
||||
-0.005227753,
|
||||
0.09361666,
|
||||
0.027507791,
|
||||
0.02937236,
|
||||
-0.045665868,
|
||||
-0.048981518,
|
||||
0.0014411878,
|
||||
-0.012885078,
|
||||
0.079774186,
|
||||
-0.119063824,
|
||||
0.06878127,
|
||||
-0.022768173,
|
||||
0.044935144,
|
||||
-0.081365064,
|
||||
0.0439928,
|
||||
0.002936521,
|
||||
0.01760215,
|
||||
0.08313044,
|
||||
-0.018089816,
|
||||
-0.04793947,
|
||||
0.058759455,
|
||||
0.0062854686,
|
||||
-0.014705522,
|
||||
-0.0072833668,
|
||||
-0.078145795,
|
||||
-0.10076618,
|
||||
-0.03352427,
|
||||
-0.0008879286,
|
||||
-0.05110566,
|
||||
0.027157873,
|
||||
0.07079609,
|
||||
0.04741029,
|
||||
-0.10456867,
|
||||
0.0044786637,
|
||||
-0.028797852,
|
||||
-0.018375952,
|
||||
-0.050554108,
|
||||
-0.031530026,
|
||||
-0.009527807,
|
||||
-0.060606185,
|
||||
0.021066627,
|
||||
-0.046673466,
|
||||
-7.760674e-33,
|
||||
-0.03134469,
|
||||
0.056437604,
|
||||
0.07740162,
|
||||
0.063869186,
|
||||
-0.04665667,
|
||||
-0.0076621915,
|
||||
-0.055314656,
|
||||
0.040249433,
|
||||
-0.03159584,
|
||||
-0.0070865196,
|
||||
0.0394448,
|
||||
-0.13172099,
|
||||
-0.06611813,
|
||||
0.021771116,
|
||||
0.09699056,
|
||||
0.011762843,
|
||||
0.08904323,
|
||||
0.034680966,
|
||||
-0.043843478,
|
||||
-0.00029840716,
|
||||
0.014667039,
|
||||
-0.0027011412,
|
||||
-0.0033179414,
|
||||
0.017366407,
|
||||
0.060072616,
|
||||
0.039403416,
|
||||
-0.0017028108,
|
||||
0.07735126,
|
||||
0.01458652,
|
||||
-0.0022484495,
|
||||
-0.0018689616,
|
||||
0.015051134,
|
||||
0.021683147,
|
||||
0.00743522,
|
||||
0.018044684,
|
||||
0.049780875,
|
||||
0.012682762,
|
||||
-0.0025319885,
|
||||
0.04345311,
|
||||
0.062966056,
|
||||
0.06655509,
|
||||
-0.036332715,
|
||||
-0.03873148,
|
||||
0.04407342,
|
||||
0.005618046,
|
||||
0.005606404,
|
||||
-0.03491582,
|
||||
-0.071468666,
|
||||
0.100827605,
|
||||
-0.02480599,
|
||||
0.014779361,
|
||||
-0.025853567,
|
||||
-0.07272276,
|
||||
-0.017332677,
|
||||
0.026024899,
|
||||
0.1141519,
|
||||
-0.0709077,
|
||||
0.017926728,
|
||||
-0.0033771452,
|
||||
0.008450764,
|
||||
-0.0031734016,
|
||||
0.0058758706,
|
||||
-0.022959052,
|
||||
0.07754777,
|
||||
0.034691088,
|
||||
0.087492526,
|
||||
0.04631641,
|
||||
0.018653069,
|
||||
0.011075838,
|
||||
-0.045833264,
|
||||
-0.04647619,
|
||||
0.026525397,
|
||||
0.073937215,
|
||||
0.0656064,
|
||||
0.0626801,
|
||||
0.07236128,
|
||||
-0.008934351,
|
||||
-0.035436727,
|
||||
-0.0053167064,
|
||||
-0.0031780244,
|
||||
-0.03794062,
|
||||
-0.04136672,
|
||||
-0.096589684,
|
||||
0.044174723,
|
||||
-0.03346829,
|
||||
-0.0714272,
|
||||
-0.011707928,
|
||||
-0.0071373517,
|
||||
0.00062674406,
|
||||
-0.08837231,
|
||||
-0.11327292,
|
||||
-0.121232145,
|
||||
-0.0013483085,
|
||||
-0.044267938,
|
||||
-0.0866299,
|
||||
3.9974636e-33,
|
||||
0.025347712,
|
||||
-0.0026484786,
|
||||
-0.081128426,
|
||||
0.025477463,
|
||||
0.0013318929,
|
||||
0.016020615,
|
||||
0.09553763,
|
||||
0.03323222,
|
||||
-0.012020247,
|
||||
0.01704576,
|
||||
-0.08304897,
|
||||
-0.12452585,
|
||||
0.043876667,
|
||||
0.012038639,
|
||||
0.065846756,
|
||||
0.10058584,
|
||||
0.07289197,
|
||||
-0.02691023,
|
||||
-0.032209095,
|
||||
-0.05359179,
|
||||
-0.12634858,
|
||||
0.0054822033,
|
||||
-0.035338957,
|
||||
-0.0042626564,
|
||||
-0.02503011,
|
||||
0.041566424,
|
||||
-0.09993105,
|
||||
-0.047632236,
|
||||
-0.023974935,
|
||||
0.0026521643,
|
||||
-0.05512872,
|
||||
0.013588852,
|
||||
0.048989374,
|
||||
0.08497172,
|
||||
-0.04203127,
|
||||
0.07672574,
|
||||
0.033201486,
|
||||
0.0012890669,
|
||||
0.039995532,
|
||||
0.06453696,
|
||||
-0.043386992,
|
||||
-0.04967135,
|
||||
0.05796046,
|
||||
0.11259055,
|
||||
0.07072716,
|
||||
0.008217265,
|
||||
0.043992482,
|
||||
-0.022529528,
|
||||
-0.007255873,
|
||||
0.049954277,
|
||||
0.03863772,
|
||||
0.067863524,
|
||||
-0.040989004,
|
||||
0.0057252604,
|
||||
0.01790208,
|
||||
0.049277905,
|
||||
-0.051399034,
|
||||
0.051036645,
|
||||
-0.09386299,
|
||||
-0.06816727,
|
||||
0.06536689,
|
||||
0.075451665,
|
||||
-0.016844928,
|
||||
0.066079356,
|
||||
-0.002883201,
|
||||
-0.02066376,
|
||||
-0.12701727,
|
||||
0.061581187,
|
||||
-0.009843711,
|
||||
-0.014696306,
|
||||
0.13543285,
|
||||
0.034152385,
|
||||
-0.064830035,
|
||||
0.050995078,
|
||||
-0.06642675,
|
||||
0.02918273,
|
||||
0.0794261,
|
||||
0.014402853,
|
||||
-0.0273022,
|
||||
0.0053402875,
|
||||
-0.067574784,
|
||||
-0.020469556,
|
||||
-0.027134288,
|
||||
-0.026119156,
|
||||
-0.07057518,
|
||||
0.034702294,
|
||||
0.0075764027,
|
||||
-0.102168776,
|
||||
0.058453083,
|
||||
-0.074793324,
|
||||
-0.022044567,
|
||||
-0.006830346,
|
||||
-0.051225647,
|
||||
-0.03697986,
|
||||
0.025650427,
|
||||
-1.7504691e-08,
|
||||
0.06810578,
|
||||
0.04502295,
|
||||
-0.04405543,
|
||||
0.012894445,
|
||||
-0.05787301,
|
||||
-0.09544731,
|
||||
0.062167827,
|
||||
-0.00424131,
|
||||
-0.008617457,
|
||||
0.00019244938,
|
||||
-0.07362401,
|
||||
0.056028713,
|
||||
-0.06966302,
|
||||
-0.051120024,
|
||||
-0.04107452,
|
||||
-0.0047826064,
|
||||
-0.032448206,
|
||||
0.043075,
|
||||
0.008685862,
|
||||
0.022739133,
|
||||
-0.004866129,
|
||||
0.023324043,
|
||||
-0.045655783,
|
||||
-0.058080837,
|
||||
0.012551997,
|
||||
-0.09902558,
|
||||
0.040637206,
|
||||
0.045673274,
|
||||
0.0027036674,
|
||||
-0.005293385,
|
||||
0.06631416,
|
||||
-0.027342914,
|
||||
-0.05006773,
|
||||
-0.09028891,
|
||||
-0.036147803,
|
||||
0.012678981,
|
||||
-0.005860591,
|
||||
-0.0049548894,
|
||||
0.009455272,
|
||||
-0.029030358,
|
||||
0.09503264,
|
||||
0.061976723,
|
||||
0.012456961,
|
||||
-0.011967612,
|
||||
0.024475172,
|
||||
0.045389146,
|
||||
0.05380351,
|
||||
-0.035200197,
|
||||
0.11459815,
|
||||
-0.08903123,
|
||||
-0.111395806,
|
||||
0.09941666,
|
||||
0.0039118743,
|
||||
0.004477415,
|
||||
0.0033548488,
|
||||
0.07087783,
|
||||
-0.051348306,
|
||||
-0.012647007,
|
||||
0.021842662,
|
||||
-0.02008024,
|
||||
-0.0149204545,
|
||||
0.049170345,
|
||||
0.08937761,
|
||||
-0.011069278
|
||||
],
|
||||
"index": 0,
|
||||
"object": "embedding"
|
||||
}
|
||||
],
|
||||
"model": "all-minilm:l6-v2",
|
||||
"object": "list",
|
||||
"usage": {
|
||||
"prompt_tokens": 7,
|
||||
"total_tokens": 7
|
||||
}
|
||||
}
|
||||
},
|
||||
"is_streaming": false
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,78 @@
|
|||
{
|
||||
"test_id": "tests/integration/vector_io/test_openai_vector_stores.py::test_openai_vector_store_list_files[client_with_models-ollama/llama3.2:3b-instruct-fp16-None-ollama/all-minilm:l6-v2-None-384]",
|
||||
"request": {
|
||||
"method": "POST",
|
||||
"url": "http://localhost:11434/api/ps",
|
||||
"headers": {},
|
||||
"body": {},
|
||||
"endpoint": "/api/ps",
|
||||
"model": ""
|
||||
},
|
||||
"response": {
|
||||
"body": {
|
||||
"__type__": "ollama._types.ProcessResponse",
|
||||
"__data__": {
|
||||
"models": [
|
||||
{
|
||||
"model": "all-minilm:l6-v2",
|
||||
"name": "all-minilm:l6-v2",
|
||||
"digest": "1b226e2802dbb772b5fc32a58f103ca1804ef7501331012de126ab22f67475ef",
|
||||
"expires_at": "2025-10-03T21:21:09.607341-07:00",
|
||||
"size": 585846784,
|
||||
"size_vram": 585846784,
|
||||
"details": {
|
||||
"parent_model": "",
|
||||
"format": "gguf",
|
||||
"family": "bert",
|
||||
"families": [
|
||||
"bert"
|
||||
],
|
||||
"parameter_size": "23M",
|
||||
"quantization_level": "F16"
|
||||
},
|
||||
"context_length": 256
|
||||
},
|
||||
{
|
||||
"model": "llama3.2:3b-instruct-fp16",
|
||||
"name": "llama3.2:3b-instruct-fp16",
|
||||
"digest": "195a8c01d91ec3cb1e0aad4624a51f2602c51fa7d96110f8ab5a20c84081804d",
|
||||
"expires_at": "2025-10-03T21:20:56.787737-07:00",
|
||||
"size": 7919570944,
|
||||
"size_vram": 7919570944,
|
||||
"details": {
|
||||
"parent_model": "",
|
||||
"format": "gguf",
|
||||
"family": "llama",
|
||||
"families": [
|
||||
"llama"
|
||||
],
|
||||
"parameter_size": "3.2B",
|
||||
"quantization_level": "F16"
|
||||
},
|
||||
"context_length": 4096
|
||||
},
|
||||
{
|
||||
"model": "llama-guard3:1b",
|
||||
"name": "llama-guard3:1b",
|
||||
"digest": "494147e06bf99e10dbe67b63a07ac81c162f18ef3341aa3390007ac828571b3b",
|
||||
"expires_at": "2025-10-03T21:16:14.288654-07:00",
|
||||
"size": 2350966784,
|
||||
"size_vram": 2350966784,
|
||||
"details": {
|
||||
"parent_model": "",
|
||||
"format": "gguf",
|
||||
"family": "llama",
|
||||
"families": [
|
||||
"llama"
|
||||
],
|
||||
"parameter_size": "1.5B",
|
||||
"quantization_level": "Q8_0"
|
||||
},
|
||||
"context_length": 4096
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
"is_streaming": false
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,78 @@
|
|||
{
|
||||
"test_id": "tests/integration/vector_io/test_openai_vector_stores.py::test_openai_vector_store_delete_file_removes_from_vector_store[client_with_models-ollama/llama3.2:3b-instruct-fp16-None-ollama/all-minilm:l6-v2-None-384]",
|
||||
"request": {
|
||||
"method": "POST",
|
||||
"url": "http://localhost:11434/api/ps",
|
||||
"headers": {},
|
||||
"body": {},
|
||||
"endpoint": "/api/ps",
|
||||
"model": ""
|
||||
},
|
||||
"response": {
|
||||
"body": {
|
||||
"__type__": "ollama._types.ProcessResponse",
|
||||
"__data__": {
|
||||
"models": [
|
||||
{
|
||||
"model": "all-minilm:l6-v2",
|
||||
"name": "all-minilm:l6-v2",
|
||||
"digest": "1b226e2802dbb772b5fc32a58f103ca1804ef7501331012de126ab22f67475ef",
|
||||
"expires_at": "2025-10-03T21:21:10.609333-07:00",
|
||||
"size": 585846784,
|
||||
"size_vram": 585846784,
|
||||
"details": {
|
||||
"parent_model": "",
|
||||
"format": "gguf",
|
||||
"family": "bert",
|
||||
"families": [
|
||||
"bert"
|
||||
],
|
||||
"parameter_size": "23M",
|
||||
"quantization_level": "F16"
|
||||
},
|
||||
"context_length": 256
|
||||
},
|
||||
{
|
||||
"model": "llama3.2:3b-instruct-fp16",
|
||||
"name": "llama3.2:3b-instruct-fp16",
|
||||
"digest": "195a8c01d91ec3cb1e0aad4624a51f2602c51fa7d96110f8ab5a20c84081804d",
|
||||
"expires_at": "2025-10-03T21:20:56.787737-07:00",
|
||||
"size": 7919570944,
|
||||
"size_vram": 7919570944,
|
||||
"details": {
|
||||
"parent_model": "",
|
||||
"format": "gguf",
|
||||
"family": "llama",
|
||||
"families": [
|
||||
"llama"
|
||||
],
|
||||
"parameter_size": "3.2B",
|
||||
"quantization_level": "F16"
|
||||
},
|
||||
"context_length": 4096
|
||||
},
|
||||
{
|
||||
"model": "llama-guard3:1b",
|
||||
"name": "llama-guard3:1b",
|
||||
"digest": "494147e06bf99e10dbe67b63a07ac81c162f18ef3341aa3390007ac828571b3b",
|
||||
"expires_at": "2025-10-03T21:16:14.288654-07:00",
|
||||
"size": 2350966784,
|
||||
"size_vram": 2350966784,
|
||||
"details": {
|
||||
"parent_model": "",
|
||||
"format": "gguf",
|
||||
"family": "llama",
|
||||
"families": [
|
||||
"llama"
|
||||
],
|
||||
"parameter_size": "1.5B",
|
||||
"quantization_level": "Q8_0"
|
||||
},
|
||||
"context_length": 4096
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
"is_streaming": false
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,423 @@
|
|||
{
|
||||
"test_id": "tests/integration/vector_io/test_openai_vector_stores.py::test_openai_vector_store_search_relevance[client_with_models-ollama/llama3.2:3b-instruct-fp16-None-ollama/all-minilm:l6-v2-None-384-test_case3]",
|
||||
"request": {
|
||||
"method": "POST",
|
||||
"url": "http://0.0.0.0:11434/v1/v1/embeddings",
|
||||
"headers": {},
|
||||
"body": {
|
||||
"model": "all-minilm:l6-v2",
|
||||
"input": [
|
||||
"What inspires neural networks?"
|
||||
],
|
||||
"encoding_format": "float"
|
||||
},
|
||||
"endpoint": "/v1/embeddings",
|
||||
"model": "all-minilm:l6-v2"
|
||||
},
|
||||
"response": {
|
||||
"body": {
|
||||
"__type__": "openai.types.create_embedding_response.CreateEmbeddingResponse",
|
||||
"__data__": {
|
||||
"data": [
|
||||
{
|
||||
"embedding": [
|
||||
-0.08566708,
|
||||
-0.09559047,
|
||||
0.044014607,
|
||||
-0.015974598,
|
||||
0.029406257,
|
||||
0.07229597,
|
||||
-0.010901963,
|
||||
-0.023829829,
|
||||
0.07381301,
|
||||
-0.05698464,
|
||||
-0.033780586,
|
||||
0.051200844,
|
||||
0.0050912783,
|
||||
0.014317088,
|
||||
-0.07878143,
|
||||
-0.012908666,
|
||||
-0.041628323,
|
||||
0.06881713,
|
||||
-0.10783476,
|
||||
-0.04042705,
|
||||
0.026262026,
|
||||
-0.0019893218,
|
||||
-0.011008084,
|
||||
-0.0019646112,
|
||||
0.004033132,
|
||||
0.08881656,
|
||||
0.014049165,
|
||||
-0.018416086,
|
||||
0.032621212,
|
||||
-0.034692146,
|
||||
0.07614942,
|
||||
-0.014122101,
|
||||
-0.024901746,
|
||||
0.03755059,
|
||||
-0.10197354,
|
||||
0.054705318,
|
||||
-0.022539826,
|
||||
0.024209768,
|
||||
0.011698194,
|
||||
-0.008956377,
|
||||
-0.050146304,
|
||||
0.0026327297,
|
||||
0.055942897,
|
||||
0.009974366,
|
||||
0.12796965,
|
||||
-0.025006283,
|
||||
0.024338534,
|
||||
-0.024487961,
|
||||
-0.0022703854,
|
||||
-0.024687177,
|
||||
-0.10482094,
|
||||
-0.05994297,
|
||||
-0.055200897,
|
||||
0.0152664175,
|
||||
0.03496896,
|
||||
0.052624088,
|
||||
-0.0006445885,
|
||||
0.06637695,
|
||||
-0.031790398,
|
||||
-0.007308742,
|
||||
-0.0050764186,
|
||||
-0.042508755,
|
||||
-0.04089097,
|
||||
0.020062948,
|
||||
0.038683955,
|
||||
0.022463562,
|
||||
-0.02866933,
|
||||
0.053370677,
|
||||
0.022435635,
|
||||
0.01934692,
|
||||
0.12264713,
|
||||
0.023911418,
|
||||
-0.037264284,
|
||||
0.0059156846,
|
||||
0.05235448,
|
||||
0.054004095,
|
||||
0.08022169,
|
||||
-0.010992806,
|
||||
0.029295033,
|
||||
-0.0672064,
|
||||
-0.00021147476,
|
||||
-0.050584126,
|
||||
-0.0095251575,
|
||||
0.04616498,
|
||||
0.078677796,
|
||||
0.01416309,
|
||||
-0.033226117,
|
||||
0.0018380182,
|
||||
-0.06667651,
|
||||
-0.020977372,
|
||||
-0.017116925,
|
||||
-0.04396714,
|
||||
-0.05969979,
|
||||
-0.07344942,
|
||||
-0.03985366,
|
||||
-0.030863814,
|
||||
-0.019918729,
|
||||
-0.1075161,
|
||||
-0.026654154,
|
||||
0.0689854,
|
||||
-0.0049292273,
|
||||
0.026645623,
|
||||
0.018879393,
|
||||
0.022113768,
|
||||
0.064208575,
|
||||
-0.053153764,
|
||||
0.06160797,
|
||||
0.014026719,
|
||||
0.11772326,
|
||||
-0.051769163,
|
||||
-0.07634968,
|
||||
0.03090975,
|
||||
-0.038558383,
|
||||
-0.025260162,
|
||||
0.039262023,
|
||||
-0.061449137,
|
||||
0.008389126,
|
||||
0.016175874,
|
||||
0.032293033,
|
||||
0.06679397,
|
||||
-0.06503257,
|
||||
0.014676881,
|
||||
-0.038542666,
|
||||
0.018718671,
|
||||
-0.030111106,
|
||||
-0.028481327,
|
||||
-0.14707623,
|
||||
-3.455443e-33,
|
||||
-0.048577547,
|
||||
-0.024983348,
|
||||
0.071679614,
|
||||
0.035652317,
|
||||
0.07931413,
|
||||
-0.07811974,
|
||||
0.023085583,
|
||||
-0.047467884,
|
||||
0.08872273,
|
||||
-0.0010074769,
|
||||
-0.11320135,
|
||||
0.091322996,
|
||||
0.023978539,
|
||||
0.11368158,
|
||||
0.042203873,
|
||||
-0.05773289,
|
||||
-0.074543044,
|
||||
-0.0021036167,
|
||||
-0.051522236,
|
||||
-0.050925426,
|
||||
-0.0016557347,
|
||||
0.030671587,
|
||||
0.045119714,
|
||||
-0.03974729,
|
||||
-0.05871358,
|
||||
-0.030611658,
|
||||
0.0017253247,
|
||||
0.009114429,
|
||||
-0.013763352,
|
||||
0.023424039,
|
||||
0.0017495834,
|
||||
0.046633217,
|
||||
-0.07230643,
|
||||
-0.027882291,
|
||||
0.016182518,
|
||||
0.044456217,
|
||||
-0.004326421,
|
||||
-0.061798126,
|
||||
0.0697968,
|
||||
0.031249145,
|
||||
-0.013697079,
|
||||
-0.007417679,
|
||||
0.031665757,
|
||||
-0.02367961,
|
||||
0.07153089,
|
||||
0.023938214,
|
||||
0.009729952,
|
||||
0.0071919435,
|
||||
-0.03235391,
|
||||
-0.04955071,
|
||||
-0.050248373,
|
||||
0.02151118,
|
||||
0.015327139,
|
||||
-0.0674203,
|
||||
0.06544387,
|
||||
-0.025547959,
|
||||
0.03207046,
|
||||
0.02038825,
|
||||
0.0112230005,
|
||||
0.00019493286,
|
||||
-0.023462659,
|
||||
-0.004949742,
|
||||
-0.014066955,
|
||||
0.0014178518,
|
||||
0.059315395,
|
||||
0.039931085,
|
||||
-0.032498423,
|
||||
-0.023698896,
|
||||
0.05445033,
|
||||
0.064231694,
|
||||
-0.034013335,
|
||||
0.08745776,
|
||||
-0.080473825,
|
||||
-0.090545714,
|
||||
-0.065398656,
|
||||
-8.2386265e-05,
|
||||
-0.021441188,
|
||||
-0.0684535,
|
||||
-0.029121745,
|
||||
0.034134887,
|
||||
-0.07799698,
|
||||
-0.05388711,
|
||||
-0.035591345,
|
||||
0.044826802,
|
||||
-0.040090464,
|
||||
0.07972004,
|
||||
0.026058797,
|
||||
-0.08184859,
|
||||
0.0018106091,
|
||||
-0.027676936,
|
||||
-0.04312832,
|
||||
-0.042090744,
|
||||
0.08336437,
|
||||
-0.049453646,
|
||||
-0.0902778,
|
||||
2.6716498e-33,
|
||||
-0.091911495,
|
||||
0.02641473,
|
||||
-0.07022486,
|
||||
0.075562105,
|
||||
0.03900905,
|
||||
0.027913846,
|
||||
-0.05444872,
|
||||
-0.036666486,
|
||||
-0.048225258,
|
||||
0.07551892,
|
||||
0.046452336,
|
||||
0.025874302,
|
||||
0.052248206,
|
||||
-0.00018527219,
|
||||
0.010575236,
|
||||
-0.040591337,
|
||||
-0.028484622,
|
||||
-0.020559357,
|
||||
0.08882296,
|
||||
-0.06755767,
|
||||
0.04941752,
|
||||
0.13231009,
|
||||
-0.06998129,
|
||||
-0.040112328,
|
||||
0.044030365,
|
||||
0.034218542,
|
||||
-0.08650528,
|
||||
0.05746921,
|
||||
-0.0075130556,
|
||||
0.049070083,
|
||||
-0.0148686,
|
||||
-0.018103259,
|
||||
-0.020280316,
|
||||
0.038828347,
|
||||
0.022253176,
|
||||
0.13486238,
|
||||
0.06899369,
|
||||
-0.002589861,
|
||||
-0.016430879,
|
||||
0.0033818923,
|
||||
0.017275693,
|
||||
0.013614936,
|
||||
0.044220798,
|
||||
0.049155377,
|
||||
-0.008259856,
|
||||
-0.046575654,
|
||||
-0.043921605,
|
||||
0.04156687,
|
||||
-0.035468902,
|
||||
0.042837795,
|
||||
0.03131579,
|
||||
0.017961076,
|
||||
-0.026213305,
|
||||
-0.05458616,
|
||||
-0.04259084,
|
||||
-0.004110002,
|
||||
0.029035388,
|
||||
0.0010451805,
|
||||
0.09044077,
|
||||
0.014110149,
|
||||
-0.068820216,
|
||||
-0.07098938,
|
||||
0.020328037,
|
||||
0.00433692,
|
||||
-0.046977337,
|
||||
0.016492791,
|
||||
-0.028396707,
|
||||
0.104340956,
|
||||
0.002814702,
|
||||
-0.08339559,
|
||||
0.037326302,
|
||||
0.058929898,
|
||||
0.0376423,
|
||||
0.09580634,
|
||||
-0.12376848,
|
||||
-0.054060236,
|
||||
-0.014485116,
|
||||
0.0013106487,
|
||||
-0.04537336,
|
||||
-0.0899294,
|
||||
0.001730278,
|
||||
-0.05520831,
|
||||
0.000568523,
|
||||
0.00053380145,
|
||||
0.07856981,
|
||||
0.104590714,
|
||||
0.00355283,
|
||||
0.008365939,
|
||||
0.04291482,
|
||||
0.010064388,
|
||||
0.025177509,
|
||||
0.05732803,
|
||||
-0.023061136,
|
||||
0.054399785,
|
||||
-0.049828697,
|
||||
-1.3290186e-08,
|
||||
-0.0539168,
|
||||
0.08074109,
|
||||
0.03397028,
|
||||
0.024365881,
|
||||
0.0906225,
|
||||
-0.07162824,
|
||||
0.07550329,
|
||||
0.017278913,
|
||||
-0.061226364,
|
||||
-0.03298407,
|
||||
0.07829606,
|
||||
0.03967995,
|
||||
-0.036696997,
|
||||
0.02665964,
|
||||
0.1000655,
|
||||
-0.014426734,
|
||||
0.020708792,
|
||||
-0.039230846,
|
||||
0.0085029,
|
||||
-0.0012509917,
|
||||
0.06740856,
|
||||
0.013992665,
|
||||
-0.054007422,
|
||||
-0.016785627,
|
||||
0.07651403,
|
||||
-0.035508703,
|
||||
-0.050085396,
|
||||
0.08382383,
|
||||
-0.009957674,
|
||||
0.08140875,
|
||||
0.019287178,
|
||||
0.049911316,
|
||||
0.0022236605,
|
||||
-0.07807412,
|
||||
0.019454133,
|
||||
0.111560374,
|
||||
-0.01269702,
|
||||
-0.06466137,
|
||||
-0.09346588,
|
||||
-0.050038446,
|
||||
-0.042178612,
|
||||
0.0599713,
|
||||
0.034831088,
|
||||
-0.014957726,
|
||||
0.014484159,
|
||||
-0.022619838,
|
||||
0.06916277,
|
||||
-0.088544875,
|
||||
0.021478733,
|
||||
0.01378541,
|
||||
-0.0075770007,
|
||||
0.027888266,
|
||||
0.015526889,
|
||||
0.0052174823,
|
||||
0.010616002,
|
||||
-0.022908956,
|
||||
-0.02535865,
|
||||
-0.04139556,
|
||||
-0.08375561,
|
||||
0.092626974,
|
||||
0.051755503,
|
||||
0.09296614,
|
||||
0.011223383,
|
||||
-0.016759252
|
||||
],
|
||||
"index": 0,
|
||||
"object": "embedding"
|
||||
}
|
||||
],
|
||||
"model": "all-minilm:l6-v2",
|
||||
"object": "list",
|
||||
"usage": {
|
||||
"prompt_tokens": 6,
|
||||
"total_tokens": 6
|
||||
}
|
||||
}
|
||||
},
|
||||
"is_streaming": false
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,423 @@
|
|||
{
|
||||
"test_id": "tests/integration/vector_io/test_openai_vector_stores.py::test_openai_vector_store_update_file[client_with_models-ollama/llama3.2:3b-instruct-fp16-None-ollama/all-minilm:l6-v2-None-384]",
|
||||
"request": {
|
||||
"method": "POST",
|
||||
"url": "http://0.0.0.0:11434/v1/v1/embeddings",
|
||||
"headers": {},
|
||||
"body": {
|
||||
"model": "all-minilm:l6-v2",
|
||||
"input": [
|
||||
"This is a test file"
|
||||
],
|
||||
"encoding_format": "float"
|
||||
},
|
||||
"endpoint": "/v1/embeddings",
|
||||
"model": "all-minilm:l6-v2"
|
||||
},
|
||||
"response": {
|
||||
"body": {
|
||||
"__type__": "openai.types.create_embedding_response.CreateEmbeddingResponse",
|
||||
"__data__": {
|
||||
"data": [
|
||||
{
|
||||
"embedding": [
|
||||
-0.03427073,
|
||||
0.090051405,
|
||||
-0.11458989,
|
||||
0.0021456745,
|
||||
0.059038658,
|
||||
-0.027524853,
|
||||
-0.020602634,
|
||||
0.03373726,
|
||||
-0.038729247,
|
||||
0.026002944,
|
||||
0.11481002,
|
||||
0.027119067,
|
||||
-0.015927644,
|
||||
-0.021832926,
|
||||
-0.046713773,
|
||||
-0.0463825,
|
||||
-0.074167565,
|
||||
-0.0528447,
|
||||
-0.028117927,
|
||||
0.06325688,
|
||||
0.029135453,
|
||||
0.047131006,
|
||||
-0.052675154,
|
||||
-0.005349263,
|
||||
0.030659368,
|
||||
0.017706472,
|
||||
-0.01687267,
|
||||
0.08681507,
|
||||
-0.014155131,
|
||||
-0.0838676,
|
||||
0.020020565,
|
||||
0.07115838,
|
||||
0.08365558,
|
||||
0.030919788,
|
||||
0.11829893,
|
||||
0.028751066,
|
||||
0.069536895,
|
||||
-0.017295403,
|
||||
-0.005784813,
|
||||
0.005809313,
|
||||
0.0012009157,
|
||||
-0.0653044,
|
||||
0.0373506,
|
||||
0.018565746,
|
||||
-0.0034945607,
|
||||
-0.0011305016,
|
||||
-0.029752811,
|
||||
-0.021266408,
|
||||
0.0058016903,
|
||||
-0.035597492,
|
||||
-0.03722647,
|
||||
0.012373253,
|
||||
-0.066935256,
|
||||
-0.023148224,
|
||||
0.056864377,
|
||||
0.0014741909,
|
||||
0.014408296,
|
||||
-0.017165763,
|
||||
0.009236472,
|
||||
0.06087921,
|
||||
0.024628488,
|
||||
0.03699286,
|
||||
-0.050610077,
|
||||
0.05173448,
|
||||
0.10159555,
|
||||
0.008507267,
|
||||
-0.04803921,
|
||||
-0.013024803,
|
||||
0.03110457,
|
||||
-0.16593884,
|
||||
-0.1410075,
|
||||
0.009813814,
|
||||
-0.025974236,
|
||||
0.05233053,
|
||||
-0.0078903325,
|
||||
0.00788491,
|
||||
-0.08471812,
|
||||
-0.044507448,
|
||||
0.054161046,
|
||||
-0.0704361,
|
||||
-0.05769206,
|
||||
-0.100796975,
|
||||
0.02182441,
|
||||
0.022125391,
|
||||
0.0071617346,
|
||||
0.13063926,
|
||||
0.080232956,
|
||||
-0.004421626,
|
||||
-0.018768508,
|
||||
0.0076132733,
|
||||
-0.03163366,
|
||||
0.031986494,
|
||||
-0.022168567,
|
||||
0.03073627,
|
||||
-0.023798423,
|
||||
0.06954045,
|
||||
0.016659362,
|
||||
0.009536805,
|
||||
0.027459558,
|
||||
0.102133445,
|
||||
0.021457382,
|
||||
-0.021377807,
|
||||
0.015131543,
|
||||
0.039423607,
|
||||
-0.09434147,
|
||||
-0.11544392,
|
||||
0.09468138,
|
||||
-0.011155598,
|
||||
0.07266597,
|
||||
-0.03601087,
|
||||
-0.011743829,
|
||||
-0.06654009,
|
||||
-0.03470551,
|
||||
-0.10300434,
|
||||
0.03020924,
|
||||
-0.06319472,
|
||||
-0.0908424,
|
||||
0.04116676,
|
||||
-0.033686537,
|
||||
0.045706224,
|
||||
0.07134009,
|
||||
-0.031778418,
|
||||
-0.059655976,
|
||||
-0.017215038,
|
||||
-0.03229557,
|
||||
-0.058579948,
|
||||
0.06733934,
|
||||
-5.023814e-33,
|
||||
-0.0058283503,
|
||||
-0.0719842,
|
||||
-0.009296622,
|
||||
0.09659216,
|
||||
0.03709538,
|
||||
-0.03478395,
|
||||
-0.004713233,
|
||||
0.016686605,
|
||||
-0.09859812,
|
||||
0.00547005,
|
||||
-0.014113569,
|
||||
-0.0840751,
|
||||
0.0027168505,
|
||||
0.04445616,
|
||||
-0.012728728,
|
||||
0.034566686,
|
||||
-0.0006014651,
|
||||
0.06319148,
|
||||
-0.026799418,
|
||||
-0.013500979,
|
||||
0.024169419,
|
||||
0.015417236,
|
||||
-0.04135526,
|
||||
-0.055208974,
|
||||
-0.06455241,
|
||||
0.03148543,
|
||||
-0.0073052812,
|
||||
-0.03945437,
|
||||
0.059831504,
|
||||
0.026674163,
|
||||
0.01396753,
|
||||
-0.038841277,
|
||||
-0.048514687,
|
||||
0.01756627,
|
||||
0.020964677,
|
||||
0.035239976,
|
||||
0.0115498835,
|
||||
-0.00846713,
|
||||
-0.044673763,
|
||||
0.014640657,
|
||||
5.2045852e-05,
|
||||
-0.04694704,
|
||||
0.02703366,
|
||||
0.006635295,
|
||||
0.064396136,
|
||||
-0.044757996,
|
||||
-0.026173549,
|
||||
-0.016282372,
|
||||
0.05521396,
|
||||
0.014104745,
|
||||
-0.008479494,
|
||||
0.04204778,
|
||||
0.05049772,
|
||||
0.021629427,
|
||||
0.011260506,
|
||||
0.04858872,
|
||||
0.017662494,
|
||||
-0.005005865,
|
||||
0.0019118759,
|
||||
0.06333162,
|
||||
0.035875723,
|
||||
0.03504778,
|
||||
-0.06642375,
|
||||
0.008791644,
|
||||
-0.027326671,
|
||||
-0.05987137,
|
||||
-0.0272001,
|
||||
-0.08728625,
|
||||
0.112434424,
|
||||
0.05879801,
|
||||
-0.041698616,
|
||||
-0.06924583,
|
||||
0.06434144,
|
||||
0.01583225,
|
||||
-0.027750073,
|
||||
-0.037574448,
|
||||
-0.011715211,
|
||||
0.0694801,
|
||||
-0.07104981,
|
||||
-0.039085716,
|
||||
-0.043068763,
|
||||
-0.11208956,
|
||||
-0.030723054,
|
||||
-0.063793585,
|
||||
-0.03527373,
|
||||
-0.06119042,
|
||||
-0.01526633,
|
||||
-0.10094421,
|
||||
0.047486804,
|
||||
-0.08320468,
|
||||
-0.0029513796,
|
||||
0.0131224785,
|
||||
-0.056690685,
|
||||
-0.057956036,
|
||||
0.06140136,
|
||||
2.7669969e-33,
|
||||
0.0036719525,
|
||||
0.06695694,
|
||||
-0.05591421,
|
||||
0.025166295,
|
||||
0.014735592,
|
||||
0.03381445,
|
||||
0.09345791,
|
||||
-0.01053347,
|
||||
-0.046693947,
|
||||
0.14254177,
|
||||
-0.015430197,
|
||||
0.0066938214,
|
||||
0.07679359,
|
||||
-0.045779705,
|
||||
0.07989786,
|
||||
0.0036165903,
|
||||
0.023604553,
|
||||
-0.06533708,
|
||||
-0.04253485,
|
||||
-0.025912313,
|
||||
-0.0748119,
|
||||
0.10020777,
|
||||
0.12578633,
|
||||
0.06409652,
|
||||
-0.016682886,
|
||||
0.01406972,
|
||||
0.025274348,
|
||||
0.0017218525,
|
||||
-0.013340701,
|
||||
0.01172295,
|
||||
0.03772902,
|
||||
0.040607873,
|
||||
-0.120578945,
|
||||
0.024344057,
|
||||
0.03439985,
|
||||
-0.10167353,
|
||||
0.11863072,
|
||||
-0.03571693,
|
||||
-0.0126576,
|
||||
0.022622129,
|
||||
0.039235484,
|
||||
0.10625315,
|
||||
0.0106492825,
|
||||
0.076503076,
|
||||
0.02088746,
|
||||
0.06468519,
|
||||
0.08582322,
|
||||
-0.032148413,
|
||||
0.04359905,
|
||||
0.011070053,
|
||||
0.023209164,
|
||||
-0.06709916,
|
||||
0.055355705,
|
||||
-0.008128262,
|
||||
-0.026921155,
|
||||
0.076995976,
|
||||
-0.011614669,
|
||||
0.044967294,
|
||||
-0.02459807,
|
||||
0.020910041,
|
||||
-0.0016746842,
|
||||
0.02905443,
|
||||
-0.03898753,
|
||||
-0.01360213,
|
||||
-0.019878393,
|
||||
-0.057056017,
|
||||
-0.014543598,
|
||||
0.010161744,
|
||||
0.016893594,
|
||||
0.011981163,
|
||||
0.019902436,
|
||||
0.019194229,
|
||||
-0.06551642,
|
||||
-0.050247267,
|
||||
0.050837662,
|
||||
-0.075614415,
|
||||
-0.018767305,
|
||||
-0.012229684,
|
||||
0.0019464786,
|
||||
-0.0035209567,
|
||||
0.0699799,
|
||||
-0.02925182,
|
||||
-0.008455151,
|
||||
0.04742619,
|
||||
-0.0004527954,
|
||||
-0.014011262,
|
||||
-0.0035493495,
|
||||
0.08439228,
|
||||
-0.001586065,
|
||||
0.0016962147,
|
||||
-0.023180604,
|
||||
0.059889086,
|
||||
0.019616995,
|
||||
0.05435093,
|
||||
0.012301163,
|
||||
-1.5289881e-08,
|
||||
-0.038103975,
|
||||
-0.084179275,
|
||||
-0.013605872,
|
||||
-0.03277629,
|
||||
-0.020995136,
|
||||
0.08924277,
|
||||
0.005438667,
|
||||
-0.07047066,
|
||||
-0.03966912,
|
||||
-0.018226335,
|
||||
0.05716885,
|
||||
-0.026391266,
|
||||
-0.09881308,
|
||||
0.017511,
|
||||
-0.01952465,
|
||||
-0.06237397,
|
||||
-0.019553065,
|
||||
-0.0112019945,
|
||||
-0.030052405,
|
||||
0.010624359,
|
||||
-0.005598304,
|
||||
0.05326868,
|
||||
0.044162616,
|
||||
0.025812192,
|
||||
0.0059228353,
|
||||
0.059632093,
|
||||
0.06885661,
|
||||
0.08894283,
|
||||
-0.06225795,
|
||||
-0.038893122,
|
||||
0.028817136,
|
||||
0.08772772,
|
||||
0.017759481,
|
||||
-0.050048865,
|
||||
-0.0009810333,
|
||||
0.1297453,
|
||||
0.083138496,
|
||||
0.08161095,
|
||||
0.011747931,
|
||||
0.006871316,
|
||||
-0.07277484,
|
||||
-0.0020051182,
|
||||
-0.018357608,
|
||||
0.008882652,
|
||||
-0.03823878,
|
||||
-0.09057624,
|
||||
-0.06433315,
|
||||
-0.04256367,
|
||||
-0.030856675,
|
||||
-0.09314087,
|
||||
-0.043470908,
|
||||
0.012043298,
|
||||
-9.8401986e-05,
|
||||
0.040246293,
|
||||
-0.04912119,
|
||||
0.014575804,
|
||||
0.017479645,
|
||||
-0.00515073,
|
||||
-0.033331197,
|
||||
0.0075505474,
|
||||
0.07488009,
|
||||
0.06460031,
|
||||
0.044803377,
|
||||
-0.028485151
|
||||
],
|
||||
"index": 0,
|
||||
"object": "embedding"
|
||||
}
|
||||
],
|
||||
"model": "all-minilm:l6-v2",
|
||||
"object": "list",
|
||||
"usage": {
|
||||
"prompt_tokens": 5,
|
||||
"total_tokens": 5
|
||||
}
|
||||
}
|
||||
},
|
||||
"is_streaming": false
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,423 @@
|
|||
{
|
||||
"test_id": "tests/integration/vector_io/test_openai_vector_stores.py::test_openai_vector_store_attach_file[client_with_models-ollama/llama3.2:3b-instruct-fp16-None-ollama/all-minilm:l6-v2-None-384]",
|
||||
"request": {
|
||||
"method": "POST",
|
||||
"url": "http://0.0.0.0:11434/v1/v1/embeddings",
|
||||
"headers": {},
|
||||
"body": {
|
||||
"model": "all-minilm:l6-v2",
|
||||
"input": [
|
||||
"The secret string is foobazbar."
|
||||
],
|
||||
"encoding_format": "float"
|
||||
},
|
||||
"endpoint": "/v1/embeddings",
|
||||
"model": "all-minilm:l6-v2"
|
||||
},
|
||||
"response": {
|
||||
"body": {
|
||||
"__type__": "openai.types.create_embedding_response.CreateEmbeddingResponse",
|
||||
"__data__": {
|
||||
"data": [
|
||||
{
|
||||
"embedding": [
|
||||
-0.060630284,
|
||||
0.06372823,
|
||||
-0.059383437,
|
||||
-0.010313639,
|
||||
-0.11985778,
|
||||
0.033409074,
|
||||
0.056847293,
|
||||
-0.0064553,
|
||||
0.029896382,
|
||||
-0.05037607,
|
||||
0.015193001,
|
||||
-0.0634204,
|
||||
0.015119892,
|
||||
-0.08354324,
|
||||
0.0092577925,
|
||||
0.044272587,
|
||||
-0.024397198,
|
||||
-0.05100177,
|
||||
-0.028086444,
|
||||
-0.07390362,
|
||||
0.07088186,
|
||||
0.08101153,
|
||||
0.006050408,
|
||||
-0.043090094,
|
||||
0.010714593,
|
||||
-0.01581376,
|
||||
0.0351736,
|
||||
0.06538307,
|
||||
0.03639655,
|
||||
-0.05625738,
|
||||
0.073681176,
|
||||
0.04730274,
|
||||
0.067169026,
|
||||
-0.01207242,
|
||||
-0.018193275,
|
||||
0.0042488067,
|
||||
0.029168725,
|
||||
0.0067459582,
|
||||
0.037927665,
|
||||
0.0024767139,
|
||||
0.014044963,
|
||||
0.022671249,
|
||||
-0.090508185,
|
||||
0.041952047,
|
||||
-0.07933115,
|
||||
0.031992197,
|
||||
-0.038355146,
|
||||
0.037013844,
|
||||
-0.0036946274,
|
||||
-0.016986867,
|
||||
0.03696087,
|
||||
-0.07697335,
|
||||
-0.020080294,
|
||||
0.07733012,
|
||||
0.04521822,
|
||||
-0.007816803,
|
||||
-0.0058926586,
|
||||
0.009962128,
|
||||
0.033492323,
|
||||
0.09000152,
|
||||
0.016161384,
|
||||
0.036999356,
|
||||
-0.039193578,
|
||||
-0.010969346,
|
||||
0.023929566,
|
||||
-0.03698458,
|
||||
-0.008227196,
|
||||
0.018780757,
|
||||
-0.0006967325,
|
||||
-0.062018193,
|
||||
-0.030388007,
|
||||
-0.037649162,
|
||||
-0.04654288,
|
||||
0.038450293,
|
||||
-0.010377299,
|
||||
-0.032971557,
|
||||
0.013547814,
|
||||
-0.059036925,
|
||||
0.0630603,
|
||||
0.0159564,
|
||||
-0.04845087,
|
||||
-0.069917254,
|
||||
-0.022502322,
|
||||
0.04408022,
|
||||
0.03618941,
|
||||
0.060470726,
|
||||
-0.04313285,
|
||||
0.028797466,
|
||||
0.0062393937,
|
||||
0.01027349,
|
||||
-0.078714885,
|
||||
-0.091531575,
|
||||
0.04391341,
|
||||
0.013202597,
|
||||
-0.0037814155,
|
||||
0.0102497,
|
||||
0.020225797,
|
||||
0.05634384,
|
||||
-0.09700619,
|
||||
0.06577961,
|
||||
0.047118917,
|
||||
0.01876648,
|
||||
0.12445029,
|
||||
-0.06447121,
|
||||
-0.012632697,
|
||||
0.016056264,
|
||||
0.08604982,
|
||||
0.024878234,
|
||||
0.10627678,
|
||||
-0.043176394,
|
||||
-0.046339765,
|
||||
-0.03149599,
|
||||
-0.001784808,
|
||||
-0.023469802,
|
||||
-0.05079461,
|
||||
0.0046657966,
|
||||
0.043237828,
|
||||
0.057146583,
|
||||
-0.065833576,
|
||||
0.032975562,
|
||||
-0.028763266,
|
||||
0.037831448,
|
||||
0.00017829033,
|
||||
0.043322463,
|
||||
-0.13265091,
|
||||
0.0263673,
|
||||
-0.04247752,
|
||||
-3.3340873e-33,
|
||||
-0.0022191573,
|
||||
0.050657377,
|
||||
0.028066125,
|
||||
-0.033898965,
|
||||
-0.0045730886,
|
||||
-0.034653578,
|
||||
-0.08628417,
|
||||
0.043108672,
|
||||
0.01022734,
|
||||
0.044009056,
|
||||
-0.03020062,
|
||||
-0.0936044,
|
||||
-0.06522928,
|
||||
-0.059762992,
|
||||
0.037560984,
|
||||
-0.025942331,
|
||||
-0.06655938,
|
||||
0.0043691625,
|
||||
0.018846871,
|
||||
-0.035582166,
|
||||
0.02240012,
|
||||
0.08943218,
|
||||
0.033568345,
|
||||
-0.11379316,
|
||||
0.03822112,
|
||||
-0.044403847,
|
||||
0.10261262,
|
||||
-0.07330182,
|
||||
0.089390896,
|
||||
0.056668896,
|
||||
-0.009407597,
|
||||
-0.0646505,
|
||||
0.016652016,
|
||||
0.007326742,
|
||||
0.005187682,
|
||||
0.0051324354,
|
||||
-0.013595071,
|
||||
-0.04918112,
|
||||
-0.06672084,
|
||||
0.010838405,
|
||||
0.04638185,
|
||||
-0.11490209,
|
||||
-0.055054087,
|
||||
0.040443793,
|
||||
-0.032746885,
|
||||
0.03498173,
|
||||
-0.023567867,
|
||||
-0.012213799,
|
||||
0.048050664,
|
||||
0.01159698,
|
||||
0.007860181,
|
||||
0.03801084,
|
||||
-0.027765153,
|
||||
0.003296162,
|
||||
-0.0033349432,
|
||||
0.006083357,
|
||||
0.03200884,
|
||||
0.048306234,
|
||||
0.013800832,
|
||||
0.036165927,
|
||||
-0.022672432,
|
||||
0.09197581,
|
||||
0.029846204,
|
||||
0.08112345,
|
||||
-0.08677228,
|
||||
-0.028041098,
|
||||
0.0556574,
|
||||
-0.030357547,
|
||||
-0.016538681,
|
||||
0.031826265,
|
||||
-0.07586954,
|
||||
-0.009915978,
|
||||
0.028101236,
|
||||
0.002207158,
|
||||
-0.10496646,
|
||||
-0.023673821,
|
||||
-0.024204832,
|
||||
-0.0003132271,
|
||||
0.0016462951,
|
||||
-0.037603874,
|
||||
0.025533162,
|
||||
-0.05221861,
|
||||
0.021656586,
|
||||
0.099111386,
|
||||
-0.06896361,
|
||||
-0.018568028,
|
||||
0.07245527,
|
||||
-0.10582686,
|
||||
-0.08505038,
|
||||
-0.029969748,
|
||||
-0.015717981,
|
||||
-0.056855034,
|
||||
-0.02698479,
|
||||
-0.06410572,
|
||||
0.0057078917,
|
||||
1.2902391e-33,
|
||||
0.05490771,
|
||||
-0.036417797,
|
||||
-0.0023541928,
|
||||
-0.03591478,
|
||||
0.106852315,
|
||||
-0.04931468,
|
||||
0.037884213,
|
||||
0.050633065,
|
||||
-0.083874516,
|
||||
-0.018756155,
|
||||
0.0036251817,
|
||||
0.028974183,
|
||||
-0.0027879397,
|
||||
-0.036439158,
|
||||
0.11148004,
|
||||
0.051007163,
|
||||
0.040258586,
|
||||
0.09245398,
|
||||
-0.01367112,
|
||||
-0.070999645,
|
||||
-0.043213032,
|
||||
-0.060117763,
|
||||
-0.03019449,
|
||||
0.009107182,
|
||||
-0.044254936,
|
||||
0.04843456,
|
||||
0.117205575,
|
||||
-0.009833911,
|
||||
0.0023962231,
|
||||
0.09339494,
|
||||
-0.059902366,
|
||||
0.0101377955,
|
||||
-0.03777244,
|
||||
-0.04344207,
|
||||
-0.14677393,
|
||||
-0.022666233,
|
||||
-0.008934328,
|
||||
-0.02157697,
|
||||
-0.021902358,
|
||||
-0.06611372,
|
||||
0.016243221,
|
||||
0.062620856,
|
||||
0.01056146,
|
||||
0.04721975,
|
||||
-0.087221384,
|
||||
0.009420561,
|
||||
-0.017691165,
|
||||
-0.03847053,
|
||||
0.010398396,
|
||||
0.022942957,
|
||||
0.099518456,
|
||||
-0.021421565,
|
||||
0.0016765085,
|
||||
-0.039359514,
|
||||
0.01641369,
|
||||
0.039669517,
|
||||
-0.119695365,
|
||||
0.009885617,
|
||||
0.003855461,
|
||||
0.018273395,
|
||||
-0.0454586,
|
||||
0.0020496584,
|
||||
0.024263415,
|
||||
0.016978405,
|
||||
0.06884217,
|
||||
-0.027432522,
|
||||
-0.01813802,
|
||||
0.053840507,
|
||||
-0.028815664,
|
||||
-0.045221787,
|
||||
0.11472852,
|
||||
0.019796453,
|
||||
-0.05785514,
|
||||
0.016556906,
|
||||
-0.07362942,
|
||||
0.04025756,
|
||||
-0.01510899,
|
||||
0.0067040483,
|
||||
-0.049666926,
|
||||
0.045941774,
|
||||
0.077951804,
|
||||
-0.042951427,
|
||||
0.021852365,
|
||||
0.063826546,
|
||||
0.08110754,
|
||||
-0.070652775,
|
||||
-0.03245094,
|
||||
0.09259784,
|
||||
-0.020451743,
|
||||
0.0701599,
|
||||
-0.020740295,
|
||||
0.09339449,
|
||||
-0.051164806,
|
||||
0.039440546,
|
||||
0.02560772,
|
||||
-1.6767814e-08,
|
||||
0.001529873,
|
||||
0.0080792755,
|
||||
-0.017666567,
|
||||
-0.034070052,
|
||||
0.06805411,
|
||||
0.07387949,
|
||||
-0.07592055,
|
||||
-0.11369049,
|
||||
-0.022008128,
|
||||
0.009088418,
|
||||
0.03108134,
|
||||
-0.0056734695,
|
||||
-0.0462051,
|
||||
0.0037219985,
|
||||
0.013269294,
|
||||
-0.03213892,
|
||||
-0.05557376,
|
||||
-0.010602884,
|
||||
0.006751397,
|
||||
-0.025462827,
|
||||
-0.0836812,
|
||||
0.08886153,
|
||||
0.005159859,
|
||||
-0.051621262,
|
||||
-0.051873572,
|
||||
0.039706588,
|
||||
-0.042155124,
|
||||
0.057125967,
|
||||
0.088910565,
|
||||
0.049736783,
|
||||
0.04144574,
|
||||
0.094677895,
|
||||
-0.037107926,
|
||||
-0.06845684,
|
||||
-0.061673928,
|
||||
0.09891817,
|
||||
-0.05952751,
|
||||
-0.0331722,
|
||||
-0.026014913,
|
||||
0.077612035,
|
||||
0.056150436,
|
||||
0.010709955,
|
||||
0.018974187,
|
||||
0.056079865,
|
||||
-0.041700333,
|
||||
-0.02731697,
|
||||
0.10184176,
|
||||
-0.036189064,
|
||||
-0.029914921,
|
||||
-0.043333948,
|
||||
0.043660097,
|
||||
0.018800316,
|
||||
-0.0042763646,
|
||||
0.055898346,
|
||||
-0.0034344571,
|
||||
0.060258396,
|
||||
-0.1337251,
|
||||
0.008184424,
|
||||
-0.031549457,
|
||||
0.022398692,
|
||||
0.037932154,
|
||||
0.024529235,
|
||||
0.068037644,
|
||||
0.07021777
|
||||
],
|
||||
"index": 0,
|
||||
"object": "embedding"
|
||||
}
|
||||
],
|
||||
"model": "all-minilm:l6-v2",
|
||||
"object": "list",
|
||||
"usage": {
|
||||
"prompt_tokens": 9,
|
||||
"total_tokens": 9
|
||||
}
|
||||
}
|
||||
},
|
||||
"is_streaming": false
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,78 @@
|
|||
{
|
||||
"test_id": "tests/integration/vector_io/test_openai_vector_stores.py::test_openai_create_vector_store[client_with_models-ollama/llama3.2:3b-instruct-fp16-None-ollama/all-minilm:l6-v2-None-384]",
|
||||
"request": {
|
||||
"method": "POST",
|
||||
"url": "http://localhost:11434/api/ps",
|
||||
"headers": {},
|
||||
"body": {},
|
||||
"endpoint": "/api/ps",
|
||||
"model": ""
|
||||
},
|
||||
"response": {
|
||||
"body": {
|
||||
"__type__": "ollama._types.ProcessResponse",
|
||||
"__data__": {
|
||||
"models": [
|
||||
{
|
||||
"model": "llama3.2:3b-instruct-fp16",
|
||||
"name": "llama3.2:3b-instruct-fp16",
|
||||
"digest": "195a8c01d91ec3cb1e0aad4624a51f2602c51fa7d96110f8ab5a20c84081804d",
|
||||
"expires_at": "2025-10-03T21:20:56.787737-07:00",
|
||||
"size": 7919570944,
|
||||
"size_vram": 7919570944,
|
||||
"details": {
|
||||
"parent_model": "",
|
||||
"format": "gguf",
|
||||
"family": "llama",
|
||||
"families": [
|
||||
"llama"
|
||||
],
|
||||
"parameter_size": "3.2B",
|
||||
"quantization_level": "F16"
|
||||
},
|
||||
"context_length": 4096
|
||||
},
|
||||
{
|
||||
"model": "all-minilm:l6-v2",
|
||||
"name": "all-minilm:l6-v2",
|
||||
"digest": "1b226e2802dbb772b5fc32a58f103ca1804ef7501331012de126ab22f67475ef",
|
||||
"expires_at": "2025-10-03T21:19:00.464427-07:00",
|
||||
"size": 585846784,
|
||||
"size_vram": 585846784,
|
||||
"details": {
|
||||
"parent_model": "",
|
||||
"format": "gguf",
|
||||
"family": "bert",
|
||||
"families": [
|
||||
"bert"
|
||||
],
|
||||
"parameter_size": "23M",
|
||||
"quantization_level": "F16"
|
||||
},
|
||||
"context_length": 256
|
||||
},
|
||||
{
|
||||
"model": "llama-guard3:1b",
|
||||
"name": "llama-guard3:1b",
|
||||
"digest": "494147e06bf99e10dbe67b63a07ac81c162f18ef3341aa3390007ac828571b3b",
|
||||
"expires_at": "2025-10-03T21:16:14.288654-07:00",
|
||||
"size": 2350966784,
|
||||
"size_vram": 2350966784,
|
||||
"details": {
|
||||
"parent_model": "",
|
||||
"format": "gguf",
|
||||
"family": "llama",
|
||||
"families": [
|
||||
"llama"
|
||||
],
|
||||
"parameter_size": "1.5B",
|
||||
"quantization_level": "Q8_0"
|
||||
},
|
||||
"context_length": 4096
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
"is_streaming": false
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,78 @@
|
|||
{
|
||||
"test_id": "tests/integration/vector_io/test_openai_vector_stores.py::test_openai_vector_store_list_files_invalid_vector_store[client_with_models-ollama/llama3.2:3b-instruct-fp16-None-ollama/all-minilm:l6-v2-None-384]",
|
||||
"request": {
|
||||
"method": "POST",
|
||||
"url": "http://localhost:11434/api/ps",
|
||||
"headers": {},
|
||||
"body": {},
|
||||
"endpoint": "/api/ps",
|
||||
"model": ""
|
||||
},
|
||||
"response": {
|
||||
"body": {
|
||||
"__type__": "ollama._types.ProcessResponse",
|
||||
"__data__": {
|
||||
"models": [
|
||||
{
|
||||
"model": "all-minilm:l6-v2",
|
||||
"name": "all-minilm:l6-v2",
|
||||
"digest": "1b226e2802dbb772b5fc32a58f103ca1804ef7501331012de126ab22f67475ef",
|
||||
"expires_at": "2025-10-03T21:21:10.126762-07:00",
|
||||
"size": 585846784,
|
||||
"size_vram": 585846784,
|
||||
"details": {
|
||||
"parent_model": "",
|
||||
"format": "gguf",
|
||||
"family": "bert",
|
||||
"families": [
|
||||
"bert"
|
||||
],
|
||||
"parameter_size": "23M",
|
||||
"quantization_level": "F16"
|
||||
},
|
||||
"context_length": 256
|
||||
},
|
||||
{
|
||||
"model": "llama3.2:3b-instruct-fp16",
|
||||
"name": "llama3.2:3b-instruct-fp16",
|
||||
"digest": "195a8c01d91ec3cb1e0aad4624a51f2602c51fa7d96110f8ab5a20c84081804d",
|
||||
"expires_at": "2025-10-03T21:20:56.787737-07:00",
|
||||
"size": 7919570944,
|
||||
"size_vram": 7919570944,
|
||||
"details": {
|
||||
"parent_model": "",
|
||||
"format": "gguf",
|
||||
"family": "llama",
|
||||
"families": [
|
||||
"llama"
|
||||
],
|
||||
"parameter_size": "3.2B",
|
||||
"quantization_level": "F16"
|
||||
},
|
||||
"context_length": 4096
|
||||
},
|
||||
{
|
||||
"model": "llama-guard3:1b",
|
||||
"name": "llama-guard3:1b",
|
||||
"digest": "494147e06bf99e10dbe67b63a07ac81c162f18ef3341aa3390007ac828571b3b",
|
||||
"expires_at": "2025-10-03T21:16:14.288654-07:00",
|
||||
"size": 2350966784,
|
||||
"size_vram": 2350966784,
|
||||
"details": {
|
||||
"parent_model": "",
|
||||
"format": "gguf",
|
||||
"family": "llama",
|
||||
"families": [
|
||||
"llama"
|
||||
],
|
||||
"parameter_size": "1.5B",
|
||||
"quantization_level": "Q8_0"
|
||||
},
|
||||
"context_length": 4096
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
"is_streaming": false
|
||||
}
|
||||
}
|
||||
File diff suppressed because it is too large
Load diff
|
|
@ -0,0 +1,423 @@
|
|||
{
|
||||
"test_id": "tests/integration/vector_io/test_vector_io.py::test_insert_chunks[emb=ollama/all-minilm:l6-v2:dim=384-test_case1]",
|
||||
"request": {
|
||||
"method": "POST",
|
||||
"url": "http://0.0.0.0:11434/v1/v1/embeddings",
|
||||
"headers": {},
|
||||
"body": {
|
||||
"model": "all-minilm:l6-v2",
|
||||
"input": [
|
||||
"What is the capital of France?"
|
||||
],
|
||||
"encoding_format": "float"
|
||||
},
|
||||
"endpoint": "/v1/embeddings",
|
||||
"model": "all-minilm:l6-v2"
|
||||
},
|
||||
"response": {
|
||||
"body": {
|
||||
"__type__": "openai.types.create_embedding_response.CreateEmbeddingResponse",
|
||||
"__data__": {
|
||||
"data": [
|
||||
{
|
||||
"embedding": [
|
||||
0.082037136,
|
||||
0.03605009,
|
||||
-0.003858349,
|
||||
-0.0048745335,
|
||||
0.025680654,
|
||||
-0.05718634,
|
||||
0.012181495,
|
||||
0.0046627503,
|
||||
0.03504826,
|
||||
-0.022433529,
|
||||
-0.008051872,
|
||||
-0.10929119,
|
||||
0.022724133,
|
||||
-0.029288922,
|
||||
-0.043489166,
|
||||
-0.120253265,
|
||||
-0.00086341135,
|
||||
-0.018151222,
|
||||
0.0561967,
|
||||
0.00309959,
|
||||
0.0022962212,
|
||||
-0.016878856,
|
||||
0.06362854,
|
||||
-0.02366614,
|
||||
0.031488717,
|
||||
-0.034919456,
|
||||
-0.020573795,
|
||||
-0.002815633,
|
||||
-0.011089214,
|
||||
-0.036135226,
|
||||
0.054130327,
|
||||
-0.036599707,
|
||||
-0.025023036,
|
||||
-0.038259722,
|
||||
-0.049688417,
|
||||
-0.015200446,
|
||||
0.021407988,
|
||||
-0.0127598485,
|
||||
0.07668212,
|
||||
0.044370703,
|
||||
-0.0108555285,
|
||||
-0.02972891,
|
||||
-0.016925987,
|
||||
-0.024663594,
|
||||
0.008030216,
|
||||
0.043554515,
|
||||
0.0071516195,
|
||||
0.07550263,
|
||||
0.032855336,
|
||||
-0.062009048,
|
||||
0.066706404,
|
||||
0.027028719,
|
||||
-0.04570193,
|
||||
-0.03146736,
|
||||
-0.031145794,
|
||||
0.091601126,
|
||||
-0.0017914127,
|
||||
-0.011287448,
|
||||
0.03652323,
|
||||
0.05692562,
|
||||
0.0023244114,
|
||||
-0.037794005,
|
||||
-0.015485576,
|
||||
0.05239373,
|
||||
0.060352743,
|
||||
-0.01656626,
|
||||
0.008852838,
|
||||
-0.0066740657,
|
||||
-0.10624023,
|
||||
0.0016855119,
|
||||
-0.04846779,
|
||||
-0.029726079,
|
||||
0.004318477,
|
||||
-0.08570177,
|
||||
0.066239014,
|
||||
-0.055177763,
|
||||
-0.113279216,
|
||||
0.050822813,
|
||||
-0.0093511855,
|
||||
0.0059375227,
|
||||
0.020984603,
|
||||
-0.022525566,
|
||||
0.00049133686,
|
||||
0.056391854,
|
||||
0.045508638,
|
||||
-0.005227753,
|
||||
0.09361666,
|
||||
0.027507791,
|
||||
0.02937236,
|
||||
-0.045665868,
|
||||
-0.048981518,
|
||||
0.0014411878,
|
||||
-0.012885078,
|
||||
0.079774186,
|
||||
-0.119063824,
|
||||
0.06878127,
|
||||
-0.022768173,
|
||||
0.044935144,
|
||||
-0.081365064,
|
||||
0.0439928,
|
||||
0.002936521,
|
||||
0.01760215,
|
||||
0.08313044,
|
||||
-0.018089816,
|
||||
-0.04793947,
|
||||
0.058759455,
|
||||
0.0062854686,
|
||||
-0.014705522,
|
||||
-0.0072833668,
|
||||
-0.078145795,
|
||||
-0.10076618,
|
||||
-0.03352427,
|
||||
-0.0008879286,
|
||||
-0.05110566,
|
||||
0.027157873,
|
||||
0.07079609,
|
||||
0.04741029,
|
||||
-0.10456867,
|
||||
0.0044786637,
|
||||
-0.028797852,
|
||||
-0.018375952,
|
||||
-0.050554108,
|
||||
-0.031530026,
|
||||
-0.009527807,
|
||||
-0.060606185,
|
||||
0.021066627,
|
||||
-0.046673466,
|
||||
-7.760674e-33,
|
||||
-0.03134469,
|
||||
0.056437604,
|
||||
0.07740162,
|
||||
0.063869186,
|
||||
-0.04665667,
|
||||
-0.0076621915,
|
||||
-0.055314656,
|
||||
0.040249433,
|
||||
-0.03159584,
|
||||
-0.0070865196,
|
||||
0.0394448,
|
||||
-0.13172099,
|
||||
-0.06611813,
|
||||
0.021771116,
|
||||
0.09699056,
|
||||
0.011762843,
|
||||
0.08904323,
|
||||
0.034680966,
|
||||
-0.043843478,
|
||||
-0.00029840716,
|
||||
0.014667039,
|
||||
-0.0027011412,
|
||||
-0.0033179414,
|
||||
0.017366407,
|
||||
0.060072616,
|
||||
0.039403416,
|
||||
-0.0017028108,
|
||||
0.07735126,
|
||||
0.01458652,
|
||||
-0.0022484495,
|
||||
-0.0018689616,
|
||||
0.015051134,
|
||||
0.021683147,
|
||||
0.00743522,
|
||||
0.018044684,
|
||||
0.049780875,
|
||||
0.012682762,
|
||||
-0.0025319885,
|
||||
0.04345311,
|
||||
0.062966056,
|
||||
0.06655509,
|
||||
-0.036332715,
|
||||
-0.03873148,
|
||||
0.04407342,
|
||||
0.005618046,
|
||||
0.005606404,
|
||||
-0.03491582,
|
||||
-0.071468666,
|
||||
0.100827605,
|
||||
-0.02480599,
|
||||
0.014779361,
|
||||
-0.025853567,
|
||||
-0.07272276,
|
||||
-0.017332677,
|
||||
0.026024899,
|
||||
0.1141519,
|
||||
-0.0709077,
|
||||
0.017926728,
|
||||
-0.0033771452,
|
||||
0.008450764,
|
||||
-0.0031734016,
|
||||
0.0058758706,
|
||||
-0.022959052,
|
||||
0.07754777,
|
||||
0.034691088,
|
||||
0.087492526,
|
||||
0.04631641,
|
||||
0.018653069,
|
||||
0.011075838,
|
||||
-0.045833264,
|
||||
-0.04647619,
|
||||
0.026525397,
|
||||
0.073937215,
|
||||
0.0656064,
|
||||
0.0626801,
|
||||
0.07236128,
|
||||
-0.008934351,
|
||||
-0.035436727,
|
||||
-0.0053167064,
|
||||
-0.0031780244,
|
||||
-0.03794062,
|
||||
-0.04136672,
|
||||
-0.096589684,
|
||||
0.044174723,
|
||||
-0.03346829,
|
||||
-0.0714272,
|
||||
-0.011707928,
|
||||
-0.0071373517,
|
||||
0.00062674406,
|
||||
-0.08837231,
|
||||
-0.11327292,
|
||||
-0.121232145,
|
||||
-0.0013483085,
|
||||
-0.044267938,
|
||||
-0.0866299,
|
||||
3.9974636e-33,
|
||||
0.025347712,
|
||||
-0.0026484786,
|
||||
-0.081128426,
|
||||
0.025477463,
|
||||
0.0013318929,
|
||||
0.016020615,
|
||||
0.09553763,
|
||||
0.03323222,
|
||||
-0.012020247,
|
||||
0.01704576,
|
||||
-0.08304897,
|
||||
-0.12452585,
|
||||
0.043876667,
|
||||
0.012038639,
|
||||
0.065846756,
|
||||
0.10058584,
|
||||
0.07289197,
|
||||
-0.02691023,
|
||||
-0.032209095,
|
||||
-0.05359179,
|
||||
-0.12634858,
|
||||
0.0054822033,
|
||||
-0.035338957,
|
||||
-0.0042626564,
|
||||
-0.02503011,
|
||||
0.041566424,
|
||||
-0.09993105,
|
||||
-0.047632236,
|
||||
-0.023974935,
|
||||
0.0026521643,
|
||||
-0.05512872,
|
||||
0.013588852,
|
||||
0.048989374,
|
||||
0.08497172,
|
||||
-0.04203127,
|
||||
0.07672574,
|
||||
0.033201486,
|
||||
0.0012890669,
|
||||
0.039995532,
|
||||
0.06453696,
|
||||
-0.043386992,
|
||||
-0.04967135,
|
||||
0.05796046,
|
||||
0.11259055,
|
||||
0.07072716,
|
||||
0.008217265,
|
||||
0.043992482,
|
||||
-0.022529528,
|
||||
-0.007255873,
|
||||
0.049954277,
|
||||
0.03863772,
|
||||
0.067863524,
|
||||
-0.040989004,
|
||||
0.0057252604,
|
||||
0.01790208,
|
||||
0.049277905,
|
||||
-0.051399034,
|
||||
0.051036645,
|
||||
-0.09386299,
|
||||
-0.06816727,
|
||||
0.06536689,
|
||||
0.075451665,
|
||||
-0.016844928,
|
||||
0.066079356,
|
||||
-0.002883201,
|
||||
-0.02066376,
|
||||
-0.12701727,
|
||||
0.061581187,
|
||||
-0.009843711,
|
||||
-0.014696306,
|
||||
0.13543285,
|
||||
0.034152385,
|
||||
-0.064830035,
|
||||
0.050995078,
|
||||
-0.06642675,
|
||||
0.02918273,
|
||||
0.0794261,
|
||||
0.014402853,
|
||||
-0.0273022,
|
||||
0.0053402875,
|
||||
-0.067574784,
|
||||
-0.020469556,
|
||||
-0.027134288,
|
||||
-0.026119156,
|
||||
-0.07057518,
|
||||
0.034702294,
|
||||
0.0075764027,
|
||||
-0.102168776,
|
||||
0.058453083,
|
||||
-0.074793324,
|
||||
-0.022044567,
|
||||
-0.006830346,
|
||||
-0.051225647,
|
||||
-0.03697986,
|
||||
0.025650427,
|
||||
-1.7504691e-08,
|
||||
0.06810578,
|
||||
0.04502295,
|
||||
-0.04405543,
|
||||
0.012894445,
|
||||
-0.05787301,
|
||||
-0.09544731,
|
||||
0.062167827,
|
||||
-0.00424131,
|
||||
-0.008617457,
|
||||
0.00019244938,
|
||||
-0.07362401,
|
||||
0.056028713,
|
||||
-0.06966302,
|
||||
-0.051120024,
|
||||
-0.04107452,
|
||||
-0.0047826064,
|
||||
-0.032448206,
|
||||
0.043075,
|
||||
0.008685862,
|
||||
0.022739133,
|
||||
-0.004866129,
|
||||
0.023324043,
|
||||
-0.045655783,
|
||||
-0.058080837,
|
||||
0.012551997,
|
||||
-0.09902558,
|
||||
0.040637206,
|
||||
0.045673274,
|
||||
0.0027036674,
|
||||
-0.005293385,
|
||||
0.06631416,
|
||||
-0.027342914,
|
||||
-0.05006773,
|
||||
-0.09028891,
|
||||
-0.036147803,
|
||||
0.012678981,
|
||||
-0.005860591,
|
||||
-0.0049548894,
|
||||
0.009455272,
|
||||
-0.029030358,
|
||||
0.09503264,
|
||||
0.061976723,
|
||||
0.012456961,
|
||||
-0.011967612,
|
||||
0.024475172,
|
||||
0.045389146,
|
||||
0.05380351,
|
||||
-0.035200197,
|
||||
0.11459815,
|
||||
-0.08903123,
|
||||
-0.111395806,
|
||||
0.09941666,
|
||||
0.0039118743,
|
||||
0.004477415,
|
||||
0.0033548488,
|
||||
0.07087783,
|
||||
-0.051348306,
|
||||
-0.012647007,
|
||||
0.021842662,
|
||||
-0.02008024,
|
||||
-0.0149204545,
|
||||
0.049170345,
|
||||
0.08937761,
|
||||
-0.011069278
|
||||
],
|
||||
"index": 0,
|
||||
"object": "embedding"
|
||||
}
|
||||
],
|
||||
"model": "all-minilm:l6-v2",
|
||||
"object": "list",
|
||||
"usage": {
|
||||
"prompt_tokens": 7,
|
||||
"total_tokens": 7
|
||||
}
|
||||
}
|
||||
},
|
||||
"is_streaming": false
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,78 @@
|
|||
{
|
||||
"test_id": "tests/integration/vector_io/test_openai_vector_stores.py::test_openai_vector_store_search_relevance[client_with_models-ollama/llama3.2:3b-instruct-fp16-None-ollama/all-minilm:l6-v2-None-384-test_case2]",
|
||||
"request": {
|
||||
"method": "POST",
|
||||
"url": "http://localhost:11434/api/ps",
|
||||
"headers": {},
|
||||
"body": {},
|
||||
"endpoint": "/api/ps",
|
||||
"model": ""
|
||||
},
|
||||
"response": {
|
||||
"body": {
|
||||
"__type__": "ollama._types.ProcessResponse",
|
||||
"__data__": {
|
||||
"models": [
|
||||
{
|
||||
"model": "all-minilm:l6-v2",
|
||||
"name": "all-minilm:l6-v2",
|
||||
"digest": "1b226e2802dbb772b5fc32a58f103ca1804ef7501331012de126ab22f67475ef",
|
||||
"expires_at": "2025-10-03T21:21:13.968732-07:00",
|
||||
"size": 585846784,
|
||||
"size_vram": 585846784,
|
||||
"details": {
|
||||
"parent_model": "",
|
||||
"format": "gguf",
|
||||
"family": "bert",
|
||||
"families": [
|
||||
"bert"
|
||||
],
|
||||
"parameter_size": "23M",
|
||||
"quantization_level": "F16"
|
||||
},
|
||||
"context_length": 256
|
||||
},
|
||||
{
|
||||
"model": "llama3.2:3b-instruct-fp16",
|
||||
"name": "llama3.2:3b-instruct-fp16",
|
||||
"digest": "195a8c01d91ec3cb1e0aad4624a51f2602c51fa7d96110f8ab5a20c84081804d",
|
||||
"expires_at": "2025-10-03T21:20:56.787737-07:00",
|
||||
"size": 7919570944,
|
||||
"size_vram": 7919570944,
|
||||
"details": {
|
||||
"parent_model": "",
|
||||
"format": "gguf",
|
||||
"family": "llama",
|
||||
"families": [
|
||||
"llama"
|
||||
],
|
||||
"parameter_size": "3.2B",
|
||||
"quantization_level": "F16"
|
||||
},
|
||||
"context_length": 4096
|
||||
},
|
||||
{
|
||||
"model": "llama-guard3:1b",
|
||||
"name": "llama-guard3:1b",
|
||||
"digest": "494147e06bf99e10dbe67b63a07ac81c162f18ef3341aa3390007ac828571b3b",
|
||||
"expires_at": "2025-10-03T21:16:14.288654-07:00",
|
||||
"size": 2350966784,
|
||||
"size_vram": 2350966784,
|
||||
"details": {
|
||||
"parent_model": "",
|
||||
"format": "gguf",
|
||||
"family": "llama",
|
||||
"families": [
|
||||
"llama"
|
||||
],
|
||||
"parameter_size": "1.5B",
|
||||
"quantization_level": "Q8_0"
|
||||
},
|
||||
"context_length": 4096
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
"is_streaming": false
|
||||
}
|
||||
}
|
||||
File diff suppressed because it is too large
Load diff
|
|
@ -0,0 +1,423 @@
|
|||
{
|
||||
"test_id": "tests/integration/vector_io/test_openai_vector_stores.py::test_create_vector_store_files_duplicate_vector_store_name[client_with_models-ollama/llama3.2:3b-instruct-fp16-None-ollama/all-minilm:l6-v2-None-384]",
|
||||
"request": {
|
||||
"method": "POST",
|
||||
"url": "http://0.0.0.0:11434/v1/v1/embeddings",
|
||||
"headers": {},
|
||||
"body": {
|
||||
"model": "all-minilm:l6-v2",
|
||||
"input": [
|
||||
"This is a test file 0"
|
||||
],
|
||||
"encoding_format": "float"
|
||||
},
|
||||
"endpoint": "/v1/embeddings",
|
||||
"model": "all-minilm:l6-v2"
|
||||
},
|
||||
"response": {
|
||||
"body": {
|
||||
"__type__": "openai.types.create_embedding_response.CreateEmbeddingResponse",
|
||||
"__data__": {
|
||||
"data": [
|
||||
{
|
||||
"embedding": [
|
||||
-0.021802,
|
||||
0.088129535,
|
||||
-0.10867403,
|
||||
0.0027561262,
|
||||
0.04917365,
|
||||
-0.030165128,
|
||||
-0.0155558735,
|
||||
0.027549915,
|
||||
-0.025064131,
|
||||
0.016137881,
|
||||
0.124836035,
|
||||
0.0027821937,
|
||||
-0.033310093,
|
||||
-0.0071708336,
|
||||
-0.07004796,
|
||||
-0.027996853,
|
||||
-0.09748515,
|
||||
-0.091607764,
|
||||
0.013367206,
|
||||
0.08752305,
|
||||
0.013990884,
|
||||
0.03663788,
|
||||
-0.036330026,
|
||||
-0.019752761,
|
||||
0.04456914,
|
||||
-0.009629443,
|
||||
-0.01832647,
|
||||
0.048832405,
|
||||
-0.015315298,
|
||||
-0.07147843,
|
||||
0.04094573,
|
||||
0.082709365,
|
||||
0.063961774,
|
||||
0.01448001,
|
||||
0.13194442,
|
||||
0.0303949,
|
||||
0.101027474,
|
||||
-0.030359762,
|
||||
-0.047630757,
|
||||
0.044637363,
|
||||
0.027034018,
|
||||
-0.029368822,
|
||||
0.038537122,
|
||||
0.0053882804,
|
||||
0.01478374,
|
||||
0.025617138,
|
||||
0.0041860593,
|
||||
0.0034900715,
|
||||
0.029765956,
|
||||
-0.036669906,
|
||||
-0.04589116,
|
||||
0.031120853,
|
||||
-0.07786974,
|
||||
-0.019517597,
|
||||
0.053876307,
|
||||
-0.0152282175,
|
||||
-0.0016955235,
|
||||
0.016938528,
|
||||
0.019939963,
|
||||
0.07106882,
|
||||
0.009938938,
|
||||
0.03114348,
|
||||
-0.010335175,
|
||||
0.029952966,
|
||||
0.115054145,
|
||||
0.025746102,
|
||||
-0.052842245,
|
||||
-0.042447682,
|
||||
0.0053093657,
|
||||
-0.09987591,
|
||||
-0.12741813,
|
||||
-0.012022532,
|
||||
-0.013787561,
|
||||
0.05265948,
|
||||
-0.01723935,
|
||||
0.009638554,
|
||||
-0.0775266,
|
||||
0.0014047497,
|
||||
0.06974368,
|
||||
-0.08465856,
|
||||
-0.061480872,
|
||||
-0.14244927,
|
||||
0.0096944375,
|
||||
-0.008611519,
|
||||
-0.0318523,
|
||||
0.12823504,
|
||||
0.053257603,
|
||||
0.021978743,
|
||||
0.0026468195,
|
||||
0.015444479,
|
||||
-0.042528655,
|
||||
0.031551417,
|
||||
-0.06209267,
|
||||
0.044017885,
|
||||
-0.0060390937,
|
||||
0.06959196,
|
||||
0.0050514904,
|
||||
0.059341036,
|
||||
0.00658094,
|
||||
0.08397857,
|
||||
-0.0067914296,
|
||||
-0.041901726,
|
||||
0.027081704,
|
||||
0.106456675,
|
||||
-0.039408114,
|
||||
-0.053899165,
|
||||
0.09689717,
|
||||
-0.0084604705,
|
||||
0.03398384,
|
||||
-0.033843804,
|
||||
0.002225838,
|
||||
-0.08180734,
|
||||
-0.008216738,
|
||||
-0.11271415,
|
||||
0.0058824755,
|
||||
-0.095151186,
|
||||
-0.07958445,
|
||||
0.052868627,
|
||||
-0.08120183,
|
||||
0.034291897,
|
||||
0.07903789,
|
||||
-0.02675632,
|
||||
-0.04391073,
|
||||
0.0067707864,
|
||||
-0.05438546,
|
||||
-0.021719433,
|
||||
0.080597855,
|
||||
-3.9388086e-33,
|
||||
-0.0072714644,
|
||||
-0.079664536,
|
||||
0.024838887,
|
||||
0.115598045,
|
||||
0.03591746,
|
||||
-0.07254434,
|
||||
0.012642099,
|
||||
0.050809097,
|
||||
-0.100082524,
|
||||
0.019521356,
|
||||
0.0035883472,
|
||||
-0.07001022,
|
||||
0.007977421,
|
||||
0.029305879,
|
||||
-0.017785804,
|
||||
0.02702277,
|
||||
0.016827941,
|
||||
0.035956737,
|
||||
-0.0209356,
|
||||
-0.032321777,
|
||||
0.056705642,
|
||||
-0.009747762,
|
||||
-0.059722506,
|
||||
-0.053817417,
|
||||
-0.055837773,
|
||||
0.06526892,
|
||||
-0.024752634,
|
||||
-0.07778206,
|
||||
0.038636208,
|
||||
0.008998632,
|
||||
0.009699391,
|
||||
-0.02798574,
|
||||
-0.024878206,
|
||||
-0.0017547129,
|
||||
0.025541965,
|
||||
0.034623418,
|
||||
-8.975541e-06,
|
||||
0.0034556785,
|
||||
-0.04525613,
|
||||
0.03461154,
|
||||
-0.025307115,
|
||||
-0.02981576,
|
||||
-0.019071916,
|
||||
-0.023184983,
|
||||
0.049324982,
|
||||
-0.061433185,
|
||||
0.00038017757,
|
||||
0.0028894164,
|
||||
0.027610173,
|
||||
0.0069347974,
|
||||
-0.020659719,
|
||||
0.060771395,
|
||||
0.015200205,
|
||||
0.038918514,
|
||||
-0.025353896,
|
||||
-0.0017897633,
|
||||
-0.019378036,
|
||||
-0.0056970986,
|
||||
-0.017806012,
|
||||
0.038060427,
|
||||
0.0320353,
|
||||
0.03998783,
|
||||
-0.09612384,
|
||||
0.0006942505,
|
||||
-0.018478483,
|
||||
-0.06866618,
|
||||
-0.0077035497,
|
||||
-0.083554305,
|
||||
0.10223985,
|
||||
0.05141575,
|
||||
-0.033018276,
|
||||
-0.05033401,
|
||||
0.043923385,
|
||||
0.017748218,
|
||||
-0.006601344,
|
||||
-0.018691983,
|
||||
0.012763011,
|
||||
0.016694913,
|
||||
-0.095070764,
|
||||
-0.023533016,
|
||||
0.006879241,
|
||||
-0.07225332,
|
||||
-0.0029991802,
|
||||
-0.06930797,
|
||||
-0.027289826,
|
||||
-0.0672911,
|
||||
-0.006683099,
|
||||
-0.06801406,
|
||||
0.04452207,
|
||||
-0.09788058,
|
||||
0.050909285,
|
||||
0.010051549,
|
||||
-0.04617998,
|
||||
-0.067622505,
|
||||
0.04447288,
|
||||
2.5643933e-33,
|
||||
0.014783131,
|
||||
0.071710624,
|
||||
-0.05237768,
|
||||
0.011041238,
|
||||
-0.013921518,
|
||||
0.07072471,
|
||||
0.091977395,
|
||||
-0.01916791,
|
||||
-0.015780058,
|
||||
0.14812021,
|
||||
0.031904023,
|
||||
0.022344623,
|
||||
0.07071857,
|
||||
-0.037060503,
|
||||
0.08806883,
|
||||
-0.018145561,
|
||||
-0.013254877,
|
||||
-0.041782882,
|
||||
-0.052317847,
|
||||
-0.00279131,
|
||||
-0.024807084,
|
||||
0.13974102,
|
||||
0.074973755,
|
||||
0.056424167,
|
||||
-0.029412953,
|
||||
0.017093861,
|
||||
0.03373144,
|
||||
0.06874087,
|
||||
0.020454561,
|
||||
-0.018965451,
|
||||
0.081238694,
|
||||
0.06527906,
|
||||
-0.09342225,
|
||||
0.0037720343,
|
||||
0.06347132,
|
||||
-0.08775714,
|
||||
0.09286548,
|
||||
-0.024266576,
|
||||
0.029101077,
|
||||
0.0034162905,
|
||||
0.05528427,
|
||||
0.102037616,
|
||||
-0.023588225,
|
||||
0.065829135,
|
||||
0.01520327,
|
||||
0.034344077,
|
||||
0.10559419,
|
||||
0.011605323,
|
||||
0.0409873,
|
||||
-0.056635953,
|
||||
0.037730522,
|
||||
-0.04976337,
|
||||
0.047961522,
|
||||
0.0042118295,
|
||||
-0.014172872,
|
||||
0.07564937,
|
||||
-0.009671058,
|
||||
0.05520304,
|
||||
-0.031121492,
|
||||
0.019924358,
|
||||
-0.024975697,
|
||||
0.031822197,
|
||||
-0.019536836,
|
||||
-0.009870229,
|
||||
-0.020225972,
|
||||
-0.03319855,
|
||||
-0.026266782,
|
||||
0.038882248,
|
||||
0.012940086,
|
||||
-0.041266225,
|
||||
0.012833021,
|
||||
0.028703777,
|
||||
-0.054075323,
|
||||
-0.07628176,
|
||||
0.021953572,
|
||||
-0.023357453,
|
||||
-0.026714878,
|
||||
-0.029401133,
|
||||
0.005280363,
|
||||
0.012325193,
|
||||
0.05232579,
|
||||
0.0054451786,
|
||||
-0.0063759633,
|
||||
0.04604998,
|
||||
0.042399842,
|
||||
-0.018433316,
|
||||
0.01260558,
|
||||
0.09300185,
|
||||
-0.005949781,
|
||||
-0.015193224,
|
||||
-0.011673769,
|
||||
0.048114438,
|
||||
0.02588804,
|
||||
0.050943956,
|
||||
0.005536351,
|
||||
-1.5059804e-08,
|
||||
-0.03100338,
|
||||
-0.07003323,
|
||||
-0.032613333,
|
||||
-0.008732137,
|
||||
-0.0045523546,
|
||||
0.0759239,
|
||||
-0.032725554,
|
||||
-0.08790561,
|
||||
-0.032228027,
|
||||
-0.02459868,
|
||||
0.051224917,
|
||||
-0.034561895,
|
||||
-0.08266327,
|
||||
0.013319846,
|
||||
-0.020541467,
|
||||
-0.056271035,
|
||||
-0.009450659,
|
||||
-0.015903467,
|
||||
-0.036625408,
|
||||
0.010096497,
|
||||
-0.03440534,
|
||||
0.0315293,
|
||||
-0.00013937108,
|
||||
0.010463861,
|
||||
0.017065981,
|
||||
0.015492903,
|
||||
0.074808784,
|
||||
0.07079003,
|
||||
-0.050000764,
|
||||
-0.047017526,
|
||||
0.01375958,
|
||||
0.060757488,
|
||||
-0.009361379,
|
||||
-0.01570009,
|
||||
-0.01836736,
|
||||
0.12301148,
|
||||
0.1185397,
|
||||
0.12366319,
|
||||
0.022782512,
|
||||
-0.020027133,
|
||||
-0.07401259,
|
||||
-0.0047104736,
|
||||
-0.024872223,
|
||||
0.006070436,
|
||||
-0.06660639,
|
||||
-0.08130306,
|
||||
-0.0873992,
|
||||
-0.0634906,
|
||||
-0.039198957,
|
||||
-0.11274462,
|
||||
-0.030654918,
|
||||
0.026607778,
|
||||
-0.063220546,
|
||||
0.042023618,
|
||||
-0.039010853,
|
||||
-0.009214424,
|
||||
0.005044682,
|
||||
0.0015641748,
|
||||
-0.058640927,
|
||||
0.043107104,
|
||||
0.06682025,
|
||||
0.062172387,
|
||||
0.021147223,
|
||||
-0.041068073
|
||||
],
|
||||
"index": 0,
|
||||
"object": "embedding"
|
||||
}
|
||||
],
|
||||
"model": "all-minilm:l6-v2",
|
||||
"object": "list",
|
||||
"usage": {
|
||||
"prompt_tokens": 6,
|
||||
"total_tokens": 6
|
||||
}
|
||||
}
|
||||
},
|
||||
"is_streaming": false
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,423 @@
|
|||
{
|
||||
"test_id": "tests/integration/vector_io/test_openai_vector_stores.py::test_openai_vector_store_search_empty[client_with_models-ollama/llama3.2:3b-instruct-fp16-None-ollama/all-minilm:l6-v2-None-384]",
|
||||
"request": {
|
||||
"method": "POST",
|
||||
"url": "http://0.0.0.0:11434/v1/v1/embeddings",
|
||||
"headers": {},
|
||||
"body": {
|
||||
"model": "all-minilm:l6-v2",
|
||||
"input": [
|
||||
"test query"
|
||||
],
|
||||
"encoding_format": "float"
|
||||
},
|
||||
"endpoint": "/v1/embeddings",
|
||||
"model": "all-minilm:l6-v2"
|
||||
},
|
||||
"response": {
|
||||
"body": {
|
||||
"__type__": "openai.types.create_embedding_response.CreateEmbeddingResponse",
|
||||
"__data__": {
|
||||
"data": [
|
||||
{
|
||||
"embedding": [
|
||||
0.06829306,
|
||||
0.061738,
|
||||
-0.0064223274,
|
||||
0.08267553,
|
||||
-0.07827752,
|
||||
0.026546001,
|
||||
0.13129343,
|
||||
0.041391023,
|
||||
-0.01950488,
|
||||
-0.027131394,
|
||||
0.08875853,
|
||||
-0.10276945,
|
||||
0.05070562,
|
||||
-0.07138499,
|
||||
-0.0092889285,
|
||||
-0.039247777,
|
||||
0.028884362,
|
||||
-0.010484688,
|
||||
-0.02469515,
|
||||
-0.0354649,
|
||||
-0.04093021,
|
||||
-0.009903105,
|
||||
-0.026185337,
|
||||
0.057967436,
|
||||
-0.00060980336,
|
||||
0.007659294,
|
||||
0.013928803,
|
||||
-0.0016587646,
|
||||
0.044655163,
|
||||
-0.058990903,
|
||||
-0.037958965,
|
||||
0.037799176,
|
||||
-0.033270117,
|
||||
0.071682036,
|
||||
0.09722083,
|
||||
-0.08261939,
|
||||
0.027622383,
|
||||
-0.014190519,
|
||||
0.01816939,
|
||||
-0.002717151,
|
||||
-0.02426505,
|
||||
-0.11493204,
|
||||
0.0851599,
|
||||
-0.016752614,
|
||||
-0.006310121,
|
||||
0.065255314,
|
||||
-0.058001935,
|
||||
0.096675195,
|
||||
-0.01419834,
|
||||
-0.0068260576,
|
||||
-0.09889976,
|
||||
-0.015109596,
|
||||
-0.07833432,
|
||||
-0.035589334,
|
||||
-0.008278154,
|
||||
-0.013655421,
|
||||
-0.07625151,
|
||||
-0.030405698,
|
||||
-0.013589333,
|
||||
0.050117858,
|
||||
-0.010591754,
|
||||
-0.038398717,
|
||||
0.067407176,
|
||||
0.03565695,
|
||||
0.010748793,
|
||||
-0.0782303,
|
||||
-0.006898065,
|
||||
-0.03009224,
|
||||
0.05595709,
|
||||
-0.076849714,
|
||||
-0.009063107,
|
||||
-0.0028242348,
|
||||
-0.02941444,
|
||||
0.06881705,
|
||||
0.013745148,
|
||||
0.03078439,
|
||||
-0.036471423,
|
||||
-0.07147355,
|
||||
0.054742936,
|
||||
-0.028959772,
|
||||
-0.06466119,
|
||||
-0.05974295,
|
||||
-0.06766193,
|
||||
0.022777116,
|
||||
0.079530336,
|
||||
0.051767077,
|
||||
0.14789894,
|
||||
-0.0024908637,
|
||||
-0.05542459,
|
||||
-0.027760198,
|
||||
0.019384151,
|
||||
0.06692773,
|
||||
-0.07952434,
|
||||
0.019047031,
|
||||
-0.00097613735,
|
||||
0.013479467,
|
||||
0.038207904,
|
||||
-0.040212464,
|
||||
0.06499357,
|
||||
0.13929029,
|
||||
0.0592868,
|
||||
0.018087199,
|
||||
-0.04910378,
|
||||
-0.057469312,
|
||||
-0.17034933,
|
||||
0.009854021,
|
||||
0.04478709,
|
||||
-0.08707103,
|
||||
0.046889827,
|
||||
-0.020303966,
|
||||
-0.062274974,
|
||||
0.030287566,
|
||||
0.04991786,
|
||||
-0.030625034,
|
||||
-0.007196787,
|
||||
-0.060630832,
|
||||
-0.0057445914,
|
||||
0.028697284,
|
||||
-0.055902485,
|
||||
-0.0060850815,
|
||||
0.075516894,
|
||||
0.07304865,
|
||||
-0.03200336,
|
||||
-0.027994294,
|
||||
-0.0013179975,
|
||||
0.02373418,
|
||||
0.082337655,
|
||||
-2.0787389e-33,
|
||||
0.014712573,
|
||||
-0.084956154,
|
||||
0.059368864,
|
||||
-0.00785449,
|
||||
-0.015981624,
|
||||
0.02598549,
|
||||
0.037614744,
|
||||
0.12561654,
|
||||
-0.04002324,
|
||||
0.02472032,
|
||||
0.014450717,
|
||||
-0.06304021,
|
||||
0.034111217,
|
||||
-0.00766782,
|
||||
0.008186535,
|
||||
0.10461876,
|
||||
0.018852819,
|
||||
-0.021535609,
|
||||
-0.04381762,
|
||||
0.05679568,
|
||||
0.01621111,
|
||||
-0.0734938,
|
||||
0.020150887,
|
||||
0.05246773,
|
||||
0.015011716,
|
||||
-0.06588331,
|
||||
-0.03257114,
|
||||
0.025002314,
|
||||
0.018430108,
|
||||
-0.00030111038,
|
||||
-0.06266604,
|
||||
-0.006196726,
|
||||
-0.16044672,
|
||||
0.028114004,
|
||||
0.032982383,
|
||||
0.037261836,
|
||||
0.0540566,
|
||||
-0.0079226745,
|
||||
-0.008597091,
|
||||
0.054075282,
|
||||
-0.046998158,
|
||||
-0.03870267,
|
||||
0.08493371,
|
||||
-0.005938313,
|
||||
0.021924777,
|
||||
-0.05206361,
|
||||
-0.047436308,
|
||||
-0.054906387,
|
||||
0.03400277,
|
||||
-0.028335828,
|
||||
-0.032045983,
|
||||
-0.0013805287,
|
||||
-0.04042137,
|
||||
-0.017744336,
|
||||
0.052251115,
|
||||
0.0038320236,
|
||||
0.008692022,
|
||||
0.03270182,
|
||||
0.010805367,
|
||||
0.11194987,
|
||||
-0.019722551,
|
||||
-0.04577441,
|
||||
-0.002028829,
|
||||
0.020897591,
|
||||
-0.006168528,
|
||||
-0.0017238662,
|
||||
-0.006808375,
|
||||
-0.08133367,
|
||||
0.091827765,
|
||||
0.048646383,
|
||||
0.07771223,
|
||||
-0.05870435,
|
||||
0.006373254,
|
||||
0.0036029797,
|
||||
-0.071249805,
|
||||
0.022061123,
|
||||
0.019477166,
|
||||
0.10132688,
|
||||
0.006618212,
|
||||
-0.044631813,
|
||||
0.06139753,
|
||||
-0.09197761,
|
||||
-0.013284173,
|
||||
0.014608393,
|
||||
-0.01761416,
|
||||
0.0073858253,
|
||||
0.0062043094,
|
||||
-0.048021033,
|
||||
0.013127433,
|
||||
-0.077592075,
|
||||
0.014133566,
|
||||
0.035386372,
|
||||
-0.02616333,
|
||||
0.0027075391,
|
||||
0.08635036,
|
||||
9.132231e-34,
|
||||
-0.022040669,
|
||||
0.05085595,
|
||||
-0.027267562,
|
||||
0.02862394,
|
||||
0.0137278,
|
||||
-0.07108621,
|
||||
0.09040417,
|
||||
-0.09064723,
|
||||
-0.0656353,
|
||||
0.06688156,
|
||||
0.06701843,
|
||||
-0.05015593,
|
||||
0.01906404,
|
||||
-0.04147956,
|
||||
0.012601856,
|
||||
0.06909683,
|
||||
0.028203059,
|
||||
-0.0709644,
|
||||
-0.061153468,
|
||||
0.031663477,
|
||||
-0.09626921,
|
||||
0.13134153,
|
||||
-0.003593543,
|
||||
-0.027185699,
|
||||
-0.06297406,
|
||||
-0.00092433795,
|
||||
-0.008680087,
|
||||
-0.031325806,
|
||||
-0.018586429,
|
||||
0.011512126,
|
||||
0.071864344,
|
||||
-0.071975954,
|
||||
-0.005884031,
|
||||
0.09355209,
|
||||
0.046686243,
|
||||
-0.031970512,
|
||||
0.06956754,
|
||||
-0.045880646,
|
||||
0.010095539,
|
||||
0.064092614,
|
||||
0.07247815,
|
||||
0.04723167,
|
||||
0.048781574,
|
||||
0.06763336,
|
||||
0.0054456857,
|
||||
0.035764687,
|
||||
0.018254038,
|
||||
-0.03819517,
|
||||
0.050082564,
|
||||
0.04140595,
|
||||
-0.025459196,
|
||||
0.021584416,
|
||||
0.014274055,
|
||||
-0.007126868,
|
||||
-0.014268015,
|
||||
-0.010105026,
|
||||
-0.09164537,
|
||||
0.009354007,
|
||||
0.004333732,
|
||||
-0.009582354,
|
||||
-0.029860867,
|
||||
0.17471065,
|
||||
-0.0045884773,
|
||||
0.05782756,
|
||||
-0.044819925,
|
||||
-0.051430847,
|
||||
-0.045887176,
|
||||
0.0074449414,
|
||||
0.0054387357,
|
||||
0.039599653,
|
||||
-0.056232683,
|
||||
-0.002221041,
|
||||
0.047835752,
|
||||
-0.039582185,
|
||||
0.027316216,
|
||||
0.039718047,
|
||||
-0.07969795,
|
||||
0.03511298,
|
||||
0.029242206,
|
||||
0.010144028,
|
||||
-0.03904501,
|
||||
-0.027879883,
|
||||
-0.040858228,
|
||||
0.04611512,
|
||||
-0.06931006,
|
||||
0.061977647,
|
||||
0.03922111,
|
||||
0.025860278,
|
||||
0.0064425017,
|
||||
0.053613506,
|
||||
0.069628745,
|
||||
-0.007990142,
|
||||
-0.038263973,
|
||||
-0.10954397,
|
||||
0.018542184,
|
||||
-1.33346125e-08,
|
||||
-0.025668526,
|
||||
-0.07473254,
|
||||
-0.019855365,
|
||||
0.0384919,
|
||||
0.027314084,
|
||||
-0.010875396,
|
||||
-0.035207637,
|
||||
0.036075134,
|
||||
-0.063237526,
|
||||
0.011492366,
|
||||
0.03342596,
|
||||
-0.012063488,
|
||||
0.0039839908,
|
||||
0.016522188,
|
||||
-0.008002217,
|
||||
-0.04168924,
|
||||
-0.07092195,
|
||||
0.008746656,
|
||||
0.004452133,
|
||||
-0.03877822,
|
||||
-0.051253635,
|
||||
0.01774984,
|
||||
-0.018253444,
|
||||
0.04394154,
|
||||
-0.042883426,
|
||||
0.08245372,
|
||||
0.015452854,
|
||||
0.022076968,
|
||||
0.04442366,
|
||||
0.022832815,
|
||||
0.08296971,
|
||||
-0.01261236,
|
||||
0.013092747,
|
||||
-0.06689178,
|
||||
0.0478462,
|
||||
-0.04507667,
|
||||
0.006519156,
|
||||
0.0055980994,
|
||||
-0.019575223,
|
||||
-0.01730519,
|
||||
-0.03837497,
|
||||
-0.00043787624,
|
||||
-0.008650636,
|
||||
-0.026787039,
|
||||
-0.06598753,
|
||||
-0.14336495,
|
||||
0.041543495,
|
||||
-0.048590284,
|
||||
0.012749011,
|
||||
-0.08499328,
|
||||
-0.010950221,
|
||||
-0.038154602,
|
||||
0.030090204,
|
||||
-0.03886871,
|
||||
-0.03670644,
|
||||
0.046492297,
|
||||
0.03623469,
|
||||
0.052362714,
|
||||
-0.09623828,
|
||||
-0.04149126,
|
||||
0.050219554,
|
||||
-2.084757e-05,
|
||||
0.0019338154,
|
||||
0.019553935
|
||||
],
|
||||
"index": 0,
|
||||
"object": "embedding"
|
||||
}
|
||||
],
|
||||
"model": "all-minilm:l6-v2",
|
||||
"object": "list",
|
||||
"usage": {
|
||||
"prompt_tokens": 2,
|
||||
"total_tokens": 2
|
||||
}
|
||||
}
|
||||
},
|
||||
"is_streaming": false
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,78 @@
|
|||
{
|
||||
"test_id": "tests/integration/vector_io/test_vector_io.py::test_query_returns_valid_object_when_identical_to_embedding_in_vdb[emb=ollama/all-minilm:l6-v2:dim=384]",
|
||||
"request": {
|
||||
"method": "POST",
|
||||
"url": "http://localhost:11434/api/ps",
|
||||
"headers": {},
|
||||
"body": {},
|
||||
"endpoint": "/api/ps",
|
||||
"model": ""
|
||||
},
|
||||
"response": {
|
||||
"body": {
|
||||
"__type__": "ollama._types.ProcessResponse",
|
||||
"__data__": {
|
||||
"models": [
|
||||
{
|
||||
"model": "all-minilm:l6-v2",
|
||||
"name": "all-minilm:l6-v2",
|
||||
"digest": "1b226e2802dbb772b5fc32a58f103ca1804ef7501331012de126ab22f67475ef",
|
||||
"expires_at": "2025-10-03T21:19:00.375336-07:00",
|
||||
"size": 585846784,
|
||||
"size_vram": 585846784,
|
||||
"details": {
|
||||
"parent_model": "",
|
||||
"format": "gguf",
|
||||
"family": "bert",
|
||||
"families": [
|
||||
"bert"
|
||||
],
|
||||
"parameter_size": "23M",
|
||||
"quantization_level": "F16"
|
||||
},
|
||||
"context_length": 256
|
||||
},
|
||||
{
|
||||
"model": "llama-guard3:1b",
|
||||
"name": "llama-guard3:1b",
|
||||
"digest": "494147e06bf99e10dbe67b63a07ac81c162f18ef3341aa3390007ac828571b3b",
|
||||
"expires_at": "2025-10-03T21:16:14.288654-07:00",
|
||||
"size": 2350966784,
|
||||
"size_vram": 2350966784,
|
||||
"details": {
|
||||
"parent_model": "",
|
||||
"format": "gguf",
|
||||
"family": "llama",
|
||||
"families": [
|
||||
"llama"
|
||||
],
|
||||
"parameter_size": "1.5B",
|
||||
"quantization_level": "Q8_0"
|
||||
},
|
||||
"context_length": 4096
|
||||
},
|
||||
{
|
||||
"model": "llama3.2:3b-instruct-fp16",
|
||||
"name": "llama3.2:3b-instruct-fp16",
|
||||
"digest": "195a8c01d91ec3cb1e0aad4624a51f2602c51fa7d96110f8ab5a20c84081804d",
|
||||
"expires_at": "2025-10-03T21:16:13.983283-07:00",
|
||||
"size": 7919570944,
|
||||
"size_vram": 7919570944,
|
||||
"details": {
|
||||
"parent_model": "",
|
||||
"format": "gguf",
|
||||
"family": "llama",
|
||||
"families": [
|
||||
"llama"
|
||||
],
|
||||
"parameter_size": "3.2B",
|
||||
"quantization_level": "F16"
|
||||
},
|
||||
"context_length": 4096
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
"is_streaming": false
|
||||
}
|
||||
}
|
||||
File diff suppressed because it is too large
Load diff
|
|
@ -0,0 +1,78 @@
|
|||
{
|
||||
"test_id": "tests/integration/vector_io/test_openai_vector_stores.py::test_openai_vector_store_search_with_high_score_filter[client_with_models-ollama/llama3.2:3b-instruct-fp16-None-ollama/all-minilm:l6-v2-None-384]",
|
||||
"request": {
|
||||
"method": "POST",
|
||||
"url": "http://localhost:11434/api/ps",
|
||||
"headers": {},
|
||||
"body": {},
|
||||
"endpoint": "/api/ps",
|
||||
"model": ""
|
||||
},
|
||||
"response": {
|
||||
"body": {
|
||||
"__type__": "ollama._types.ProcessResponse",
|
||||
"__data__": {
|
||||
"models": [
|
||||
{
|
||||
"model": "all-minilm:l6-v2",
|
||||
"name": "all-minilm:l6-v2",
|
||||
"digest": "1b226e2802dbb772b5fc32a58f103ca1804ef7501331012de126ab22f67475ef",
|
||||
"expires_at": "2025-10-03T21:21:08.414495-07:00",
|
||||
"size": 585846784,
|
||||
"size_vram": 585846784,
|
||||
"details": {
|
||||
"parent_model": "",
|
||||
"format": "gguf",
|
||||
"family": "bert",
|
||||
"families": [
|
||||
"bert"
|
||||
],
|
||||
"parameter_size": "23M",
|
||||
"quantization_level": "F16"
|
||||
},
|
||||
"context_length": 256
|
||||
},
|
||||
{
|
||||
"model": "llama3.2:3b-instruct-fp16",
|
||||
"name": "llama3.2:3b-instruct-fp16",
|
||||
"digest": "195a8c01d91ec3cb1e0aad4624a51f2602c51fa7d96110f8ab5a20c84081804d",
|
||||
"expires_at": "2025-10-03T21:20:56.787737-07:00",
|
||||
"size": 7919570944,
|
||||
"size_vram": 7919570944,
|
||||
"details": {
|
||||
"parent_model": "",
|
||||
"format": "gguf",
|
||||
"family": "llama",
|
||||
"families": [
|
||||
"llama"
|
||||
],
|
||||
"parameter_size": "3.2B",
|
||||
"quantization_level": "F16"
|
||||
},
|
||||
"context_length": 4096
|
||||
},
|
||||
{
|
||||
"model": "llama-guard3:1b",
|
||||
"name": "llama-guard3:1b",
|
||||
"digest": "494147e06bf99e10dbe67b63a07ac81c162f18ef3341aa3390007ac828571b3b",
|
||||
"expires_at": "2025-10-03T21:16:14.288654-07:00",
|
||||
"size": 2350966784,
|
||||
"size_vram": 2350966784,
|
||||
"details": {
|
||||
"parent_model": "",
|
||||
"format": "gguf",
|
||||
"family": "llama",
|
||||
"families": [
|
||||
"llama"
|
||||
],
|
||||
"parameter_size": "1.5B",
|
||||
"quantization_level": "Q8_0"
|
||||
},
|
||||
"context_length": 4096
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
"is_streaming": false
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,423 @@
|
|||
{
|
||||
"test_id": "tests/integration/vector_io/test_openai_vector_stores.py::test_openai_vector_store_search_with_max_num_results[client_with_models-ollama/llama3.2:3b-instruct-fp16-None-ollama/all-minilm:l6-v2-None-384]",
|
||||
"request": {
|
||||
"method": "POST",
|
||||
"url": "http://0.0.0.0:11434/v1/v1/embeddings",
|
||||
"headers": {},
|
||||
"body": {
|
||||
"model": "all-minilm:l6-v2",
|
||||
"input": [
|
||||
"machine learning and artificial intelligence"
|
||||
],
|
||||
"encoding_format": "float"
|
||||
},
|
||||
"endpoint": "/v1/embeddings",
|
||||
"model": "all-minilm:l6-v2"
|
||||
},
|
||||
"response": {
|
||||
"body": {
|
||||
"__type__": "openai.types.create_embedding_response.CreateEmbeddingResponse",
|
||||
"__data__": {
|
||||
"data": [
|
||||
{
|
||||
"embedding": [
|
||||
-0.04308226,
|
||||
0.008707138,
|
||||
0.06876158,
|
||||
0.018115537,
|
||||
0.04603657,
|
||||
0.0026118131,
|
||||
-0.0032358477,
|
||||
-0.041284926,
|
||||
-0.09074888,
|
||||
-0.033087812,
|
||||
-0.026611822,
|
||||
0.0077352105,
|
||||
0.020191023,
|
||||
-0.03254043,
|
||||
-0.035847843,
|
||||
0.031108031,
|
||||
-0.039247137,
|
||||
-0.011286401,
|
||||
-0.109710276,
|
||||
-0.12942196,
|
||||
0.018077252,
|
||||
0.011446383,
|
||||
-0.07231236,
|
||||
-0.013655743,
|
||||
0.035438832,
|
||||
0.024783252,
|
||||
0.03387316,
|
||||
0.0726014,
|
||||
-0.012643238,
|
||||
-0.058606703,
|
||||
0.057943814,
|
||||
-0.08163548,
|
||||
0.064962864,
|
||||
0.0013675748,
|
||||
-0.06751009,
|
||||
0.03504323,
|
||||
-0.044962864,
|
||||
-0.004789603,
|
||||
0.039971247,
|
||||
-0.010461211,
|
||||
0.019703588,
|
||||
-0.09856083,
|
||||
-0.01284534,
|
||||
0.018876119,
|
||||
0.09569305,
|
||||
0.11571406,
|
||||
-0.040684983,
|
||||
-0.026837468,
|
||||
-0.046950106,
|
||||
0.022655226,
|
||||
-0.0884734,
|
||||
-0.023497678,
|
||||
-0.022986038,
|
||||
-0.031128721,
|
||||
-0.052087843,
|
||||
0.04241795,
|
||||
0.011578454,
|
||||
0.06702011,
|
||||
0.027121129,
|
||||
-0.0021518404,
|
||||
0.04675332,
|
||||
-0.082024105,
|
||||
-0.038331598,
|
||||
0.05215799,
|
||||
0.097757615,
|
||||
-0.0006708623,
|
||||
-0.051935766,
|
||||
0.09100271,
|
||||
-0.016111707,
|
||||
-0.06877312,
|
||||
0.00767068,
|
||||
0.076737314,
|
||||
-0.0017499238,
|
||||
0.014369293,
|
||||
0.038031887,
|
||||
-0.0044654603,
|
||||
0.011287075,
|
||||
0.0006178959,
|
||||
0.08834809,
|
||||
-0.05933476,
|
||||
-0.042706404,
|
||||
-0.048178285,
|
||||
-0.053068914,
|
||||
0.033110976,
|
||||
0.008051986,
|
||||
-0.042581946,
|
||||
-0.038104057,
|
||||
-0.007202849,
|
||||
0.010891519,
|
||||
-0.05466173,
|
||||
0.03903238,
|
||||
-0.06774145,
|
||||
-0.02356764,
|
||||
-0.03883483,
|
||||
0.03464186,
|
||||
0.015297014,
|
||||
0.0073803077,
|
||||
-0.12351391,
|
||||
0.036168184,
|
||||
0.13193323,
|
||||
-0.06441449,
|
||||
0.033508655,
|
||||
-0.01435515,
|
||||
0.0014314495,
|
||||
0.031048443,
|
||||
-0.03981852,
|
||||
0.0236718,
|
||||
-0.0028333638,
|
||||
0.096959464,
|
||||
-0.13331193,
|
||||
-0.054209094,
|
||||
0.019610135,
|
||||
0.06984815,
|
||||
-0.05347757,
|
||||
0.0018131314,
|
||||
0.02127606,
|
||||
0.01981612,
|
||||
0.036502477,
|
||||
0.008825069,
|
||||
0.018954003,
|
||||
-0.07161326,
|
||||
-0.018733062,
|
||||
0.031044634,
|
||||
0.09102944,
|
||||
0.016508427,
|
||||
-0.08625295,
|
||||
-0.08300717,
|
||||
-1.4044197e-34,
|
||||
-0.072007515,
|
||||
-0.045496386,
|
||||
-0.027986562,
|
||||
0.05823018,
|
||||
-0.010462877,
|
||||
-0.06121516,
|
||||
0.026053715,
|
||||
-0.06574638,
|
||||
0.029178392,
|
||||
0.012307141,
|
||||
-0.06338016,
|
||||
0.040593755,
|
||||
0.03648161,
|
||||
0.01977942,
|
||||
0.08755496,
|
||||
0.028216325,
|
||||
0.044194777,
|
||||
0.076237544,
|
||||
0.02949726,
|
||||
-0.0022650051,
|
||||
0.04304541,
|
||||
0.025918182,
|
||||
1.2261046e-05,
|
||||
-0.038463842,
|
||||
-0.0161955,
|
||||
0.03338553,
|
||||
0.02112944,
|
||||
-0.023382189,
|
||||
0.009846733,
|
||||
0.033575017,
|
||||
0.030112585,
|
||||
0.060389582,
|
||||
-0.06522927,
|
||||
-0.016030189,
|
||||
0.019156763,
|
||||
-0.002600835,
|
||||
-0.04663393,
|
||||
0.02794595,
|
||||
0.021004112,
|
||||
0.0074595963,
|
||||
-0.048745092,
|
||||
-0.0070450655,
|
||||
0.019834043,
|
||||
0.016411202,
|
||||
-0.06381404,
|
||||
0.031237993,
|
||||
0.091976196,
|
||||
-0.0313931,
|
||||
0.022238847,
|
||||
-0.015018542,
|
||||
0.0025784613,
|
||||
-0.031382624,
|
||||
-0.0152902305,
|
||||
-0.025491757,
|
||||
0.08233924,
|
||||
0.14333151,
|
||||
-0.0255008,
|
||||
-0.005104579,
|
||||
-0.02309693,
|
||||
-0.03117742,
|
||||
0.06995927,
|
||||
0.030787794,
|
||||
0.04810884,
|
||||
0.037135385,
|
||||
0.0068392092,
|
||||
0.06759879,
|
||||
0.049763102,
|
||||
0.008472162,
|
||||
0.07170584,
|
||||
0.0076969583,
|
||||
-0.005139827,
|
||||
-0.0031728086,
|
||||
0.024646448,
|
||||
-0.06879641,
|
||||
0.05249289,
|
||||
-0.009404918,
|
||||
0.10184627,
|
||||
-0.013639711,
|
||||
-0.022681188,
|
||||
0.021382388,
|
||||
-0.09593746,
|
||||
0.024071718,
|
||||
-0.072101034,
|
||||
-0.04462981,
|
||||
0.033456877,
|
||||
-0.03942254,
|
||||
0.020099705,
|
||||
-0.07495305,
|
||||
-0.008311987,
|
||||
0.013811793,
|
||||
-0.09847922,
|
||||
0.0336409,
|
||||
0.08235891,
|
||||
-0.0034134828,
|
||||
-0.05005179,
|
||||
-2.0283256e-33,
|
||||
-0.13664234,
|
||||
0.06463093,
|
||||
0.05221015,
|
||||
0.10102781,
|
||||
0.016344123,
|
||||
-0.01269384,
|
||||
-0.09024102,
|
||||
-0.023596523,
|
||||
0.0057664234,
|
||||
0.10294541,
|
||||
-0.025930807,
|
||||
-0.040247634,
|
||||
0.034446176,
|
||||
0.019228913,
|
||||
-0.056902077,
|
||||
0.019905953,
|
||||
0.018969242,
|
||||
-0.039362065,
|
||||
0.011287794,
|
||||
0.056024995,
|
||||
-0.016000811,
|
||||
0.058928564,
|
||||
-0.038211577,
|
||||
-0.030445429,
|
||||
-0.02130076,
|
||||
0.031401403,
|
||||
-0.021228284,
|
||||
-0.01400283,
|
||||
-0.051042903,
|
||||
0.048970606,
|
||||
0.018451849,
|
||||
-0.015488385,
|
||||
-0.05033241,
|
||||
0.053844187,
|
||||
-0.050984643,
|
||||
0.016940817,
|
||||
-0.032773405,
|
||||
-0.02502497,
|
||||
0.000826887,
|
||||
0.10213942,
|
||||
0.04724571,
|
||||
0.010156266,
|
||||
-0.11653258,
|
||||
0.012165439,
|
||||
-0.029735534,
|
||||
-0.09959623,
|
||||
-0.052066926,
|
||||
0.06851813,
|
||||
0.054645896,
|
||||
-0.066007115,
|
||||
0.025503889,
|
||||
0.013539478,
|
||||
0.008429433,
|
||||
-0.10756056,
|
||||
-0.08184448,
|
||||
0.07179834,
|
||||
0.007978949,
|
||||
-0.013011469,
|
||||
0.020322459,
|
||||
0.07827889,
|
||||
-0.07320297,
|
||||
-0.1153648,
|
||||
0.04087073,
|
||||
0.04355079,
|
||||
-0.0012279376,
|
||||
0.045840748,
|
||||
-0.004366462,
|
||||
0.074786335,
|
||||
-0.017625354,
|
||||
-0.046014115,
|
||||
0.022716347,
|
||||
0.057738,
|
||||
-0.015408269,
|
||||
0.007771719,
|
||||
-0.04381374,
|
||||
-0.05289107,
|
||||
-0.08783473,
|
||||
0.016243288,
|
||||
-0.018398289,
|
||||
-0.05679973,
|
||||
0.036058675,
|
||||
-0.040418148,
|
||||
0.039242174,
|
||||
0.083593465,
|
||||
-0.019223504,
|
||||
0.05582025,
|
||||
0.04756948,
|
||||
-0.07378718,
|
||||
0.03371102,
|
||||
-0.08680738,
|
||||
-0.010659349,
|
||||
0.0524085,
|
||||
0.009771544,
|
||||
0.023841262,
|
||||
-0.086208895,
|
||||
-1.7164519e-08,
|
||||
0.021028979,
|
||||
-0.051292755,
|
||||
0.11877283,
|
||||
-0.04687027,
|
||||
0.06566496,
|
||||
0.058750976,
|
||||
-0.050496,
|
||||
0.055720143,
|
||||
-0.040577173,
|
||||
0.055665523,
|
||||
0.025019526,
|
||||
-0.001681203,
|
||||
-0.031047702,
|
||||
0.022228474,
|
||||
0.028109053,
|
||||
0.03163934,
|
||||
-0.025502652,
|
||||
0.020898303,
|
||||
-0.023064507,
|
||||
0.013436037,
|
||||
0.07504084,
|
||||
0.022279648,
|
||||
0.028908938,
|
||||
-0.014271217,
|
||||
0.025474275,
|
||||
-0.051414162,
|
||||
-0.014502164,
|
||||
0.014646399,
|
||||
-0.028023712,
|
||||
0.08406334,
|
||||
-0.07755092,
|
||||
0.038713943,
|
||||
-0.0043370826,
|
||||
0.025676368,
|
||||
0.12571524,
|
||||
0.06996381,
|
||||
0.0059321956,
|
||||
-0.10410214,
|
||||
-0.041439336,
|
||||
0.016119901,
|
||||
-0.040744506,
|
||||
0.017772397,
|
||||
-0.09114363,
|
||||
-0.026066387,
|
||||
0.055598073,
|
||||
0.016705057,
|
||||
0.016444646,
|
||||
-0.11935461,
|
||||
0.02789905,
|
||||
0.0151745565,
|
||||
0.042357437,
|
||||
0.06817164,
|
||||
0.05782822,
|
||||
0.063278705,
|
||||
0.06748475,
|
||||
0.059781626,
|
||||
0.06468886,
|
||||
-0.06749451,
|
||||
-0.035589237,
|
||||
0.0640055,
|
||||
0.008595763,
|
||||
0.003157698,
|
||||
0.009343837,
|
||||
-0.08392565
|
||||
],
|
||||
"index": 0,
|
||||
"object": "embedding"
|
||||
}
|
||||
],
|
||||
"model": "all-minilm:l6-v2",
|
||||
"object": "list",
|
||||
"usage": {
|
||||
"prompt_tokens": 5,
|
||||
"total_tokens": 5
|
||||
}
|
||||
}
|
||||
},
|
||||
"is_streaming": false
|
||||
}
|
||||
}
|
||||
File diff suppressed because it is too large
Load diff
Loading…
Add table
Add a link
Reference in a new issue