llama-stack-mirror/tests/integration/recordings/responses/ae82d694f34c.json
Matthew Farrellee 65e01b5684 feat: together now supports base64 embedding encoding (#3559)
# What does this PR do?

use together's new base64 support

## Test Plan

recordings for: ./scripts/integration-tests.sh --stack-config
server:ci-tests --suite base --setup together --subdirs inference
--pattern openai
2025-09-26 16:05:52 +02:00

802 lines
28 KiB
JSON

{
"request": {
"method": "POST",
"url": "https://api.together.xyz/v1/v1/embeddings",
"headers": {},
"body": {
"model": "togethercomputer/m2-bert-80M-32k-retrieval",
"input": [
"What makes Python different from C++ and Java?"
]
},
"endpoint": "/v1/embeddings",
"model": "togethercomputer/m2-bert-80M-32k-retrieval"
},
"response": {
"body": {
"__type__": "openai.types.create_embedding_response.CreateEmbeddingResponse",
"__data__": {
"data": [
{
"embedding": [
0.02517327293753624,
-0.05927547067403793,
-0.02752850204706192,
-0.03190239518880844,
0.05084673687815666,
0.007633775472640991,
0.00997336208820343,
0.016745490953326225,
-0.06594915688037872,
0.024146223440766335,
0.0005385297699831426,
-0.0006894826656207442,
-0.008592012338340282,
0.008223236538469791,
0.03929482772946358,
0.043699394911527634,
-0.001660426496528089,
0.025180906057357788,
-0.039375219494104385,
0.0053853364661335945,
0.034692440181970596,
0.01133072841912508,
0.04649277403950691,
-0.04183154180645943,
0.024229303002357483,
0.010672398842871189,
-0.012993639335036278,
0.016633357852697372,
0.09620392322540283,
-0.01894748955965042,
0.00869813933968544,
0.03333001211285591,
0.011436302214860916,
-0.053283337503671646,
-0.029240107163786888,
-0.018422791734337807,
-0.011188727803528309,
-0.005999945569783449,
0.033337924629449844,
0.08805496990680695,
0.007277320139110088,
0.03119608946144581,
-0.005581452511250973,
0.013757534325122833,
0.013446818105876446,
0.04478459060192108,
-0.0281585231423378,
0.007232429925352335,
-0.02057827264070511,
-0.010735592804849148,
-0.041141167283058167,
-0.013414880260825157,
0.008774801157414913,
-0.027892043814063072,
-0.02118038199841976,
0.03535406291484833,
-0.005773103795945644,
0.011915366165339947,
-0.013362586498260498,
-0.1074339896440506,
0.010058971121907234,
0.04685341939330101,
0.02676686830818653,
-0.04209677129983902,
0.008211489766836166,
0.011635981500148773,
0.03171093761920929,
0.006887514144182205,
0.0160739254206419,
-0.003477125195786357,
-0.028246482834219933,
-0.02985866740345955,
0.012354123406112194,
-0.01321585662662983,
-0.0334138497710228,
0.05904270336031914,
0.01702887937426567,
0.04508252069354057,
-0.02875608205795288,
0.061527639627456665,
0.02183707058429718,
-0.04652441293001175,
-0.023998353630304337,
-0.014925649389624596,
-0.03466776758432388,
-0.03714502230286598,
0.00812164880335331,
0.05643041431903839,
-0.03370414301753044,
0.046314384788274765,
0.042403917759656906,
0.039711855351924896,
0.04194587096571922,
-0.044892653822898865,
0.014381085522472858,
-0.04303320497274399,
0.02417507767677307,
0.0024261465296149254,
0.002907819813117385,
-0.04473122954368591,
-0.033169474452733994,
-0.012776823714375496,
0.024204110726714134,
0.030325455591082573,
-0.011538827791810036,
0.01400262862443924,
0.07599721848964691,
0.007355066481977701,
0.021303648129105568,
0.030465370044112206,
-0.023435434326529503,
0.03214404731988907,
0.013625898398458958,
0.0068402704782783985,
-0.018856564536690712,
0.06660695374011993,
-0.017033617943525314,
0.024832764640450478,
0.027372173964977264,
-0.022973205894231796,
0.0640808716416359,
0.11020645499229431,
-0.010406771674752235,
-0.018275918439030647,
-0.022662967443466187,
0.07155323028564453,
0.017646832391619682,
-0.017067432403564453,
0.025087783113121986,
0.03291954845190048,
-0.05901481583714485,
0.07096591591835022,
0.1088729053735733,
0.021950585767626762,
0.044516440480947495,
-0.04362349957227707,
-0.025304825976490974,
0.03380453214049339,
0.013806285336613655,
0.023288749158382416,
-0.032354686409235,
0.05623454600572586,
-0.0331498384475708,
0.008732054382562637,
-0.03133315593004227,
-0.08394992351531982,
0.00966270174831152,
0.018191881477832794,
-0.017256474122405052,
-0.014849426224827766,
-0.05408606678247452,
-0.054164595901966095,
0.038517240434885025,
0.04411592334508896,
0.014354993589222431,
-0.015497663989663124,
0.009233307093381882,
0.04177677258849144,
0.005623073782771826,
-0.017149949446320534,
-0.008299519307911396,
0.07599443197250366,
-0.049110863357782364,
-0.040342554450035095,
-0.03237839415669441,
-0.03407994657754898,
0.04117212072014809,
-0.06504429131746292,
-0.005143352318555117,
-0.02781560830771923,
0.0030793561600148678,
-0.019363518804311752,
-0.024637293070554733,
0.05453280359506607,
-0.07453737407922745,
-0.056514766067266464,
-0.03191586583852768,
0.01347391027957201,
0.04701421037316322,
0.04784790799021721,
0.04504203796386719,
0.0416475273668766,
0.027300169691443443,
-0.004853601101785898,
0.07700737565755844,
0.0058420440182089806,
-0.020056284964084625,
-0.029256943613290787,
-0.024188874289393425,
-0.044612374156713486,
0.005700718145817518,
-0.042027492076158524,
0.013135066255927086,
0.015223084948956966,
-0.025109533220529556,
0.09686876088380814,
-0.003817221149802208,
0.04986831918358803,
-0.020277539268136024,
-0.016653837636113167,
0.007358207833021879,
-0.010219651274383068,
-0.022081833332777023,
0.009230331517755985,
0.02870170958340168,
-0.0009385381708852947,
0.011477699503302574,
-0.08156480640172958,
-0.023806657642126083,
0.05778304859995842,
-0.0012239509960636497,
-0.050335925072431564,
0.08446664363145828,
-0.07200253754854202,
-0.005410981830209494,
0.04559531435370445,
-0.019777625799179077,
-0.005575160961598158,
0.04143029823899269,
0.0014152266085147858,
0.0402572900056839,
0.04996470734477043,
0.05924665182828903,
-0.04288039356470108,
0.029292447492480278,
-0.07367347925901413,
-0.04015783220529556,
0.03934734687209129,
0.006176967639476061,
-0.04073223099112511,
0.02915194258093834,
0.04113445803523064,
0.023132748901844025,
0.005755419842898846,
-0.000497312459629029,
-0.010455143637955189,
0.02453756146132946,
0.008060777559876442,
0.006233473774045706,
-0.022512169554829597,
0.0344528965651989,
-0.05065114423632622,
0.03987080976366997,
0.009848693385720253,
0.02637004666030407,
-0.023348400369286537,
0.040486037731170654,
0.02671428583562374,
-0.004502414260059595,
-0.06244242191314697,
-0.00591331347823143,
-0.03456953167915344,
0.03853173553943634,
-0.012725317850708961,
0.0020869376603513956,
-0.0544876754283905,
0.0465322844684124,
-0.03705056756734848,
0.03402971103787422,
-0.012153149582445621,
-0.0025780058931559324,
-0.03231276571750641,
0.014614064246416092,
0.040733009576797485,
0.02793523110449314,
0.06121594458818436,
-0.10693642497062683,
-0.04121331125497818,
-0.049808602780103683,
0.00931315403431654,
-0.0005079125403426588,
-0.03773258998990059,
0.04029921442270279,
0.006094376090914011,
-0.04541047289967537,
-0.00500077847391367,
0.008933045901358128,
0.0165691040456295,
0.015843873843550682,
0.0066689420491456985,
-0.042055536061525345,
-0.04772442579269409,
0.04299677535891533,
-0.0885479673743248,
-0.03510256111621857,
-0.01526320818811655,
-0.002680840902030468,
0.010199936106801033,
-0.05851084738969803,
0.004623089451342821,
0.023245980963110924,
0.04002177715301514,
0.006765763740986586,
0.029415283352136612,
-0.08234964311122894,
-0.0530225895345211,
-0.027365796267986298,
-0.03294917941093445,
-0.027471251785755157,
0.013792217709124088,
0.02534564584493637,
0.06191490963101387,
0.017584433779120445,
0.0334448516368866,
0.0005386894918046892,
0.0032774577848613262,
0.01591615378856659,
-0.005250703077763319,
0.04274865239858627,
-0.06351747363805771,
-0.07786543667316437,
0.004636826459318399,
0.07713916897773743,
0.044997744262218475,
-0.032151103019714355,
0.025335246697068214,
-0.020933767780661583,
-0.049735575914382935,
0.03949493169784546,
-0.037822604179382324,
-0.021480482071638107,
-0.01508465874940157,
0.010943945497274399,
0.016628814861178398,
0.09863129258155823,
-0.026716219261288643,
-0.005602245219051838,
0.027888240292668343,
-0.01338939182460308,
-0.01564818061888218,
-0.017323773354291916,
-0.018854543566703796,
-0.04452570527791977,
-0.030418355017900467,
0.020177267491817474,
0.033515896648168564,
-0.04733597859740257,
0.03742247074842453,
-0.04212302714586258,
0.019949203357100487,
-0.024253876879811287,
0.012272280640900135,
-0.0022997513879090548,
0.03303530439734459,
-0.013598734512925148,
0.035109736025333405,
-0.016654808074235916,
-0.035140249878168106,
-0.006442326586693525,
-0.024461794644594193,
-0.0680788904428482,
-0.036402251571416855,
-0.02342032641172409,
0.040693119168281555,
-0.01149903703480959,
0.025126351043581963,
-0.013343892991542816,
-0.045200083404779434,
-0.059597622603178024,
-0.02602051943540573,
0.05655312165617943,
-0.05449136719107628,
-0.04953633248806,
-0.04299261420965195,
0.0021499632857739925,
-0.058740951120853424,
0.025703098624944687,
0.026888279244303703,
0.041148439049720764,
0.09555676579475403,
-0.019787615165114403,
-0.03098965249955654,
0.025334808975458145,
-0.03880137577652931,
0.036906614899635315,
0.0373193733394146,
-0.019397547468543053,
-0.03890744969248772,
-0.03533877432346344,
0.01043013297021389,
-0.11240145564079285,
-0.001887193531729281,
0.023699326440691948,
-0.012832568027079105,
-0.026331709697842598,
-0.03766907379031181,
0.026428470388054848,
0.008145553059875965,
-0.00892532430589199,
0.01250272523611784,
0.009742435067892075,
-0.0170003529638052,
0.012004575692117214,
0.03468174487352371,
-0.005657907575368881,
-0.03972026705741882,
0.01663101464509964,
-0.023416968062520027,
-0.0009885226609185338,
-0.026063844561576843,
0.0651560127735138,
0.00011725723743438721,
-0.022703027352690697,
-0.005461778026074171,
0.1116209477186203,
0.03819834068417549,
0.045459385961294174,
-0.00028157979249954224,
-0.048355814069509506,
0.013377707451581955,
0.02303946204483509,
-0.006767316721379757,
-0.019848201423883438,
0.0033706456888467073,
0.038057632744312286,
0.11433175206184387,
-0.035053033381700516,
0.03242923691868782,
-0.03408103808760643,
-0.053809478878974915,
-0.03179652616381645,
0.06007275730371475,
-0.0076828645542263985,
-0.038644637912511826,
-0.02685503102838993,
-0.01804836094379425,
0.06089795380830765,
0.04324701055884361,
-0.07562246173620224,
-0.04398123547434807,
0.010064228437840939,
-0.04334224760532379,
0.014487305656075478,
-0.04711387678980827,
0.024354685097932816,
0.03232944384217262,
0.04015462473034859,
0.01371450163424015,
-0.04432954266667366,
0.021805129945278168,
-0.052570246160030365,
0.06789547950029373,
0.012027716264128685,
0.09023753553628922,
-0.08348759263753891,
0.012259835377335548,
0.025145262479782104,
0.056849926710128784,
0.021562620997428894,
-0.0038998445961624384,
0.06174313649535179,
0.03390361741185188,
-0.021384961903095245,
0.0027765228878706694,
0.021634142845869064,
0.0617065355181694,
-0.038299500942230225,
0.0033859144896268845,
0.06074449047446251,
0.02556876465678215,
-0.05028308182954788,
-0.026669925078749657,
-0.008310562931001186,
0.0007795466226525605,
-0.051417842507362366,
-0.03003445826470852,
0.023208893835544586,
-0.015607934445142746,
-0.004650155082345009,
-0.09222505241632462,
-0.07439403980970383,
-0.00030001159757375717,
-0.05885722488164902,
-0.03354410454630852,
-0.023885322734713554,
-0.023694748058915138,
-0.002964545274153352,
0.033897001296281815,
0.02342289499938488,
-0.008121664635837078,
-0.06673142313957214,
0.035054516047239304,
0.006485227961093187,
-0.011049957945942879,
-0.02849774807691574,
-0.003945561125874519,
-0.009321048855781555,
-0.04061659798026085,
-0.014878206886351109,
-0.026920367032289505,
0.013240729458630085,
-0.00912179984152317,
0.08025270700454712,
0.011227552779018879,
0.01162588782608509,
0.03911953046917915,
-0.008459963835775852,
-0.011711232364177704,
-0.06549587845802307,
-0.003934463486075401,
0.05689859390258789,
0.005052486434578896,
-0.002148434054106474,
-0.031108779832720757,
0.011704150587320328,
0.018351705744862556,
0.06075863167643547,
0.03104316256940365,
-0.029100103303790092,
-0.06133035942912102,
-0.004201673902571201,
-0.03299975395202637,
-0.004409941844642162,
0.02532418817281723,
0.0012186126550659537,
-0.03342881426215172,
-0.011862652376294136,
-0.02509687840938568,
0.011759525164961815,
0.01686522550880909,
-0.028010768815875053,
-0.04315534606575966,
0.01784290373325348,
0.04763518646359444,
-0.03223493695259094,
-0.002270394703373313,
-0.02766132541000843,
-0.12045251578092575,
0.010882371105253696,
0.0055845039896667,
-0.0038317532744258642,
-0.032924551516771317,
0.007581939455121756,
-0.04714681953191757,
0.05493198707699776,
-0.10260175168514252,
0.0184415802359581,
0.009282311424612999,
0.030968470498919487,
-0.016823798418045044,
-0.012262364849448204,
0.026101063936948776,
0.06509155035018921,
-0.038869716227054596,
-0.02793935500085354,
0.020369278267025948,
0.03919598087668419,
0.017646079882979393,
0.03126753866672516,
-0.007000391371548176,
-0.045992594212293625,
0.00960536953061819,
0.02549203298985958,
0.014892284758388996,
-0.0028631072491407394,
0.009483040310442448,
-0.0313774012029171,
-0.019784938544034958,
0.0016485409578308463,
0.0068555488251149654,
0.030234023928642273,
0.0529765859246254,
0.015952007845044136,
0.03150353580713272,
-0.00897759199142456,
0.027130605652928352,
-0.029791418462991714,
0.02543175406754017,
0.031176520511507988,
-0.10031485557556152,
-0.005841521546244621,
-0.04214736074209213,
0.11366035789251328,
0.014739606529474258,
0.03817747160792351,
-0.041414715349674225,
0.00041041706572286785,
0.059705231338739395,
-0.04762746021151543,
-0.000670370296575129,
-0.03526808321475983,
-0.01601385325193405,
0.02779310569167137,
-0.04440660402178764,
-0.06342937052249908,
-0.009988636709749699,
-0.040076956152915955,
0.025730127468705177,
-0.022812826558947563,
0.006558165419846773,
-0.0163955707103014,
-0.049426544457674026,
-0.04815229773521423,
-0.04713110625743866,
0.06885242462158203,
-0.009364955127239227,
-0.02605401538312435,
0.049001749604940414,
-0.02085917256772518,
0.017170386388897896,
-0.04500491917133331,
-0.05170299485325813,
0.015235558152198792,
0.015570051036775112,
0.02370995655655861,
0.023241516202688217,
-0.022776372730731964,
0.024995196610689163,
-0.04913897067308426,
0.02573673613369465,
0.10389196127653122,
0.013454177416861057,
0.001859869109466672,
-0.025003504008054733,
-0.028296904638409615,
0.01799187809228897,
0.00047568834270350635,
-0.03678290545940399,
0.03209736570715904,
0.012836124747991562,
-0.05107932910323143,
0.05102211609482765,
-0.027505643665790558,
-0.03218458220362663,
0.01851729489862919,
0.012394195422530174,
-0.021180691197514534,
-0.009217607788741589,
-0.017660317942500114,
0.02939329855144024,
0.0017022376414388418,
0.05091192573308945,
-0.05493085831403732,
0.010866599157452583,
-0.025341222062706947,
-0.025223098695278168,
0.01900743879377842,
0.03469342365860939,
0.01142563670873642,
-0.008546913973987103,
0.0062241884879767895,
-0.010737174190580845,
0.010820822790265083,
0.02365770936012268,
0.027239330112934113,
-0.03450082615017891,
0.0029956395737826824,
0.011813182383775711,
0.025415245443582535,
-0.0012042796006426215,
-0.014137083664536476,
0.0014223991893231869,
0.005054670386016369,
-0.034101780503988266,
0.07151786983013153,
0.07557526230812073,
-0.0033575203269720078,
-0.029922479763627052,
-0.043816667050123215,
0.01773776486515999,
0.05497784912586212,
-0.0015120196621865034,
-0.0025900728069245815,
0.022179318591952324,
0.03465230390429497,
0.006229462567716837,
-0.03738939389586449,
0.008196177892386913,
0.010659514926373959,
-0.008288645185530186,
-0.028259970247745514,
-0.040584057569503784,
0.021006176248192787,
0.008154059760272503,
-0.033632151782512665,
0.014476779848337173,
-0.008111199364066124,
-0.07059445232152939,
0.0218367800116539,
-0.00847222376614809,
-0.026753349229693413,
0.01831630803644657,
-0.01770036481320858,
-0.0354844406247139,
-0.024901393800973892,
-0.0360034741461277,
-0.011295972391963005,
0.02604268305003643,
-0.06857088208198547,
0.07337731868028641,
-0.06401073187589645,
0.048566631972789764,
-0.012562915682792664,
0.027890898287296295,
-0.026574552059173584,
-0.010268484242260456,
0.00534316198900342,
0.010180947370827198,
-0.0008329132688231766,
0.08566134423017502,
-0.058507468551397324,
-0.011649815365672112,
0.06626463681459427,
0.023633329197764397,
0.024257145822048187,
0.006637289188802242,
-0.052131637930870056,
0.008190560154616833,
-0.03723077103495598,
-0.03907524421811104,
-0.024975212290883064,
-0.04886558651924133,
0.08183369785547256,
0.036439407616853714,
0.006964313797652721,
-0.04853811115026474,
-0.013049819506704807,
0.020864145830273628,
-0.01652846857905388,
-0.11374097317457199,
0.000909007852897048,
0.02748906798660755,
0.0004783617041539401,
-0.04259035363793373,
-0.01951170526444912,
-0.039266347885131836,
0.0790289118885994,
-0.03614429011940956,
-0.009888287633657455,
-0.0014079920947551727,
-0.05354578420519829,
-0.05164365842938423,
0.02401590719819069,
-0.004703827667981386,
-0.015352515503764153,
-0.09520741552114487,
-0.0011139996349811554,
0.012082983739674091,
-0.11449477076530457,
-0.013903029263019562,
-0.0032681110315024853,
0.06276882439851761,
-0.0160707738250494,
-0.025801463052630424,
0.0024566405918449163,
0.014286108314990997,
0.008646920323371887,
-0.041887130588293076,
0.0062835561111569405,
0.002493197564035654,
-0.03657038137316704,
-0.029064077883958817,
0.024899492040276527,
-0.023499423637986183,
-0.06424634903669357,
0.03472882881760597,
-0.045173365622758865,
0.06708387285470963,
0.0032126533333212137,
-0.007638201583176851,
0.010531589388847351,
-0.049638811498880386,
-0.042833518236875534,
0.05096343532204628,
0.00997287780046463,
-0.027017751708626747,
-0.00491376593708992,
-1.2727919965982437e-05
],
"index": 0,
"object": "embedding"
}
],
"model": "togethercomputer/m2-bert-80M-32k-retrieval",
"object": "list",
"usage": null
}
},
"is_streaming": false
}
}