diff --git a/Basic_Samples/Embeddings/dotnet/csharp/Get_embeddings_from_dataset.ipynb b/Basic_Samples/Embeddings/dotnet/csharp/Get_embeddings_from_dataset.ipynb index d921237b..1c500d82 100644 --- a/Basic_Samples/Embeddings/dotnet/csharp/Get_embeddings_from_dataset.ipynb +++ b/Basic_Samples/Embeddings/dotnet/csharp/Get_embeddings_from_dataset.ipynb @@ -18,7 +18,7 @@ }, { "cell_type": "code", - "execution_count": 2, + "execution_count": 1, "metadata": { "dotnet_interactive": { "language": "csharp" @@ -92,7 +92,7 @@ { "data": { "text/html": [ - "
Installed Packages
" + "
Restore sources
Installed Packages
" ] }, "metadata": {}, @@ -263,7 +263,7 @@ }, { "cell_type": "code", - "execution_count": 10, + "execution_count": 11, "metadata": { "dotnet_interactive": { "language": "csharp" @@ -284,15 +284,6 @@ }, "metadata": {}, "output_type": "display_data" - }, - { - "data": { - "text/plain": [ - "Loading extensions from `C:\\Users\\dicolomb\\.nuget\\packages\\microsoft.data.analysis\\0.21.0-preview.23504.1\\interactive-extensions\\dotnet\\Microsoft.Data.Analysis.Interactive.dll`" - ] - }, - "metadata": {}, - "output_type": "display_data" } ], "source": [ @@ -301,7 +292,7 @@ }, { "cell_type": "code", - "execution_count": 11, + "execution_count": 12, "metadata": { "dotnet_interactive": { "language": "csharp" @@ -320,7 +311,7 @@ }, { "cell_type": "code", - "execution_count": 12, + "execution_count": 13, "metadata": { "dotnet_interactive": { "language": "csharp" @@ -336,7 +327,7 @@ { "data": { "text/html": [ - "
indexColumn0TimeProductIdUserIdScoreSummaryText
0
0
1.3511232E+09
B003XPF9BOA3R7JR3FMEBXQB
5
where does one start...and stop... with a treat like thisWanted to save some to bring to my Chicago family but my North Carolina family ate all 4 boxes before I could pack. These are excellent...could serve to anyone
1
1
1.3511232E+09
B003JK537SA3JBPC3WFUT5ZP
1
Arrived in piecesNot pleased at all. When I opened the box, most of the rings were broken in pieces. A total waste of money.
2
2
1.3511232E+09
B000JMBE7MAQX1N6A51QOKG
4
It isn't blanc mange, but isn't bad . . .I'm not sure that custard is really custard without eggs. But this comes close. I got it for use in a "Vegan pancake" recipe. We were having houseguests who were Vegan and I wanted to make some special breakfasts while they were here. One of the cooking/recipe sites had a recipe using this and there were lots of great reviews. I tried the recipe and it turned out like wallpaper paste -- yuck!<br />However, the so-called custard isn't so bad. I think it's probably just cornstarch and annatto (yellow coloring with a slight flavor). It's fun playing with it. You could dress it up with fruit. Seems to come out on the thin side when you make it as directed, so I use less milk because I like my custards to set firm. As a custard sauce it's fine. I would say it tastes something between a pudding and a custard.<br /><br />If you want a really good egg-free "custard" get an original recipe for "blanc mange." It takes a lot longer to make, but it's certainly worth the difference.
" + ] + }, + "metadata": {}, + "output_type": "display_data" + } + ], + "source": [ + "df.Head(5).Display();" + ] + }, + { + "cell_type": "code", + "execution_count": 19, + "metadata": { + "dotnet_interactive": { + "language": "csharp" + }, + "polyglot_notebook": { + "kernelName": "csharp" + }, + "vscode": { + "languageId": "polyglot-notebook" + } + }, + "outputs": [ + { + "data": { + "text/html": [ + "
indexInfoColumn0TimeProductIdUserIdScoreSummaryTexttokensembeddings
0
DataTypeSystem.SingleSystem.SingleSystem.StringSystem.StringSystem.SingleSystem.StringSystem.StringSystem.SingleSystem.String
1
Length (excluding null values)466466466466466466466466466
" + ] + }, + "metadata": {}, + "output_type": "display_data" + } + ], + "source": [ + "df.Info().Display();" ] } ], diff --git a/Basic_Samples/Embeddings/dotnet/csharp/fine_food_reviews_with_embeddings_1k.json b/Basic_Samples/Embeddings/dotnet/csharp/fine_food_reviews_with_embeddings_1k.json new file mode 100644 index 00000000..743de5c7 --- /dev/null +++ b/Basic_Samples/Embeddings/dotnet/csharp/fine_food_reviews_with_embeddings_1k.json @@ -0,0 +1 @@ +{"ProducIt":"B003XPF9BO","UserId":"A3R7JR3FMEBXQB","SCore":5,"Summary":"where does one start...and stop... with a treat like this","Text":"Wanted to save some to bring to my Chicago family but my North Carolina family ate all 4 boxes before I could pack. These are excellent...could serve to anyone","TokenCount":34,"Embedding":[0.0068575335,-0.028527338,0.0065081255,-0.017594472,-0.0020066448,0.013636695,-0.007001215,-0.03471871,-0.004424742,-0.037722964,0.011899453,0.0034026427,-0.017999392,0.002989558,0.008568651,0.017163426,0.025928007,-0.03450972,-0.006083612,-0.024412818,-0.022388214,-0.008372721,0.020363608,-0.011520656,-0.014146112,0.013257897,0.007915553,-0.020951398,-0.0011347585,0.0036606167,0.021147326,-0.0056460355,-0.008784174,-0.024543438,-0.018770048,-0.012369684,-0.022244532,-0.0012221104,0.018443499,-0.010678159,0.013016251,-0.016053159,0.016719319,-0.015870292,0.0026352522,0.019266402,-0.022074725,-0.020820778,-0.028971445,0.004434538,0.031871203,-0.0006322809,-0.02615006,-0.001363343,0.010802248,0.014773086,-0.025314094,0.0013331372,0.011886391,-0.025666768,0.006981622,0.023916464,-0.036390644,0.0050386544,0.020494228,-0.015609052,-0.0003565509,0.009352369,-0.0045031137,0.004326777,0.009202156,0.011350851,-0.0118145505,0.006452612,-0.001639277,-0.0008735191,-0.014185297,0.003188753,0.0024883049,-0.002005012,0.019044349,-0.03304678,-0.0068379403,0.039290402,0.019266402,0.030773997,-0.020794654,0.014394289,-0.019305589,-0.005623177,-0.0036312272,0.011272479,-0.014838396,-0.0029503722,-0.023041312,0.02714277,-0.009058475,0.032001823,-0.0035202005,-0.025274908,0.020768529,0.010234052,-0.00092331786,-0.016836878,-0.010625911,0.002199309,-0.03019927,-0.020219928,0.022022478,-0.015256379,-0.008542527,0.013270959,0.011755771,-0.055905223,0.0007045299,-0.0075236936,-0.016092345,-0.033308018,-0.0008808665,-0.014655529,-0.011390036,0.008320474,0.024739368,-0.020990582,-0.010149149,0.012036604,0.009816069,-0.010736938,-0.018639429,-0.004199423,0.029154314,0.0028507747,0.020859962,0.00633832,-0.005685222,0.03080012,-0.022375152,0.0016686665,-0.0010857761,-0.0020148086,0.010998177,0.040622722,0.015831105,-0.0063742404,-0.018926792,0.023720535,0.009215219,0.03299453,-0.007771871,-0.014537971,0.013055437,-0.022440461,0.031949576,-0.006677931,0.004359432,0.0026826018,0.01632746,0.019292528,-0.026228432,-0.0046435297,-0.009861786,-0.010939399,-0.0039512455,-0.030147023,-0.015347812,0.015831105,0.024543438,0.0020801185,0.009665856,-0.0035887759,0.0073604193,0.018691676,-0.025862698,0.022923755,0.0040459447,0.010371203,0.013519137,0.0018792907,-0.021486938,0.029964155,0.016823815,-0.0038728735,0.03618165,0.025980255,-0.0063056652,-0.022492709,0.029389428,-0.009019289,0.0015037591,-0.014916767,0.0069946838,0.0007771871,0.018587181,-0.025196537,-0.64996356,-0.01486452,0.011187576,-0.0055839913,0.019475395,0.026568044,0.03145322,-0.0029405756,-0.012219471,0.00388267,-0.018130012,0.004872114,0.012017011,-0.015896415,-0.0122129405,-0.035815917,0.0035299968,-0.00633832,-0.0076673753,0.009535237,-0.017921021,0.025000608,-0.01559599,-0.0040590065,0.023968711,0.013754252,0.0030973193,-0.016209902,0.0030254785,0.013251367,-0.024203828,0.04864277,0.013493014,-0.010103432,0.05248299,0.0010514884,-0.0019592952,0.008424969,0.01227825,0.024674058,-0.017777339,-0.001556007,0.012160692,0.012095382,-0.00026389258,0.016510328,0.004800273,0.0037259264,-0.004140644,0.0067530377,-0.0048361938,0.012572144,-0.021382442,-0.0151518835,0.006877126,0.006851002,0.023916464,0.0009020922,-0.0019690916,0.008647023,-0.0048492556,0.021656744,-0.017685905,-0.033490885,-0.011030832,0.024112394,-0.0044835205,-0.009567892,0.027508505,-0.025222661,-0.01546537,0.019501518,-0.03192345,0.022544958,0.020272175,0.052117255,-0.0017568347,-0.0024278935,-0.0014286528,0.016549515,0.0004894156,-0.00037247018,0.003637758,-0.016640948,0.032132443,0.021251822,-0.011357381,0.016209902,-0.001729078,-0.003324271,0.021865735,0.002352787,-0.003471218,-0.027168894,0.017006682,0.013532199,-0.020624848,0.011305134,0.027247265,-0.0047219014,0.004793742,0.0084772175,0.026032502,-0.01400243,0.01718955,-0.008150668,0.002365849,0.020180741,0.0032116114,-0.014315917,0.009613609,-0.010985116,-0.016170716,-0.019122722,0.004493317,-0.024060145,-0.0075824726,0.017999392,0.013832624,-0.033490885,-0.004685981,-0.001151086,8.16373E-05,0.005855027,-0.011350851,0.034143984,0.015609052,-0.0027217877,0.0037945018,-0.0040590065,-0.0025225927,0.015073512,0.008607837,-0.012023542,0.0033634568,0.0019527642,-0.0030254785,-0.017777339,0.021029769,-0.019514581,-0.021669805,-0.00017939798,-0.007732685,-0.013251367,0.023929525,0.0039871656,0.003722661,-0.011736179,-0.050184082,-0.004094927,0.012624392,-0.0060346294,-0.008901731,-0.009816069,0.029990278,-0.020846901,0.009417679,-0.008131076,-0.016732382,-0.008385784,0.0071514277,0.017411605,-0.015295565,-0.003098952,0.008601306,-0.0006841206,0.032628797,0.0068052853,0.0047480254,-0.032419804,0.0005228869,-0.03106136,-0.022009416,0.021526124,-0.020520352,-0.00065391476,-0.012879101,-0.012683171,-0.0076085967,0.012905224,0.025601458,-0.0012417034,-0.0071579586,0.011461877,0.014028554,-0.0007318784,0.004898238,0.02449119,-0.035842042,0.01227825,0.0061554527,-0.009293591,-0.0028687348,-0.012323967,0.022858445,-0.008790704,-0.015347812,0.011455346,-0.0036018377,-0.0031724256,0.0040394138,-0.031296477,0.008581713,0.0032524301,0.0149690155,-0.018861482,0.021539185,-0.014041616,0.017516099,0.012075789,0.006550577,-0.008993166,-0.021186512,-0.021395504,0.0032981469,0.027064398,0.0018923526,0.019005165,-0.006935905,-0.01652339,-0.007673906,-0.0039577764,0.004672919,0.024700182,-0.017568348,0.009528706,0.0017307107,-0.012467649,0.012160692,0.011030832,-0.016680133,0.025510024,0.030120898,0.018926792,0.0009437272,-0.028893074,0.024830801,-0.0056068497,0.026750911,-0.011331257,0.029650668,0.0018678615,0.011592497,0.017581409,-0.014407351,0.025301032,0.008085358,-0.005117026,0.003490811,0.022479648,0.0047806804,0.0051986636,-0.012820322,0.020781592,0.0066256835,-0.025758201,-0.008091889,-0.0021552248,0.04770231,0.0040132897,-0.007471446,-0.0026368848,-0.009136847,-0.020820778,0.0117818955,-0.018939855,-0.010410389,-0.036860876,-0.009881379,0.008346598,-0.013453827,-0.012768074,-0.0033079435,0.00348428,0.0061554527,-0.0040590065,0.010632442,-0.0043888213,-0.023250304,-0.0055774604,-0.024177704,-0.0077588093,0.027560754,0.004591282,-0.008581713,0.011612089,-0.0016327461,0.00074208307,-0.000689427,0.02959842,0.00060493243,0.015478432,-0.013244836,0.003967573,0.0071579586,0.024243014,0.034483597,-0.029284934,0.03218469,-0.013754252,0.014433475,-0.031244228,-0.0034059081,-0.009260936,-0.0022662515,0.026372114,0.009835662,0.001446613,-0.006648542,-0.007399605,0.012350091,-0.002983027,-0.013133809,0.013976306,0.02289763,-0.015204131,-0.020128492,-0.0036736785,0.011357381,0.0055056196,-0.022793135,-0.049792223,-0.043548603,-0.005130088,0.13291858,0.0027430134,-0.006844471,0.004365963,0.012924817,0.008281288,-0.018417375,0.003188753,0.016484205,-0.020063182,0.0030891555,0.0023380923,0.0061358595,-0.008013518,0.018613305,-0.010736938,-0.017124241,-0.018130012,-0.013832624,-0.017973268,0.013329739,0.020050121,0.0020948132,-0.0019592952,0.023602977,0.008287819,0.04618712,0.019697448,-0.009868317,-0.010547539,-0.01579192,-0.0043169805,-0.018939855,0.011520656,-0.01466859,-0.014982077,0.011435753,0.019592952,0.020520352,-0.0070926487,0.016614823,-0.0056101154,0.0018923526,-0.031766705,0.010815309,0.003477749,-0.005789717,0.013767314,0.007902491,-0.015413122,0.03897691,-0.005920337,0.010181804,0.005342345,0.019775819,0.0018417375,-0.015582928,0.0141722355,0.0049210964,0.0049210964,-0.010593256,-0.013793439,-0.0054403096,-0.008366191,-0.03119198,-0.025928007,-0.017176488,0.00089392846,-0.018521871,-0.022244532,0.0055839913,-0.0068118162,-0.00086372264,0.0005420717,0.041275818,0.009698511,-0.004486786,0.006286072,0.029911907,-0.0060999393,0.01234356,-0.024869988,0.012839914,-0.015439247,-0.0070665246,0.020873025,-0.010175273,-0.026829282,-0.010240583,-0.002359318,0.009189094,-0.0019527642,0.019423148,0.003079359,-0.011128797,-0.005456637,0.0029487393,0.013349332,-0.016170716,0.0047806804,0.023132745,0.033699878,-0.0053521413,-0.029520048,-0.0025715749,0.017855711,-0.014903706,0.0102536455,-0.016575638,-0.015269441,0.029258808,-0.0051268227,0.0014898807,0.0025111635,-0.017280985,0.015765795,0.0014025288,0.013819562,-0.022492709,-0.016379708,0.004832928,-0.022610268,0.030173147,-0.001941335,-0.023916464,0.00046369986,0.0052149906,-0.03511057,-0.0013192588,0.0069293743,-0.011932108,0.017777339,-0.021473875,-0.0010621013,-0.024869988,-0.0055741947,-0.012245595,0.032263063,-0.010527946,-0.014511847,-0.0056786905,-0.011605559,0.005920337,0.0011339422,-0.020507291,-0.027586877,-0.007876366,-0.0057113455,-0.0020262378,0.024060145,0.009959751,0.008268226,-0.010521416,0.0048361938,-0.018704738,-0.039943498,0.009411148,0.015883353,0.02223147,0.038219318,0.030643377,-0.0033961118,0.015765795,0.004989672,0.020846901,-0.015426184,0.0018907199,-0.0010947562,-0.016340522,0.002352787,-0.0011968028,-0.0018874544,-0.017764276,0.018887606,-0.0072102062,0.009482989,0.0046467953,-0.032158565,0.004369228,-0.02647661,0.010279769,-0.0052345837,0.0020115431,0.028684082,0.026032502,-0.0013445663,0.040753342,0.0034614215,0.0064656744,0.006318727,0.03761847,-0.0026826018,0.0004298204,-0.007144897,-0.029546171,-0.008483748,-0.007909021,-0.021173451,-0.011004708,0.0067203827,0.018770048,0.012755012,-0.0016400934,-0.0020523618,-0.0020866494,0.0057244077,-0.012794198,-0.0071710204,0.005482761,-0.024504252,-0.022701701,-0.017881835,-0.025222661,-0.022048602,0.0028213852,0.0028377126,-0.00034940764,0.020598724,-0.009541768,-0.012715826,-0.024386695,-0.010958991,0.012905224,0.0054794955,0.011220231,0.024935298,-0.020755468,-0.019997874,-0.0066322144,0.011984356,0.0015543742,0.016928311,0.03390887,0.0059007443,0.010495291,-0.00029736388,-0.0063285236,-0.035815917,-0.020193802,0.03299453,0.0009102559,0.016013972,-0.0032752885,-0.008248633,-0.006370975,0.0003169568,-0.002468712,-0.018534932,0.0014000797,-0.0015935601,-0.023041312,0.015935602,-0.009633201,0.0068379403,0.0023299286,-0.0055382745,-0.023015188,-0.021813488,-0.008555589,0.016118469,0.0025356545,0.005681956,0.0015951928,-0.010985116,0.009600546,-0.016510328,-0.020311361,-0.011690462,0.0030042527,0.026711725,-0.020219928,-0.022022478,-0.0067073205,0.006204435,0.039290402,-0.015870292,-0.022466585,-0.019031288,-0.008934386,-0.009646264,0.0062730103,-0.0029503722,0.023472358,0.0042157504,-0.014093864,0.000372062,-0.04318287,-0.023602977,0.0076020653,-0.016876062,-0.019880315,-0.0103189545,0.0075236936,0.011768834,0.0037422539,-0.010985116,-0.011644744,0.015178007,-0.0056721596,-0.001337219,-0.04751944,0.014328979,-0.04812029,0.0005730938,0.00064371014,-0.010501822,0.012892162,0.015439247,0.003928387,-0.024164641,0.009744228,0.012245595,-0.002184614,-0.0024344244,0.011919046,0.016131531,0.014250607,0.0076347203,-0.023302551,0.017999392,-0.021604495,0.018952915,0.020141555,0.0071187727,-0.016836878,-0.0008808665,0.016418895,0.008594775,0.0006694259,0.000647792,-0.015739672,0.04587363,0.009731166,-0.012474179,-0.0064885328,0.007347357,-0.002083384,0.0084772175,0.009737697,0.017202612,0.028344471,0.017672842,0.029964155,0.0006024833,-0.013558323,-0.012748481,-0.019383961,0.0064134263,-0.04759781,-0.008209447,-0.005361938,0.019018225,-0.014381227,-0.021748178,-0.021656744,-0.002757708,-0.0065309843,-0.01732017,-0.037278857,0.030538881,0.0043300423,-0.0013698739,-0.017868772,0.034927703,-0.010560601,0.020873025,-0.008869076,-0.010919806,-0.010384264,-0.0051725395,-0.018260632,-0.012010479,-0.014564094,0.012617861,-0.014812272,0.016353585,-0.018038578,0.017280985,-0.007399605,-0.008183323,-0.030434387,0.05230012,0.007817588,0.020572599,0.0064591435,-0.015439247,-0.008999696,0.0023772782,-0.012095382,0.0057015494,-0.002083384,0.028762454,0.011592497,0.0025405528,-0.012820322,-0.016719319,0.015752733,-0.010162211,0.015413122,0.0057113455,-0.023459295,0.021434689,0.031871203,0.006935905,-0.0037128644,0.0006624867,-0.0017780605,-0.011383506,0.007347357,-0.008170261,0.0023250303,-0.002333194,0.016340522,-0.007073056,0.0049406895,0.009652794,0.005521947,-0.0053749997,0.015243317,0.015230255,-0.0026728052,0.019815005,0.0024883049,-0.0076673753,0.012003949,-0.008242102,0.013127278,-0.025431652,0.010351609,0.031035237,-0.026176184,-0.052247874,0.003869608,-0.0075955344,-0.007824119,0.017424665,0.20930497,0.0076347203,0.027926488,0.044358443,-0.0038663426,0.0059627886,0.008451093,0.0068052853,-0.016000912,0.011696992,-0.0038010327,-0.002886695,-0.018417375,-0.003921856,0.004591282,0.010678159,-0.021186512,-0.036651883,-0.004369228,-0.008973572,-0.0055774604,0.018756986,0.0015331486,0.0038663426,0.031714458,0.016288275,0.002694031,0.00736695,-0.015700486,0.0032981469,-0.015687425,-0.011468408,-0.00034838717,0.019854192,-0.015700486,0.001324157,0.014368165,-0.029075941,-0.0036736785,-0.0019315386,-0.037122115,0.0065277186,0.025222661,-0.033151276,-0.021173451,0.038088698,-0.0017960207,-0.007889429,0.002462181,0.022009416,0.012696233,-0.047101457,0.0041537057,0.010345079,-0.0016409097,-0.0041177855,0.010919806,-0.02449119,-0.031766705,0.021134265,0.003258961,0.030878494,-0.028161604,0.029885784,-0.029102065,0.018678615,-0.010769593,-0.015713548,0.027221141,-0.020219928,-0.00092331786,-0.015543742,-0.013251367,0.014146112,0.009881379,-0.0011878228,0.014315917,0.011683931,0.008803766,0.016209902,-0.009659326,-0.033830497,-0.010358141,0.0034189702,-0.0045814854,-0.05794289,0.01274195,0.003850015,-0.025810448,-0.030094774,0.007046932,-0.011840674,-0.0076673753,-0.010913274,0.02216616,0.002018074,-0.013166464,-0.0025389201,0.013754252,-0.011938639,-0.020389732,-0.018900668,-0.003536528,0.019109659,-0.001967459,0.0016531553,0.013081561,0.021630619,0.0029389428,0.028161604,-0.005149681,-0.029650668,0.0071710204,0.009038882,-0.00015153924,0.00053186703,-0.013440765,-0.036860876,0.0151518835,-0.0035659173,0.0039643073,-0.02647661,-0.0062403553,0.034405224,-0.019632138,-0.020873025,-0.023942588,0.028266098,0.023629101,-0.008849484,0.013453827,-0.03093074,0.008372721,-0.012141099,-0.03576367,0.011076549,0.00044043324,0.005528478,-0.020677095,-0.0015821309,-0.014015492,0.025849635,0.024922235,-0.022009416,-0.0020882823,-0.016627885,0.0012139467,-0.009065006,-0.019867254,-0.018038578,0.010129556,-0.0028344472,0.014433475,-0.0075759417,0.023811968,-0.004627202,-0.035946537,0.003059766,0.013303614,0.0016996886,-0.009476458,-0.0058321687,0.04822479,-0.016797692,-0.013897934,3.8726695E-05,-0.16499878,0.034744836,0.0013641593,-0.024465067,0.015569866,-0.022936815,0.04109295,0.0060770805,-0.036599636,-0.0069032502,0.0017943879,0.014185297,-0.015413122,-0.0013445663,-0.00040369647,-0.015099635,-0.0020425653,0.025013668,-0.0061881077,0.016771568,0.040988456,0.009587484,-0.002018074,-0.03787971,0.0035006076,0.009652794,-0.008248633,-0.014825334,0.0011698626,-0.014315917,0.00058289035,0.010057716,0.034614217,0.010234052,0.026359051,0.0054696994,-0.0002479733,-0.0064395503,-0.00021042014,0.0038924664,0.0040492103,0.0052803005,-0.004467193,-0.019984812,0.0009649529,-0.009019289,0.0024458535,-0.015896415,-0.026907654,-0.021722052,-0.0067530377,-0.025105104,0.026554981,0.009594016,0.007778402,0.024478128,-0.0053456104,0.0057244077,0.0007131018,0.00073432754,-0.0013764049,-0.03670413,-0.003516935,-0.0046402644,-0.0066126212,-0.032236937,-0.010155681,-0.012604799,0.019436209,0.017241798,0.0010669995,0.0054762303,0.0030385402,-0.005753797,0.015543742,0.017489975,-0.013244836,0.034953825,0.010155681,0.0027217877,-0.016222965,0.024034021,-0.019370899,-0.014995139,-0.004010024,-0.00059472775,-0.015504557,0.018286755,0.015844168,-0.011403099,0.006677931,-0.0041569714,0.013715067,-0.013342801,0.03278554,0.021695929,-0.017921021,-0.0075955344,0.011011239,-0.03458809,0.011429222,0.001002506,-0.020559538,0.019632138,0.014133049,0.022035541,-0.000103934486,0.03696537,0.0026074953,-0.024765491,0.011370444,0.027430134,0.011448815,0.019775819,0.021735115,0.03247205,0.009626671,-0.012173754,0.04613487,-0.0165887,0.017594472,-0.0031185448,-0.0065864976,0.002912819,0.000967402,-0.0068118162,-0.111810446,-0.0075890035,0.006256683,0.032524303,-0.03338639,-0.008581713,0.021996355,0.012591737,-0.014276731,0.037931956,-0.0043561663,-0.0047121053,0.0068640644,0.010332017,0.03787971,0.005766859,-0.0025160615,0.0036018377,-0.020990582,0.015386999,0.015073512,0.009502582,-0.022492709,-0.021356318,0.017032806,-0.030826245,-0.013910996,0.0112332925,0.027221141,0.00816373,0.012617861,0.009430741,0.032759417,-0.021708991,0.0019429678,0.010449574,-0.026463548,-0.021317132,0.010945929,-0.044959296,0.0066942587,-0.012898694,-0.018025516,-0.03537181,0.042059537,0.010292831,-0.008300881,-0.0011763935,0.037435602,0.0006314645,0.0051072296,0.017411605,-0.021121202,-0.013675881,0.020337485,-0.029676791,0.025745139,0.015360875,-0.021565309,-0.004075334,-0.011566373,0.0009918932,-0.027926488,0.035267316,0.017476913,0.010175273,-0.008679678,-0.024034021,-0.008744988,-0.0014719205,0.011514125,0.023158869,-0.026803158,0.0052117254,-0.011174514,-0.0022907427,-0.021996355,-0.0044704587,-0.0102536455,-0.015569866,0.00069759076,-0.015935602,-0.012239064,-0.0061881077,0.018103888,0.012088852,-0.013532199,-0.0013364026,-0.013114216,-0.013172995,-0.008202916,0.011553311,0.012121507,0.017646719,-0.018325942,0.010573663,-0.011808019,0.0077261543,0.029128188,0.006351382,-0.04579526,-0.032263063,-0.048068043,0.017777339,0.009607078,-0.007438791,0.0053782654,-0.039029162,-0.0041765645,-0.033830497,0.01267664,-0.0010718978,-0.010893681,0.0006620785,-0.013284022,0.027848117,0.003425501,-0.018561058,0.025928007,0.017228736,0.020010935,0.006243621,-0.006589763,0.0047121053,0.024282198,-0.036730256,-0.00047594548,0.019540705,-0.020755468,0.04446294,-0.0144204125,-0.010103432,0.009084599,-0.008411908,0.0040524756,0.024856925,-0.0044704587,-0.023668287,-0.00018184709,0.011154921,0.02302825,-0.040256985,-0.013081561,-0.017058931,0.038898543,-0.001315177,-0.012924817,-0.01400243,-0.0072689853,0.010038123,0.017111178,0.019919502,0.008679678,0.023171932,0.003895732,-0.027430134,0.005623177,-0.006126063,0.015987849,0.009456865,0.0070926487,-0.027090522,0.026959902,0.015844168,0.0077196234,0.008588244,0.021565309,-0.013238305,-0.012709295,0.0027724027,0.009946689,-0.040387604,-0.0075563486,0.0075236936,0.03615553,-0.014942892,0.007797995,-0.027221141,-0.016601762,-0.028631834,-0.024321385,0.021055892,0.021722052,0.006119532,-0.058517616,0.021695929,-0.0002789955,0.023015188,-0.01492983,0.006197904,-0.0011812918,0.019148845,-0.017137302,-0.009117254,0.022061665,-0.0038075638,-0.009162971,0.025065918,0.0032622265,-0.021931045,0.009365431,0.019828068,0.010985116,0.0061064702,0.008581713,-0.004705574,-0.02985966,-0.003022213,-0.025340218,-0.028370595,-0.012193347,-0.006537515,0.0046206713,-0.007451853,0.0072559235,0.009234811,-0.007863305,0.012964004,0.0032524301,-0.0058354344,-0.008013518,0.0079612695,0.016040096,0.024765491,0.007974331,-0.017542223,-0.032811664,0.009313183,0.0033259036,0.0016115203,0.006442816,-0.011213699,-0.009940158,-0.011540249,-0.010495291,-0.013532199,-0.021068955,0.008699271,0.007144897,-0.0013143605,-0.039159782,0.03019927,-0.0057635936,-0.012101914,-0.004274529,0.030356014,0.03430073,-0.0048068045,0.0035593864,-0.0085098725,-0.013336269,-0.0030009872,-0.030643377,-0.0070665246,-0.042242404,-0.020337485,0.011396567,-0.007941676,-0.008836421,-0.017646719,0.000308589,0.015256379,0.011644744,0.010534477,0.009130316,-0.013061969,-0.029180437,0.0076934993,-0.01492983,-0.0005686038,-0.042059537,0.010083839,0.026110874,-0.036756378,0.000938829,0.0088756075,-0.022740887,-0.0064885328,0.018939855,0.007745747,0.009437272,-0.0036018377,0.023171932,-0.0149690155,0.009130316,0.045481775,-0.017894896,-0.015347812,-0.013675881,-0.025745139]} \ No newline at end of file diff --git a/Basic_Samples/Embeddings/dotnet/csharp/start_here.ipynb b/Basic_Samples/Embeddings/dotnet/csharp/start_here.ipynb index 7f72dc8c..9eb9b0cc 100644 --- a/Basic_Samples/Embeddings/dotnet/csharp/start_here.ipynb +++ b/Basic_Samples/Embeddings/dotnet/csharp/start_here.ipynb @@ -92,7 +92,7 @@ { "data": { "text/html": [ - "
Installed Packages
" + "
Restore sources
Installed Packages
" ] }, "metadata": {}, @@ -140,7 +140,7 @@ }, { "cell_type": "code", - "execution_count": 5, + "execution_count": 4, "metadata": { "dotnet_interactive": { "language": "csharp" @@ -176,6 +176,25 @@ "source": [ "OpenAIClient client = new (new Uri(azureOpenAIEndpoint), new AzureKeyCredential(azureOpenAIKey.GetClearTextPassword()));" ] + }, + { + "cell_type": "code", + "execution_count": 5, + "metadata": { + "dotnet_interactive": { + "language": "csharp" + }, + "polyglot_notebook": { + "kernelName": "csharp" + }, + "vscode": { + "languageId": "polyglot-notebook" + } + }, + "outputs": [], + "source": [ + "OpenAIClient client = null;" + ] } ], "metadata": {