--- http_interactions: - request: method: post uri: https://bedrock-runtime.us-east-1.amazonaws.com/model/cohere.embed-english-v3/invoke body: encoding: UTF-8 string: '{"texts":["Give me a short list of steps for creating a Ruby gem"],"input_type":"search_document"}' headers: Accept-Encoding: - '' Content-Type: - application/json Accept: - "*/*" User-Agent: - aws-sdk-ruby3/3.189.0 ua/2.0 api/bedrock_runtime#1.4.0 os/macos#22 md/arm64 lang/ruby#3.2.2 md/3.2.2 cfg/retry-mode#legacy Host: - bedrock-runtime.us-east-1.amazonaws.com Content-Length: - '98' response: status: code: 200 message: OK headers: Date: - Wed, 06 Dec 2023 05:50:33 GMT Content-Type: - application/json Content-Length: - '12856' Connection: - keep-alive X-Amzn-Requestid: - 4645935f-ff25-41da-815b-7c1acd589a42 X-Amzn-Bedrock-Invocation-Latency: - '181' X-Amzn-Bedrock-Input-Token-Count: - '12' body: encoding: UTF-8 string: '{"embeddings":[[-0.031143188,-0.0050697327,-0.058654785,-0.031143188,-0.025909424,-0.016540527,-0.050323486,0.028869629,-0.05984497,0.031204224,-0.014884949,0.02607727,-0.033996582,-0.031341553,0.014129639,-0.034088135,0.05267334,-0.015167236,0.038513184,0.007858276,-0.011383057,0.05532837,0.017166138,0.04748535,0.0340271,-0.01361084,-0.006668091,-0.007835388,-6.752014E-4,-0.018341064,0.022094727,0.029968262,0.044036865,-0.031951904,0.027633667,0.15527344,0.026016235,-0.0022277832,0.037017822,-0.0064735413,0.034362793,-0.016921997,-0.017318726,-0.04522705,-0.035095215,-0.010047913,0.035461426,0.025650024,0.018325806,-0.03164673,0.0018072128,0.007648468,0.0059394836,0.001036644,-0.015655518,0.029937744,0.024353027,-0.057556152,0.026351929,-0.030273438,-0.02053833,-2.9110909E-4,0.041046143,0.012962341,0.027648926,-0.020217896,-0.025115967,0.041900635,0.032714844,0.004234314,-0.016723633,-0.015007019,0.018936157,-0.03326416,-0.0031394958,0.029830933,0.0039978027,0.03062439,-0.0077552795,-0.017181396,-0.030822754,0.019561768,-0.030517578,-0.08215332,0.04046631,-0.0340271,-0.013504028,0.0052719116,-0.00730896,-0.03817749,-0.02154541,0.031555176,-0.03363037,0.002565384,-0.026947021,-0.040740967,0.015396118,0.020935059,0.013771057,-0.0035572052,-0.04727173,-0.027053833,-0.020309448,-0.01586914,0.022491455,0.008834839,-0.012123108,0.009681702,0.03933716,0.021194458,-0.017715454,0.02331543,0.010101318,0.010322571,-0.008621216,-0.011878967,-0.019592285,-0.0043640137,-0.021774292,-0.002670288,0.040283203,0.053222656,0.044555664,-0.024597168,0.0016651154,0.012413025,-0.024536133,-0.092285156,0.04711914,-0.011528015,-0.015213013,0.048187256,-0.011795044,-0.054260254,-0.040374756,-0.013389587,0.005630493,-0.003232956,7.4768066E-4,-0.008392334,0.052947998,-0.03677368,0.0149383545,0.022033691,0.019058228,0.01374054,0.02696228,0.017089844,0.024093628,-0.01158905,-0.004638672,0.018661499,-0.02407837,0.030166626,0.02545166,0.0027484894,-0.010093689,-0.015808105,0.059906006,0.012931824,0.009750366,0.008026123,0.030258179,0.015350342,0.0234375,-0.020080566,-0.015296936,0.008834839,0.027191162,0.091552734,-0.022155762,0.010444641,0.011360168,0.010192871,-0.018051147,-0.019821167,0.01348114,-0.0357666,-0.011520386,0.07647705,0.027740479,-0.020980835,-0.0362854,0.028152466,-0.035614014,0.014213562,-0.0020446777,0.015090942,0.013580322,0.0074920654,-0.02935791,0.04147339,-0.009269714,-0.022216797,0.016540527,-0.03414917,-0.010093689,-0.027267456,-7.498264E-5,0.017654419,-0.03302002,0.031341553,0.004924774,0.007194519,0.06201172,-0.011047363,0.02671814,0.0032367706,0.0017318726,-0.012161255,-0.0049934387,-0.03918457,0.062805176,-0.10522461,-0.04244995,-4.8971176E-4,-0.016357422,-0.055114746,0.018447876,-0.05532837,0.026062012,0.032440186,-0.012832642,0.019088745,-0.020141602,-0.009757996,-0.008583069,-0.018325806,-0.06298828,0.033416748,-0.03466797,0.013580322,0.025863647,0.046936035,-0.02609253,0.0035076141,-0.027648926,0.009735107,-0.011421204,0.008773804,0.014175415,0.018218994,-0.023040771,-1.5306473E-4,0.02709961,-0.024505615,0.014015198,0.0025501251,-0.0041389465,0.059051514,0.016220093,0.012931824,-0.013694763,0.02128601,-0.015731812,0.051513672,4.2033195E-4,0.010314941,-0.0121154785,4.3606758E-4,0.0019006729,-0.01991272,-0.01638794,-0.020568848,-0.01701355,0.050048828,0.0014572144,0.04220581,-0.02835083,0.062561035,-4.3725967E-4,-0.031036377,0.0061683655,0.018371582,0.0129852295,-0.016601562,-0.008132935,-0.0028266907,0.0050621033,-0.0044136047,-0.011276245,0.014427185,0.026123047,-6.866455E-4,0.0026950836,0.020065308,0.025527954,-0.0020217896,0.0072746277,-0.030807495,0.032806396,-0.016082764,-0.016296387,0.024734497,0.0017433167,-0.053588867,0.028762817,0.030807495,0.0068588257,-0.005306244,-0.050994873,0.029281616,-0.0046844482,0.009613037,-0.013114929,0.039855957,-0.04260254,0.01864624,0.010192871,0.009056091,-0.055664062,0.0020275116,0.012550354,0.028961182,-0.0023708344,-0.033569336,0.029403687,0.023330688,0.016983032,0.0023784637,0.035705566,-0.010345459,-0.0030574799,-0.036010742,-0.0054244995,-0.040039062,-0.01725769,-0.007507324,0.007835388,-0.035583496,-0.032989502,-0.064086914,-0.03616333,-0.015052795,0.0068855286,-0.009468079,-0.0043678284,0.06329346,-0.01701355,-0.029296875,-0.010276794,-0.06222534,0.016662598,0.02998352,0.03137207,-0.014656067,-0.02998352,0.025161743,0.010597229,8.636713E-5,-0.019241333,-0.031707764,-0.021133423,-0.016082764,0.03842163,-0.06732178,-0.0030460358,0.054504395,0.014228821,-0.024871826,0.014183044,0.0024776459,-0.020629883,-0.039520264,0.024475098,-0.05621338,-0.037322998,-0.004535675,-0.0066375732,0.011230469,-0.0011205673,-0.03878784,1.6272068E-5,0.0042037964,-0.007423401,0.011520386,0.037231445,-0.019363403,-0.03805542,-0.0011463165,0.028503418,0.01550293,0.0020427704,-0.017700195,0.006576538,0.026000977,0.0041046143,0.038330078,0.011360168,-0.018798828,8.881092E-6,0.0541687,-0.037750244,-0.026657104,0.006198883,0.010688782,-0.013366699,-0.0107803345,-0.017211914,-0.012245178,-0.029510498,-0.002670288,0.024642944,-0.04083252,-0.04058838,-0.052490234,-0.053253174,0.005168915,0.037750244,0.0035495758,0.047729492,-0.03161621,0.063964844,-0.082336426,-0.014968872,-0.0034828186,-0.09814453,0.009773254,-0.04220581,0.053741455,0.021362305,0.004989624,-0.037109375,0.016357422,-0.032806396,0.03289795,-0.025161743,0.024887085,0.02859497,-0.014694214,-0.019943237,-0.009925842,-0.012138367,-0.031799316,0.03842163,0.04296875,-0.025726318,0.051849365,-0.06311035,0.017150879,-0.033050537,-0.032226562,0.025405884,0.02609253,0.025314331,0.0010185242,-0.038208008,-0.00605011,-0.03213501,-0.032226562,-0.0011558533,0.023010254,-0.009719849,0.015960693,-0.0029335022,0.041381836,0.0060043335,0.061828613,-0.040863037,0.021026611,0.02130127,-0.03100586,0.020584106,0.0021781921,-0.027404785,-0.004055023,0.029205322,0.013282776,-0.003156662,-0.029083252,0.006996155,0.038909912,-0.018753052,0.0027999878,0.028518677,-0.004638672,-0.03152466,0.02142334,-0.01525116,-0.013313293,-0.033477783,0.018997192,0.015602112,-0.062408447,-0.0061416626,-0.004421234,-0.043060303,-0.018798828,0.028625488,-0.015716553,-0.0395813,-0.029418945,0.021530151,-0.018417358,-0.015808105,0.019088745,-0.011169434,0.03552246,0.031143188,-0.0011739731,-0.048065186,-0.0061569214,-0.07543945,-0.022247314,0.032104492,-0.03793335,0.029373169,0.027023315,0.041046143,0.05834961,0.056427002,-2.1338463E-4,0.012741089,-0.045562744,-0.0021858215,0.08648682,-0.05026245,-0.0914917,0.04559326,0.019729614,0.031677246,0.04269409,-0.020401001,0.010070801,0.07098389,-2.875328E-4,-0.06518555,0.013793945,-0.04611206,-0.035736084,-0.020385742,0.041870117,0.012672424,-0.0027809143,0.038482666,0.009025574,-0.0023479462,-0.017730713,-0.043121338,-0.018966675,-0.009857178,-0.009147644,0.017486572,-0.0119018555,-0.014198303,-0.034088135,-0.020126343,0.04675293,0.01789856,0.032073975,0.012031555,-0.01586914,0.0063934326,0.0063323975,-0.02758789,-0.021713257,-0.05810547,0.02015686,-0.0066871643,0.021026611,-0.010505676,0.006122589,-0.034423828,0.03387451,0.03503418,0.01826477,-0.0015983582,-0.031677246,-0.032348633,-0.03451538,-0.046966553,0.0071754456,-0.013954163,-0.018356323,-0.005748749,0.0045394897,-0.03878784,-0.04385376,-0.0027427673,0.0032482147,0.02961731,0.050689697,-0.010070801,-0.06549072,0.02204895,-0.0020332336,-0.017990112,-0.015357971,-0.024291992,-0.04989624,-0.022232056,-0.012268066,0.013122559,-0.013832092,-0.040252686,-0.019943237,0.00472641,-0.015022278,0.008850098,-0.015106201,0.028640747,3.8337708E-4,0.004524231,-0.01864624,0.053375244,-0.022903442,0.055389404,-0.0022773743,-0.034606934,-0.008659363,0.014724731,0.016098022,-0.005004883,0.0013227463,-0.011451721,0.015945435,-0.019515991,0.084106445,0.013534546,-0.053527832,-0.0047836304,0.0058670044,-0.018051147,-0.079956055,0.036224365,-0.04373169,-0.0022277832,0.032958984,0.002714157,-0.02192688,-5.2547455E-4,-0.008705139,0.0018787384,0.025741577,0.046051025,-0.03656006,-0.026031494,1.9109249E-4,-0.0041542053,0.041229248,0.0045776367,0.007331848,0.005847931,-0.018920898,0.0024642944,-0.040527344,-0.010322571,0.017318726,-0.005897522,0.011512756,-0.008163452,0.013725281,0.009353638,0.008323669,0.0039482117,0.048797607,-0.038269043,0.047821045,-0.003112793,0.007610321,0.02859497,0.08203125,0.006919861,0.03845215,0.01285553,-0.0015697479,-0.0031776428,0.010559082,-0.010826111,-0.016204834,-0.0018291473,-0.051727295,0.0026855469,0.0043411255,-0.023468018,-0.047576904,0.037353516,-0.011543274,-0.033996582,-0.023040771,-0.007633209,0.036254883,0.057647705,0.0077667236,-0.051239014,0.05947876,0.0019350052,-0.036834717,-0.030410767,-0.059631348,-0.042053223,0.093322754,-0.076660156,0.0758667,0.027114868,-0.047973633,-0.010269165,0.008216858,0.037628174,0.0021705627,0.016403198,0.004306793,-0.0017642975,-0.010818481,-0.004501343,0.0335083,-0.040618896,0.06463623,-0.029281616,0.0041007996,0.06213379,0.01876831,-0.007221222,8.928776E-5,-0.009170532,-0.043182373,-0.003894806,-0.002855301,-0.008834839,0.016830444,-0.010726929,-0.03942871,-0.020431519,-0.004310608,0.023742676,-0.0036315918,-0.028152466,0.0028209686,0.014785767,0.009613037,0.03024292,-0.011711121,0.0010976791,0.0109939575,0.005630493,-0.035949707,-0.024429321,0.012321472,-0.048675537,0.03050232,0.0051727295,-0.016403198,-6.4468384E-4,0.0033416748,0.026229858,0.025543213,0.035736084,0.014343262,-0.0026187897,0.04373169,0.050476074,-0.055664062,-0.007347107,-0.048187256,-0.009284973,-0.068603516,0.019577026,0.024093628,0.011192322,-0.022460938,-0.012771606,-0.026245117,-0.00756073,0.061920166,-0.057556152,0.07745361,-0.05822754,-0.08483887,-0.06628418,-0.012634277,0.011383057,0.026168823,-0.04510498,-0.07147217,0.04626465,-0.010772705,0.009765625,-0.03237915,0.023712158,0.038604736,7.2956085E-4,0.03375244,0.010185242,-0.031707764,0.0037727356,-0.0041236877,0.043304443,0.0016040802,-0.009353638,0.016036987,-0.023361206,0.03652954,0.0017366409,0.04663086,0.039611816,-0.0309906,-0.033599854,0.026107788,0.013153076,-0.035186768,-0.02067566,-0.03314209,-0.0050621033,0.0032901764,0.017654419,-0.0692749,-0.03112793,0.04840088,-0.02734375,0.054534912,-0.010597229,0.014152527,-0.021530151,-0.0030517578,-0.015655518,-5.1498413E-4,0.003932953,0.013259888,-0.038360596,-0.051361084,0.027359009,0.015579224,-0.031311035,0.03741455,-0.028045654,0.02456665,0.028320312,-0.07501221,0.015274048,0.01197052,0.00995636,0.0056648254,-0.05203247,-0.014839172,-0.038330078,0.015312195,0.04046631,0.009162903,0.02748108,0.03225708,-0.022628784,-0.020950317,0.016860962,-0.013755798,-0.047821045,0.036956787,0.008384705,-0.015434265,0.0056152344,0.049865723,0.013046265,0.009521484,0.0030651093,-0.026107788,0.003818512,0.0513916,0.02456665,-0.046722412,-0.028167725,0.016494751,-0.0012674332,-0.031051636,-0.06088257,0.011306763,0.05831909,-0.026809692,-0.01828003,-0.0066871643,-0.075683594,-0.04989624,0.009757996,0.039154053,0.038482666,-0.021148682,-0.038482666,0.036956787,-0.016311646,0.014152527,-0.004787445,0.0042915344,0.062286377,0.034179688,0.042755127,0.0039253235,1.41859055E-5,-0.0018424988,0.020050049,0.042297363,0.03652954,-0.017822266,0.032104492,-0.02305603,-0.011672974,0.027313232,-0.05706787,-0.007167816,0.014602661,0.00945282,-0.0066871643,-0.024719238,0.018875122,-0.031204224,0.020645142,-0.023498535,-0.02746582,0.021255493,-0.0013561249,-0.0090789795,-0.01524353,0.0046806335,0.02494812,0.037719727,0.038024902,0.045959473,-0.057769775,-0.013374329,0.05593872,0.048919678,0.096191406,0.06707764,-0.013702393,0.014732361,-0.005191803,-0.03475952,-0.03189087,0.023162842,-0.09881592,-0.0017757416,0.007583618,0.011001587,0.044952393,-0.006668091,-0.07458496,0.0362854,-0.014717102,-0.03036499,-0.04260254,0.03086853,0.0018777847,-0.03817749,-0.031158447,-0.011077881,0.0112838745,0.03262329,-0.02368164,0.029342651,0.02267456,-0.04043579,0.025512695,0.014297485,0.034057617,-0.021148682,0.026123047,-0.0033168793,-0.0017375946,0.03668213,-0.057281494,-0.080200195,-0.05883789,-0.010231018,-0.008468628,0.04006958,0.010101318,0.03189087,-0.0022277832,0.06225586,-0.0071144104,-0.03866577,-0.0038909912,-0.029220581,-0.014724731,0.021209717,-0.008811951,0.0030994415,0.04949951,-5.9080124E-4,0.03656006,-0.01663208,-0.04156494,0.030853271,-0.039215088,0.031982422,0.0037765503,0.03543091,-0.009773254,-9.303093E-4,0.00819397,0.031555176,-0.012802124,0.009284973,0.0102005005,0.04675293,-0.04449463,-0.054656982,0.039276123,0.05517578,-0.007041931,0.042541504,0.011482239,-0.014328003,-0.024551392,0.041503906,0.052825928,0.04916382,-0.05166626,0.057678223,0.047210693,0.02444458,-0.013420105,0.020721436,-0.0082473755,0.03503418,-0.046417236,0.003967285,-0.023239136,-0.005657196,0.02909851,-0.011177063,0.012619019,0.006259918,0.014671326,0.0025119781,-0.026885986,0.01600647]],"id":"4645935f-ff25-41da-815b-7c1acd589a42","texts":["give me a short list of steps for creating a ruby gem"]}' recorded_at: Wed, 06 Dec 2023 05:50:33 GMT recorded_with: VCR 6.2.0