Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save mzbac/ec6e73ced1190c275c92180b8ecb3b6e to your computer and use it in GitHub Desktop.
Save mzbac/ec6e73ced1190c275c92180b8ecb3b6e to your computer and use it in GitHub Desktop.
Embedding request / reponse by Cohere v3 English on user prompt "What is django?"
{
"schemaType": "ModelInvocationLog",
"schemaVersion": "1.0",
"timestamp": "2024-05-30T06:22:26Z",
"accountId": "<account-id>",
"identity": {
"arn": "<identity-arn>"
},
"region": "us-west-2",
"requestId": "de4843a4-8b97-46a9-b005-878dfdf0a123",
"operation": "InvokeModel",
"modelId": "arn:aws:bedrock:us-west-2::foundation-model/cohere.embed-english-v3",
"input": {
"inputContentType": "application/json",
"inputBodyJson": {
"texts": [
"what is django?"
],
"input_type": "search_query",
"truncate": "NONE"
},
"inputTokenCount": 5
},
"output": {
"outputContentType": "application/json",
"outputBodyJson": {
"id": "de4843a4-8b97-46a9-b005-878dfdf0a123",
"texts": [
"what is django?"
],
"embeddings": [
[
-0.028045654,
0.036346436,
-0.055114746,
-0.021499634,
0.030227661,
-0.007637024,
-0.010116577,
0.026992798,
-0.0131073,
0.06088257,
0.028457642,
-0.0015926361,
0.012298584,
-0.028656006,
-0.01499939,
0.0004799366,
-0.015281677,
-0.02067566,
-0.021820068,
-0.020462036,
0.0017414093,
-0.025604248,
-0.014541626,
-0.07861328,
0.004383087,
0.058654785,
0.014854431,
-0.0031375885,
0.03567505,
0.019897461,
0.011474609,
-0.08093262,
0.011924744,
0.002614975,
-0.008674622,
-0.050994873,
-0.0077056885,
-0.003484726,
0.006641388,
0.00018835068,
-0.0041122437,
0.014663696,
-0.027511597,
-0.022109985,
-0.03427124,
-0.002401352,
-0.034606934,
-0.02456665,
0.034454346,
-0.04144287,
0.0016269684,
0.025619507,
-0.0016260147,
0.0065078735,
-0.023651123,
0.024337769,
-0.038269043,
-0.036895752,
0.020629883,
0.032104492,
0.000767231,
0.004432678,
0.022018433,
-0.00869751,
0.01713562,
0.032806396,
-0.023956299,
0.0038433075,
-0.012786865,
-0.007865906,
-0.027908325,
-0.041625977,
0.024154663,
-0.05493164,
-0.013679504,
0.06329346,
-0.0010662079,
0.04675293,
0.008003235,
-0.022476196,
0.023483276,
0.06500244,
-0.03414917,
0.008583069,
-0.0016174316,
0.021011353,
-0.009536743,
-0.053985596,
-0.020751953,
0.02331543,
-0.013954163,
0.008422852,
-0.044006348,
0.041503906,
0.020751953,
-0.009155273,
0.02571106,
-0.039764404,
0.015396118,
0.016998291,
0.023269653,
-0.040649414,
0.07269287,
-0.022613525,
-0.016967773,
0.050720215,
-0.0055503845,
-0.0135650635,
-0.014808655,
0.0051612854,
-0.007858276,
-0.08428955,
-0.037719727,
0.007270813,
-0.05090332,
0.028686523,
-0.06616211,
-0.015525818,
-0.02645874,
0.010177612,
0.038635254,
0.02961731,
0.031707764,
-0.009750366,
0.020050049,
0.028762817,
-0.04425049,
-0.05508423,
0.03488159,
-0.014503479,
0.015991211,
0.029464722,
-0.014411926,
0.0022392273,
-0.018997192,
0.0045318604,
-0.024765015,
-0.002210617,
-0.01574707,
0.009864807,
0.024627686,
-0.033416748,
0.03692627,
0.005027771,
0.0076293945,
0.0026569366,
0.020065308,
0.014671326,
-0.019332886,
-0.0059127808,
0.046813965,
-0.038269043,
-0.036346436,
0.017944336,
0.076538086,
0.024902344,
0.0003681183,
0.014930725,
0.04458618,
0.04815674,
0.025817871,
-0.0015068054,
0.011787415,
-0.015640259,
-0.027694702,
-0.018005371,
-0.002702713,
0.01159668,
-0.008300781,
0.03225708,
0.0060043335,
0.030471802,
0.018203735,
-0.023742676,
-0.0158844,
-0.040740967,
-0.05102539,
-0.008003235,
0.027648926,
0.01247406,
0.019073486,
-0.023284912,
-0.0055770874,
0.034454346,
-0.03479004,
0.0043792725,
0.004005432,
0.028503418,
0.033355713,
-0.0022525787,
0.044128418,
0.019622803,
-0.0068588257,
0.023544312,
-0.031143188,
0.03540039,
-0.03479004,
0.08703613,
-0.042175293,
-0.0647583,
-0.01928711,
0.006893158,
0.015274048,
-0.027359009,
-0.04058838,
-0.008483887,
-0.012298584,
0.025756836,
0.00097084045,
0.06311035,
0.016281128,
0.06402588,
-0.049987793,
-0.0051727295,
0.010185242,
-0.010940552,
0.0041389465,
0.019546509,
0.03475952,
-0.041625977,
0.019012451,
0.0413208,
0.005657196,
0.022613525,
0.1048584,
0.020446777,
-0.009674072,
-0.03060913,
0.055786133,
0.019012451,
-0.0848999,
-0.0030498505,
-0.05026245,
0.0009522438,
-0.017196655,
-0.0023078918,
-0.029891968,
-0.053771973,
0.031555176,
0.04071045,
0.0015487671,
0.0029296875,
-0.0446167,
-0.0016994476,
-0.010795593,
-0.011123657,
0.027999878,
-0.010017395,
-0.02684021,
-0.016937256,
0.016860962,
0.014076233,
0.016601562,
-0.052978516,
-0.016082764,
0.033111572,
-0.0284729,
-0.031402588,
-0.022750854,
0.013656616,
0.020401001,
-0.015563965,
-0.0070266724,
-0.008842468,
0.0003144741,
-0.01626587,
0.023406982,
0.028289795,
0.016708374,
-0.031433105,
0.005695343,
-0.019989014,
-0.017974854,
0.007232666,
0.05227661,
-0.040039062,
-0.0048561096,
-0.025054932,
-0.014045715,
-0.008773804,
-0.008621216,
-0.022872925,
-0.04776001,
-0.012580872,
0.021057129,
-0.046936035,
-0.012741089,
0.0064468384,
0.030151367,
0.03942871,
0.040893555,
0.05734253,
0.059906006,
-0.009635925,
0.054595947,
-0.0024414062,
0.070251465,
0.06500244,
-0.03540039,
0.010673523,
-0.0018863678,
-0.0048980713,
-0.030014038,
-0.00023818016,
0.042388916,
-0.05593872,
0.0041007996,
0.02281189,
0.026153564,
0.051605225,
-0.060821533,
0.09686279,
0.03250122,
-0.0047302246,
-0.00091028214,
-0.019515991,
-0.051208496,
0.014823914,
-0.051513672,
0.011116028,
-0.001033783,
0.018539429,
0.018157959,
0.017288208,
0.021408081,
-0.018173218,
0.021209717,
0.014472961,
-0.016052246,
0.0008149147,
0.041625977,
-0.001958847,
-0.018737793,
-0.02293396,
0.010391235,
0.029846191,
0.027770996,
0.017059326,
-0.00064229965,
0.018356323,
0.05633545,
-0.09466553,
-0.021835327,
0.002588272,
0.03741455,
-0.03125,
-0.040100098,
0.01689148,
-0.03564453,
-0.031921387,
-0.0005455017,
-0.045196533,
-0.02394104,
-0.01675415,
0.02658081,
-0.012840271,
0.004020691,
-0.025009155,
-0.0035820007,
-0.06536865,
-0.01651001,
0.013084412,
-0.015579224,
0.025894165,
0.0029907227,
-0.019454956,
-0.0077400208,
0.04006958,
0.056671143,
0.059936523,
-0.05355835,
0.059326172,
-0.021636963,
-0.0048980713,
0.046142578,
-0.0051078796,
0.0519104,
-0.02217102,
0.017700195,
0.027694702,
0.0035686493,
0.029006958,
-0.031280518,
0.009483337,
-0.0121536255,
0.044799805,
0.034484863,
-0.0043258667,
0.015365601,
-0.016036987,
-0.015571594,
0.008377075,
0.028198242,
-0.024261475,
-0.012779236,
-0.05255127,
0.016815186,
0.08874512,
-0.0647583,
0.0053710938,
0.0892334,
-0.029907227,
-0.023330688,
0.0053863525,
-0.032043457,
-0.024902344,
0.044891357,
0.015655518,
0.014022827,
-0.039764404,
0.036590576,
-0.005420685,
0.05126953,
-0.06756592,
0.041748047,
-0.055725098,
0.09692383,
-0.0119018555,
0.025405884,
-0.03527832,
0.059417725,
-0.07269287,
0.06616211,
0.02519226,
0.002292633,
-0.010902405,
-0.017166138,
-0.030975342,
0.03540039,
0.028182983,
-0.027145386,
0.010040283,
-0.028381348,
-0.07299805,
-0.043151855,
-0.027908325,
-0.025878906,
0.007534027,
-0.014442444,
0.0033607483,
-0.020019531,
-0.028747559,
-0.015975952,
-0.0034008026,
0.018341064,
-0.021209717,
-0.0335083,
-0.008934021,
0.036254883,
-0.027435303,
0.018432617,
-0.02986145,
0.04537964,
0.011154175,
-0.016998291,
0.05178833,
-0.005672455,
0.021438599,
-0.017349243,
-0.010055542,
0.016952515,
-0.012207031,
0.008392334,
-0.04663086,
0.004798889,
0.030807495,
-0.008522034,
0.0093307495,
-0.017318726,
0.0075798035,
0.026290894,
-0.033172607,
0.06768799,
0.013710022,
0.020858765,
0.009849548,
-0.01499176,
-0.011749268,
-0.0635376,
-0.0058898926,
-0.030288696,
0.044525146,
-0.015266418,
-0.018661499,
-0.04095459,
0.03781128,
-0.026473999,
-0.009681702,
0.0119018555,
0.033111572,
0.07385254,
-0.0115356445,
0.030288696,
0.032318115,
-0.027557373,
-0.035247803,
-0.0068740845,
0.049926758,
-0.011375427,
-0.042785645,
-0.0012321472,
-0.013900757,
0.023864746,
0.020629883,
0.02758789,
-0.0007853508,
-0.015525818,
-0.018173218,
0.015464783,
0.0134887695,
-0.008453369,
-0.025375366,
0.019302368,
-0.013404846,
-0.022216797,
-0.026931763,
-0.012329102,
0.05999756,
-0.066223145,
-0.012084961,
0.024383545,
-0.0058555603,
0.02520752,
0.014122009,
0.04937744,
-0.019821167,
0.02394104,
-0.008323669,
-0.014343262,
0.014404297,
-0.0018625259,
0.06512451,
-0.010269165,
-0.028503418,
0.009498596,
-0.08135986,
-0.008766174,
-0.0059661865,
0.024551392,
0.04220581,
0.0037517548,
-0.017028809,
-0.014450073,
0.049468994,
0.00043678284,
-0.051574707,
0.03378296,
0.044891357,
-0.013404846,
0.005329132,
0.008613586,
0.01146698,
-0.04208374,
-0.04727173,
-0.046447754,
-0.052612305,
-0.019241333,
0.02319336,
-0.034057617,
-0.01461792,
-0.02355957,
0.03375244,
-0.02255249,
0.026321411,
-0.0065307617,
0.025878906,
-0.0082473755,
-0.01576233,
0.01612854,
-0.011543274,
-0.01499939,
-0.027664185,
0.058685303,
0.01966858,
-0.047546387,
-0.015388489,
-0.0035324097,
0.0048828125,
0.03366089,
0.034729004,
0.04336548,
0.018737793,
-0.053863525,
0.05697632,
0.019042969,
0.04574585,
-0.013702393,
0.04711914,
0.017532349,
0.023284912,
-0.029754639,
-0.018692017,
-0.011940002,
-0.0051231384,
0.012191772,
0.015464783,
-0.009994507,
-0.013755798,
0.04257202,
-0.006011963,
0.002872467,
0.016525269,
-0.00078725815,
-0.0031433105,
0.02949524,
0.03616333,
0.024902344,
-0.000019907951,
-0.0033302307,
0.02720642,
0.0011720657,
0.0036582947,
0.006259918,
-0.033416748,
0.0149002075,
0.024459839,
0.046142578,
-0.034423828,
-0.034576416,
-0.0028877258,
0.02760315,
0.03463745,
0.050933838,
0.005569458,
0.005218506,
0.054718018,
-0.059326172,
-0.0064926147,
-0.011566162,
0.020401001,
-0.011817932,
-0.00907135,
-0.01499176,
-0.021774292,
0.0064697266,
-0.012962341,
-0.016906738,
-0.0019216537,
0.006336212,
0.002506256,
-0.0015096664,
-0.013381958,
-0.070495605,
0.052459717,
-0.005508423,
-0.00843811,
-0.011123657,
-0.04537964,
0.006248474,
-0.00868988,
0.062927246,
0.011459351,
0.05493164,
-0.0178833,
-0.048797607,
0.06896973,
-0.055023193,
0.013221741,
-0.011520386,
-0.018585205,
-0.019332886,
0.05810547,
-0.015327454,
0.026351929,
0.034606934,
-0.013252258,
0.028045654,
0.03894043,
-0.035186768,
0.018875122,
-0.0021209717,
0.022659302,
0.0074653625,
0.01902771,
0.011268616,
0.0013170242,
0.037078857,
0.025009155,
-0.008804321,
-0.019546509,
0.000746727,
0.030700684,
-0.018737793,
-0.00035262108,
-0.026138306,
0.035186768,
0.043792725,
-0.009429932,
0.026672363,
0.044769287,
-0.057891846,
-0.024337769,
0.027420044,
-0.027618408,
-0.01763916,
0.0031166077,
-0.008987427,
-0.023880005,
0.039398193,
-0.023910522,
-0.011367798,
-0.0010004044,
0.015777588,
-0.0050849915,
-0.0287323,
0.046173096,
-0.0101623535,
-0.0033607483,
-0.046844482,
0.007205963,
-0.014801025,
-0.019470215,
-0.05065918,
0.012268066,
-0.02041626,
0.0074653625,
-0.041015625,
-0.08190918,
-0.05633545,
0.089416504,
0.005256653,
-0.037719727,
0.014801025,
-0.02482605,
0.018859863,
-0.05117798,
0.034362793,
0.019760132,
-0.0033283234,
-0.022155762,
0.030654907,
-0.020889282,
-0.022903442,
0.024841309,
0.009483337,
-0.03704834,
0.0552063,
0.008071899,
-0.0029964447,
-0.008033752,
-0.033813477,
0.0052375793,
0.021118164,
-0.029556274,
-0.000477314,
0.05847168,
0.03894043,
-0.08355713,
-0.025283813,
0.008834839,
-0.0058937073,
-0.067871094,
0.0067367554,
-0.00056886673,
0.0105896,
-0.052368164,
0.0006866455,
0.01878357,
0.01890564,
-0.021133423,
-0.038726807,
-0.006374359,
0.0022010803,
0.020095825,
-0.010261536,
0.002790451,
0.047180176,
0.013748169,
-0.038330078,
0.010948181,
0.021224976,
-0.003435135,
-0.004131317,
0.041656494,
-0.02960205,
0.0052375793,
0.018066406,
-0.006954193,
-0.034729004,
-0.0006432533,
0.017089844,
0.028274536,
-0.019058228,
-0.008644104,
-0.0018596649,
0.00157547,
-0.027633667,
0.034332275,
-0.059936523,
-0.02670288,
-0.030761719,
0.09008789,
-0.0026988983,
0.02520752,
-0.020339966,
0.005290985,
0.024841309,
0.00017309189,
0.021530151,
-0.0116119385,
0.021759033,
-0.010307312,
0.0077667236,
-0.047943115,
-0.0018901825,
-0.020324707,
0.09844971,
-0.055908203,
-0.052001953,
0.06756592,
-0.022735596,
-0.014755249,
0.050872803,
-0.06384277,
0.09222412,
-0.04525757,
-0.034210205,
0.002773285,
-0.0017681122,
-0.04156494,
0.007965088,
0.045928955,
-0.03982544,
0.018203735,
0.014289856,
-0.009552002,
0.043548584,
-0.027160645,
0.020050049,
-0.0473938,
0.0056495667,
-0.028305054,
0.010383606,
0.037628174,
-0.000415802,
-0.0050621033,
-0.014770508,
0.047332764,
-0.021713257,
0.012672424,
0.021774292,
-0.017288208,
0.0025539398,
-0.016998291,
0.056732178,
-0.03253174,
-0.030151367,
-0.0065460205,
0.09893799,
0.0038471222,
0.035186768,
-0.101623535,
-0.03262329,
0.027145386,
-0.00027489662,
-0.0289917,
-0.03994751,
-0.04095459,
-0.050811768,
0.017700195,
0.042785645,
-0.04373169,
-0.012046814,
-0.0043678284,
0.03074646,
0.0024299622,
0.016159058,
-0.015686035,
0.00579834,
-0.028686523,
0.0016679764,
0.017700195,
0.028366089,
-0.038208008,
-0.044067383,
0.0231781,
-0.0129852295,
-0.002483368,
-0.021606445,
0.012184143,
0.004638672,
-0.00077295303,
0.032073975,
-0.029937744,
0.004512787,
-0.012283325,
0.00070238113,
0.030761719,
-0.024765015,
0.007068634,
0.017486572,
-0.048980713,
-0.0015506744,
-0.02456665,
-0.0128479,
-0.012741089,
-0.007835388,
-0.006164551,
-0.016815186,
-0.0041236877,
-0.012634277,
-0.016433716,
0.0078125,
-0.0065193176,
-0.014457703,
-0.00699234,
0.034484863,
0.02015686,
-0.031555176,
-0.06085205,
0.008743286,
-0.015266418,
-0.015449524,
0.025772095,
0.033050537,
0.026947021,
-0.061950684,
-0.019546509,
-0.008094788,
-0.029525757,
-0.024887085,
0.030426025,
-0.0093688965,
0.023132324,
-0.017868042,
-0.020858765,
0.011909485,
0.012176514,
0.024230957,
-0.0018033981,
0.012992859,
-0.01612854,
-0.04034424,
-0.022567749,
0.023376465,
-0.052764893,
0.035461426,
-0.038726807,
-0.030731201,
0.019729614,
0.016235352,
-0.04446411,
-0.007282257,
0.005142212,
-0.0015325546,
-0.007648468,
0.032165527,
-0.03036499,
-0.0680542,
-0.014892578,
0.0070152283,
-0.009033203,
-0.034698486,
-0.0044898987,
0.0055274963,
0.05026245,
-0.02671814,
-0.058135986,
0.01386261,
0.0049476624,
-0.0069007874,
0.08392334,
-0.023910522,
-0.015129089,
0.038909912,
-0.005859375,
0.0014371872,
0.017593384,
-0.017410278,
-0.0262146,
-0.0569458,
-0.013420105,
0.016052246,
-0.075927734,
0.012580872,
0.02607727,
-0.03186035,
0.032958984,
-0.0005931854,
-0.027069092,
0.024246216,
0.037872314,
-0.0362854,
-0.014427185,
-0.0024681091,
-0.027130127,
0.0038852692,
0.0154953,
-0.005493164,
-0.009635925,
-0.02041626,
0.06463623,
-0.046173096,
-0.026443481,
0.0042381287,
0.023529053,
-0.013038635,
0.04647827,
-0.0076904297,
0.017120361,
0.00057792664,
0.024398804,
-0.007507324,
0.005302429,
-0.010665894,
0.02720642,
-0.019561768,
0.028533936,
-0.016342163,
-0.0703125,
-0.0413208,
0.023925781,
-0.02192688,
-0.0056762695,
-0.019012451,
0.01361084,
-0.006164551,
0.02230835,
-0.044921875,
-0.030426025,
-0.0072402954,
0.00881958,
0.0014886856,
-0.0023670197
]
],
"response_type": "embeddings_floats"
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment