sourceName
stringclasses
1 value
url
stringclasses
20 values
action
stringclasses
1 value
body
stringlengths
23
1.11k
format
stringclasses
1 value
metadata
dict
title
stringclasses
20 values
updated
stringclasses
1 value
embedding
sequencelengths
384
384
devcenter
https://www.mongodb.com/developer/products/atlas/atlas-search-cene-1
created
# The Atlas Search 'cene: Season 1 # The Atlas Search 'cene: Season 1 Welcome to the first season of a video series dedicated to Atlas Search! This series of videos is designed to guide you through the journey from getting started and understanding the concepts, to advanced techniques. ## What is Atlas Search? [Atlas Search][1] is an embedded full-text search in MongoDB Atlas that gives you a seamless, scalable experience for building relevance-based app features. Built on Apache Lucene, Atlas Search eliminates the need to run a separate search system alongside your database. By integrating the database, search engine, and sync mechanism into a single, unified, and fully managed platform, Atlas Search is the fastest and easiest way to build relevance-based search capabilities directly into applications.
md
{ "tags": [ "Atlas" ], "pageDescription": "The Atlas Search 'cene: Season 1", "contentType": "Video" }
The Atlas Search 'cene: Season 1
2024-05-20T17:32:23.500Z
[ -0.04333272948861122, 0.008474143221974373, 0.02093709260225296, -0.013369143009185791, 0.021301070228219032, 0.00247253873385489, 0.021123070269823074, 0.01927790604531765, 0.024801388382911682, -0.014641942456364632, 0.008706260472536087, -0.01648327149450779, 0.04427856579422951, 0.006863763555884361, 0.027722662314772606, -0.020478136837482452, 0.0037219722289592028, 0.062365900725126266, -0.025491032749414444, 0.008854806423187256, 0.031342893838882446, -0.011114431545138359, -0.023541690781712532, -0.1057276800274849, 0.01729816012084484, 0.019241461530327797, -0.007581027690321207, -0.03328658267855644, -0.0850016251206398, -0.22971926629543304, -0.0009415414533577859, -0.05507298931479454, 0.08056464046239853, 0.004419574048370123, -0.022650446742773056, -0.03316996619105339, -0.0019354047253727913, 0.05767805501818657, -0.04481960088014603, 0.026886366307735443, 0.09938295185565948, 0.039295658469200134, -0.014291794039309025, -0.055087439715862274, -0.0421639010310173, -0.02991711162030697, 0.010786914266645908, 0.02737140655517578, 0.0015137653099372983, -0.03356200456619263, 0.02041527070105076, -0.0425548292696476, -0.0012765703722834587, 0.004183354787528515, 0.018206069245934486, 0.05741209164261818, 0.05593667924404144, 0.06380113959312439, 0.003643039846792817, 0.01848888397216797, 0.03669978305697441, -0.004409701097756624, -0.1929830014705658, 0.08786340802907944, -0.003987571690231562, 0.06852537393569946, -0.00464818486943841, -0.0606236569583416, 0.03301879018545151, 0.004031666088849306, -0.04604477062821388, 0.026141278445720673, 0.0008781641954556108, 0.06561145931482315, 0.008899795822799206, 0.02164638787508011, -0.0509214922785759, -0.011312317103147507, -0.02504613623023033, 0.007767032366245985, -0.03704658895730972, -0.0077188266441226006, -0.004116090480238199, 0.008501592092216015, -0.03820176422595978, -0.03594609722495079, 0.016563747078180313, -0.04177143797278404, 0.05660353600978851, -0.004798594396561384, 0.004955340176820755, 0.0017304831417277455, -0.028725719079375267, 0.027393370866775513, -0.0744129940867424, -0.0704832375049591, 0.033331118524074554, 0.06499748677015305, 0.005337057169526815, 0.23179282248020172, -0.052534427493810654, 0.04521854966878891, 0.06457174569368362, -0.037897989153862, 0.007049575913697481, -0.01266566477715969, 0.011851643212139606, -0.010252637788653374, -0.008741657249629498, 0.005404057912528515, 0.020416319370269775, -0.009903994388878345, 0.029152357950806618, -0.04530531167984009, 0.012331478297710419, 0.028264407068490982, -0.005637615919113159, 0.03675062581896782, -0.019664259627461433, -0.0023105069994926453, 0.02126646786928177, 0.030123088508844376, 0.09973058104515076, -0.05610109120607376, 0.013187319040298462, -0.044121965765953064, 0.05026105418801308, 0.08850111812353134, -0.0006532488623633981, -0.005226775538176298, 0.021400853991508484, -0.01315903477370739, -0.05195998772978783, 0.02057526633143425, 0.04840495437383652, 0.015813639387488365, -0.032755207270383835, 0.0002831690653692931, -0.016736449673771858, 0.018358569592237473, -0.05147107318043709, -0.07954979687929153, -0.00013541412772610784, -0.0923558846116066, -0.08090176433324814, 0.10491687804460526, -0.046924889087677, 0.0197877399623394, -0.07558436691761017, -0.024858376011252403, -0.0009505077614448965, 0.015010318718850613, -0.04763888567686081, -0.011994375847280025, -0.011721881106495857, 0.015147898346185684, 0.0720449686050415, 0.046399351209402084, -0.06841707229614258, -0.020181437954306602, -0.045488085597753525, 0.0020225653424859047, -0.04411758482456207, 0.10752435773611069, 0.021541379392147064, -0.12364625185728073, -0.043190840631723404, 0.015943709760904312, -0.005896321032196283, -0.022402409464120865, 0.02546466700732708, 0.029621347784996033, -0.05275847390294075, 0.04499458521604538, 0.09440711885690689, 0.010854766704142094, -0.061580851674079895, -0.015018546022474766, -0.007936384528875351, 0.005963895935565233, 0.02149171195924282, -0.04137484356760979, 0.01030275784432888, 0.047274764627218246, -0.026943916454911232, -0.035173721611499786, -0.005876210518181324, -0.03984655439853668, 0.042909976094961166, 0.01690639555454254, 0.001241639838553965, 0.03326432406902313, 0.03727968409657478, -0.00954451970756054, -0.027356548234820366, -0.014101087115705013, 0.007685380522161722, -0.03714090585708618, 0.01094045303761959, -0.020375043153762817, 0.07459706813097, 0.011066780425608158, -0.017436891794204712, 0.08043959736824036, 0.04106836020946503, 0.015412436798214912, -0.041588589549064636, -0.022056877613067627, 0.024911748245358467, -0.007783971261233091, -0.019143303856253624, 0.0037857387214899063, 0.005297715775668621, -0.06225321814417839, -0.026763999834656715, -0.03596477210521698, 0.023687899112701416, 0.05258875712752342, 0.0004970773006789386, 0.05532999336719513, 0.0403895229101181, -0.1022391989827156, -0.05656604468822479, -0.24513544142246246, -0.011570478789508343, 0.01579768769443035, 0.03307824581861496, 0.01021560002118349, -0.038601767271757126, -0.0077671511098742485, -0.02884325198829174, 0.0037095851730555296, 0.06625696271657944, 0.05136016756296158, 0.004774215631186962, -0.03467375785112381, 0.004646436311304569, 0.003413455793634057, 0.052378978580236435, 0.041915878653526306, 0.016107672825455666, 0.007196581456810236, 0.009928175248205662, 0.06503660976886749, 0.008679949678480625, 0.003502331906929612, -0.08192934840917587, 0.045558489859104156, 0.001335670705884695, 0.1868647336959839, 0.044636353850364685, -0.0007661987328901887, -0.06893769651651382, 0.06123678386211395, -0.006895348895341158, -0.038720082491636276, -0.07702310383319855, 0.02714734710752964, 0.01566488668322563, 0.03883257880806923, -0.022695111110806465, -0.04035648703575134, -0.03922802954912186, -0.06935693323612213, 0.03982728347182274, -0.015420587733387947, -0.09517799317836761, -0.03734306991100311, -0.021063029766082764, -0.005206495523452759, 0.021067410707473755, -0.06459449976682663, 0.0713653713464737, 0.006519958842545748, 0.02713712677359581, 0.03913107514381409, -0.00508738262578845, -0.02151563949882984, -0.07852667570114136, -0.060706134885549545, -0.02047622948884964, -0.029210738837718964, 0.06169693171977997, 0.003311034059152007, -0.0045975749380886555, 0.04804474115371704, -0.04427996650338173, 0.04134085401892662, -0.014372067525982857, -0.00893827062100172, -0.02863495610654354, 0.026783324778079987, -0.04650985822081566, -0.052724145352840424, 0.05908157676458359, -0.03846827521920204, 0.008659043349325657, 0.0434141680598259, 0.026110952720046043, 0.06531955301761627, -0.001679115230217576, 0.0016603039111942053, -0.02125370502471924, 0.02739635668694973, -0.04067950323224068, 0.04864036664366722, -0.008486026898026466, 0.05668001249432564, 0.07762551307678223, 0.07191763818264008, -0.045246295630931854, 0.024840813130140305, -0.03070780634880066, 0.017339471727609634, 0.02704106643795967, -0.04377022758126259, -0.09592136740684509, 0.013938582502305508, 0.028672579675912857, -0.28653550148010254, 0.059543490409851074, 0.005679713096469641, 0.018705377355217934, -0.025125181302428246, 0.017880912870168686, 0.0004469776467885822, 0.031543854624032974, -0.02659233845770359, 0.04147808626294136, 0.05123124644160271, 0.034559670835733414, 0.040593210607767105, 0.02182180806994438, -0.011896810494363308, 0.055622879415750504, 0.07346300780773163, -0.043948445469141006, 0.0367756150662899, -0.021571308374404907, 0.04300399124622345, 0.016076181083917618, 0.23894985020160675, -0.003221518127247691, -0.00902983732521534, 0.01089343149214983, -0.010820649564266205, -0.005615185480564833, 0.024923380464315414, 0.0161475520581007, -0.01970931887626648, 0.0013625967549160123, 0.04860660806298256, -0.03806183487176895, 0.043393325060606, 0.08034639805555344, -0.0007685510790906847, 0.06342820078134537, 0.04865399748086929, -0.031224055215716362, -0.05727363005280495, 0.024072973057627678, -0.016481997445225716, 0.0007366577046923339, 0.10053982585668564, -0.0440678596496582, -0.0010688647162169218, -0.03813851252198219, -0.06553105264902115, 0.0025733965449035168, -0.07449428737163544, -0.01645854488015175, -0.05218566581606865, -0.008376078680157661, -0.018614213913679123, 0.02081710658967495, -0.041843246668577194, 0.008161162957549095, -0.033256467431783676, -0.03928753361105919, 0.015260044485330582, -0.0818013921380043, 0.015848461538553238, 0.03484538570046425, 0.006453108973801136 ]
devcenter
https://www.mongodb.com/developer/products/atlas/atlas-search-cene-1
created
> Hip to the *'cene* > > The name of this video series comes from a contraction of "Lucene", > the search engine library leveraged by Atlas. Or it's a short form of "scene". ## Episode Guide ### **[Episode 1: What is Atlas Search & Quick Start][2]** In this first episode of the Atlas Search 'cene, learn what Atlas Search is, and get a quick start introduction to setting up Atlas Search on your data. Within a few clicks, you can set up a powerful, full-text search index on your Atlas collection data, and leverage the fast, relevant results to your users queries. ### **[Episode 2: Configuration / Development Environment][3]** In order to best leverage Atlas Search, configuring it for your querying needs leads to success. In this episode, learn how Atlas Search maps your documents to its index, and discover the configuration control you have.
md
{ "tags": [ "Atlas" ], "pageDescription": "The Atlas Search 'cene: Season 1", "contentType": "Video" }
The Atlas Search 'cene: Season 1
2024-05-20T17:32:23.500Z
[ -0.05399884656071663, -0.0029614008963108063, 0.018389998003840446, -0.02181326411664486, 0.02867722511291504, 0.01909821666777134, 0.014562747441232204, 0.025323189795017242, 0.004523050971329212, -0.0012164791114628315, 0.0032280415762215853, -0.015654992312192917, 0.02656267024576664, 0.020170288160443306, 0.028149627149105072, 0.0045599183067679405, -0.00027926231268793344, 0.05402538925409317, -0.027845222502946854, 0.014043186791241169, 0.03822312131524086, -0.023143496364355087, 0.007098224479705095, -0.11790483444929123, -0.010376131162047386, 0.030233420431613922, 0.0009822832653298974, -0.027784768491983414, -0.0718483030796051, -0.24578219652175903, -0.01064087450504303, -0.0437135212123394, 0.0789693221449852, 0.00980768445879221, -0.018183287233114243, -0.03649505600333214, -0.01635059155523777, 0.05896548181772232, -0.04601151496171951, 0.004188267048448324, 0.10975638031959534, 0.02897893823683262, -0.022595630958676338, -0.0692356526851654, -0.009910032153129578, -0.012191927060484886, 0.02668214589357376, 0.02604066953063011, -0.0051556057296693325, -0.03644069284200668, -0.006018561776727438, -0.033522073179483414, 0.010271954350173473, 0.00816725380718708, 0.014780649915337563, 0.06187382712960243, 0.07317586988210678, 0.047088783234357834, 0.016432756558060646, 0.010039099492132664, 0.040172360837459564, 0.023128559812903404, -0.17007166147232056, 0.08318191766738892, -0.010593504644930363, 0.05848205089569092, -0.003999370615929365, -0.03672194108366966, 0.005958891473710537, 0.028124328702688217, -0.04446180537343025, 0.031599368900060654, -0.012487819418311119, 0.06646406650543213, 0.02198028564453125, 0.00802487600594759, -0.04650651663541794, 0.002870910568162799, 0.0013792789541184902, -0.028150880709290504, -0.03152487426996231, 0.016812236979603767, -0.014337182976305485, 0.009832599200308323, -0.01135218795388937, -0.04645782336592674, -0.0008145943866111338, -0.037064407020807266, 0.023608291521668434, 0.007859904319047928, 0.009506615810096264, -0.024546772241592407, -0.03352879732847214, 0.0352279394865036, -0.0463244654238224, -0.06775780022144318, 0.02442636899650097, 0.05907805263996124, 0.002923971274867654, 0.2084866762161255, -0.0628492683172226, 0.05776333063840866, 0.09285982698202133, -0.021691272035241127, 0.010919783264398575, -0.028159426525235176, -0.00580910500138998, -0.01180404145270586, 0.00006904161273268983, -0.0013575779739767313, 0.04474072530865669, 0.01243710145354271, 0.02240869402885437, -0.04709385335445404, 0.016644440591335297, 0.0077789160422980785, 0.013247745111584663, 0.051739852875471115, -0.00155807810369879, -0.03618023544549942, 0.005562592297792435, 0.016553515568375587, 0.0791996493935585, -0.060739632695913315, 0.020418930798768997, -0.06194833666086197, 0.04893462359905243, 0.08431081473827362, 0.002625479595735669, -0.002514657098799944, 0.02531924657523632, -0.00031443507759831846, -0.05158144608139992, 0.03281490132212639, 0.039115600287914276, -0.005696298088878393, 0.003462764900177717, -0.009152725338935852, -0.01820320449769497, 0.004085156135261059, -0.050011225044727325, -0.07447870075702667, -0.024194873869419098, -0.10076199471950531, -0.06298119574785233, 0.12805147469043732, -0.0514213889837265, 0.005982646252959967, -0.06780213862657547, -0.030634218826889992, 0.019782021641731262, 0.001725724316202104, -0.041632577776908875, -0.004637967795133591, 0.0059013147838413715, 0.023931536823511124, 0.06573230773210526, 0.07884830236434937, -0.0819517970085144, -0.010143703781068325, -0.04180562496185303, -0.018986601382493973, -0.03879629075527191, 0.10458791255950928, 0.036198705434799194, -0.12659776210784912, -0.035996079444885254, 0.012583892792463303, -0.010466684587299824, -0.003931534476578236, 0.017741380259394646, 0.024984830990433693, -0.06374292075634003, 0.02314191497862339, 0.11177263408899307, -0.001583293080329895, -0.03787809610366821, 0.00906492117792368, 0.00009114775457419455, 0.011539777740836143, 0.03254096582531929, -0.040251053869724274, -0.003832095768302679, 0.0501694455742836, -0.037254102528095245, -0.06003926321864128, -0.009405496530234814, -0.03207113593816757, 0.0233994722366333, 0.048385635018348694, -0.019731776788830757, 0.04339819774031639, 0.030424129217863083, -0.012573391199111938, -0.03218938410282135, -0.016831418499350548, -0.006662973202764988, -0.02609252743422985, -0.037188880145549774, 0.013797611929476261, 0.0804855227470398, 0.018063776195049286, -0.02524527534842491, 0.1055774986743927, 0.011681434698402882, 0.005757778417319059, -0.03603684902191162, -0.02335730567574501, 0.03582004830241203, 0.011079148389399052, -0.021720968186855316, 0.010916725732386112, 0.01748494803905487, -0.05519581958651543, -0.013398717157542706, -0.025725841522216797, 0.0336335152387619, 0.05335047096014023, -0.02871282584965229, 0.06828682869672775, 0.03432648256421089, -0.10116534680128098, -0.061672091484069824, -0.25610917806625366, 0.003690647426992655, -0.0020871623419225216, 0.013606996275484562, -0.0026600584387779236, -0.02934207394719124, 0.023186683654785156, -0.02787484973669052, 0.009941230528056622, 0.05441487953066826, 0.06503547728061676, -0.019543657079339027, -0.03483103960752487, 0.0015047716442495584, 0.014409647323191166, 0.052073847502470016, 0.04467429965734482, 0.034062474966049194, -0.00849111657589674, 0.0022014824207872152, 0.06277826428413391, -0.0048661972396075726, -0.0015847667818889022, -0.09211139380931854, 0.04356278106570244, -0.005036728456616402, 0.17605914175510406, 0.04727626219391823, 0.007316152099519968, -0.0575280636548996, 0.06805775314569473, 0.008536167442798615, -0.015984389930963516, -0.08871690183877945, 0.021069318056106567, 0.017807429656386375, 0.05047119781374931, -0.008844603784382343, -0.053666163235902786, -0.032166555523872375, -0.07915215939283371, 0.03034157305955887, -0.0021158589515835047, -0.0903104916214943, -0.0473811998963356, -0.00673718610778451, -0.042582061141729355, 0.015389841049909592, -0.04615948721766472, 0.04408461973071098, -0.000545161310583353, 0.020361710339784622, 0.004689688794314861, 0.0072164833545684814, -0.040798187255859375, -0.08022990077733994, -0.06055503711104393, -0.026866231113672256, -0.011536781676113605, 0.059257134795188904, -0.005704752169549465, -0.02782701700925827, 0.037981901317834854, -0.05732853710651398, 0.04945724457502365, -0.02831641025841236, -0.002009298885241151, -0.056644633412361145, 0.03466874361038208, -0.042096421122550964, -0.049658410251140594, 0.0559065081179142, -0.03613580763339996, -0.019489696249365807, 0.037140052765607834, 0.025741731747984886, 0.0669282004237175, -0.006627298425883055, 0.009798457846045494, -0.026119207963347435, 0.03382336348295212, -0.041540395468473434, 0.044325705617666245, -0.002377801574766636, 0.050024207681417465, 0.06677990406751633, 0.07850731164216995, -0.057447995990514755, 0.026037512347102165, -0.024967724457383156, 0.012636788189411163, 0.029276901856064796, -0.048792846500873566, -0.07002100348472595, 0.031000548973679543, 0.02937716618180275, -0.2932507395744324, 0.061169445514678955, 0.05054613575339317, 0.01449021976441145, -0.019783305004239082, 0.03398168832063675, 0.02717958763241768, 0.0034047269728034735, -0.0031805867329239845, 0.032939184457063675, 0.047716304659843445, 0.04047085717320442, 0.0649564117193222, -0.0016601720126345754, -0.008264346048235893, 0.057323187589645386, 0.09869076311588287, -0.022433072328567505, 0.025348329916596413, -0.021811405196785927, 0.029993949458003044, 0.018684322014451027, 0.2165994942188263, -0.012768576852977276, -0.01433495618402958, 0.009297718293964863, -0.021835219115018845, -0.005596651695668697, 0.02794298157095909, 0.016836797818541527, -0.0033095600083470345, 0.002702374942600727, 0.0533890500664711, -0.062269844114780426, 0.04503490775823593, 0.0509219616651535, -0.01391006913036108, 0.057050663977861404, 0.04738561436533928, -0.01062301266938448, -0.04425959661602974, 0.014625603333115578, -0.024767663329839706, 0.0009530924144200981, 0.08726657181978226, -0.042967539280653, 0.016729438677430153, -0.03628496453166008, -0.041935987770557404, -0.01539265364408493, -0.0772622600197792, -0.014581282623112202, -0.04520127549767494, 0.005426112096756697, -0.026113878935575485, 0.03530718386173248, -0.06426473706960678, -0.010925211012363434, -0.04267504811286926, -0.021245578303933144, 0.015366362407803535, -0.09305969625711441, 0.027215618640184402, 0.018906686455011368, 0.02054859697818756 ]
devcenter
https://www.mongodb.com/developer/products/atlas/atlas-search-cene-1
created
### **[Episode 3: Indexing][4]** While Atlas Search automatically indexes your collections content, it does demand attention to the indexing configuration details in order to match users queries appropriately. This episode covers how Atlas Search builds an inverted index, and the options one must consider. ### **[Episode 4: Searching][5]** Atlas Search provides a rich set of query operators and relevancy controls. This episode covers the common query operators, their relevancy controls, and ends with coverage of the must-have Query Analytics feature. ### **[Episode 5: Faceting][6]** Facets produce additional context for search results, providing a list of subsets and counts within. This episode details the faceting options available in Atlas Search. ### **[Episode 6: Advanced Search Topics][7]** In this episode, we go through some more advanced search topics including embedded documents, fuzzy search, autocomplete, highlighting, and geospatial.
md
{ "tags": [ "Atlas" ], "pageDescription": "The Atlas Search 'cene: Season 1", "contentType": "Video" }
The Atlas Search 'cene: Season 1
2024-05-20T17:32:23.500Z
[ -0.051897041499614716, -0.005160131957381964, 0.02444884181022644, 0.020137501880526543, 0.04741182178258896, 0.007022537756711245, 0.025010867044329643, 0.010959460400044918, -0.02913862094283104, -0.0008940236293710768, 0.025229420512914658, -0.026444939896464348, -0.004209971986711025, 0.019271085038781166, 0.0322609506547451, 0.0009836186654865742, -0.03307507187128067, 0.047115106135606766, -0.04549193009734154, 0.018683448433876038, 0.057220399379730225, -0.023716222494840622, -0.022002240642905235, -0.07066970318555832, 0.008620252832770348, 0.030818695202469826, -0.01990300975739956, -0.05148803070187569, -0.031898919492959976, -0.259422242641449, -0.021097013726830482, -0.04989992827177048, 0.08438587188720703, -0.012742949649691582, -0.000008001663445611484, -0.011038010939955711, -0.05755298212170601, 0.0783286839723587, -0.04257296025753021, 0.006312807090580463, 0.05984245613217354, 0.02133990079164505, -0.008860252797603607, -0.06989187002182007, -0.060783784836530685, -0.03279343619942665, -0.0002975843381136656, -0.004396000411361456, -0.01596635952591896, -0.022778848186135292, -0.007496158592402935, -0.035055167973041534, -0.00460126344114542, -0.0020070259924978018, 0.014934037812054157, 0.052023690193891525, 0.06246182695031166, 0.03493081405758858, 0.025686128064990044, 0.029491685330867767, 0.05155286192893982, 0.03941062465310097, -0.15115098655223846, 0.07983317226171494, 0.025565272197127342, 0.012966603972017765, -0.01880604587495327, -0.025706978514790535, -0.006891882978379726, 0.048491377383470535, -0.05084146931767464, 0.04228654503822327, -0.02186930924654007, 0.04655242711305618, 0.003504920518025756, 0.0329718254506588, -0.033338334411382675, -0.024633051827549934, -0.009145212359726429, -0.022755973041057587, -0.002616931451484561, -0.00023475004127249122, -0.03663558512926102, -0.0014708497328683734, -0.005751440301537514, -0.0611795037984848, 0.0010001021437346935, -0.042910896241664886, 0.009358437731862068, 0.02199193276464939, 0.00523018604144454, -0.006847047712653875, -0.012048513628542423, 0.03227885439991951, -0.04599377512931824, -0.01828278973698616, 0.02430899627506733, 0.04455959051847458, -0.04171222820878029, 0.23230811953544617, -0.027410654351115227, 0.07336019724607468, 0.06275083869695663, -0.02628302201628685, 0.004769754130393267, -0.03491441160440445, 0.017199644818902016, -0.00332553219050169, -0.02637864463031292, -0.01575612463057041, 0.009881620295345783, 0.0015178595203906298, 0.03984120115637779, -0.03762391582131386, 0.016396470367908478, 0.04730861261487007, 0.03807120397686958, 0.04872443526983261, 0.016004890203475952, -0.025059888139367104, -0.004780829418450594, 0.029843095690011978, 0.09182628244161606, -0.024506429210305214, 0.027170661836862564, -0.03504597023129463, 0.05475837364792824, 0.1082296371459961, -0.016851460561156273, 0.011464898474514484, 0.04379330202937126, -0.013054709881544113, -0.06858500838279724, 0.017267121002078056, 0.023529592901468277, -0.021975114941596985, -0.003807733068242669, -0.010018480010330677, 0.012976836413145065, -0.0001892266736831516, -0.03196815773844719, -0.052211783826351166, -0.001828957349061966, -0.09710679948329926, -0.04983386769890785, 0.16621555387973785, -0.0662241131067276, 0.018411576747894287, -0.053433313965797424, -0.03617537394165993, -0.004465856589376926, 0.027304381132125854, -0.018988896161317825, -0.0006324483547359705, 0.012855077162384987, 0.03185456618666649, 0.06577767431735992, 0.04888654127717018, -0.09928508847951889, 0.00761668523773551, -0.04357806593179703, -0.013208165764808655, -0.05272940546274185, 0.1286480724811554, 0.017433077096939087, -0.13091839849948883, -0.031163662672042847, 0.018414516001939774, -0.012195190414786339, -0.012301050126552582, 0.012827010825276375, 0.020359795540571213, -0.06443949788808823, 0.025450414046645164, 0.09374009072780609, 0.021609187126159668, -0.05261754244565964, 0.02464507520198822, 0.007598061580210924, 0.005458486266434193, 0.04623531922698021, -0.06430081278085709, -0.002387596759945154, 0.044389232993125916, -0.03382246941328049, -0.04757705330848694, -0.023554988205432892, -0.007313662674278021, 0.01782158762216568, 0.040622297674417496, -0.02218690887093544, -0.011682401411235332, -0.016377994790673256, -0.009831801988184452, -0.030716165900230408, -0.04808251932263374, 0.015208038501441479, -0.01510495413094759, 0.018155289813876152, -0.011550416238605976, 0.0768667683005333, 0.012107414193451405, -0.011499100364744663, 0.06904328614473343, 0.017040997743606567, 0.03102981112897396, -0.039988525211811066, -0.03219163045287132, 0.02928716316819191, 0.0029282618779689074, -0.029466943815350533, 0.04395821690559387, -0.004297344479709864, -0.023141849786043167, -0.007501321379095316, -0.05311054736375809, 0.04503603279590607, 0.040385015308856964, -0.04922505468130112, 0.060456160455942154, 0.013817272149026394, -0.07260487973690033, -0.05290985479950905, -0.25525200366973877, -0.00594599824398756, -0.014454266056418419, -0.0032250897493213415, -0.0037326940800994635, -0.0713127925992012, 0.045159682631492615, 0.017723748460412025, 0.013750539161264896, 0.07661785185337067, 0.023495689034461975, -0.026871494948863983, -0.028371941298246384, 0.020740514621138573, -0.004236919339746237, 0.04018224775791168, 0.03561806678771973, 0.021013624966144562, -0.0557139590382576, -0.024059640243649483, 0.05802372097969055, 0.020572878420352936, 0.0047713229432702065, -0.11672964692115784, 0.05269792303442955, 0.018295813351869583, 0.18608136475086212, 0.06207124888896942, -0.008258256129920483, -0.020091930404305458, 0.06520963460206985, -0.010988229885697365, -0.04919879138469696, -0.08254163712263107, 0.03696298226714134, 0.024796336889266968, 0.02988618239760399, 0.011339876800775528, -0.04755590856075287, -0.03405848145484924, -0.066371850669384, 0.037171464413404465, 0.016043199226260185, -0.05623537302017212, -0.040685102343559265, -0.014001837000250816, -0.017011404037475586, -0.03191593661904335, -0.012479793280363083, 0.03952331095933914, -0.006387475878000259, -0.003304413752630353, 0.007210458163172007, 0.016133813187479973, -0.057621147483587265, -0.06630731374025345, -0.06734408438205719, -0.038234855979681015, -0.03623218834400177, 0.03611438348889351, 0.00018253838061355054, -0.031070217490196228, -0.008186881430447102, -0.03851969912648201, 0.029926275834441185, -0.019360212609171867, 0.02280048280954361, -0.005702707450836897, 0.0026994410436600447, -0.048851363360881805, -0.030557701364159584, 0.02962154895067215, -0.013403093442320824, -0.017011279240250587, 0.003884192556142807, 0.03963123634457588, 0.05999428406357765, -0.0018005730817094445, 0.022389201447367668, -0.07696673274040222, 0.03850514069199562, -0.021710164844989777, 0.05643036589026451, -0.012173522263765335, 0.08145912736654282, 0.028649579733610153, 0.04982414096593857, -0.026468832045793533, 0.06427665799856186, -0.024887865409255028, 0.00541750667616725, 0.005473228171467781, -0.05828762426972389, -0.07360804826021194, 0.0429927222430706, 0.01067270990461111, -0.2875077426433563, 0.052785761654376984, 0.03992615267634392, 0.013450577855110168, -0.02916310913860798, 0.01299564354121685, 0.04298475384712219, 0.02051827870309353, -0.0033746217377483845, 0.006041037850081921, 0.035621076822280884, 0.07655530422925949, 0.007600940298289061, -0.016977591440081596, 0.019987504929304123, 0.04480353370308876, 0.0676637664437294, -0.009932184591889381, 0.0400409922003746, -0.022423116490244865, -0.0027523322496563196, 0.04366528242826462, 0.2488347589969635, 0.022735314443707466, 0.020525937899947166, 0.0069596716202795506, -0.010670348070561886, -0.017805058509111404, 0.003617362817749381, 0.0032484689727425575, 0.007549547590315342, -0.028743406757712364, 0.10192561149597168, -0.0248276237398386, 0.08750780671834946, 0.06060076504945755, -0.01569022424519062, 0.037135571241378784, 0.04588029533624649, -0.0002465351135469973, -0.05388825386762619, -0.0007763390894979239, -0.032074760645627975, 0.031580448150634766, 0.09576592594385147, -0.044021125882864, -0.016907501965761185, -0.030613647773861885, 0.0013377226423472166, 0.03476012498140335, -0.03562573716044426, -0.036251045763492584, -0.023605097085237503, -0.008050494827330112, 0.012290100567042828, 0.043518271297216415, -0.07529652118682861, -0.007872402667999268, -0.01382853090763092, -0.02185225486755371, 0.011572279036045074, -0.0914779007434845, -0.014273002743721008, 0.004623700398951769, 0.014286601915955544 ]
devcenter
https://www.mongodb.com/developer/products/atlas/atlas-search-cene-1
created
In this episode, we go through some more advanced search topics including embedded documents, fuzzy search, autocomplete, highlighting, and geospatial. ### **[Episode 7: Query Analytics][8]** Are your users finding what they are looking for? Are your top queries returning the best results? This episode covers the important topic of query analytics. If you're using search, you need this! ### **[Episode 8: Tips & Tricks][9]** In this final episode of The Atlas Search 'cene Season 1, useful techniques to introspect query details and see the relevancy scoring computation details. Also shown is how to get facets and search results back in one API call.
md
{ "tags": [ "Atlas" ], "pageDescription": "The Atlas Search 'cene: Season 1", "contentType": "Video" }
The Atlas Search 'cene: Season 1
2024-05-20T17:32:23.500Z
[ -0.06676021963357925, -0.004111364483833313, 0.004736207891255617, -0.013263901695609093, 0.030556093901395798, 0.01958758383989334, 0.03644321858882904, 0.0224448349326849, 0.006258488167077303, -0.0028273065108805895, -0.005389469675719738, -0.024699581786990166, 0.014987430535256863, 0.0380328968167305, 0.04337989166378975, -0.0011837705969810486, -0.0032263752073049545, 0.053115591406822205, -0.04344338923692703, 0.005567796062678099, 0.026066476479172707, -0.012734340503811836, -0.01339627429842949, -0.0965215265750885, -0.005380951799452305, 0.006771787069737911, -0.011258012615144253, -0.06593237072229385, -0.050652820616960526, -0.25136610865592957, -0.016041914001107216, -0.024172114208340645, 0.0985855683684349, -0.005473715253174305, -0.002864743582904339, -0.021798094734549522, -0.018274962902069092, 0.05820035561919212, -0.017515556886792183, 0.026560675352811813, 0.08116031438112259, 0.020573705434799194, -0.013295111246407032, -0.04801011085510254, -0.03540431335568428, -0.022015590220689774, 0.018419504165649414, 0.016560688614845276, -0.04002087935805321, -0.021935835480690002, 0.003108647419139743, -0.04263781011104584, 0.0014704210916534066, -0.0099651413038373, 0.019402267411351204, 0.04344813898205757, 0.06005667522549629, 0.02139526791870594, 0.02613407000899315, 0.015288450755178928, 0.046368785202503204, -0.009672620333731174, -0.16868098080158234, 0.07461615651845932, -0.006041634362190962, 0.015714284032583237, -0.030827773734927177, -0.03453097119927406, -0.015854420140385628, 0.04346814006567001, -0.002043291460722685, 0.03352968767285347, -0.018407700583338737, 0.051279887557029724, 0.02384682558476925, 0.04302898794412613, -0.022437963634729385, -0.008096083998680115, -0.005622686818242073, -0.003465992398560047, -0.030094986781477928, 0.014041547663509846, -0.028373204171657562, 0.007716845721006393, -0.007465854287147522, -0.05534490942955017, 0.00009858568955678493, -0.021630212664604187, 0.05677415058016777, -0.005294758826494217, 0.035456135869026184, -0.01586315408349037, -0.042218808084726334, 0.03611033782362938, -0.0442642904818058, -0.031885046511888504, 0.01483351644128561, 0.03424755111336708, 0.004625923465937376, 0.2286965250968933, -0.07254470884799957, 0.05500181019306183, 0.07822903245687485, -0.018808357417583466, 0.0031638441141694784, -0.040381189435720444, -0.002948101842775941, 0.005091541446745396, -0.0037940191105008125, 0.00749967060983181, -0.005012684501707554, -0.002874875208362937, 0.04530678689479828, -0.024083755910396576, 0.01330890879034996, 0.042317915707826614, 0.06383220106363297, 0.040164537727832794, 0.004304861184209585, -0.03654899075627327, -0.01201238390058279, 0.006800635252147913, 0.09138433635234833, -0.04216361790895462, 0.04487483575940132, -0.030493739992380142, 0.05082661658525467, 0.10843587666749954, -0.00027746130945160985, 0.0007599033997394145, 0.044587746262550354, -0.02787509374320507, -0.06314961612224579, 0.021271634846925735, 0.05009722709655762, -0.019327763468027115, 0.02534487470984459, 0.002848051954060793, -0.009147333912551403, 0.004382413346320391, -0.05195567011833191, -0.05775560811161995, -0.009189917705953121, -0.112250916659832, -0.08422962576150894, 0.14987051486968994, -0.06177366524934769, 0.010218949057161808, -0.07040812075138092, -0.035374514758586884, -0.047018494457006454, 0.018324796110391617, -0.0381004698574543, 0.00233478588052094, -0.010386666283011436, 0.0608317106962204, 0.05188465490937233, 0.05001641437411308, -0.07882969826459885, 0.003270363202318549, -0.023854035884141922, -0.02536843903362751, -0.05974044278264046, 0.11848671734333038, 0.0306243896484375, -0.13471181690692902, -0.01729446090757847, 0.03186171129345894, -0.0043498799204826355, -0.010680234991014004, 0.021939365193247795, 0.017420243471860886, -0.07202965766191483, 0.03589390963315964, 0.0989278256893158, -0.012994564138352871, -0.024789754301309586, 0.021178361028432846, -0.010214095935225487, -0.011927113868296146, 0.02865610085427761, -0.051500353962183, 0.0024508589413017035, 0.05875605344772339, -0.019269779324531555, -0.06435862183570862, -0.00806804746389389, -0.016369737684726715, 0.03686905652284622, 0.04700523614883423, -0.00806481298059225, -0.03014727123081684, -0.0048660654574632645, -0.011421709321439266, -0.024190537631511688, -0.039848197251558304, 0.007155167404562235, -0.029186153784394264, 0.025095682591199875, -0.008780095726251602, 0.0951601192355156, -0.014713575132191181, -0.018613353371620178, 0.07167071849107742, 0.028830522671341896, 0.014364538714289665, -0.042563922703266144, -0.025763506069779396, 0.03936219960451126, 0.026780901476740837, -0.016422396525740623, 0.016379332169890404, 0.013715490698814392, -0.02789716236293316, -0.0014322370989248157, -0.0549907349050045, 0.029106905683875084, 0.041514065116643906, -0.05671759694814682, 0.05162911117076874, 0.02397110126912594, -0.0674872174859047, -0.04559769481420517, -0.25839340686798096, -0.008024747483432293, 0.0031453364063054323, -0.00019286241149529815, 0.009263607673346996, -0.06494158506393433, 0.03054124489426613, -0.0035603204742074013, 0.02763635851442814, 0.09610258787870407, 0.06170383468270302, -0.004142829682677984, -0.025971880182623863, -0.0028285998851060867, 0.0064449673518538475, 0.026201777160167694, 0.04204842075705528, 0.022350473329424858, -0.04849009960889816, -0.010198180563747883, 0.05284688249230385, 0.02183501608669758, 0.003036012640222907, -0.13150204718112946, 0.02706749550998211, 0.00029840480419807136, 0.17895396053791046, 0.07022072374820709, -0.00189413211774081, -0.03514019027352333, 0.048810046166181564, -0.002187929581850767, -0.0570877306163311, -0.08355903625488281, 0.03693246841430664, -0.006921148393303156, 0.0340888574719429, 0.0007168165175244212, -0.04413033276796341, -0.02890782803297043, -0.062393710017204285, 0.040348201990127563, 0.0029706943314522505, -0.05618084967136383, -0.027189141139388084, -0.022444164380431175, -0.035524699836969376, -0.00927801989018917, -0.04469681531190872, 0.05311385542154312, -0.0034834537655115128, 0.014289630576968193, 0.03704043850302696, 0.003899824572727084, -0.04493959993124008, -0.08360768854618073, -0.05540985241532326, -0.026246292516589165, -0.05253569036722183, 0.08419955521821976, -0.012681673280894756, -0.020361796021461487, 0.007506528869271278, -0.05178311467170715, 0.052106987684965134, -0.03393715247511864, 0.011349220760166645, -0.0284282173961401, 0.016295185312628746, -0.054568611085414886, -0.046385206282138824, 0.03942436724901199, -0.030458299443125725, -0.017965150997042656, 0.006196142174303532, 0.03512810915708542, 0.08720941841602325, -0.019003767520189285, 0.00465036416426301, -0.030331257730722427, 0.06285806000232697, -0.02284286357462406, 0.07407515496015549, -0.020597262308001518, 0.06676051765680313, 0.039092786610126495, 0.07728279381990433, -0.028914853930473328, 0.06353657692670822, -0.034310899674892426, 0.0013356768758967519, -0.0020664860494434834, -0.04242819547653198, -0.07836176455020905, 0.03210547938942909, 0.039843663573265076, -0.2588760256767273, 0.04661114886403084, 0.06214522197842598, -0.001529568457044661, -0.02295581065118313, 0.019175643101334572, 0.03035399131476879, 0.023800453171133995, -0.01382435392588377, 0.01813315600156784, 0.05028609186410904, 0.05516590550541878, 0.020325394347310066, -0.009055009111762047, 0.008583939634263515, 0.03186286985874176, 0.06599147617816925, -0.019037587568163872, 0.04868357256054878, 0.0015894380630925298, 0.03454246371984482, 0.026896074414253235, 0.21669761836528778, -0.008306127041578293, 0.032584868371486664, 0.011692437343299389, -0.027089396491646767, -0.034277357161045074, 0.04176056385040283, -0.004269218537956476, -0.02164006605744362, 0.003699499648064375, 0.06905657052993774, -0.03551694378256798, 0.06405136734247208, 0.05327004939317703, -0.021141663193702698, 0.04952428489923477, 0.01764468476176262, -0.03549310192465782, -0.01801331900060177, 0.0030037625692784786, -0.01665792614221573, 0.0197406318038702, 0.07392540574073792, -0.05320803076028824, -0.02025775983929634, -0.04296409711241722, -0.02201935090124607, 0.008936305530369282, -0.06112658232450485, -0.05224117264151573, -0.06340957432985306, 0.01655336283147335, -0.009809047915041447, 0.0712084099650383, -0.06716804951429367, -0.00007837833254598081, -0.028494780883193016, -0.035098686814308167, 0.025842979550361633, -0.08945272862911224, 0.016936877742409706, 0.013027588836848736, 0.03858236223459244 ]
devcenter
https://www.mongodb.com/developer/products/atlas/atlas-search-cene-1
created
[1]: https://www.mongodb.com/atlas/search [2]: https://www.mongodb.com/developer/videos/what-is-atlas-search-quick-start/ [3]: https://www.mongodb.com/developer/videos/atlas-search-configuration-development-environment/ [4]: https://www.mongodb.com/developer/videos/mastering-indexing-for-perfect-query-matches/ [5]: https://www.mongodb.com/developer/videos/query-operators-relevancy-controls-for-precision-searches/ [6]: https://www.mongodb.com/developer/videos/faceting-mastery-unlock-the-full-potential-of-atlas-search-s-contextual-insights/ [7]: https://www.mongodb.com/developer/videos/atlas-search-mastery-elevate-your-search-with-fuzzy-geospatial-highlighting-hacks/ [8]: https://www.mongodb.com/developer/videos/atlas-search-query-analytics/
md
{ "tags": [ "Atlas" ], "pageDescription": "The Atlas Search 'cene: Season 1", "contentType": "Video" }
The Atlas Search 'cene: Season 1
2024-05-20T17:32:23.500Z
[ -0.0772363692522049, -0.016209488734602928, 0.023629581555724144, 0.005377569235861301, 0.05635572597384453, -0.006048074923455715, 0.0033894714433699846, -0.0009399149566888809, -0.010975291021168232, -0.015849722549319267, 0.010561182163655758, -0.057873550802469254, -0.006855860818177462, 0.017523357644677162, 0.02532271109521389, 0.015396623872220516, -0.0011087291641160846, 0.03776315227150917, -0.051196105778217316, 0.030399717390537262, 0.04632962495088577, -0.00021266502153594047, -0.010681047104299068, -0.06894334405660629, 0.03001227416098118, 0.020772825926542282, -0.012157184071838856, -0.05347423255443573, -0.03553394228219986, -0.20429271459579468, 0.0004070092982146889, -0.042178925126791, 0.07398594170808792, -0.021453840658068657, -0.015010562725365162, -0.010019776411354542, -0.016585756093263626, 0.08204368501901627, -0.02786402590572834, 0.003942098934203386, 0.0795159563422203, 0.017724541947245598, -0.0024568478111177683, -0.040705226361751556, -0.02891560085117817, -0.03813088312745094, 0.026423219591379166, 0.0019418621668592095, -0.015653913840651512, -0.05780036747455597, -0.014971693977713585, -0.0697532668709755, 0.019925158470869064, 0.014357770793139935, 0.025710340589284897, 0.05022221803665161, 0.039191871881484985, 0.043714798986911774, 0.016970565542578697, -0.000021580466636805795, 0.055790822952985764, 0.02405554987490177, -0.17484255135059357, 0.08638804405927658, 0.012418567202985287, 0.05900479853153229, -0.01599872298538685, -0.02860156074166298, -0.007758708205074072, 0.02560359612107277, -0.03887965902686119, 0.026906097307801247, 0.008934677578508854, 0.054701995104551315, -0.002514268271625042, 0.0069020092487335205, -0.03993731737136841, -0.03649751842021942, -0.0017540166154503822, -0.021155888214707375, -0.026555487886071205, 0.007366609759628773, -0.02112186700105667, 0.00207161414436996, 0.006566648371517658, -0.0422639325261116, 0.009659194387495518, -0.02002832479774952, 0.03531314805150032, -0.0005161729641258717, 0.005943585187196732, -0.03407587856054306, 0.011998206377029419, 0.02934017777442932, -0.07891485840082169, -0.0034076904412359, 0.017758077010512352, 0.03708447888493538, 0.0048610675148665905, 0.21922966837882996, -0.04321898892521858, 0.06274160742759705, 0.05102993920445442, -0.0418221689760685, 0.02325606532394886, -0.015594987198710442, 0.00846977811306715, 0.013242593966424465, -0.019781162962317467, 0.002253467682749033, 0.03704618290066719, -0.031273193657398224, 0.026394085958600044, -0.04209769517183304, 0.024669796228408813, 0.010107102803885937, 0.012745030224323273, 0.0708407461643219, 0.01761581003665924, 0.0011554468655958772, -0.02731214463710785, -0.0009348688181489706, 0.0986897423863411, -0.05685202404856682, 0.046961210668087006, -0.0555543377995491, 0.01170188095420599, 0.09289349615573883, 0.006604459602385759, 0.008065201342105865, 0.023222558200359344, 0.02194949798285961, -0.05340149998664856, 0.027896272018551826, 0.0011837348574772477, 0.009557495824992657, 0.0004988322616554797, -0.0025262904819101095, 0.010123896412551403, 0.010605364106595516, -0.051016394048929214, -0.0718097984790802, 0.0033313820604234934, -0.08143757283687592, -0.029727591201663017, 0.17017680406570435, -0.07966241240501404, 0.027213336899876595, -0.05269778519868851, -0.047030676156282425, 0.013835114426910877, 0.024299923330545425, -0.05341131240129471, 0.032587528228759766, -0.008158097974956036, 0.012793302536010742, 0.06006487086415291, 0.03746073693037033, -0.06279774755239487, -0.013501503504812717, -0.03811845928430557, -0.015348752029240131, -0.04064116254448891, 0.12449153512716293, 0.025997132062911987, -0.14832468330860138, -0.03255622461438179, 0.014246522448956966, -0.017970098182559013, -0.02115454711019993, -0.004152716137468815, 0.043803438544273376, -0.06200529262423515, 0.02076725661754608, 0.12361594289541245, -0.007134248502552509, -0.056817427277565, 0.012957942672073841, 0.019089335575699806, 0.010028202086687088, 0.0027980580925941467, -0.08662611246109009, -0.012406552210450172, 0.022428063675761223, -0.03625759854912758, -0.04327011853456497, 0.003660986665636301, -0.027277443557977676, 0.020753610879182816, 0.0323510468006134, -0.05244406312704086, -0.03683875501155853, -0.0022064754739403725, -0.006877044215798378, -0.0173349529504776, -0.04218167066574097, 0.023189719766378403, -0.0262138694524765, 0.02787122316658497, -0.02635352686047554, 0.09332182258367538, -0.0012256876798346639, -0.014358681626617908, 0.04731953889131546, -0.0035480994265526533, 0.0334245003759861, -0.03724542260169983, -0.02177400328218937, 0.04264586791396141, -0.010993151925504208, -0.02056492120027542, 0.014842194505035877, -0.023825492709875107, -0.04373606666922569, 0.0028907936066389084, -0.05269135907292366, 0.03001234494149685, 0.028381897136569023, -0.05754148215055466, 0.07418866455554962, 0.031335264444351196, -0.08483565598726273, -0.08440923690795898, -0.2479100525379181, -0.013516063801944256, -0.027309345081448555, 0.024241389706730843, 0.023007310926914215, -0.05973760038614273, 0.021610472351312637, 0.005777416285127401, 0.00879818107932806, 0.06791209429502487, 0.07621216773986816, 0.001213639508932829, -0.029097450897097588, -0.006346837151795626, 0.010902618058025837, 0.047656040638685226, 0.024887310341000557, 0.022915279492735863, -0.020441344007849693, -0.02863943949341774, 0.03904593363404274, 0.006444972008466721, 0.018940728157758713, -0.11145173758268356, 0.060677241533994675, -0.008279278874397278, 0.1985347867012024, 0.06390918791294098, -0.016381671652197838, -0.05581036955118179, 0.05618101358413696, -0.02643510140478611, -0.014575673267245293, -0.10823466628789902, 0.07009560614824295, 0.014901136979460716, 0.024568751454353333, -0.0013815783895552158, -0.00048570591025054455, -0.05181169882416725, -0.02890678495168686, 0.030617190524935722, 0.03422845900058746, -0.06814529001712799, -0.038937296718358994, -0.031102826818823814, -0.025852449238300323, 0.009743285365402699, -0.03644287586212158, 0.035041216760873795, -0.0010418968740850687, 0.033989451825618744, 0.03772580996155739, -0.007413829676806927, -0.04679776355624199, -0.030666979029774666, -0.08805057406425476, -0.02146395854651928, -0.08296302706003189, 0.045482341200113297, -0.010106577537953854, -0.03559590131044388, 0.03587210178375244, -0.062213677912950516, 0.041004639118909836, -0.007744393311440945, -0.002549974247813225, -0.026444898918271065, 0.026102734729647636, -0.02535005658864975, -0.02994181402027607, 0.08324573189020157, -0.023594822734594345, 0.006934097036719322, 0.028704440221190453, 0.02823483757674694, 0.04198981449007988, -0.017221728339791298, 0.003604903584346175, -0.044741254299879074, 0.025314174592494965, -0.013970782980322838, 0.03815688565373421, 0.012618995271623135, 0.036420147866010666, 0.019970690831542015, 0.05343249812722206, -0.03971240296959877, 0.05705495551228523, -0.03476766496896744, 0.004998122341930866, -0.011669238097965717, -0.051697101444005966, -0.07894094288349152, 0.04136265814304352, 0.030344126746058464, -0.2656024098396301, 0.04240141808986664, 0.05040574073791504, 0.0031251513864845037, -0.0387222059071064, 0.011668859981000423, 0.0664103552699089, -0.004696172196418047, 0.001166843343526125, 0.01626485399901867, 0.031267404556274414, 0.021083833649754524, 0.035900551825761795, 0.0057595414109528065, -0.0043970444239676, 0.059296563267707825, 0.06038947403430939, -0.03006669692695141, 0.05298721790313721, -0.01703060418367386, 0.029387380927801132, 0.022006098181009293, 0.28099048137664795, -0.002952344249933958, 0.007150367368012667, 0.025419089943170547, -0.029518481343984604, -0.024851931259036064, 0.05269560590386391, -0.003397991880774498, 0.026533817872405052, -0.0021295463666319847, 0.05113186687231064, -0.033975835889577866, 0.053339291363954544, 0.08237994462251663, -0.03162825480103493, 0.008730007335543633, 0.04623840004205704, -0.004554688930511475, -0.04434366151690483, 0.025257904082536697, -0.023217901587486267, 0.02487962879240513, 0.11300811916589737, -0.04078684002161026, -0.0020800656639039516, -0.04064136743545532, -0.026639027521014214, 0.039486031979322433, -0.04805035889148712, -0.06093648821115494, 0.0015878319973126054, -0.009149334393441677, 0.009810238145291805, 0.047122880816459656, -0.030430886894464493, -0.01912904530763626, -0.015560443513095379, -0.027612922713160515, 0.024894380941987038, -0.08406808227300644, 0.002104673534631729, 0.025951674208045006, 0.028012599796056747 ]
devcenter
https://www.mongodb.com/developer/products/atlas/atlas-search-cene-1
created
[8]: https://www.mongodb.com/developer/videos/atlas-search-query-analytics/ [9]: https://www.mongodb.com/developer/videos/tips-and-tricks-the-atlas-search-cene-season-1-episode-8/
md
{ "tags": [ "Atlas" ], "pageDescription": "The Atlas Search 'cene: Season 1", "contentType": "Video" }
The Atlas Search 'cene: Season 1
2024-05-20T17:32:23.500Z
[ -0.06959200650453568, -0.017777325585484505, 0.003730013268068433, -0.018731290474534035, 0.05623701959848404, 0.010634814389050007, 0.007514973636716604, 0.02913835644721985, 0.00411106925457716, -0.008122571744024754, 0.008557385765016079, -0.049779560416936874, 0.01478045154362917, 0.021783635020256042, 0.03805803880095482, 0.0008596904808655381, -0.0011014349292963743, 0.06175808981060982, -0.05293804407119751, 0.010889589786529541, 0.04118361696600914, -0.013940968550741673, 0.006228483747690916, -0.07847117632627487, 0.034004971385002136, 0.014750071801245213, -0.004830151796340942, -0.05536234378814697, -0.03881371393799782, -0.20395243167877197, 0.0002705059596337378, -0.044253069907426834, 0.08046739548444748, -0.02456999570131302, 0.0010516623733565211, -0.031190918758511543, 0.0012354094069451094, 0.06460429728031158, -0.04252903535962105, 0.04958915710449219, 0.09373648464679718, 0.016708718612790108, -0.02803358994424343, -0.05108475312590599, -0.01006054226309061, -0.026839638128876686, 0.029689958319067955, 0.013591576367616653, 0.018083520233631134, -0.023197544738650322, 0.006033646408468485, -0.04971859231591225, -0.0039163995534181595, 0.0037089369725435972, 0.04202200472354889, 0.037718966603279114, 0.05461803451180458, 0.032408665865659714, 0.01921105571091175, 0.0010263017611578107, 0.05154355615377426, -0.003050470259040594, -0.19785846769809723, 0.09555946290493011, 0.010052935220301151, 0.05591098219156265, -0.014915134757757187, -0.037397757172584534, 0.000160576484631747, 0.040028296411037445, -0.044494688510894775, 0.013689931482076645, 0.015268582850694656, 0.03674083203077316, -0.004698272328823805, 0.01817546784877777, -0.030082030221819878, -0.021434877067804337, -0.012844055891036987, 0.0035205939784646034, -0.04929312318563461, -0.006574911531060934, -0.015846945345401764, 0.005933657754212618, 0.01351402048021555, -0.06115582212805748, 0.027146335691213608, -0.02298765257000923, 0.03824132680892944, -0.0005508085596375167, 0.0203729048371315, -0.030493685975670815, 0.004720980767160654, 0.018642403185367584, -0.08395189046859741, -0.025479216128587723, 0.03585243970155716, 0.022866757586598396, 0.01965947262942791, 0.2467576116323471, -0.06408469378948212, 0.04607710242271423, 0.062437161803245544, -0.02699677273631096, -0.0002004827547352761, -0.03567417711019516, -0.004060202278196812, -0.00432621082291007, 0.0015554663259536028, 0.01524590514600277, 0.015250525437295437, -0.01947544515132904, 0.02606353536248207, -0.0439569391310215, 0.02293643169105053, 0.026172533631324768, 0.012515629641711712, 0.06060358136892319, -0.02789468877017498, -0.0032895884942263365, 0.008612804114818573, -0.00901350099593401, 0.08729448169469833, -0.06047455966472626, 0.05734988674521446, -0.05392554774880409, 0.03469805046916008, 0.09420675039291382, 0.013957862742245197, 0.02022131346166134, 0.02240670658648014, 0.002672698814421892, -0.07865037769079208, 0.01958126202225685, 0.015544915571808815, 0.001292233937419951, 0.01156672928482294, -0.013748620636761189, -0.005699610337615013, -0.002360703656449914, -0.03169149532914162, -0.10876273363828659, -0.012191535905003548, -0.07289928197860718, -0.04365088790655136, 0.1408553421497345, -0.06331341713666916, 0.029564401134848595, -0.05636302009224892, -0.05765295773744583, -0.014480110257863998, 0.020603707060217857, -0.045504484325647354, 0.019144022837281227, -0.014120078645646572, 0.021427953615784645, 0.07721668481826782, 0.04567259922623634, -0.07759163528680801, 0.001798823825083673, -0.04435943812131882, -0.020804885774850845, -0.020527707412838936, 0.0955549106001854, 0.04260504990816116, -0.12137076258659363, -0.020937733352184296, 0.04106566309928894, 0.007761459797620773, -0.043934743851423264, 0.008255256339907646, 0.023536330088973045, -0.08269903808832169, 0.02281017228960991, 0.12671220302581787, -0.0043335724622011185, -0.054421670734882355, 0.008573167957365513, 0.012714309617877007, -0.004495292901992798, 0.008352063596248627, -0.060638684779405594, -0.017587317153811455, 0.0600220263004303, -0.041192978620529175, -0.0446687713265419, 0.011678618378937244, -0.025181138888001442, 0.035420142114162445, 0.033798132091760635, -0.030352218076586723, -0.041985493153333664, -0.003840919816866517, 0.010388257913291454, -0.040145158767700195, -0.03788347169756889, 0.01742156222462654, -0.03896406292915344, 0.018431099131703377, -0.03579624369740486, 0.10322048515081406, -0.01783902384340763, -0.019274530932307243, 0.05846073478460312, -0.005131606478244066, 0.02416701428592205, -0.03967169672250748, -0.022199541330337524, 0.0369793139398098, -0.009928648360073566, -0.027790911495685577, 0.0017079366371035576, -0.002903078682720661, -0.03902949020266533, -0.013463894836604595, -0.02235277183353901, 0.03796694055199623, 0.01569724641740322, -0.02798118256032467, 0.04019518569111824, 0.03835204616189003, -0.08926612138748169, -0.06550359725952148, -0.26505717635154724, -0.018007544800639153, -0.0058098467998206615, 0.02177421562373638, 0.003360860049724579, -0.058552615344524384, 0.026111634448170662, -0.018557531759142876, 0.011850321665406227, 0.1023440957069397, 0.07127275317907333, -0.0012660844950005412, -0.021991318091750145, -0.03975239768624306, 0.017893286421895027, 0.06952963024377823, 0.02221452072262764, 0.017792129889130592, -0.012488635256886482, -0.0014722640626132488, 0.031357746571302414, -0.016597209498286247, 0.01056397520005703, -0.1183554008603096, 0.05585377663373947, -0.013455270789563656, 0.17484281957149506, 0.07151271402835846, -0.018566308543086052, -0.05600224807858467, 0.059830572456121445, 0.0016704044537618756, -0.03521322086453438, -0.08732713758945465, 0.04330902546644211, 0.002839182736352086, 0.022017959505319595, 0.009933172725141048, -0.005873925518244505, -0.036595720797777176, -0.06848083436489105, 0.054303281009197235, 0.014527658000588417, -0.0927615612745285, -0.014194568619132042, -0.023049049079418182, -0.01853489689528942, 0.005600443109869957, -0.04545531049370766, 0.029449541121721268, -0.001867222716100514, 0.02956509217619896, 0.044800784438848495, 0.0011836182093247771, -0.025814371183514595, -0.05942567437887192, -0.05473121255636215, -0.01109924353659153, -0.06133204698562622, 0.06687120348215103, -0.011285443790256977, -0.02726968191564083, 0.03278036415576935, -0.05622046813368797, 0.039565760642290115, -0.01164640299975872, -0.016070334240794182, -0.03389972820878029, 0.029291074723005295, -0.01862158626317978, -0.025398537516593933, 0.0629098117351532, -0.023701559752225876, 0.01672433316707611, 0.04684342071413994, 0.03828132525086403, 0.036017827689647675, -0.027289586141705513, -0.009982503019273281, -0.03179987519979477, 0.023168258368968964, -0.02913508005440235, 0.03747102990746498, 0.00923808105289936, 0.043596301227808, 0.055462680757045746, 0.07015886157751083, -0.04676813259720802, 0.057625170797109604, -0.0345449335873127, -0.002005180576816201, -0.013171804137527943, -0.055840760469436646, -0.08005788922309875, 0.021889731287956238, 0.0563713014125824, -0.262616366147995, 0.04825906455516815, 0.02309255301952362, 0.02706635184586048, -0.016408981755375862, 0.00933845341205597, 0.058920297771692276, 0.003439590334892273, -0.0017868855502456427, 0.02605099231004715, 0.03281574696302414, 0.021603509783744812, 0.030352437868714333, -0.010303228162229061, -0.015949789434671402, 0.04738062992691994, 0.05715685337781906, -0.0336037315428257, 0.07599790394306183, -0.00907635036855936, 0.05791492760181427, 0.01076579187065363, 0.24946247041225433, 0.030488794669508934, -0.007123169023543596, 0.008255630731582642, -0.02529960498213768, -0.01399421226233244, 0.047170378267765045, -0.0013186604483053088, -0.024683816358447075, 0.009502681903541088, 0.030606267973780632, -0.026546690613031387, 0.04670872911810875, 0.08019501715898514, -0.03377465531229973, 0.044267527759075165, 0.030011916533112526, -0.019331464543938637, -0.03305155783891678, 0.004535655025392771, -0.030395999550819397, 0.018728099763393402, 0.10071039944887161, -0.04580856114625931, -0.019817901775240898, -0.02031630650162697, -0.03259139508008957, 0.01533195935189724, -0.05705614760518074, -0.04757549613714218, -0.024546416476368904, 0.006168886553496122, 0.0031678341329097748, 0.06572311371564865, -0.029292872175574303, 0.0068168132565915585, -0.02455238811671734, -0.03798121213912964, 0.02005990408360958, -0.08861981332302094, 0.013922447338700294, 0.00803864374756813, 0.03240083158016205 ]
devcenter
https://www.mongodb.com/developer/products/mongodb/atlas-open-ai-review-summary
created
# Using MongoDB Atlas Triggers to Summarize Airbnb Reviews with OpenAI In the realm of property rentals, reviews play a pivotal role. MongoDB Atlas triggers, combined with the power of OpenAI's models, can help summarize and analyze these reviews in real-time. In this article, we'll explore how to utilize MongoDB Atlas triggers to process Airbnb reviews, yielding concise summaries and relevant tags. This article is an additional feature added to the hotels and apartment sentiment search application developed in Leveraging OpenAI and MongoDB Atlas for Improved Search Functionality. ## Introduction MongoDB Atlas triggers allow users to define functions that execute in real-time in response to database operations. These triggers can be harnessed to enhance data processing and analysis capabilities. In this example, we aim to generate summarized reviews and tags for a sample Airbnb dataset. Our original data model has each review embedded in the listing document as an array:
md
{ "tags": [ "MongoDB", "JavaScript", "AI", "Node.js" ], "pageDescription": "Uncover the synergy of MongoDB Atlas triggers and OpenAI models in real-time analysis and summarization of Airbnb reviews. ", "contentType": "Tutorial" }
Using MongoDB Atlas Triggers to Summarize Airbnb Reviews with OpenAI
2024-05-20T17:32:23.500Z
[ -0.02477567084133625, -0.004139764234423637, 0.0033128077629953623, 0.009702196344733238, 0.046617407351732254, 0.02175799570977688, 0.023161737248301506, 0.03339182958006859, 0.003896396839991212, -0.019296376034617424, -0.010015616193413734, -0.00755298463627696, 0.02327808551490307, 0.08023861050605774, 0.03140760213136673, -0.002401107456535101, 0.0062610977329313755, -0.020432496443390846, -0.017879419028759003, 0.027169331908226013, 0.02362944558262825, -0.02310277335345745, 0.003389892866834998, -0.058844227343797684, 0.009357134811580181, 0.017486538738012314, -0.0471007414162159, -0.03283112496137619, -0.06562191992998123, -0.22188816964626312, -0.01158834807574749, -0.04672367498278618, 0.09096957743167877, -0.03158755227923393, 0.019189881160855293, -0.008132786490023136, -0.006726088933646679, 0.04399454966187477, -0.017528647556900978, 0.012341368943452835, 0.05727590247988701, 0.02248852699995041, 0.016540730372071266, -0.06479787826538086, 0.010143670253455639, -0.03643680363893509, 0.027408437803387642, -0.0012756148353219032, -0.030361808836460114, -0.0029079820960760117, 0.03462143987417221, -0.08806359022855759, -0.021436301991343498, 0.00602630665525794, 0.05190899595618248, 0.03877805173397064, 0.0031378164421766996, 0.03627441078424454, 0.017899516969919205, 0.03765137121081352, 0.08873807638883591, 0.027530046179890633, -0.14177069067955017, 0.07192060351371765, 0.06671439111232758, 0.06186169758439064, -0.048324428498744965, -0.0017431285232305527, 0.004902997054159641, 0.03508768975734711, -0.016840485855937004, 0.010352395474910736, 0.02534988895058632, 0.034345902502536774, 0.0092273885384202, 0.03330320492386818, -0.005541947670280933, -0.02645975910127163, -0.007137765642255545, 0.01885661669075489, -0.013788633048534393, -0.03331386670470238, -0.0381036140024662, -0.020455099642276764, -0.03559814766049385, -0.015466976910829544, 0.011857781559228897, -0.03135042265057564, 0.023356130346655846, -0.001960638677701354, 0.005712807644158602, -0.03242114558815956, 0.00046487877261824906, 0.04701297730207443, -0.08889680355787277, -0.021777035668492317, 0.014928964897990227, 0.021462896838784218, -0.015268445014953613, 0.2408120185136795, -0.04889160767197609, 0.0698009580373764, 0.0281190387904644, -0.03698185458779335, -0.0032210536301136017, -0.06222153082489967, 0.021942825987935066, -0.027777306735515594, -0.01918068900704384, 0.013719769194722176, -0.05544498935341835, -0.022928511723876, 0.031004877761006355, -0.04560722038149834, 0.036321498453617096, 0.020424645394086838, 0.06337903439998627, 0.06640960276126862, 0.024923203513026237, -0.016996068879961967, -0.01813586987555027, 0.005941918585449457, 0.05094078928232193, -0.006068997085094452, 0.0035517229698598385, -0.0675528347492218, 0.06304855644702911, 0.09314879775047302, 0.011829876340925694, 0.02301434613764286, 0.036491766571998596, 0.006777485366910696, -0.0881175771355629, 0.013532282784581184, 0.02158370614051819, 0.04938328266143799, 0.0042826272547245026, -0.0045249611139297485, 0.04252837970852852, 0.010440434329211712, -0.04809702932834625, -0.037101928144693375, -0.010011439211666584, -0.08174360543489456, -0.0640404000878334, 0.15083013474941254, -0.02967706508934498, 0.04067924618721008, -0.06949367374181747, -0.01876037009060383, 0.018664540722966194, 0.04914969950914383, -0.057383161038160324, -0.03468559309840202, -0.0001441297645214945, 0.032469671219587326, 0.032093413174152374, 0.07627666741609573, -0.044897064566612244, -0.00565537391230464, -0.0032037070486694574, -0.026379257440567017, -0.06544432789087296, 0.08992085605859756, -0.012924066744744778, -0.12468693405389786, -0.023318329825997353, 0.016619857400655746, -0.015571905300021172, -0.04039478674530983, 0.03998470678925514, 0.03575365990400314, -0.07758451998233795, 0.03702624514698982, 0.07931943237781525, 0.01173643209040165, -0.007979514077305794, 0.0009220060892403126, 0.0054300688207149506, -0.020895805209875107, 0.004456746857613325, -0.030983351171016693, -0.045438800007104874, 0.08483320474624634, 0.003968090284615755, -0.044920094311237335, -0.0189597737044096, -0.06746981292963028, 0.03670250624418259, 0.03811357915401459, -0.0685405433177948, -0.021701199933886528, -0.008360820822417736, 0.03427956625819206, -0.024272646754980087, -0.05099979788064957, -0.00047142451512627304, -0.00592984352260828, 0.046611301600933075, -0.041393183171749115, 0.06454195082187653, -0.001046262215822935, -0.04648666828870773, 0.03132496774196625, 0.023615822196006775, 0.02652597241103649, -0.0213563721626997, 0.0018568354425951838, 0.02047073468565941, -0.010859020054340363, 0.00290919141843915, 0.008921528235077858, 0.002586579183116555, -0.024396328255534172, 0.009414661675691605, -0.017020951956510544, 0.036238767206668854, 0.03568551316857338, 0.004366038832813501, 0.05741508677601814, 0.01643182896077633, -0.05086427554488182, -0.03989960998296738, -0.250104695558548, -0.010099457576870918, 0.02231781929731369, 0.0034453985281288624, 0.00413340562954545, -0.0911557748913765, -0.005808325484395027, -0.029834497720003128, -0.013003186322748661, 0.0829680934548378, 0.03441615030169487, -0.02940663881599903, -0.003184668021276593, 0.04291582852602005, -0.006667773239314556, 0.07515126466751099, 0.009415085427463055, 0.032163284718990326, -0.04648883640766144, -0.012032649479806423, 0.05243302136659622, 0.029505301266908646, 0.0023408702109009027, -0.09722843766212463, 0.02594924345612526, -0.032015495002269745, 0.22752048075199127, 0.01353283692151308, 0.005319986958056688, -0.0514121912419796, 0.0700196772813797, -0.02179809659719467, -0.014159108512103558, -0.13811688125133514, 0.0704147145152092, 0.00865048635751009, 0.09756986796855927, 0.015645073726773262, -0.055431753396987915, -0.039661094546318054, -0.02159222587943077, 0.08651374280452728, 0.017249111086130142, -0.09360399842262268, -0.03548436239361763, -0.020484406501054764, -0.004103911574929953, -0.009860341437160969, -0.08902379870414734, 0.031437795609235764, -0.027797235175967216, 0.009772964753210545, 0.06225069984793663, 0.01887676492333412, -0.04315359145402908, -0.05595838651061058, -0.09686221927404404, 0.00845502782613039, -0.03137277811765671, 0.04444529116153717, 0.009749538265168667, -0.04029909148812294, 0.03941213712096214, -0.034457042813301086, 0.026305241510272026, -0.026382699608802795, -0.019866982474923134, 0.016262413933873177, -0.025983983650803566, -0.025202816352248192, -0.04490601643919945, 0.087392657995224, -0.049275413155555725, 0.005189306102693081, 0.05228985846042633, 0.013920167461037636, 0.02599245496094227, -0.02656446024775505, -0.025883125141263008, -0.05097761005163193, 0.0341004841029644, -0.03626818209886551, 0.03706355765461922, 0.019482437521219254, 0.039889343082904816, 0.053299106657505035, 0.04182882606983185, -0.027349842712283134, 0.02543840929865837, -0.02891516126692295, 0.0012863441370427608, 0.0012563582276925445, -0.055553097277879715, -0.03761973977088928, 0.02746685966849327, 0.004119709134101868, -0.299271821975708, 0.030998166650533676, -0.028151685371994972, 0.02478531002998352, 0.01546681858599186, 0.03601254150271416, 0.029122190549969673, 0.031595371663570404, -0.039060428738594055, 0.027690358459949493, 0.032165300101041794, 0.03276560455560684, 0.005326658952981234, -0.014134841971099377, -0.017994349822402, 0.011734559200704098, 0.03199554607272148, -0.04912369325757027, 0.030364032834768295, -0.05103688687086105, 0.016674745827913284, 0.06540735810995102, 0.2341759353876114, -0.004007433075457811, 0.029275953769683838, 0.01545638870447874, 0.012724814005196095, 0.007094117347151041, 0.0295840036123991, -0.010886956937611103, -0.0002463348500896245, -0.02853827178478241, 0.07116414606571198, -0.03516176715493202, 0.05296819284558296, 0.07267698645591736, -0.03232896327972412, 0.041802894324064255, 0.04441029578447342, -0.0026675311382859945, -0.030998120084404945, 0.007240061182528734, -0.008200799115002155, 0.0347643718123436, 0.06742137670516968, -0.020417802035808563, -0.03873642534017563, -0.04624646529555321, 0.013155940920114517, 0.003632923820987344, -0.02946421131491661, -0.06379932910203934, -0.025984499603509903, 0.013505503535270691, 0.01972179114818573, 0.009849895723164082, -0.048507269471883774, -0.03239745646715164, -0.02856515347957611, -0.007772515062242746, -0.002743778983131051, -0.08607843518257141, 0.013379600830376148, -0.0013835140271112323, -0.007217815611511469 ]
devcenter
https://www.mongodb.com/developer/products/mongodb/atlas-open-ai-review-summary
created
```javascript "reviews": { "_id": "2663437", "date": { "$date": "2012-10-20T04:00:00.000Z" }, \ "listing_id": "664017", "reviewer_id": "633940", "reviewer_name": "Patricia", "comments": "I booked the room at Marinete's apartment for my husband. He was staying in Rio for a week because he was studying Portuguese. He loved the place. Marinete was very helpfull, the room was nice and clean. \r\nThe location is perfect. He loved the time there. \r\n\r\n" }, { "_id": "2741592", "date": { "$date": "2012-10-28T04:00:00.000Z" }, "listing_id": "664017",
md
{ "tags": [ "MongoDB", "JavaScript", "AI", "Node.js" ], "pageDescription": "Uncover the synergy of MongoDB Atlas triggers and OpenAI models in real-time analysis and summarization of Airbnb reviews. ", "contentType": "Tutorial" }
Using MongoDB Atlas Triggers to Summarize Airbnb Reviews with OpenAI
2024-05-20T17:32:23.500Z
[ -0.047046247869729996, 0.013360108248889446, 0.03314833715558052, -0.026793386787176132, 0.01846095733344555, -0.014731922186911106, 0.038464728742837906, 0.050045598298311234, 0.0033412629272788763, -0.008582023903727531, -0.004438611213117838, -0.01506042666733265, -0.01605268009006977, 0.05935155972838402, 0.013178565539419651, -0.025449885055422783, -0.012207665480673313, -0.009256395511329174, -0.06505393981933594, 0.02276722900569439, 0.07932984828948975, 0.014331318438053131, -0.026081731542944908, -0.10092028975486755, 0.016608066856861115, 0.057177141308784485, -0.02428765781223774, -0.02035825327038765, -0.07636494189500809, -0.15122085809707642, -0.013883283361792564, -0.06258244067430496, 0.06449975073337555, -0.016498805955052376, -0.004990781657397747, -0.02546721324324608, 0.014288815669715405, 0.03717201203107834, -0.03436586633324623, 0.05788465961813927, 0.027350490912795067, -0.011043659411370754, -0.016714055091142654, -0.05201639235019684, -0.033179186284542084, -0.05344676226377487, -0.01825823076069355, -0.028082383796572685, -0.013505150564014912, 0.035519078373909, -0.003747275099158287, -0.0509379506111145, 0.011758880689740181, -0.004996201954782009, 0.06716395914554596, 0.04853809252381325, -0.001649963203817606, 0.057931069284677505, 0.026415569707751274, 0.02707808092236519, 0.058546870946884155, 0.031048139557242393, -0.20403990149497986, 0.09073536843061447, 0.05031488463282585, 0.037163812667131424, -0.04695281758904457, -0.03568372130393982, -0.030171407386660576, 0.04128658398985863, -0.001637155655771494, 0.01752813532948494, 0.025193409994244576, 0.0414009727537632, 0.019641149789094925, -0.020726656541228294, -0.01493719033896923, -0.03583557531237602, 0.016490163281559944, 0.047818660736083984, -0.04429275915026665, -0.06440902501344681, -0.016532955691218376, -0.04837801679968834, -0.020154708996415138, -0.05353430286049843, 0.03066888079047203, -0.04150013253092766, 0.007738419808447361, 0.034552525728940964, -0.020594395697116852, -0.04756614938378334, -0.014634087681770325, 0.03528789430856705, -0.08837930858135223, -0.019360395148396492, 0.02799135260283947, 0.0253839623183012, -0.03750764578580856, 0.2460787296295166, -0.05847138911485672, 0.05712392181158066, 0.033957384526729584, -0.06302189081907272, 0.005492804571986198, -0.06547700613737106, -0.0016174468910321593, -0.054170314222574234, 0.0034852398093789816, 0.003541752463206649, -0.05502491071820259, -0.017890863120555878, 0.04881570115685463, -0.04339718073606491, 0.025669904425740242, 0.022890077903866768, 0.0527501255273819, 0.07459714263677597, 0.04632802680134773, -0.005187774542719126, 0.056587040424346924, 0.008043716661632061, 0.01797020435333252, -0.011094599962234497, 0.036290548741817474, -0.04570576176047325, 0.05712566524744034, 0.1064000055193901, 0.018039520829916, 0.06651781499385834, 0.06633312255144119, -0.020332662388682365, -0.05620419979095459, 0.006222068332135677, -0.02660454995930195, 0.037122245877981186, -0.01836622692644596, -0.003236017655581236, 0.08773359656333923, -0.004610003437846899, -0.03545555844902992, -0.10838709771633148, -0.05762365087866783, -0.04474649578332901, -0.022491376847028732, 0.10195263475179672, -0.04016347602009773, 0.04468219354748726, -0.009615829214453697, -0.022650275379419327, -0.02912467159330845, 0.05842965841293335, -0.02991374582052231, -0.04057599604129791, -0.02556604892015457, 0.047420892864465714, 0.03950486332178116, 0.028373295441269875, -0.05452371761202812, 0.010213790461421013, -0.005713754333555698, -0.03084273636341095, -0.03938412666320801, 0.07151556760072708, 0.04407554119825363, -0.10827667266130447, -0.01683640293776989, 0.021527156233787537, 0.03154052793979645, -0.05365550145506859, 0.0161081925034523, 0.03111451491713524, -0.08270969986915588, 0.014354406856000423, 0.0860624760389328, 0.022884251549839973, 0.02147005870938301, 0.029806144535541534, 0.013606333173811436, -0.03143605962395668, 0.00645924499258399, -0.0323185920715332, -0.07876064628362656, 0.05895368754863739, 0.011020644567906857, -0.03410482779145241, 0.008459473960101604, -0.04716121405363083, 0.02197868749499321, 0.07032205164432526, -0.010581622831523418, -0.036504749208688736, -0.020663941279053688, 0.009513293392956257, -0.0012909425422549248, -0.012714657001197338, -0.010013104416429996, -0.010047427378594875, 0.010659588500857353, -0.01817316934466362, 0.09923072904348373, -0.026336487382650375, -0.015319828875362873, 0.024592015892267227, 0.012321673333644867, 0.030442502349615097, -0.009130069985985756, -0.015530090779066086, 0.02405153401196003, 0.030238976702094078, -0.061182714998722076, 0.0036068421322852373, 0.05780329927802086, -0.013018335215747356, -0.02054320089519024, -0.01285208947956562, -0.014006304554641247, 0.005453160498291254, 0.0707523375749588, 0.056377701461315155, -0.0017640518490225077, -0.09076762944459915, -0.03683022782206535, -0.22781477868556976, -0.004030704963952303, 0.04100816696882248, 0.0014945287257432938, 0.032780274748802185, -0.05282396823167801, 0.02054085209965706, -0.05000057816505432, 0.048470962792634964, 0.09653186798095703, 0.03796551749110222, -0.021483812481164932, -0.05307970568537712, 0.013925604522228241, -0.021473756060004234, 0.05562249571084976, 0.01034422218799591, 0.003521801671013236, 0.002308915602043271, -0.0017645753687247634, -0.008916329592466354, -0.004613857716321945, -0.008876195177435875, -0.08358772844076157, 0.01573813147842884, -0.023233968764543533, 0.22964046895503998, 0.09348729252815247, -0.020854050293564796, -0.06662264466285706, 0.07168616354465485, 0.00211604917421937, 0.005023926962167025, -0.11088120192289352, 0.05517246946692467, 0.009374282322824001, 0.07038804143667221, -0.005896500777453184, -0.021299876272678375, -0.04266014322638512, -0.0034982049837708473, 0.028587529435753822, 0.025645222514867783, -0.01709512248635292, -0.040019452571868896, -0.07988708466291428, -0.006647714879363775, -0.010880764573812485, -0.04569237306714058, 0.03588927909731865, 0.02320997603237629, -0.006680149585008621, 0.06680694222450256, 0.019787130877375603, -0.002012827666476369, -0.02796800248324871, -0.06424207985401154, -0.0034163095988333225, -0.028936218470335007, 0.04014316946268082, -0.008092649281024933, -0.04634246230125427, 0.015308622270822525, -0.018344486132264137, 0.02770165167748928, 0.014233836904168129, -0.01855415664613247, 0.0008960515260696411, 0.010955410078167915, -0.021648626774549484, -0.04561934247612953, 0.08240493386983871, 0.004023443441838026, 0.018025031313300133, 0.05235918238759041, 0.020327594131231308, 0.02303556352853775, -0.01514534279704094, 0.012487652711570263, -0.03017064556479454, 0.04803241789340973, -0.0009706690325401723, 0.07180372625589371, 0.02498752810060978, 0.034308984875679016, 0.02124236524105072, 0.025006424635648727, -0.004721452482044697, -0.007939278148114681, -0.0612952783703804, -0.029954906553030014, -0.02121550217270851, -0.06666778773069382, -0.028969913721084595, 0.013333109207451344, -0.00011614421964623034, -0.3284452557563782, 0.023255519568920135, -0.0035598273389041424, 0.01616727001965046, 0.02604006789624691, 0.02035144902765751, 0.017764609307050705, 0.009310698136687279, -0.030954059213399887, 0.037401579320430756, 0.03528023138642311, 0.045302215963602066, 0.01660115271806717, -0.018685543909668922, -0.010968036018311977, 0.03946557641029358, -0.005999394226819277, -0.038575269281864166, 0.057350222021341324, -0.03565259650349617, 0.04043980687856674, 0.06254392862319946, 0.2217269390821457, -0.0031294231303036213, 0.03260170668363571, 0.03705486282706261, -0.013736126944422722, 0.03422810882329941, 0.048297666013240814, -0.01773400977253914, 0.026372481137514114, -0.017031816765666008, 0.08640621602535248, -0.03665424510836601, 0.03271816298365593, 0.01808423548936844, -0.0727839469909668, 0.027315432205796242, 0.03696808964014053, -0.027423281222581863, -0.022764045745134354, 0.01329104509204626, -0.015825334936380386, -0.02150847762823105, 0.09718519449234009, -0.031135492026805878, -0.01896659843623638, -0.04659169912338257, 0.005929746199399233, -0.02512918971478939, -0.05082964152097702, -0.027337100356817245, -0.03627578169107437, 0.021262703463435173, 0.009649881161749363, 0.030841033905744553, 0.0004781798052135855, -0.020767252892255783, -0.0453062541782856, -0.01803404651582241, -0.039263978600502014, -0.08456069976091385, 0.024263188242912292, 0.015366345643997192, -0.03392327204346657 ]
devcenter
https://www.mongodb.com/developer/products/mongodb/atlas-open-ai-review-summary
created
"listing_id": "664017", "reviewer_id": "3932440", "reviewer_name": "Carolina", "comments": "Es una muy buena anfitriona, preocupada de que te encuentres cómoda y te sugiere que actividades puedes realizar. Disfruté mucho la estancia durante esos días, el sector es central y seguro." }, ... ] ```
md
{ "tags": [ "MongoDB", "JavaScript", "AI", "Node.js" ], "pageDescription": "Uncover the synergy of MongoDB Atlas triggers and OpenAI models in real-time analysis and summarization of Airbnb reviews. ", "contentType": "Tutorial" }
Using MongoDB Atlas Triggers to Summarize Airbnb Reviews with OpenAI
2024-05-20T17:32:23.500Z
[ -0.030334945768117905, -0.009156111627817154, 0.06746015697717667, 0.008061906322836876, -0.0019449418177828193, 0.013199279084801674, 0.02676151879131794, 0.06135082244873047, -0.023230483755469322, 0.005505756940692663, -0.012951171956956387, -0.058555614203214645, 0.013168364763259888, 0.04605277627706528, 0.007639732677489519, -0.01667330414056778, -0.0041660526767373085, 0.01414114236831665, 0.006575664971023798, 0.018727464601397514, 0.08135320991277695, -0.01088747102767229, -0.008803235366940498, -0.019610779359936714, 0.035580869764089584, 0.002406136365607381, -0.04995321109890938, -0.02885969914495945, -0.08415573090314865, -0.1554282158613205, -0.015935152769088745, -0.028288207948207855, 0.07986931502819061, -0.034920625388622284, 0.007179520558565855, -0.040512196719646454, -0.0021536732092499733, 0.009440040215849876, -0.027778172865509987, 0.055215343832969666, 0.010066990740597248, -0.007919341325759888, -0.04990650340914726, -0.0452481284737587, -0.016677094623446465, -0.03926631435751915, 0.003470278112217784, 0.01621992699801922, -0.00015399327094200999, 0.013196594081819057, 0.030573226511478424, -0.0449858084321022, -0.010515264235436916, 0.014261799864470959, 0.006738857366144657, 0.07339745759963989, 0.031236810609698296, 0.0030820651445537806, 0.043437857180833817, 0.050768692046403885, 0.08307110518217087, 0.07652866840362549, -0.2696308493614197, 0.04460601136088371, 0.045925408601760864, 0.011195342987775803, 0.01526645664125681, -0.029108062386512756, -0.022777458652853966, 0.04670504480600357, -0.027434956282377243, -0.02709817700088024, 0.038590207695961, 0.07455983757972717, 0.02903556264936924, -0.022819427773356438, -0.034815240651369095, 0.023756129667162895, -0.04074404388666153, 0.014291846193373203, -0.007810625713318586, -0.012973563745617867, -0.035294532775878906, -0.04342374578118324, -0.00009208577102981508, -0.051865994930267334, 0.012242164462804794, -0.010674168355762959, 0.05799872800707817, 0.035558875650167465, -0.02769548073410988, -0.017872421070933342, -0.004351580515503883, 0.04447941109538078, -0.0692075714468956, -0.0256422720849514, 0.016158882528543472, -0.02282799780368805, -0.08651354908943176, 0.20491965115070343, -0.05396979674696922, 0.024999335408210754, 0.04684223607182503, -0.017199639230966568, 0.00964658334851265, -0.02199803851544857, -0.002863704925402999, 0.00827630702406168, -0.0035920303780585527, 0.018583783879876137, -0.02774006873369217, -0.0047577968798577785, 0.026718586683273315, -0.028332706540822983, -0.006484867073595524, 0.036183375865221024, 0.06003139540553093, 0.05597369372844696, -0.000030001143386471085, -0.030499054118990898, 0.00608161510899663, 0.024725645780563354, 0.01782931759953499, -0.05160515755414963, 0.02661222219467163, -0.1267707347869873, 0.03592833876609802, 0.12367448210716248, 0.04187918081879616, 0.06092390790581703, 0.057322125881910324, 0.01920860819518566, -0.05134724825620651, 0.003704762551933527, -0.010821528732776642, 0.04567672312259674, 0.018835769966244698, 0.014704274944961071, 0.06386193633079529, -0.025641435757279396, -0.025330787524580956, -0.11355908215045929, -0.04805793613195419, -0.08870768547058105, -0.024877777323126793, 0.08316431939601898, -0.04612481966614723, 0.02816358208656311, -0.042759187519550323, -0.005324887111783028, -0.03205157816410065, 0.04268341138958931, -0.04305211082100868, -0.003573785303160548, -0.005640050861984491, 0.031805962324142456, 0.006461679469794035, 0.05473050847649574, -0.05298018455505371, 0.02024099975824356, 0.012716933153569698, -0.04565635696053505, -0.03054393269121647, 0.13898904621601105, 0.052256494760513306, -0.06010299175977707, -0.011682984419167042, 0.003453593235462904, -0.0025111637078225613, -0.03997647389769554, 0.00015529300435446203, 0.024758268147706985, -0.09598615020513535, 0.020483488216996193, 0.08327332884073257, 0.006924724671989679, -0.011885734274983406, 0.0055951992981135845, 0.01436772383749485, -0.008417320437729359, 0.03819963335990906, -0.006219691596925259, -0.03314949572086334, 0.08461910486221313, 0.0267665833234787, -0.022715546190738678, -0.021030506119132042, -0.04454166442155838, 0.021293895319104195, 0.07400402426719666, -0.06282535195350647, -0.001681551686488092, -0.05387962982058525, 0.016556184738874435, -0.02635110728442669, -0.0005800295039080083, 0.006771097891032696, -0.010164303705096245, 0.013175435364246368, -0.02219110168516636, 0.11697451770305634, 0.028256744146347046, -0.04889978840947151, 0.025047924369573593, -0.00823504664003849, 0.05801874026656151, -0.006934724282473326, -0.012527062557637691, 0.04129549860954285, 0.037496309727430344, -0.023823916912078857, 0.02719384990632534, 0.05759980157017708, -0.018314870074391365, -0.0412813164293766, 0.0764918327331543, -0.008210768923163414, 0.028096554800868034, 0.04963088035583496, 0.0701725110411644, 0.020156262442469597, -0.05332586169242859, -0.05550776794552803, -0.24877336621284485, -0.005061725154519081, -0.009296577423810959, -0.03908105939626694, 0.01619447022676468, -0.053208645433187485, 0.009209887124598026, -0.025275791063904762, 0.019781310111284256, 0.06114400178194046, 0.0662955790758133, 0.00424692640081048, -0.020641464740037918, 0.04796377196907997, -0.03237077593803406, 0.041601039469242096, 0.020022302865982056, 0.012057146057486534, 0.0012649500276893377, -0.05692454054951668, 0.012801123782992363, 0.029568322002887726, -0.01038135215640068, -0.02656491845846176, 0.009853653609752655, -0.0200984887778759, 0.16364367306232452, 0.08139647543430328, -0.02577003464102745, -0.03475228697061539, 0.05195799469947815, 0.020406322553753853, -0.015376375056803226, -0.13305656611919403, 0.038937393575906754, 0.002935234224423766, 0.06183131784200668, -0.0294222179800272, -0.020424099639058113, -0.04751601442694664, 0.037596896290779114, 0.05328309163451195, -0.001218145596794784, -0.021859237924218178, -0.009949448518455029, -0.05398616939783096, -0.0328889936208725, 0.056258030235767365, -0.07930559664964676, 0.04240274429321289, 0.011289707385003567, 0.004626164678484201, 0.02082107402384281, 0.027958961203694344, 0.03912164643406868, -0.052502185106277466, -0.12342356890439987, 0.013056749477982521, -0.040190160274505615, 0.031483862549066544, -0.018228396773338318, -0.001841384102590382, 0.020345522090792656, -0.05311087146401405, 0.016599927097558975, 0.03459411486983299, -0.017249038442969322, -0.03163383528590202, 0.009405551478266716, -0.02048685774207115, -0.015640947967767715, 0.06656762957572937, -0.016371794044971466, -0.048447977751493454, 0.050902191549539566, 0.007069510407745838, 0.0034047169610857964, -0.04353158175945282, -0.006501561030745506, -0.08629278093576431, 0.0441882498562336, -0.013111460022628307, 0.06559770554304123, 0.04514818266034126, 0.02538945898413658, 0.01556972973048687, 0.03987014666199684, -0.03489123284816742, 0.023515433073043823, -0.06062713637948036, 0.030184157192707062, -0.014586597681045532, -0.056052856147289276, -0.03934077173471451, 0.029511230066418648, -0.006916277576237917, -0.3121669590473175, 0.027426864951848984, 0.020355068147182465, -0.014293094165623188, -0.024531418457627296, -0.006034830119460821, 0.03087213635444641, 0.004596512299031019, -0.008643368259072304, 0.05172782018780708, 0.020335353910923004, 0.027228256687521935, 0.005478469654917717, 0.00939194206148386, -0.024253586307168007, -0.0042197019793093204, -0.01403012964874506, -0.0379391685128212, 0.10844230651855469, -0.044546496123075485, 0.04262218996882439, 0.02551017515361309, 0.20284251868724823, 0.006824109703302383, 0.0020859376527369022, 0.04625613987445831, -0.044015489518642426, 0.011876343749463558, -0.0369180366396904, 0.004159900359809399, 0.05024399980902672, 0.001305114128626883, 0.07578082382678986, -0.04691695794463158, 0.007209102623164654, 0.027006827294826508, -0.038495611399412155, 0.039995379745960236, 0.026295678690075874, -0.045338038355112076, -0.08226586133241653, 0.016376353800296783, -0.03610612079501152, 0.0023718473967164755, 0.10561072826385498, -0.016025476157665253, -0.03658805787563324, -0.044135451316833496, 0.003149292664602399, -0.006070299074053764, -0.04925628378987312, -0.013404462486505508, -0.004741355776786804, 0.004222602117806673, 0.026530425995588303, 0.04876098036766052, -0.05612391605973244, -0.04378914833068848, -0.053023554384708405, -0.03653886914253235, -0.047988638281822205, -0.04911765828728676, 0.018438022583723068, 0.0033307194244116545, 0.034657012671232224 ]
devcenter
https://www.mongodb.com/developer/products/mongodb/atlas-open-ai-review-summary
created
## Prerequisites - App Services application (e.g., application-0). Ensure linkage to the cluster with the Airbnb data. - OpenAI account with API access. ![Open AI Key ### Secrets and Values 1. Navigate to your App Services application. 2. Under "Values," create a secret named `openAIKey` with your OPEN AI API key. 3. Create a linked value named OpenAIKey and link to the secret. ## The trigger code The provided trigger listens for changes in the sample_airbnb.listingsAndReviews collection. Upon detecting a new review, it samples up to 50 reviews, sends them to OpenAI's API for summarization, and updates the original document with the summarized content and tags. Please notice that the trigger reacts to updates that were marked with `"process" : false` flag. This field indicates that there were no summary created for this batch of reviews yet.
md
{ "tags": [ "MongoDB", "JavaScript", "AI", "Node.js" ], "pageDescription": "Uncover the synergy of MongoDB Atlas triggers and OpenAI models in real-time analysis and summarization of Airbnb reviews. ", "contentType": "Tutorial" }
Using MongoDB Atlas Triggers to Summarize Airbnb Reviews with OpenAI
2024-05-20T17:32:23.500Z
[ -0.01802649348974228, -0.03896863013505936, -0.004243589472025633, -0.03542868047952652, 0.025339286774396896, 0.05924767628312111, 0.02433825097978115, 0.028019333258271217, 0.011712748557329178, -0.0223247017711401, -0.011218799278140068, -0.0760888084769249, 0.009846837259829044, 0.08673348277807236, 0.014031164348125458, 0.004166781436651945, -0.0036479078698903322, -0.030477873980998993, -0.011406146921217442, 0.042369578033685684, 0.026303937658667564, -0.00555499829351902, 0.02736741676926613, -0.045277491211891174, 0.012002442963421345, 0.03551030904054642, -0.046138424426317215, -0.014489355497062206, -0.06812554597854614, -0.18071050941944122, -0.05024458467960358, -0.04784328117966652, 0.06399117410182953, -0.015144563280045986, 0.02088591270148754, -0.008603121154010296, -0.020527280867099762, 0.022046370431780815, -0.033269137144088745, 0.02317359670996666, 0.05876413360238075, 0.011449131183326244, 0.008907574228942394, -0.062199175357818604, -0.0013334676623344421, -0.03515695407986641, -0.0006374628283083439, 0.039497144520282745, -0.02102643810212612, -0.02608826383948326, 0.03708275035023689, -0.05978168174624443, -0.03821225091814995, -0.008227396756410599, 0.04120766371488571, 0.03184019401669502, 0.008929395116865635, 0.02300865203142166, 0.038698166608810425, 0.08027838170528412, 0.08113003522157669, 0.04729108139872551, -0.17509356141090393, 0.08803015947341919, 0.08757328987121582, 0.07198555767536163, -0.06481370329856873, -0.023623939603567123, 0.04190688207745552, 0.012527256272733212, -0.057320114225149155, 0.041062209755182266, 0.04128122329711914, 0.02659524418413639, 0.021466730162501335, 0.015999235212802887, -0.018493229523301125, -0.015465609729290009, 0.004943282343447208, 0.020349053665995598, -0.044989507645368576, -0.043062932789325714, -0.02298278920352459, 0.003876374801620841, -0.04956740140914917, -0.012967274524271488, 0.017029453068971634, -0.028286665678024292, 0.04231425002217293, -0.0007289025234058499, -0.018489424139261246, -0.045626867562532425, -0.012560851871967316, 0.028213398531079292, -0.07264155149459839, -0.010819126851856709, 0.011927861720323563, -0.01725088432431221, -0.06745391339063644, 0.21831145882606506, -0.05935465916991234, 0.023791901767253876, 0.00473343301564455, -0.01414005272090435, 0.025652943179011345, -0.0838601291179657, 0.02274210937321186, -0.01644844003021717, 0.01561114750802517, 0.05594789236783981, -0.034926075488328934, -0.014055327512323856, 0.047848474234342575, -0.028923388570547104, 0.03152645379304886, 0.0498892106115818, 0.05879078432917595, 0.06358187645673752, 0.004797175992280245, -0.015651842579245567, -0.004144492093473673, 0.00024799996754154563, 0.02168973907828331, -0.022741345688700676, -0.006728982552886009, -0.060166895389556885, 0.07568279653787613, 0.0826311782002449, -0.005345598328858614, 0.060022566467523575, 0.05674458295106888, 0.013511446304619312, -0.08977818489074707, 0.004631095100194216, 0.00820054579526186, 0.03940806910395622, 0.0243186354637146, 0.016420017927885056, 0.04427483677864075, -0.024474818259477615, -0.08340572565793991, -0.04703540354967117, 0.01519345585256815, -0.0899100974202156, -0.026688681915402412, 0.14531473815441132, -0.002997768111526966, 0.05316225439310074, -0.052727002650499344, -0.036821313202381134, 0.014834541827440262, 0.04384782910346985, -0.051317304372787476, -0.05468029901385307, 0.007296423893421888, 0.029645919799804688, 0.026922130957245827, 0.0888754203915596, -0.023302383720874786, 0.0388985276222229, -0.018196379765868187, -0.08017821609973907, -0.050967272371053696, 0.11076948046684265, 0.027247557416558266, -0.10424261540174484, -0.009947799146175385, 0.02237711101770401, -0.02711396850645542, -0.011337014846503735, 0.036606237292289734, 0.049112919718027115, -0.07190603762865067, 0.03345741704106331, 0.057977501302957535, -0.018849333748221397, 0.010072348639369011, 0.019640151411294937, 0.009039638563990593, -0.010194753296673298, -0.004058660473674536, -0.036728087812662125, -0.06084124743938446, 0.08445572853088379, 0.041714929044246674, -0.054991282522678375, -0.028810011222958565, -0.0639372244477272, 0.025493569672107697, 0.027607515454292297, -0.07757475227117538, -0.008092572912573814, -0.03279512748122215, 0.028936175629496574, -0.02159530483186245, -0.04228920489549637, -0.018720146268606186, -0.014614485204219818, 0.012600960209965706, -0.06033440679311752, 0.06563792377710342, 0.015996647998690605, -0.04631106182932854, 0.029377058148384094, 0.010021745227277279, 0.03112543374300003, -0.010145323351025581, -0.008707035332918167, 0.061776891350746155, 0.005717504769563675, -0.02116347663104534, 0.02806796133518219, 0.009252035990357399, -0.015077359974384308, -0.026072196662425995, 0.0010846431832760572, 0.0039029924664646387, 0.014320735819637775, 0.02090124972164631, 0.057737089693546295, 0.02574131079018116, -0.002512923674657941, -0.028560612350702286, -0.2380126267671585, -0.0013608346926048398, 0.006022075656801462, -0.04211058467626572, -0.0032736121211200953, -0.06185617670416832, 0.012268492951989174, -0.021037494763731956, 0.003957999404519796, 0.0812806561589241, 0.11312779784202576, -0.008933699689805508, 0.002946719527244568, 0.06063570827245712, -0.011030328460037708, 0.053035441786050797, 0.011641314253211021, 0.04416387528181076, -0.0379096157848835, 0.0260260421782732, 0.019540773704648018, 0.03288211673498154, 0.023697972297668457, -0.07655319571495056, 0.020811328664422035, -0.046590521931648254, 0.1954270303249359, -0.004439463373273611, 0.03156537562608719, -0.03585968539118767, 0.04410548508167267, 0.025842512026429176, -0.020570291206240654, -0.1655258983373642, 0.015569236129522324, 0.04281504079699516, 0.043848227709531784, 0.03702375292778015, -0.04258731007575989, -0.03172871842980385, -0.01938280090689659, 0.06144198402762413, -0.01420647744089365, -0.0834597647190094, -0.03072812594473362, -0.03560662642121315, -0.03944428265094757, -0.0004982016980648041, -0.08121111243963242, -0.003067869460210204, -0.0011608835775405169, 0.008102252148091793, 0.043448783457279205, 0.04297029599547386, -0.02339506708085537, -0.05548056587576866, -0.06367287784814835, 0.028406202793121338, -0.0276480745524168, 0.030139930546283722, 0.007790152449160814, -0.028812067583203316, -0.01571892388164997, -0.05667291581630707, 0.08643783628940582, -0.01842845417559147, -0.027524784207344055, 0.015339406207203865, 0.021398646757006645, -0.06204511970281601, -0.03400101140141487, 0.06302151083946228, -0.029188117012381554, 0.01207065861672163, 0.05694779381155968, -0.007286142557859421, 0.007186575792729855, -0.06227656081318855, -0.02043166011571884, -0.04520479217171669, 0.026071419939398766, -0.03187418729066849, 0.012481293641030788, 0.020898526534438133, 0.03396611660718918, 0.06096627563238144, 0.034545380622148514, 0.006113494746387005, 0.021863950416445732, -0.03561881557106972, -0.007865557447075844, 0.018325870856642723, -0.05626401677727699, -0.0016768061323091388, 0.030887886881828308, 0.00805504061281681, -0.30489078164100647, 0.01314031146466732, -0.004482088144868612, 0.025338908657431602, 0.00848217774182558, 0.013323076069355011, 0.03858798369765282, 0.0038364368956536055, -0.0714210644364357, 0.02837987057864666, 0.005402494687587023, 0.0048578279092907906, -0.014591658487915993, -0.04483062028884888, 0.004927836824208498, 0.01815488561987877, 0.0520201250910759, -0.033495720475912094, 0.020334821194410324, -0.06732091307640076, -0.00657240767031908, 0.05337141081690788, 0.2302224338054657, -0.011616485193371773, 0.021825147792696953, 0.02321527898311615, -0.006116754841059446, 0.021219931542873383, 0.04642309248447418, -0.029342185705900192, 0.048884663730859756, -0.02315404638648033, 0.055978208780288696, -0.019824732095003128, 0.07084361463785172, 0.028852714225649834, -0.033244144171476364, 0.04214802011847496, 0.06253758817911148, 0.012557042762637138, -0.027478070929646492, -0.004871553275734186, -0.008676417171955109, 0.046776797622442245, 0.05892984941601753, -0.040813226252794266, -0.06404493004083633, -0.036694787442684174, 0.009991960600018501, 0.006920890416949987, -0.03159690275788307, -0.06883613765239716, -0.02473052591085434, 0.005888038780540228, 0.0308793094009161, 0.062120676040649414, -0.05504105985164642, -0.016723817214369774, -0.05487603694200516, -0.008041457273066044, -0.007853987626731396, -0.08127798140048981, 0.03255319967865944, 0.002323440508916974, 0.01737217605113983 ]
devcenter
https://www.mongodb.com/developer/products/mongodb/atlas-open-ai-review-summary
created
Example of a review update operation that will fire this trigger: ```javascript listingsAndReviews.updateOne({"_id" : "1129303"}, { $push : { "reviews" : new_review } , $set : { "process" : false" }}); ``` ### Sample reviews function To prevent overloading the API with a large number of reviews, a function sampleReviews is defined to randomly sample up to 50 reviews: ```javscript function sampleReviews(reviews) { if (reviews.length <= 50) { return reviews; } const sampledReviews = ]; const seenIndices = new Set(); while (sampledReviews.length < 50) { const randomIndex = Math.floor(Math.random() * reviews.length); if (!seenIndices.has(randomIndex)) { seenIndices.add(randomIndex); sampledReviews.push(reviews[randomIndex]); } } return sampledReviews; } ```
md
{ "tags": [ "MongoDB", "JavaScript", "AI", "Node.js" ], "pageDescription": "Uncover the synergy of MongoDB Atlas triggers and OpenAI models in real-time analysis and summarization of Airbnb reviews. ", "contentType": "Tutorial" }
Using MongoDB Atlas Triggers to Summarize Airbnb Reviews with OpenAI
2024-05-20T17:32:23.500Z
[ -0.09217647463083267, -0.021917041391134262, 0.02973153442144394, -0.03574100881814957, 0.0037330961786210537, 0.045699745416641235, 0.02375026047229767, 0.04615376517176628, 0.03743452578783035, -0.02945530228316784, -0.020444029942154884, 0.004793725907802582, -0.00028507609385997057, 0.047485120594501495, -0.007940123789012432, -0.025449104607105255, -0.021243570372462273, -0.012475226074457169, -0.0699862539768219, -0.013088800013065338, 0.042831163853406906, 0.0021758433431386948, -0.014575054869055748, -0.0645737275481224, 0.010308267548680305, 0.02660398744046688, -0.0426623560488224, -0.008088703267276287, -0.07175824791193008, -0.2247321456670761, -0.03409657999873161, -0.07779476791620255, 0.031584955751895905, -0.05193047225475311, -0.012415778823196888, -0.019976671785116196, -0.025976598262786865, 0.02923499047756195, -0.030072269961237907, 0.07534939050674438, 0.06311415135860443, 0.03353377431631088, -0.036869436502456665, -0.09224501997232437, -0.050244659185409546, -0.04751376435160637, -0.015776915475726128, -0.03217494860291481, -0.019553586840629578, 0.007865636609494686, 0.013948368839919567, -0.06761880964040756, 0.026143601164221764, -0.027065832167863846, 0.052431486546993256, 0.017751745879650116, 0.009271309711039066, 0.06073126196861267, 0.052336253225803375, 0.033208537846803665, 0.07971804589033127, 0.02278807759284973, -0.127580463886261, 0.07258307188749313, 0.04786764830350876, 0.040042802691459656, -0.040256839245557785, -0.04142626002430916, 0.010209803469479084, 0.06981770694255829, -0.028929980471730232, 0.04508860409259796, 0.020765583962202072, 0.07643774151802063, 0.014130440540611744, -0.05515994504094124, -0.01625516451895237, -0.003062950912863016, 0.010179414413869381, 0.059245891869068146, -0.026993781328201294, -0.08647973835468292, -0.010958099737763405, -0.041410718113183975, 0.005892799235880375, -0.060656528919935226, 0.03734279051423073, -0.02582252211868763, 0.08883586525917053, 0.0528113916516304, -0.012297756969928741, 0.010102500207722187, 0.004711255431175232, 0.020624103024601936, -0.07916577905416489, -0.015023255720734596, 0.016212223097682, 0.014771927148103714, -0.060627590864896774, 0.18833942711353302, -0.041582077741622925, 0.01786588318645954, 0.011794322170317173, -0.022241169586777687, 0.02097221650183201, -0.05513298511505127, -0.0020340937189757824, 0.0007977612549439073, -0.007648366503417492, -0.007753029000014067, -0.02493153139948845, -0.027970654889941216, 0.042891114950180054, -0.04306451231241226, 0.018252946436405182, 0.04997922480106354, 0.0755087286233902, 0.02398611791431904, 0.010837000794708729, -0.03675612062215805, 0.07474467903375626, 0.016346292570233345, 0.04335543140769005, -0.029736552387475967, 0.02578224241733551, -0.024897869676351547, 0.057330112904310226, 0.12355068325996399, -0.006506682373583317, 0.06515335291624069, 0.041314590722322464, 0.011739884503185749, -0.09251278638839722, -0.012074204161763191, 0.00964083056896925, 0.03121207468211651, -0.011072280816733837, 0.015487886033952236, 0.05579577013850212, 0.013035084120929241, -0.05608025938272476, -0.03756016865372658, -0.014891030266880989, -0.1199033260345459, -0.023920990526676178, 0.14125730097293854, -0.01784425601363182, 0.07626306265592575, -0.022754449397325516, -0.023463381454348564, -0.0014380782376974821, 0.06580062955617905, -0.0765605941414833, -0.048397619277238846, -0.026805106550455093, 0.027530474588274956, -0.0008233989938162267, 0.061508145183324814, -0.01866152323782444, 0.009342136792838573, -0.03946748003363609, -0.0039580571465194225, -0.008885846473276615, 0.05198793113231659, 0.003388717770576477, -0.05431104078888893, -0.016470547765493393, 0.010979961603879929, 0.015349139459431171, -0.04825776442885399, -0.017513317987322807, 0.03110312484204769, -0.07378412038087845, -0.019126910716295242, 0.07041292637586594, -0.015013156458735466, -0.01829412393271923, 0.002286662580445409, 0.03067222237586975, 0.0037697600200772285, 0.03334100544452667, -0.04923252388834953, -0.05932307988405228, 0.07471668720245361, 0.007425002753734589, -0.06276979297399521, 0.0020557374227792025, -0.047855183482170105, 0.04929781332612038, 0.07878412306308746, -0.02865765616297722, -0.0018730524461716413, 0.002050968585535884, -0.022567931562662125, -0.015848562121391296, -0.05557692050933838, -0.0457751601934433, -0.0073911710642278194, 0.017531991004943848, -0.04148399457335472, 0.05953707545995712, 0.015976177528500557, -0.019826706498861313, 0.012780139222741127, -0.0009053584653884172, 0.05172070115804672, -0.003267361083999276, 0.0011388249695301056, 0.0370187908411026, 0.01892123930156231, -0.06625887006521225, 0.03174419701099396, 0.06071733683347702, 0.00951051339507103, -0.01503518782556057, -0.012012770399451256, -0.043496277183294296, 0.022369928658008575, 0.047857530415058136, 0.01216793805360794, 0.06245148181915283, -0.03965812176465988, -0.005368456244468689, -0.25740182399749756, -0.02371976338326931, 0.017926236614584923, -0.011639725416898727, 0.020405158400535583, -0.04156210646033287, 0.02151607908308506, -0.011126640252768993, -0.020194806158542633, 0.07731259614229202, 0.048830896615982056, -0.01600337214767933, -0.005123564042150974, 0.02574792318046093, 0.0073777479119598866, 0.039729613810777664, 0.0018960604211315513, 0.000686112092807889, -0.00932577159255743, 0.0006433518137782812, -0.00804485846310854, 0.029293475672602654, -0.023514045402407646, -0.0696370080113411, 0.032220836728811264, -0.011882704682648182, 0.19930139183998108, 0.04619966819882393, -0.007095274515450001, -0.05189310386776924, 0.05511702597141266, -0.02265246957540512, 0.02554824762046337, -0.04630821570754051, 0.004180917516350746, 0.05605154111981392, 0.005411460995674133, 0.03226877376437187, -0.013615360483527184, 0.03396700695157051, -0.04642258584499359, 0.007896975614130497, 0.0053180307149887085, -0.06856212764978409, -0.020139440894126892, -0.04289501905441284, -0.0364401750266552, 0.030586404725909233, -0.04653627425432205, 0.013924715109169483, 0.02300143614411354, -0.02895762212574482, 0.08317307382822037, 0.02528463676571846, 0.00165563786868006, -0.011668349616229534, -0.06371986120939255, 0.01816137693822384, -0.013975391164422035, 0.028641624376177788, -0.02350645884871483, -0.025747831910848618, -0.004902593791484833, -0.03349592536687851, 0.07205939292907715, 0.004298421088606119, 0.04672194644808769, -0.02164672687649727, 0.015685196965932846, -0.045963071286678314, -0.045899827033281326, 0.08411529660224915, -0.02956746704876423, 0.020727811381220818, 0.02368517965078354, 0.05415266007184982, 0.006575938779860735, -0.035467542707920074, -0.0282608475536108, -0.03245944529771805, 0.057179052382707596, 0.007240314036607742, 0.006157088093459606, 0.03647718206048012, -0.01533431001007557, 0.0030164269264787436, 0.030508683994412422, 0.021506216377019882, 0.0059079378843307495, -0.04532165080308914, -0.03521521016955376, 0.027941713109612465, -0.0605512410402298, -0.020871231332421303, 0.03355919569730759, -0.011656616814434528, -0.321175217628479, -0.005457086488604546, 0.013217487372457981, 0.024406882002949715, 0.018482109531760216, 0.023651106283068657, 0.0001299177820328623, 0.019373752176761627, -0.04473475366830826, 0.049491316080093384, -0.03427230566740036, 0.06027483195066452, 0.022415610030293465, 0.011047499254345894, 0.010691298171877861, 0.05209321156144142, -0.011752850376069546, -0.02792169898748398, 0.07387495785951614, -0.07389748096466064, 0.04677031189203262, 0.02958201803267002, 0.25720855593681335, 0.025534652173519135, 0.022131843492388725, 0.05408031865954399, -0.018921976909041405, 0.020681731402873993, 0.050229549407958984, -0.021164163947105408, 0.0085824653506279, 0.02064410224556923, 0.0715475082397461, -0.06282845884561539, 0.04419594258069992, 0.013142585754394531, -0.03969031944870949, 0.07070142775774002, 0.02861141972243786, -0.004832865670323372, -0.03543425351381302, -0.0020906582940369844, -0.0064340615645051, 0.008183404803276062, 0.11474262177944183, -0.04023898392915726, -0.07563026994466782, -0.04564556106925011, -0.02465924806892872, 0.04491497203707695, -0.08133848756551743, -0.033988095819950104, 0.0057878619991242886, -0.012493669055402279, 0.024229522794485092, 0.029930677264928818, 0.004774225410073996, -0.0461718924343586, -0.06552919000387192, -0.018492911010980606, -0.00926276110112667, -0.07755199074745178, 0.0127804484218359, 0.03558782488107681, -0.021622350439429283 ]
devcenter
https://www.mongodb.com/developer/products/mongodb/atlas-open-ai-review-summary
created
return sampledReviews; } ``` ### Main trigger logic The main trigger logic is invoked when an update change event is detected with a `"process" : false` field. ```javascript exports = async function(changeEvent) { // A Database Trigger will always call a function with a changeEvent. // Documentation on ChangeEvents: https://www.mongodb.com/docs/manual/reference/change-events // This sample function will listen for events and replicate them to a collection in a different Database function sampleReviews(reviews) { // Logic above... if (reviews.length <= 50) { return reviews; } const sampledReviews = []; const seenIndices = new Set(); while (sampledReviews.length < 50) { const randomIndex = Math.floor(Math.random() * reviews.length); if (!seenIndices.has(randomIndex)) { seenIndices.add(randomIndex); sampledReviews.push(reviews[randomIndex]); } }
md
{ "tags": [ "MongoDB", "JavaScript", "AI", "Node.js" ], "pageDescription": "Uncover the synergy of MongoDB Atlas triggers and OpenAI models in real-time analysis and summarization of Airbnb reviews. ", "contentType": "Tutorial" }
Using MongoDB Atlas Triggers to Summarize Airbnb Reviews with OpenAI
2024-05-20T17:32:23.500Z
[ -0.07496263831853867, -0.0022931282874196768, 0.015449314378201962, -0.032833877950906754, 0.0274550449103117, 0.023118797689676285, 0.040175266563892365, 0.06100309640169144, 0.019930480048060417, -0.014482250437140465, -0.013135907240211964, -0.04342693090438843, 0.0036264185328036547, 0.047674015164375305, -0.02095816656947136, 0.002703540027141571, -0.01807858981192112, -0.029787622392177582, -0.054402049630880356, -0.018537817522883415, 0.025597235187888145, -0.01623210869729519, -0.007547144778072834, -0.04344843327999115, 0.024264786392450333, 0.04574121907353401, -0.02343820221722126, -0.018024537712335587, -0.04892485588788986, -0.201643705368042, 0.004162245895713568, -0.07264216989278793, 0.052506789565086365, -0.040060415863990784, 0.028708696365356445, -0.03929087147116661, -0.026130525395274162, 0.018791355192661285, -0.01616848260164261, 0.053473662585020065, 0.03630411624908447, 0.014896911568939686, -0.017054758965969086, -0.10572299361228943, -0.02843661420047283, -0.07110124081373215, 0.014137199148535728, -0.028764739632606506, -0.0037981951609253883, 0.024997157976031303, -0.023311275988817215, -0.044306106865406036, -0.0014175660908222198, -0.039604302495718, 0.03213300555944443, 0.022547973319888115, 0.018557891249656677, 0.023029720410704613, 0.07583139091730118, 0.011393454857170582, 0.06795749068260193, 0.02980867587029934, -0.19807907938957214, 0.05515174940228462, 0.021751802414655685, 0.05736469477415085, -0.05721746012568474, -0.04458491504192352, 0.013509864918887615, 0.030797503888607025, -0.031935662031173706, 0.03050854802131653, 0.008315620012581348, 0.03988949581980705, 0.017581209540367126, -0.0477352999150753, 0.0034276864025741816, -0.048898689448833466, -0.029942477121949196, 0.04593777656555176, -0.047746721655130386, -0.0331011526286602, -0.032292697578668594, -0.04819203540682793, 0.007647664286196232, -0.043030329048633575, 0.028709454461932182, -0.021959854289889336, 0.08678987622261047, 0.052601367235183716, -0.02029002457857132, 0.004849100951105356, 0.025314942002296448, 0.02367878332734108, -0.05697169527411461, -0.016454797238111496, 0.044884443283081055, 0.02223832719027996, -0.008404476568102837, 0.2225561887025833, -0.0508568249642849, 0.09141030162572861, -0.002402417128905654, 0.0006341562257148325, 0.016250362619757652, -0.05961715057492256, -0.021025948226451874, -0.029333090409636497, 0.0002551089564803988, 0.015363156795501709, 0.0006724353297613561, -0.034513089805841446, 0.0451420322060585, -0.07880260795354843, 0.03271746635437012, 0.05544019490480423, 0.05529196932911873, 0.062227763235569, 0.010679000057280064, -0.0070558758452534676, 0.055280156433582306, 0.032746393233537674, 0.06368280202150345, -0.043703433126211166, 0.06570141017436981, -0.03786842152476311, 0.041625116020441055, 0.10271148383617401, 0.01521786954253912, 0.05412554740905762, 0.028515508398413658, -0.005988148972392082, -0.09826472401618958, -0.018174435943365097, 0.026360809803009033, 0.0031045011710375547, 0.0017104612197726965, 0.015351771377027035, 0.058333318680524826, 0.006993281189352274, -0.05766817182302475, -0.06768467277288437, -0.022439634427428246, -0.10863856226205826, -0.06193459406495094, 0.11520440131425858, -0.041677944362163544, 0.05964813753962517, -0.04872995242476463, -0.014225360006093979, 0.01061604917049408, 0.053489621728658676, -0.06574176996946335, -0.03417592495679855, 0.005753057077527046, 0.01704416610300541, 0.015243067406117916, 0.04314130172133446, -0.05373825877904892, 0.03960990905761719, -0.02333180420100689, 0.011364265345036983, 0.0037250493187457323, 0.10368924587965012, 0.028381582349538803, -0.0782671570777893, -0.003856681054458022, 0.007102642673999071, -0.003825129009783268, -0.03436167910695076, -0.03234032168984413, 0.022711247205734253, -0.06539502739906311, -0.010493150912225246, 0.06963307410478592, -0.00004102628008695319, -0.032164428383111954, -0.028759460896253586, 0.014171907678246498, -0.03320571780204773, 0.04108956456184387, -0.038515325635671616, -0.07304202765226364, 0.09573255479335785, 0.017783354967832565, -0.06904588639736176, 0.022338297218084335, -0.033873774111270905, 0.0662643313407898, 0.07979460805654526, -0.029397575184702873, -0.02799024060368538, -0.005361609626561403, 0.03825961425900459, -0.019529571756720543, -0.04011058807373047, -0.05087842047214508, -0.01700548641383648, 0.014819314703345299, -0.0343700535595417, 0.059727709740400314, 0.01589396595954895, -0.017133206129074097, 0.02550623193383217, 0.01299163419753313, 0.04996761679649353, -0.05746567249298096, 0.0007413316052407026, 0.04506829380989075, 0.005852960515767336, -0.05737406015396118, 0.03353483974933624, 0.034005068242549896, 0.00955498032271862, -0.027728702872991562, -0.016299603506922722, -0.009193995967507362, 0.035618361085653305, 0.020815519616007805, -0.016747070476412773, 0.04015985503792763, -0.055129438638687134, -0.005078641232103109, -0.25972506403923035, 0.002644042484462261, 0.00035863634548150003, 0.009486228227615356, 0.045801497995853424, -0.041892196983098984, 0.0012650445569306612, -0.005616643000394106, 0.010609691962599754, 0.10263623297214508, 0.07194598764181137, 0.018929095938801765, -0.013069923967123032, 0.005323098506778479, 0.016129594296216965, 0.049254342913627625, -0.013448280282318592, 0.021941257640719414, -0.018264247104525566, -0.0036546699702739716, -0.024153243750333786, 0.019959257915616035, -0.004684478044509888, -0.07664462178945541, 0.037933170795440674, -0.01594049669802189, 0.21878890693187714, 0.043760672211647034, -0.008004787378013134, -0.0382009781897068, 0.04228693246841431, -0.001046253484673798, 0.023174574598670006, -0.07887931913137436, 0.04535384476184845, 0.03762592375278473, 0.015495705418288708, 0.043048884719610214, -0.010541808791458607, -0.022593025118112564, -0.007724500261247158, 0.025905758142471313, 0.01778534986078739, -0.10611838847398758, -0.052637405693531036, -0.05147404596209526, -0.03976066783070564, 0.022142665460705757, -0.04252907633781433, 0.01278329361230135, -0.014973876066505909, -0.033334337174892426, 0.04306114464998245, -0.0056842598132789135, -0.02702643908560276, 0.001164979999884963, -0.08419813215732574, 0.02880089171230793, -0.047015175223350525, 0.036730386316776276, -0.02031746879220009, -0.0039393166080117226, 0.020788118243217468, -0.04223479703068733, 0.03690194711089134, -0.004197784699499607, 0.018501322716474533, -0.013749067671597004, 0.022012919187545776, -0.032853174954652786, -0.03806466609239578, 0.06268005818128586, -0.035560254007577896, 0.022043749690055847, 0.0468054823577404, 0.06061355024576187, 0.001196813303977251, -0.04630329832434654, -0.03382441774010658, -0.047687482088804245, 0.03734448924660683, 0.008528084494173527, -0.015546031296253204, 0.01904279924929142, 0.007629006169736385, 0.03153424337506294, 0.024697110056877136, -0.011319203302264214, -0.009218420833349228, -0.022722961381077766, -0.0027144437190145254, 0.022253697738051414, -0.08418134599924088, -0.04570277780294418, 0.030845725908875465, -0.013379332609474659, -0.27968651056289673, -0.0018909084610641003, 0.0017903369152918458, 0.06184662505984306, 0.030888009816408157, 0.010326907970011234, 0.027943678200244904, 0.036060310900211334, -0.04838666692376137, 0.020816657692193985, 0.008094586431980133, 0.03628511354327202, 0.02911214530467987, 0.013241283595561981, -0.0003100672329310328, 0.038580842316150665, 0.034884508699178696, -0.05056041106581688, 0.07651234418153763, -0.05301107093691826, 0.02440408058464527, 0.05953720211982727, 0.24033302068710327, 0.06662867963314056, 0.010180160403251648, 0.006142169237136841, -0.006133990362286568, 0.00630230363458395, 0.0387791208922863, -0.011956890113651752, 0.007113437633961439, -0.004385525360703468, 0.07126495987176895, -0.05158428102731705, 0.015092143788933754, 0.0471465028822422, -0.05033038184046745, 0.07384224236011505, 0.034304820001125336, -0.02254323475062847, -0.044037461280822754, -0.009625077247619629, -0.02326490730047226, -0.017632707953453064, 0.11283566802740097, -0.03462710604071617, -0.08428514003753662, -0.04090392217040062, -0.0021161192562431097, 0.040667157620191574, -0.07153429090976715, -0.016036638990044594, 0.021809687837958336, -0.017541643232107162, 0.016499998047947884, 0.039888039231300354, -0.03858783468604088, -0.007085135672241449, -0.04976162686944008, -0.008788827806711197, 0.04210188239812851, -0.06754235923290253, 0.02747255004942417, 0.015230474062263966, 0.006723036989569664 ]
devcenter
https://www.mongodb.com/developer/products/mongodb/atlas-open-ai-review-summary
created
return sampledReviews; } // Access the _id of the changed document: const docId = changeEvent.documentKey._id; const doc= changeEvent.fullDocument; // Get the MongoDB service you want to use (see "Linked Data Sources" tab) const serviceName = "mongodb-atlas"; const databaseName = "sample_airbnb"; const collection = context.services.get(serviceName).db(databaseName).collection(changeEvent.ns.coll); // This function is the endpoint's request handler. // URL to make the request to the OpenAI API. const url = 'https://api.openai.com/v1/chat/completions'; // Fetch the OpenAI key stored in the context values. const openai_key = context.values.get("openAIKey");
md
{ "tags": [ "MongoDB", "JavaScript", "AI", "Node.js" ], "pageDescription": "Uncover the synergy of MongoDB Atlas triggers and OpenAI models in real-time analysis and summarization of Airbnb reviews. ", "contentType": "Tutorial" }
Using MongoDB Atlas Triggers to Summarize Airbnb Reviews with OpenAI
2024-05-20T17:32:23.500Z
[ -0.031809691339731216, -0.01273814681917429, 0.015823574736714363, -0.00680987723171711, 0.050974052399396896, 0.03372253477573395, 0.02040598727762699, 0.06981812417507172, -0.011519516818225384, 0.000307806592900306, -0.02120952121913433, -0.056947194039821625, -0.012161685153841972, 0.060925304889678955, -0.010835953988134861, 0.011247111484408379, -0.011471063829958439, -0.02755378559231758, -0.04299550876021385, 0.012273651547729969, 0.013118808157742023, -0.030895309522747993, 0.018571380525827408, -0.05924880877137184, 0.024718027561903, 0.04404658079147339, -0.021624401211738586, -0.04618893563747406, -0.05494978278875351, -0.17999114096164703, -0.011570911854505539, -0.007399440743029118, 0.07987846434116364, -0.03145277872681618, 0.041850291192531586, -0.027825267985463142, -0.011053187772631645, 0.005353499203920364, 0.011000110767781734, 0.052847255021333694, 0.051561739295721054, -0.0003537769662216306, -0.0009798125829547644, -0.0989837571978569, -0.03476640582084656, -0.06597261130809784, 0.009182784706354141, 0.010092373006045818, 0.017621135339140892, 0.013866394758224487, -0.03049089014530182, -0.07098471373319626, 0.015743227675557137, -0.016674982383847237, 0.029291970655322075, 0.025252103805541992, 0.009297432377934456, 0.014852561056613922, 0.05331885442137718, 0.054975710809230804, 0.05428227409720421, 0.04309140890836716, -0.19172976911067963, 0.056896381080150604, 0.008653108030557632, 0.08910434693098068, -0.08698095381259918, -0.0144597003236413, 0.03044041059911251, -0.006525237113237381, -0.043080348521471024, 0.026637738570570946, 0.021423090249300003, 0.04021797701716423, 0.012217558920383453, -0.004374530632048845, -0.01624738797545433, -0.020860377699136734, -0.01265689730644226, 0.02526019886136055, -0.04207911714911461, -0.01724781095981598, -0.027655377984046936, -0.028592228889465332, -0.023044107481837273, -0.050336241722106934, 0.017151392996311188, -0.05221233889460564, 0.06672387570142746, 0.05154924467206001, -0.029171036556363106, -0.029188640415668488, 0.017566753551363945, 0.058628492057323456, -0.09061633795499802, -0.02509089931845665, 0.048081446439027786, 0.053212862461805344, 0.028530092909932137, 0.2334432303905487, -0.08635558933019638, 0.09535431861877441, 0.03438353165984154, -0.0446711890399456, 0.003524955129250884, -0.059622544795274734, -0.019029946997761726, -0.050206735730171204, -0.01975741609930992, 0.05194282904267311, -0.030929062515497208, -0.015273891389369965, 0.027253057807683945, -0.025707392022013664, 0.03592824563384056, 0.04238838329911232, 0.05172335356473923, 0.06548035889863968, -0.006425125058740377, -0.009595464915037155, 0.01168400701135397, 0.023889819160103798, 0.04942238703370094, -0.025404617190361023, 0.0396316759288311, -0.05402592569589615, 0.07480344921350479, 0.0851636603474617, 0.01298057846724987, 0.02827543392777443, 0.052705585956573486, -0.0018322422401979566, -0.0858597680926323, -0.01227512490004301, 0.012563210912048817, 0.020465144887566566, -0.003094237996265292, 0.010293894447386265, 0.021275391802191734, 0.021381260827183723, -0.04175903648138046, -0.07604578137397766, -0.01340852864086628, -0.06821862608194351, -0.06720255315303802, 0.11292827129364014, -0.0459405779838562, 0.05834844708442688, -0.031945135444402695, -0.0435030423104763, 0.05881494656205177, 0.06924419850111008, -0.07936245948076248, 0.0008523789583705366, 0.015897640958428383, -0.0024063391610980034, 0.043415408581495285, 0.06538186222314835, -0.04183708503842354, 0.05549822747707367, 0.004675063770264387, -0.03834758326411247, -0.011364771984517574, 0.12034301459789276, 0.053992368280887604, -0.11287659406661987, -0.01895863376557827, 0.0037714557256549597, -0.02062935382127762, 0.007599737495183945, -0.02187850885093212, 0.016303587704896927, -0.047328926622867584, -0.0030180218163877726, 0.09572190046310425, 0.01914766989648342, -0.03831923007965088, -0.0057138362899422646, 0.022971082478761673, -0.047088347375392914, -0.008301015943288803, -0.051880206912755966, -0.08254296332597733, 0.08969958126544952, 0.019389886409044266, -0.05526884272694588, 0.011049008928239346, -0.0510280542075634, 0.0294200386852026, 0.08225330710411072, -0.030819721519947052, -0.0348614901304245, 0.004460695665329695, 0.04037276282906532, -0.020624682307243347, -0.02746335230767727, -0.06543847918510437, -0.015430510975420475, 0.034056659787893295, -0.052837420254945755, 0.07895945757627487, 0.01890033669769764, -0.028916358947753906, 0.012792798690497875, -0.005096099805086851, 0.021782828494906425, -0.018728390336036682, 0.0041205501183867455, 0.0564998984336853, -0.023286454379558563, -0.05309305340051651, 0.011157267726957798, 0.010793673805892467, 0.02224847488105297, 0.009030287154018879, -0.027755049988627434, 0.009121428243815899, 0.007960419170558453, -0.016224537044763565, 0.014987432397902012, 0.014908455312252045, -0.08242657035589218, -0.01616801880300045, -0.24583186209201813, 0.006271451711654663, -0.005602109711617231, -0.00595696410164237, 0.04685549810528755, -0.060517817735672, 0.026630517095327377, -0.00354283326305449, 0.018327895551919937, 0.07862052321434021, 0.0824793353676796, 0.037099942564964294, -0.02049809694290161, 0.0056786201894283295, 0.007595801260322332, 0.06089705601334572, 0.02291620709002018, -0.004994178656488657, -0.023531321436166763, -0.004781022667884827, -0.009076527319848537, 0.002942122519016266, 0.0020020692609250546, -0.06799757480621338, 0.0698273703455925, -0.040578845888376236, 0.2062780261039734, 0.023237772285938263, 0.002274193335324526, -0.024712394922971725, 0.05311451852321625, 0.005116678308695555, 0.021049359813332558, -0.1452331840991974, 0.03495350480079651, 0.042503707110881805, 0.03430681675672531, 0.04045886546373367, 0.003519999561831355, -0.07001601904630661, -0.003299024421721697, 0.03510104864835739, 0.007441684138029814, -0.11011064797639847, -0.04137743264436722, -0.04560588672757149, -0.04612895846366882, -0.007339121773838997, -0.05746893957257271, -0.00357953947968781, -0.03675001114606857, 0.0031896040309220552, 0.02824372798204422, -0.004454579204320908, -0.025183621793985367, -0.020480766892433167, -0.050728484988212585, 0.030611902475357056, -0.03494076058268547, 0.05207158252596855, -0.004187587648630142, 0.00041079637594521046, 0.05936555564403534, -0.058307498693466187, 0.03486242517828941, -0.013281792402267456, -0.005007954780012369, -0.01710132509469986, 0.028895726427435875, -0.04814024642109871, -0.013758184388279915, 0.04493384063243866, -0.03827877715229988, 0.03360878303647041, 0.04023284465074539, 0.02503342181444168, 0.013113537803292274, -0.05032692477107048, -0.026391973719000816, -0.03049708530306816, 0.000494657491799444, 0.012845508754253387, 0.014741812832653522, 0.010187632404267788, 0.022889534011483192, 0.046172287315130234, 0.030528485774993896, -0.00992745254188776, 0.007098116911947727, -0.040957771241664886, -0.001934807631187141, 0.011720721609890461, -0.047757890075445175, -0.06428597867488861, 0.04542666673660278, 0.023724105209112167, -0.2597205340862274, 0.028469856828451157, 0.004346475005149841, 0.04748014733195305, -0.0046074106357991695, 0.039559606462717056, 0.016218282282352448, 0.021969320252537727, -0.03847944363951683, 0.024342942982912064, 0.018533723428845406, 0.034186169505119324, -0.0018327609868720174, -0.019525596871972084, -0.006309062708169222, 0.037374310195446014, 0.05985496565699577, -0.011100581847131252, 0.05453340709209442, -0.047165125608444214, -0.001256259623914957, 0.05829735845327377, 0.2558407783508301, 0.023776568472385406, 0.012772887013852596, 0.008731686510145664, -0.028633350506424904, 0.037660326808691025, 0.03230682387948036, -0.031021863222122192, -0.006099978927522898, -0.03150782734155655, 0.057403672486543655, -0.05171917378902435, 0.00322141801007092, 0.057284899055957794, -0.029106788337230682, 0.033244069665670395, 0.027057666331529617, -0.04309319332242012, -0.033021699637174606, -0.031129997223615646, -0.03277190029621124, -0.024918975308537483, 0.10904979705810547, -0.01825895346701145, -0.05713467672467232, -0.0476762056350708, -0.01245628111064434, 0.037003740668296814, -0.04250121861696243, -0.05195068195462227, -0.006132211070507765, 0.012497691437602043, 0.01535208523273468, 0.050917066633701324, -0.05210832506418228, 0.014308507554233074, -0.026155579835176468, -0.04104843735694885, 0.03685717657208443, -0.08247459679841995, 0.005081078503280878, -0.00858709029853344, 0.006305763963609934 ]
devcenter
https://www.mongodb.com/developer/products/mongodb/atlas-open-ai-review-summary
created
// Fetch the OpenAI key stored in the context values. const openai_key = context.values.get("openAIKey"); const reviews = doc.reviews.map((review) => {return {"comments" : review.comments}}); const sampledReviews= sampleReviews(reviews); // Prepare the request string for the OpenAI API. const reqString = `Summerize the reviews provided here: ${JSON.stringify(sampledReviews)} | instructions example:\n\n [{"comment" : "Very Good bed"} ,{"comment" : "Very bad smell"} ] \nOutput: {"overall_review": "Overall good beds and bad smell" , "neg_tags" : ["bad smell"], pos_tags : ["good bed"]}. No explanation. No 'Output:' string in response. Valid JSON. `; console.log(`reqString: ${reqString}`);
md
{ "tags": [ "MongoDB", "JavaScript", "AI", "Node.js" ], "pageDescription": "Uncover the synergy of MongoDB Atlas triggers and OpenAI models in real-time analysis and summarization of Airbnb reviews. ", "contentType": "Tutorial" }
Using MongoDB Atlas Triggers to Summarize Airbnb Reviews with OpenAI
2024-05-20T17:32:23.500Z
[ -0.035808634012937546, 0.0012021007714793086, 0.008661667816340923, -0.05116145312786102, 0.04451536014676094, -0.016249194741249084, 0.04040682688355446, 0.04493623226881027, 0.0037132801953703165, -0.017337320372462273, -0.04771295562386513, -0.050985898822546005, 0.03205788880586624, 0.06435735523700714, 0.006542092654854059, -0.02364509552717209, -0.02442862279713154, -0.008656247518956661, -0.06843738257884979, 0.010062324814498425, 0.053433407098054886, -0.02470906265079975, 0.003046764060854912, -0.07318851351737976, 0.030989035964012146, 0.07663746923208237, -0.03135870769619942, -0.008009688928723335, -0.05381106957793236, -0.21467192471027374, -0.056475527584552765, -0.08241884410381317, 0.05054917186498642, -0.039175089448690414, 0.0038692201487720013, -0.014345510862767696, 0.01990213803946972, 0.0019497597822919488, -0.03034207783639431, 0.04060906544327736, 0.028870945796370506, -0.015299176797270775, -0.03974011912941933, -0.07868485897779465, -0.0005172147648409009, -0.07496669888496399, -0.06731380522251129, -0.01127398107200861, 0.017247064039111137, 0.0038555776700377464, -0.01981772854924202, -0.05186447873711586, 0.0020543010905385017, -0.00782605167478323, 0.05673172324895859, 0.04473264887928963, -0.012459546327590942, 0.08644115179777145, 0.020348098129034042, 0.04789292439818382, 0.06272811442613602, 0.023201363161206245, -0.16636809706687927, 0.10294090956449509, 0.057934898883104324, 0.026431502774357796, -0.029149256646633148, -0.01032005250453949, -0.010303769260644913, -0.003334339242428541, 0.010007904842495918, 0.01778826117515564, 0.049831073731184006, 0.06180288642644882, 0.0077336858958005905, 0.017250483855605125, -0.045900359749794006, -0.031292784959077835, 0.06348620355129242, 0.04940180480480194, -0.037161361426115036, -0.05558961629867554, -0.012243038974702358, -0.005886853206902742, 0.02347828820347786, -0.047246187925338745, -0.01800500974059105, -0.0314423032104969, 0.05871156230568886, 0.014386569149792194, -0.024100299924612045, -0.053261883556842804, -0.023988688364624977, 0.0177089124917984, -0.08316702395677567, -0.01685846410691738, 0.02624685876071453, 0.011167447082698345, -0.0750422552227974, 0.21568931639194489, -0.07155884802341461, 0.03380090743303299, 0.027073821052908897, -0.04442920535802841, 0.025228500366210938, -0.0544646754860878, -0.03271399810910225, -0.05356713756918907, -0.019041748717427254, 0.016726316884160042, -0.04324019327759743, -0.0009936396963894367, 0.010934235528111458, -0.0204023290425539, 0.01975732110440731, 0.04000239819288254, 0.02831338346004486, 0.0654975101351738, -0.0036973420064896345, -0.01575961709022522, 0.030540795996785164, 0.013252384960651398, -0.009370669722557068, -0.021872658282518387, 0.024943407624959946, -0.03374803811311722, 0.02871379815042019, 0.09954696893692017, 0.020930780097842216, 0.030469434335827827, 0.07145453244447708, -0.023496665060520172, -0.08965075761079788, -0.01429604459553957, -0.0119273466989398, 0.014267987571656704, 0.007046591956168413, 0.014129449613392353, 0.02700602263212204, 0.017486106604337692, -0.02961505949497223, -0.0870552510023117, -0.04919034615159035, -0.08122788369655609, -0.047480568289756775, 0.09952659159898758, -0.02443159557878971, 0.06571250408887863, -0.022598346695303917, 0.007281531114131212, -0.0005717459134757519, 0.06378818303346634, -0.04732225835323334, -0.026662055402994156, 0.03071269765496254, 0.05156426504254341, 0.004854649771004915, 0.048296183347702026, -0.024701636284589767, 0.040537457913160324, -0.03954870253801346, -0.020184148102998734, -0.026500249281525612, 0.05311020836234093, 0.03255200386047363, -0.07882703095674515, -0.020177286118268967, 0.002496089320629835, 0.021265879273414612, -0.01946721412241459, 0.03533797711133957, 0.026431435719132423, -0.07565801590681076, 0.005949556827545166, 0.060508422553539276, 0.021876491606235504, -0.024843532592058182, -0.0004464559897314757, 0.01841128058731556, -0.004433562513440847, -0.018437830731272697, -0.022369541227817535, -0.04756497964262962, 0.021667780354619026, 0.05593964457511902, -0.045055024325847626, -0.0221896693110466, -0.045160748064517975, 0.0006090201786719263, 0.06191789731383324, -0.01538844034075737, -0.03872120380401611, -0.009707480669021606, 0.013359254226088524, -0.009254857897758484, -0.023145224899053574, -0.0053142947144806385, -0.035378847271203995, 0.015762748196721077, -0.02682925947010517, 0.12299248576164246, 0.020216191187500954, -0.018045900389552116, 0.055181898176670074, -0.01916591078042984, 0.04035378620028496, 0.0006293951300904155, -0.033884402364492416, 0.02377789095044136, 0.007531552109867334, -0.055250346660614014, 0.019922463223338127, 0.0026048433501273394, 0.0019277507672086358, -0.038880493491888046, -0.045977216213941574, 0.029836108908057213, -0.019820863381028175, 0.05576664209365845, 0.055505525320768356, 0.006636872421950102, -0.07360096275806427, -0.09788259118795395, -0.23553632199764252, 0.018776115030050278, 0.020614303648471832, -0.03385580703616142, 0.034505411982536316, -0.07413984090089798, 0.03439712151885033, -0.01845068484544754, 0.016505355015397072, 0.06958285719156265, 0.059260766953229904, 0.04445316642522812, 0.015752101317048073, 0.023586180061101913, 0.026617281138896942, 0.041216157376766205, 0.018821246922016144, 0.019852235913276672, -0.01263263076543808, 0.04364287853240967, -0.012368885800242424, 0.002530363854020834, 0.002401743782684207, -0.0667768269777298, 0.03853846713900566, -0.0456990972161293, 0.23670820891857147, 0.0220283605158329, 0.012928051874041557, -0.03290722519159317, 0.05277638882398605, 0.010804577730596066, 0.0018266127444803715, -0.1596531867980957, 0.059207186102867126, 0.006811497267335653, 0.03267352655529976, 0.05786120146512985, 0.011951711028814316, 0.0015107187209650874, -0.006091003771871328, 0.05906260386109352, -0.03302455320954323, -0.037414226680994034, -0.0065758368000388145, -0.06192276254296303, -0.050437625497579575, 0.022081835195422173, -0.04144863784313202, 0.029735762625932693, 0.00679306173697114, 0.0061306725256145, 0.05096370726823807, 0.05448346212506294, -0.030252281576395035, -0.02159392088651657, -0.03276384621858597, 0.013031796552240849, -0.01429585088044405, 0.0008041340624913573, 0.0006068708025850356, -0.03179877996444702, 0.020048124715685844, -0.052840448915958405, 0.03175727277994156, 0.020926620811223984, 0.023209840059280396, 0.01877167448401451, 0.01869220845401287, -0.06237669661641121, -0.04985090345144272, 0.10604202002286911, -0.02685089036822319, 0.06435120105743408, 0.04951845481991768, 0.04953937232494354, 0.0013455733424052596, -0.060737140476703644, 0.028421562165021896, -0.001945367082953453, 0.0483609214425087, 0.016077082604169846, 0.036571890115737915, 0.024745047092437744, 0.03173595666885376, 0.012174674309790134, 0.0010259209666401148, 0.007164166308939457, 0.04773756116628647, -0.05548686534166336, 0.009207028895616531, 0.009145471267402172, -0.03651992231607437, -0.06206773594021797, 0.04079972207546234, -0.009655837900936604, -0.2851252853870392, 0.03839446231722832, 0.05246977135539055, 0.015535946935415268, 0.0232937503606081, 0.05120774358510971, 0.02701045572757721, -0.017925862222909927, -0.04621010646224022, 0.04112284630537033, 0.004725993610918522, 0.03140214830636978, -0.013049863278865814, -0.058375656604766846, -0.02248426154255867, 0.02467050775885582, 0.0031126008834689856, -0.01328411977738142, 0.06242814660072327, -0.05030406266450882, 0.05113959312438965, 0.08485155552625656, 0.2524681091308594, -0.0126387570053339, 0.0016753340605646372, 0.06462930142879486, -0.0237992275506258, 0.014589307829737663, 0.08787748217582703, -0.016325434669852257, 0.030386028811335564, -0.025893427431583405, 0.09643431007862091, -0.006667927838861942, 0.03744048997759819, -0.022199662402272224, -0.06422994285821915, 0.016812315210700035, 0.027303049340844154, -0.02133943885564804, -0.036097653210163116, -0.024869106709957123, 0.003351581981405616, -0.01128928828984499, 0.04658767953515053, -0.03932299092411995, -0.021543925628066063, -0.06355620175600052, -0.0021357289515435696, -0.008462064899504185, -0.026738910004496574, -0.045194223523139954, 0.0029661343432962894, -0.0021260250359773636, -0.00688434112817049, 0.04384779557585716, -0.004759309813380241, -0.040836840867996216, -0.034042585641145706, -0.01349543035030365, -0.004604360554367304, -0.08351927250623703, 0.009016389958560467, 0.03473217040300369, -0.02156486175954342 ]
devcenter
https://www.mongodb.com/developer/products/mongodb/atlas-open-ai-review-summary
created
// Call OpenAI API to get the response. let resp = await context.http.post({ url: url, headers: { 'Authorization': [`Bearer ${openai_key}`], 'Content-Type': ['application/json'] }, body: JSON.stringify({ model: "gpt-4", temperature: 0, messages: [ { "role": "system", "content": "Output json generator follow only provided example on the current reviews" }, { "role": "user", "content": reqString } ] }) }); // Parse the JSON response let responseData = JSON.parse(resp.body.text()); // Check the response status. if(resp.statusCode === 200) { console.log("Successfully received code."); console.log(JSON.stringify(responseData));
md
{ "tags": [ "MongoDB", "JavaScript", "AI", "Node.js" ], "pageDescription": "Uncover the synergy of MongoDB Atlas triggers and OpenAI models in real-time analysis and summarization of Airbnb reviews. ", "contentType": "Tutorial" }
Using MongoDB Atlas Triggers to Summarize Airbnb Reviews with OpenAI
2024-05-20T17:32:23.500Z
[ -0.029451776295900345, 0.01280142180621624, 0.010928797535598278, -0.06095277518033981, 0.03169967979192734, 0.0031140462961047888, 0.05159224569797516, 0.04979121312499046, 0.022862166166305542, 0.006799749564379454, -0.01923985779285431, -0.053314026445150375, 0.02966015599668026, 0.08344605565071106, 0.019519221037626266, -0.014336186461150646, 0.01528517622500658, -0.021263498812913895, -0.07404568791389465, 0.0171582642942667, 0.05345594137907028, -0.03517456352710724, -0.005821241531521082, -0.05505703389644623, 0.006996289826929569, 0.06170468032360077, -0.02623344399034977, -0.010072890669107437, -0.05403856560587883, -0.15977966785430908, -0.047418322414159775, -0.09535489231348038, 0.058972667902708054, -0.04816729202866554, -0.0181809663772583, 0.004433201625943184, 0.008909891359508038, -0.004477485548704863, -0.046391308307647705, 0.04465703293681145, 0.010294404812157154, 0.002552383579313755, -0.023062434047460556, -0.051267556846141815, 0.022648511454463005, -0.04665297642350197, -0.04895719140768051, 0.002766154706478119, -0.0028035284485667944, -0.04739432409405708, -0.011384456418454647, -0.04860090836882591, 0.020228160545229912, -0.007349548861384392, 0.06505206227302551, 0.02328578196465969, 0.0006001037545502186, 0.07143943756818771, 0.012960365042090416, 0.06162460893392563, 0.048893123865127563, 0.028989367187023163, -0.18038082122802734, 0.09647081792354584, 0.06635992228984833, 0.04090123996138573, -0.029370218515396118, -0.009494530968368053, 0.013181113637983799, -0.029549693688750267, 0.008420711383223534, 0.02985394559800625, 0.04597119987010956, 0.0225825197994709, 0.002135520102456212, 0.01165156438946724, -0.012054717168211937, -0.012327962554991245, 0.04768391326069832, 0.02519652619957924, -0.020491493865847588, -0.049255989491939545, -0.012651997618377209, 0.0055912635289132595, 0.012134077958762646, -0.03464055433869362, -0.007523542735725641, -0.027244796976447105, 0.08411886543035507, 0.006373231299221516, -0.02674137055873871, -0.013574917800724506, -0.03290439024567604, 0.02479214407503605, -0.11568335443735123, 0.006438185460865498, 0.036254823207855225, -0.014822394587099552, -0.06921571493148804, 0.2200525850057602, -0.06141889840364456, 0.021857373416423798, 0.0263860784471035, -0.0030453712679445744, 0.01953216828405857, -0.050567422062158585, -0.0130853783339262, -0.03865078091621399, -0.005207266192883253, 0.03723551705479622, -0.046822961419820786, 0.019128410145640373, -0.0042379675433039665, -0.005656438414007425, 0.009213149547576904, 0.03289595991373062, 0.03464943543076515, 0.04875959828495979, -0.04665106162428856, -0.04626767337322235, 0.014134394936263561, 0.0235117357224226, -0.005890293978154659, -0.07749806344509125, 0.017105603590607643, -0.03276018425822258, 0.07628326863050461, 0.09959641098976135, 0.04214171692728996, 0.03538418561220169, 0.08908535540103912, -0.01036814320832491, -0.09434347599744797, -0.04409528523683548, -0.0017677542055025697, 0.01806870475411415, 0.03348623961210251, 0.0006011787336319685, 0.03165068104863167, 0.011193597689270973, -0.02435850165784359, -0.11211646348237991, -0.033244479447603226, -0.09012354165315628, -0.03646180033683777, 0.09766501933336258, -0.009975283406674862, 0.08063188940286636, -0.022326726466417313, -0.011745079420506954, -0.009421046823263168, 0.0638919398188591, -0.053525663912296295, -0.02826024405658245, 0.03131955489516258, 0.04886094480752945, 0.008514740504324436, 0.05677900090813637, -0.009899419732391834, 0.02296873927116394, -0.027223963290452957, -0.04168691486120224, -0.035828568041324615, 0.0538971871137619, 0.03257858008146286, -0.09524193406105042, 0.010451927781105042, 0.005099690984934568, 0.003765065921470523, -0.008816028013825417, 0.013939633034169674, 0.051483798772096634, -0.07335217297077179, -0.03141352906823158, 0.060215629637241364, 0.02588365413248539, -0.012271689251065254, 0.009532662108540535, 0.01793031021952629, 0.021615343168377876, -0.0051761954091489315, -0.018559496849775314, -0.042167890816926956, 0.023580968379974365, 0.049903079867362976, -0.022107815369963646, 0.028180690482258797, -0.06398418545722961, 0.020119668915867805, 0.008790316991508007, -0.03543446213006973, -0.0205109640955925, -0.028392450883984566, 0.003431401215493679, -0.007161548361182213, -0.04619262367486954, -0.02619294263422489, -0.044105563312768936, 0.016204625368118286, -0.030999090522527695, 0.10342344641685486, -0.0038059698417782784, -0.01764032058417797, 0.05769508332014084, -0.01683713309466839, 0.0662287175655365, 0.0063776131719350815, -0.023480631411075592, 0.023526940494775772, 0.048836350440979004, -0.06407126039266586, 0.018757224082946777, 0.02786480076611042, -0.00041900959331542253, -0.04655633494257927, -0.044584423303604126, 0.029646892100572586, 0.03818531334400177, 0.03820657357573509, 0.058344535529613495, 0.012105658650398254, -0.045243240892887115, -0.059749264270067215, -0.21811161935329437, 0.020818287506699562, 0.007272232323884964, -0.0511062927544117, -0.005048565100878477, -0.09676811844110489, 0.009299351833760738, -0.035734809935092926, 0.037467110902071, 0.07098418474197388, 0.11407451331615448, 0.07255025953054428, 0.0466628223657608, 0.0036802059039473534, 0.029362283647060394, 0.017163526266813278, -0.00417805602774024, 0.030795754864811897, 0.003220043145120144, 0.0357300341129303, -0.0005594164249487221, 0.018913106992840767, 0.001670730416662991, -0.0764218419790268, 0.032614391297101974, -0.03843587264418602, 0.22846169769763947, 0.02975919470191002, 0.03848829120397568, -0.007741258945316076, 0.0444621741771698, 0.03665514290332794, 0.002385444939136505, -0.16668468713760376, 0.048225466161966324, 0.03390636295080185, 0.02247275598347187, 0.02470734715461731, 0.002120191929861903, -0.019047804176807404, -0.01101658120751381, 0.05190769582986832, -0.016660816967487335, -0.057173728942871094, 0.008156181313097477, -0.027953214943408966, -0.05774283409118652, -0.01750873029232025, -0.0614561066031456, 0.00951355043798685, -0.009807334281504154, -0.01068373117595911, 0.07269258052110672, 0.07863263040781021, -0.026450594887137413, -0.021599387750029564, -0.04842834547162056, 0.03275001421570778, -0.030693864449858665, 0.022428806871175766, -0.010275095701217651, -0.04279819503426552, 0.011348779313266277, -0.04604417085647583, 0.03421168401837349, 0.024596113711595535, 0.017030484974384308, 0.016047870740294456, 0.019928939640522003, -0.07158640027046204, -0.03390219807624817, 0.1113651916384697, -0.03696160018444061, 0.03738483786582947, 0.049418944865465164, 0.03940574452280998, 0.0023538009263575077, -0.09071182459592819, 0.0026368722319602966, 0.003935957793146372, 0.03369921073317528, 0.004832716658711433, 0.025303535163402557, 0.01615753397345543, 0.01682909019291401, 0.007732657250016928, 0.010506398044526577, 0.010433158837258816, 0.04785989597439766, -0.05596904829144478, -0.012312410399317741, 0.003902598051354289, -0.011272319592535496, -0.05342110991477966, 0.03211654722690582, 0.024966221302747726, -0.28190532326698303, 0.0341440886259079, -0.00026959404931403697, 0.017666295170783997, -0.0025003079790621996, 0.04364648833870888, 0.023589110001921654, -0.011049809865653515, -0.06439527124166489, 0.05678899586200714, -0.019500790163874626, 0.042050380259752274, -0.004679185338318348, -0.0457148440182209, -0.013529432006180286, 0.0333670936524868, -0.023570194840431213, -0.03836352378129959, 0.02004106715321541, -0.0803016796708107, 0.03282902017235756, 0.09462062269449234, 0.2629915177822113, -0.021995659917593002, 0.01783251389861107, 0.054694611579179764, 0.011043647304177284, 0.028214935213327408, 0.06864093244075775, -0.040285512804985046, 0.023343639448285103, -0.010185103863477707, 0.08566772192716599, -0.009517461061477661, 0.03397504612803459, 0.001816856674849987, -0.03849250078201294, 0.02849218063056469, -0.013368000276386738, -0.009795852936804295, -0.02653464302420616, -0.03275199607014656, -0.0036340306978672743, -0.007728467229753733, 0.04937073215842247, -0.027952993288636208, -0.06850773096084595, -0.05336307734251022, -0.0031393729150295258, -0.02232837863266468, -0.045227017253637314, -0.07088366895914078, -0.022260986268520355, -0.019135059788823128, 0.01442182157188654, -0.0007632232154719532, -0.02605997771024704, -0.023354345932602882, -0.057890262454748154, -0.024615978822112083, 0.0076867686584591866, -0.054060716181993484, 0.0008210928062908351, 0.03259984403848648, -0.010338679887354374 ]
devcenter
https://www.mongodb.com/developer/products/mongodb/atlas-open-ai-review-summary
created
const code = responseData.choices[0].message.content; // Get the required data to be added into the document const updateDoc = JSON.parse(code) // Set a flag that this document does not need further re-processing updateDoc.process = true await collection.updateOne({_id : docId}, {$set : updateDoc}); } else { console.error("Failed to generate filter JSON."); console.log(JSON.stringify(responseData)); return {}; } }; ``` Key steps include:
md
{ "tags": [ "MongoDB", "JavaScript", "AI", "Node.js" ], "pageDescription": "Uncover the synergy of MongoDB Atlas triggers and OpenAI models in real-time analysis and summarization of Airbnb reviews. ", "contentType": "Tutorial" }
Using MongoDB Atlas Triggers to Summarize Airbnb Reviews with OpenAI
2024-05-20T17:32:23.500Z
[ -0.08430814743041992, 0.01045955065637827, 0.03579709306359291, -0.03414199873805046, 0.02627354860305786, 0.021485809236764908, 0.008494805544614792, 0.06600920855998993, -0.008102654479444027, 0.003950087353587151, -0.019482463598251343, -0.013794470578432083, 0.023629071190953255, 0.022527389228343964, -0.015148439444601536, 0.023877223953604698, -0.0202796570956707, 0.03185230493545532, -0.08899502456188202, 0.03356648609042168, 0.05685419216752052, 0.007245806977152824, -0.04599612578749657, -0.05455289036035538, 0.006015031598508358, 0.055004168301820755, -0.017152762040495872, 0.029467450454831123, -0.050227709114551544, -0.19540253281593323, -0.04205551743507385, -0.0872114971280098, 0.021073179319500923, -0.01884811744093895, -0.0031191473826766014, -0.010161707177758217, -0.000096753123216331, 0.05255022272467613, -0.02609226480126381, 0.09439882636070251, 0.03633972257375717, 0.0176843348890543, -0.05207962542772293, -0.09824810922145844, -0.04903294891119003, -0.036815088242292404, -0.026194917038083076, -0.04547800123691559, 0.02303892932832241, -0.033908046782016754, -0.03600115329027176, -0.06445889919996262, 0.006806714925915003, 0.002200660528615117, 0.042906880378723145, 0.06446725875139236, 0.027814695611596107, 0.06741641461849213, 0.029256099835038185, 0.04354780912399292, 0.01717512682080269, 0.017522158101201057, -0.16867005825042725, 0.1261942833662033, 0.03601514548063278, 0.03815913572907448, -0.0586845763027668, -0.021941443905234337, 0.032089728862047195, 0.0236663818359375, -0.0391366071999073, 0.036155734211206436, 0.03619883581995964, 0.056669414043426514, 0.02776128053665161, -0.03421201929450035, -0.03409780189394951, -0.03251248970627785, 0.05320894718170166, 0.07108987867832184, -0.05693599581718445, -0.04580895975232124, -0.03052559122443199, 0.012084722518920898, 0.013716937974095345, -0.07907617837190628, -0.023638611659407616, -0.0362885445356369, 0.04205629229545593, 0.06132756918668747, -0.04210631549358368, -0.0214220117777586, 0.001704628113657236, 0.049078915268182755, -0.10793443769216537, 0.013779871165752411, -0.004308633040636778, 0.016019921749830246, -0.013665677048265934, 0.23078490793704987, -0.031051578000187874, 0.03445883467793465, 0.03517080843448639, -0.038094066083431244, -0.018222199752926826, -0.028122760355472565, -0.020061369985342026, -0.02038145251572132, 0.0013018943136557937, 0.022883348166942596, -0.009741533547639847, -0.0059862928465008736, -0.013129571452736855, -0.020116182044148445, -0.008418558165431023, 0.050835784524679184, 0.015947379171848297, 0.03435881808400154, -0.05280079320073128, -0.010202284902334213, 0.058877404779195786, 0.033515069633722305, 0.04086357355117798, -0.014959321357309818, 0.038292255252599716, -0.019017552956938744, 0.08261366188526154, 0.09345933049917221, 0.02065027691423893, 0.0836435928940773, 0.047414105385541916, 0.013378173112869263, -0.09543617814779282, -0.007664869539439678, -0.005195560399442911, 0.009361199103295803, -0.01026737131178379, 0.01867704465985298, 0.01874762400984764, 0.02094193734228611, -0.03152536228299141, -0.06290857493877411, -0.07607053220272064, -0.08282303065061569, -0.01609969697892666, 0.13217119872570038, -0.011975757777690887, 0.06694307178258896, -0.04674072191119194, -0.04335471987724304, 0.0020521667320281267, 0.07326608896255493, -0.0523340106010437, -0.021524429321289062, -0.0038298964500427246, 0.04985745623707771, 0.009318986907601357, 0.00701194629073143, -0.005476486403495073, 0.018713483586907387, -0.00933726318180561, -0.010607321746647358, -0.011646108701825142, 0.07503805309534073, 0.008689687587320805, -0.059349413961172104, -0.010943164117634296, 0.017703775316476822, 0.01569277048110962, -0.027475599199533463, -0.014671985991299152, 0.07574731856584549, -0.06772235035896301, -0.023841461166739464, 0.07474780082702637, 0.013400711119174957, -0.013049004599452019, 0.01052200235426426, 0.023018721491098404, -0.003955338150262833, 0.0065575107000768185, -0.015663549304008484, -0.0635470524430275, 0.012388895265758038, 0.03317634388804436, -0.04199117794632912, 0.02735554799437523, -0.013231692835688591, 0.026861565187573433, 0.06626734882593155, 0.007725816685706377, -0.019980227574706078, -0.005064293742179871, -0.046227432787418365, -0.015013178810477257, -0.05158762261271477, -0.048386525362730026, -0.032282810658216476, 0.01855316385626793, -0.05842471867799759, 0.05780961364507675, 0.0327550545334816, 0.022135596722364426, 0.04788457974791527, -0.01459088921546936, 0.01531191635876894, -0.009762722998857498, 0.009727089665830135, 0.05377267301082611, -0.003737087594345212, -0.07421942055225372, 0.04953847825527191, 0.06425192207098007, 0.0032276404090225697, -0.014999737031757832, -0.03217856585979462, -0.005916582886129618, 0.022866064682602882, 0.044926755130290985, 0.016980350017547607, 0.024895844981074333, -0.02802191488444805, -0.017647771164774895, -0.23230864107608795, 0.04485008865594864, -0.009102928452193737, 0.007563994266092777, 0.00017557114188093692, -0.05629824101924896, 0.024081246927380562, -0.0023917444050312042, -0.036062225699424744, 0.08478747308254242, 0.043925873935222626, 0.0065721869468688965, 0.00907156988978386, 0.01771562546491623, 0.011802838183939457, 0.004243056755512953, 0.03752002865076065, -0.006081041879951954, -0.01321728527545929, -0.005293392576277256, -0.014965666458010674, 0.0009426275501027703, -0.010311943478882313, -0.09021476656198502, 0.012088648974895477, -0.02800561673939228, 0.18949221074581146, 0.04700745642185211, -0.011468426324427128, -0.025154290720820427, 0.05723342299461365, 0.02394356206059456, 0.027507446706295013, -0.096143439412117, 0.014701307751238346, 0.04249688610434532, -0.04039282724261284, 0.02730817347764969, 0.009449617005884647, -0.014219542033970356, 0.008946922607719898, 0.011109888553619385, -0.033717039972543716, -0.0893472209572792, 0.04151736572384834, -0.047698166221380234, -0.05151529982686043, 0.02044294960796833, -0.027133245021104813, -0.02491104230284691, 0.02039404585957527, -0.0003236318298149854, 0.05453143268823624, 0.018749292939901352, -0.045902252197265625, -0.03058619238436222, -0.027194630354642868, 0.024477900937199593, -0.010381725616753101, 0.03226063400506973, -0.014856855385005474, -0.027812883257865906, 0.014080330729484558, -0.019036689773201942, 0.052890338003635406, 0.024078281596302986, 0.019216161221265793, -0.04248829185962677, 0.029260776937007904, -0.06596190482378006, -0.025744851678609848, 0.05121293663978577, -0.007505097426474094, 0.03108120709657669, 0.024418054148554802, 0.06354787200689316, -0.049139250069856644, -0.06474865972995758, -0.00821732822805643, -0.01587340235710144, 0.0567990280687809, -0.003231337061151862, 0.03270117565989494, 0.013474732637405396, 0.02357933111488819, 0.03908080980181694, 0.0058592637069523335, 0.021402176469564438, 0.0022548355627804995, -0.06604806333780289, -0.039596401154994965, 0.0004610845644492656, -0.03490948677062988, -0.06114884838461876, 0.01277068629860878, 0.004031540360301733, -0.3086104094982147, 0.01493913121521473, 0.0025709406472742558, 0.02117012068629265, 0.0015573588898405433, 0.04847218841314316, 0.041330792009830475, 0.0241853054612875, -0.04449647292494774, 0.029806870967149734, -0.031057795509696007, 0.05303061753511429, 0.014421972446143627, -0.030101941898465157, -0.02034863829612732, 0.06275399029254913, 0.020074624568223953, -0.030991986393928528, 0.06187678128480911, -0.06684307754039764, 0.0603334866464138, 0.06048262119293213, 0.2719711363315582, 0.01370170060545206, 0.017418187111616135, 0.034914012998342514, 0.004555501509457827, 0.020763233304023743, 0.07029655575752258, 0.0021648555994033813, 0.004880581982433796, 0.04083884134888649, 0.09470333158969879, -0.011066692881286144, 0.03762472793459892, -0.010599485598504543, -0.07186760753393173, 0.04499191418290138, 0.0006734111811965704, -0.0511123389005661, -0.06684937328100204, 0.01612076908349991, 0.020760515704751015, -0.023360513150691986, 0.07115959376096725, -0.06334223598241806, -0.06472337245941162, -0.08799057453870773, -0.03247426450252533, 0.009364686906337738, -0.09644346684217453, -0.035489462316036224, 0.00774788623675704, -0.02943464368581772, 0.02114405483007431, 0.010968663729727268, -0.025660041719675064, -0.018384143710136414, -0.03722282871603966, -0.022775087505578995, 0.026358947157859802, -0.0537310354411602, -0.020734112709760666, 0.018084216862916946, -0.001136653940193355 ]
devcenter
https://www.mongodb.com/developer/products/mongodb/atlas-open-ai-review-summary
created
Key steps include: - API request preparation: Reviews from the changed document are sampled and prepared into a request string for the OpenAI API. The format and instructions are tailored to ensure the API returns a valid JSON with summarized content and tags. - API interaction: Using the context.http.post method, the trigger sends the prepared data to the OpenAI API. - Updating the original document: Upon a successful response from the API, the trigger updates the original document with the summarized content, negative tags (neg_tags), positive tags (pos_tags), and a process flag set to true.
md
{ "tags": [ "MongoDB", "JavaScript", "AI", "Node.js" ], "pageDescription": "Uncover the synergy of MongoDB Atlas triggers and OpenAI models in real-time analysis and summarization of Airbnb reviews. ", "contentType": "Tutorial" }
Using MongoDB Atlas Triggers to Summarize Airbnb Reviews with OpenAI
2024-05-20T17:32:23.500Z
[ -0.06425446271896362, 0.015196016989648342, 0.014957580715417862, -0.04905816540122032, 0.04558635503053665, 0.026605455204844475, 0.02458653226494789, 0.042485110461711884, 0.0024984688498079777, 0.00038978096563369036, 0.0014386388938874006, -0.04643610119819641, 0.013037458062171936, 0.059097010642290115, -0.0326484739780426, -0.010416693054139614, -0.018172334879636765, -0.022945353761315346, -0.05274989455938339, 0.0400126613676548, 0.0351635105907917, -0.00973927415907383, 0.012603561393916607, -0.019182877615094185, 0.008114169351756573, 0.05007114261388779, -0.05101519078016281, -0.009590447880327702, -0.04564075171947479, -0.18064674735069275, -0.017613893374800682, -0.07681260257959366, 0.04212891310453415, -0.034511957317590714, -0.022739585489034653, 0.003994904924184084, 0.00926225446164608, 0.009265251457691193, -0.013066691346466541, 0.02068193070590496, 0.058748506009578705, -0.005817899014800787, -0.022864457219839096, -0.060602251440286636, 0.002078794874250889, -0.03294050320982933, -0.013191938400268555, 0.005321213509887457, 0.004433213267475367, -0.025862883776426315, 0.005630069877952337, -0.06856318563222885, 0.0031789715867489576, -0.011677401140332222, 0.06502509862184525, 0.034950971603393555, 0.052678413689136505, 0.04961103945970535, 0.03364233672618866, 0.04179450869560242, 0.04564020037651062, 0.058275818824768066, -0.18175776302814484, 0.1218152865767479, 0.04540758579969406, 0.04931773617863655, -0.06886474788188934, 0.000751287501771003, 0.021085551008582115, 0.043583448976278305, -0.03472575545310974, 0.027988160029053688, 0.031056027859449387, 0.05621161311864853, 0.02227797918021679, 0.019514014944434166, -0.008473917841911316, -0.002498466055840254, 0.012708012014627457, 0.04074876755475998, -0.03225493058562279, -0.01194586232304573, -0.04231184720993042, -0.020170165225863457, -0.008927427232265472, -0.035629622638225555, 0.028811199590563774, -0.02944522351026535, 0.0800958126783371, -0.02684195339679718, 0.0005668603698723018, -0.03395461663603783, -0.006386682391166687, 0.020107105374336243, -0.08566050231456757, -0.04301847144961357, 0.01668524742126465, -0.014734383672475815, -0.05110381171107292, 0.22114162147045135, -0.05698590353131294, 0.0032119331881403923, 0.027898505330085754, 0.0010392097756266594, 0.02618798241019249, -0.07361966371536255, -0.0022176310885697603, -0.03474576398730278, 0.005635926965624094, 0.021027695387601852, -0.031249098479747772, -0.015344214625656605, -0.00004882019857177511, -0.04089682921767235, 0.02979598008096218, 0.06371846050024033, 0.03804918751120567, 0.07866743952035904, -0.008104772306978703, -0.040927063673734665, 0.012029883451759815, -0.001652838778682053, 0.0065193516202270985, -0.04296442121267319, 0.003537945682182908, -0.04707891494035721, 0.10288920998573303, 0.0743848904967308, 0.0035190165508538485, 0.05763674154877663, 0.04967643693089485, -0.0033323566894978285, -0.14214231073856354, -0.025212984532117844, 0.008857976645231247, 0.01976795867085457, 0.021190883591771126, 0.004188233520835638, 0.04378123953938484, 0.006110015790909529, -0.06263081729412079, -0.04055938124656677, -0.032788414508104324, -0.11073120683431625, -0.05434776097536087, 0.16679070889949799, -0.010337279178202152, 0.05252615362405777, -0.036017198115587234, -0.037409014999866486, 0.017694003880023956, 0.06506647914648056, -0.035933032631874084, -0.028417153283953667, 0.023998819291591644, 0.03049003891646862, 0.01151291560381651, 0.06576235592365265, -0.005615892820060253, 0.03238227218389511, -0.047505129128694534, -0.07384631037712097, -0.04023560881614685, 0.12767235934734344, 0.02351987175643444, -0.08885116875171661, -0.009969526901841164, 0.010799957439303398, 0.014614563435316086, 0.0018830131739377975, 0.04373561218380928, 0.06861105561256409, -0.026479776948690414, 0.009089923463761806, 0.05511109530925751, 0.023228343576192856, 0.007401046808809042, 0.017288153991103172, 0.0263663399964571, -0.0261167511343956, 0.018015949055552483, -0.05632443353533745, -0.04564934968948364, 0.057346560060977936, 0.029710590839385986, -0.0614585354924202, -0.029032066464424133, -0.044592078775167465, 0.046231936663389206, 0.03202948719263077, -0.053696028888225555, -0.003771310904994607, -0.012142825871706009, 0.019236963242292404, -0.03339244797825813, -0.039337579160928726, -0.024731436744332314, -0.0084691122174263, -0.001132899196818471, -0.04709073156118393, 0.052737947553396225, 0.006883751600980759, -0.027812806889414787, 0.037714336067438126, 0.03448166325688362, 0.005101929418742657, 0.010994641110301018, 0.00691617326810956, 0.04119328409433365, 0.03163379803299904, -0.05572272464632988, 0.027156589552760124, 0.0071924468502402306, -0.002515207277610898, -0.03643018752336502, -0.03867116570472717, 0.024828849360346794, 0.014076055027544498, -0.005727687384933233, 0.04024134948849678, 0.009737848304212093, -0.018943097442388535, -0.013921162113547325, -0.23472175002098083, 0.01638590358197689, 0.008694272488355637, -0.015868959948420525, 0.01445452868938446, -0.09422595798969269, 0.0191681869328022, -0.03795328736305237, 0.004216163884848356, 0.0820743665099144, 0.09866046905517578, 0.006979340221732855, -0.002776866313070059, 0.014628760516643524, 0.03749903291463852, 0.04144921898841858, 0.03531303256750107, 0.01995864324271679, -0.005665644071996212, 0.022424910217523575, 0.0052714841440320015, 0.0140692088752985, 0.004784991964697838, -0.06251037865877151, 0.02841334231197834, -0.038569167256355286, 0.20855066180229187, 0.03786671161651611, 0.005229469854384661, -0.04088560864329338, 0.030929097905755043, 0.015945738181471825, -0.030037734657526016, -0.15594398975372314, 0.06111381947994232, 0.02417522296309471, 0.034513331949710846, 0.03576023131608963, -0.00948090199381113, -0.027291344478726387, 0.0034943674691021442, 0.020291820168495178, 0.010263119824230671, -0.06692689657211304, 0.012588456273078918, -0.02429853193461895, -0.04609285667538643, -0.021996233612298965, -0.04950092360377312, -0.005246568936854601, 0.007542768027633429, -0.0033463831059634686, 0.005826426669955254, 0.06104547530412674, -0.0727720856666565, -0.04869389161467552, -0.06137455627322197, 0.0423930324614048, -0.017757896333932877, -0.03796494007110596, -0.01124611496925354, -0.017379242926836014, -0.002656676108017564, -0.04991105571389198, 0.06496697664260864, 0.011034955270588398, 0.0024450584314763546, 0.007362931035459042, 0.00008092379721347243, -0.06857392191886902, -0.049207765609025955, 0.08405520766973495, -0.03966693580150604, 0.029016118496656418, 0.05393579974770546, 0.048830170184373856, -0.028800517320632935, -0.06095856428146362, -0.03404650837182999, -0.02529744803905487, 0.030937425792217255, -0.00371406227350235, 0.024470308795571327, 0.04375980794429779, 0.010274061933159828, 0.039169080555438995, 0.017058834433555603, -0.019946889951825142, 0.016230035573244095, -0.019573209807276726, 0.009591897018253803, 0.035756248980760574, -0.04569108411669731, -0.023640869185328484, 0.02936340868473053, 0.011867189779877663, -0.3101520538330078, 0.04772597551345825, 0.007043335121124983, 0.034731071442365646, 0.010657689534127712, 0.03806307539343834, 0.039519939571619034, 0.016020894050598145, -0.0674268826842308, 0.052580948919057846, -0.024724876508116722, 0.05071687325835228, -0.018070653080940247, -0.03685428574681282, -0.014599657617509365, 0.03131566569209099, 0.021582383662462234, -0.02768808789551258, 0.00894096028059721, -0.077118419110775, 0.01140062976628542, 0.0661616250872612, 0.24144673347473145, -0.012755009345710278, 0.024420609697699547, 0.027353527024388313, 0.013114077039062977, 0.021685199812054634, 0.07398715615272522, -0.022862831130623817, 0.05982723459601402, -0.0023345747031271458, 0.06393680721521378, 0.011808876879513264, 0.05543488264083862, 0.003983714617788792, -0.06788983196020126, 0.03243669867515564, 0.007018649950623512, 0.013100042007863522, -0.051379624754190445, -0.0008577078115195036, -0.012391326017677784, -0.02466396428644657, 0.04445702210068703, -0.025990063324570656, -0.10638641566038132, -0.04741152748465538, -0.012900975532829762, 0.016406551003456116, -0.03365130349993706, -0.04512076824903488, -0.02106362022459507, 0.012543195858597755, 0.019798140972852707, 0.04594813287258148, -0.027035346254706383, -0.040822792798280716, -0.06573566794395447, -0.008962317369878292, -0.0009495624690316617, -0.06619101017713547, 0.011487587355077267, 0.026358217000961304, -0.009724405594170094 ]
devcenter
https://www.mongodb.com/developer/products/mongodb/atlas-open-ai-review-summary
created
Here is a sample result that is added to the processed listing document: ``` "process": true, "overall_review": "Overall, guests had a positive experience at Marinete's apartment. They praised the location, cleanliness, and hospitality. However, some guests mentioned issues with the dog and language barrier.", "neg_tags": [ "language barrier", "dog issues" ], "pos_tags": [ "great location", "cleanliness", "hospitality" ] ``` Once the data is added to our documents, providing this information in our VUE application is as simple as adding this HTML template: ```html Overall Review (ai based) : {{ listing.overall_review }} {{tag}} {{tag}} ```
md
{ "tags": [ "MongoDB", "JavaScript", "AI", "Node.js" ], "pageDescription": "Uncover the synergy of MongoDB Atlas triggers and OpenAI models in real-time analysis and summarization of Airbnb reviews. ", "contentType": "Tutorial" }
Using MongoDB Atlas Triggers to Summarize Airbnb Reviews with OpenAI
2024-05-20T17:32:23.500Z
[ -0.018523477017879486, 0.013775629922747612, 0.018246788531541824, -0.037361256778240204, 0.060052309185266495, 0.015071781352162361, 0.022544700652360916, 0.05805240944027901, 0.02249765209853649, 0.003295812988653779, -0.00004248873301548883, -0.03664785996079445, 0.0252126082777977, 0.06400682032108307, 0.007810328621417284, -0.007516325451433659, -0.020695075392723083, 0.047707922756671906, -0.046878136694431305, 0.012891018763184547, 0.03694331273436546, 0.0070720454677939415, -0.04538193717598915, -0.029707862064242363, -0.009637297131121159, 0.05156263709068298, -0.017223307862877846, -0.008714767172932625, -0.011144756339490414, -0.19502928853034973, 0.0012552308617159724, -0.07537546753883362, 0.06456858664751053, -0.012707259505987167, -0.020731061697006226, 0.005747100338339806, -0.03867749124765396, 0.05089988559484482, -0.022153012454509735, 0.06840591877698898, 0.042384978383779526, -0.01598353125154972, -0.014688754454255104, -0.05290500447154045, -0.020605355501174927, -0.04334411397576332, -0.020000919699668884, -0.0257653146982193, 0.0026778678875416517, 0.010094727389514446, 0.025243273004889488, -0.05472315102815628, -0.03542960807681084, -0.001850661588832736, 0.03913454711437225, 0.05567987635731697, 0.054986800998449326, 0.003762849373742938, -0.020944176241755486, 0.03541480004787445, 0.05738404393196106, 0.07221668213605881, -0.18745829164981842, 0.14527392387390137, 0.01657717488706112, 0.03816884011030197, -0.11095405369997025, 0.0027226367965340614, -0.02738725021481514, 0.034160513430833817, 0.006952843628823757, 0.03100457228720188, 0.024331845343112946, 0.10585228353738785, 0.03651878982782364, 0.010479223914444447, -0.010713141411542892, -0.05273044854402542, 0.009451077319681644, 0.020351190119981766, -0.020074717700481415, -0.027381204068660736, -0.05548042431473732, -0.021771717816591263, 0.003981863614171743, -0.025549080222845078, 0.022334979847073555, -0.012144162319600582, 0.05833416059613228, -0.0005452029872685671, -0.01955598220229149, -0.0579332672059536, -0.009950433857738972, 0.02808545157313347, -0.06097951903939247, -0.04942264035344124, 0.01787852682173252, 0.005646751262247562, -0.0065948800183832645, 0.2095014601945877, -0.07583179324865341, 0.020417507737874985, 0.06259947270154953, -0.06338967382907867, 0.051345095038414, -0.027752043679356575, -0.0005130285280756652, -0.03867240622639656, -0.01991034857928753, -0.002715827664360404, -0.03266469016671181, -0.00788335781544447, -0.025209978222846985, -0.08775608241558075, 0.023373929783701897, 0.011606490239501, 0.05364809185266495, 0.03635013476014137, 0.025159617885947227, -0.04826001822948456, 0.003900011070072651, -0.006963861640542746, 0.020964588969945908, -0.030628373846411705, 0.019526006653904915, -0.019846560433506966, 0.0905953049659729, 0.09638117998838425, 0.03059450350701809, 0.05608106404542923, 0.06904017925262451, -0.03903740644454956, -0.06958291679620743, -0.008502199314534664, -0.02638336829841137, -0.009604860097169876, -0.0007557167555205524, 0.022084204480051994, 0.04085265472531319, 0.024759406223893166, -0.0358869731426239, -0.0710119754076004, -0.07177376747131348, -0.080162912607193, -0.014280246570706367, 0.14892518520355225, -0.03631065413355827, 0.036170367151498795, -0.06667802482843399, -0.03318187966942787, -0.013303752988576889, 0.10523663461208344, -0.0589180625975132, -0.03212408721446991, -0.046488381922245026, 0.005249594338238239, 0.004674662370234728, 0.007148623466491699, -0.032327741384506226, -0.0002895413199439645, 0.03255428001284599, -0.030985891819000244, -0.06907530874013901, 0.11539412289857864, 0.014691031537950039, -0.11216481775045395, -0.062224794179201126, 0.04113450646400452, 0.051482923328876495, -0.052893757820129395, 0.0012922313762828708, 0.052968401461839676, -0.07140643149614334, 0.022806091234087944, 0.04700571298599243, 0.0249512679874897, -0.01791497878730297, 0.03256573528051376, -0.00828141625970602, 0.014556525275111198, 0.021929828450083733, -0.049075331538915634, -0.04380592331290245, 0.05337127298116684, 0.022411948069930077, -0.04120199382305145, -0.022847898304462433, -0.048117052763700485, 0.03045904077589512, 0.010293553583323956, -0.05589751899242401, -0.019039161503314972, -0.01483141165226698, -0.033062808215618134, -0.0284980908036232, -0.009942527860403061, -0.03496778756380081, -0.028949137777090073, 0.031930044293403625, -0.03659863770008087, 0.04552704095840454, 0.0031599137000739574, -0.020952437072992325, 0.021409528329968452, 0.00514468876644969, 0.0364023856818676, 0.0030252651777118444, -0.02098958007991314, 0.05624916031956673, 0.02369719184935093, -0.037080224603414536, 0.03523048758506775, 0.0629524365067482, 0.012677283026278019, -0.017085550352931023, -0.009746825322508812, -0.031282201409339905, 0.03430696949362755, 0.07958845049142838, 0.0444546677172184, -0.01049391832202673, -0.042190708220005035, -0.024733396247029305, -0.2547062337398529, -0.008397945202887058, 0.004989935550838709, 0.002385411411523819, -0.030823398381471634, -0.07982838153839111, 0.052345748990774155, 0.0009431132348254323, 0.0032638520933687687, 0.07651352137327194, 0.053331419825553894, 0.0030891811475157738, -0.04198533296585083, 0.0075832027941942215, 0.02448146790266037, 0.04139676317572594, 0.06518305093050003, 0.02647113986313343, -0.039135824888944626, 0.04334605485200882, -0.011214226484298706, 0.001685654977336526, -0.020674940198659897, -0.061397258192300797, 0.043341778218746185, -0.014780476689338684, 0.2435133457183838, 0.024375025182962418, -0.04444603994488716, -0.025734513998031616, 0.04956772178411484, 0.00634674122557044, -0.04110627993941307, -0.12787945568561554, 0.0852944478392601, 0.005774924531579018, 0.033719778060913086, 0.00834411196410656, -0.017714165151119232, -0.01959989033639431, 0.016207722947001457, 0.042331546545028687, 0.012847972102463245, -0.06554124504327774, 0.020366527140140533, -0.04400622099637985, -0.03851868212223053, -0.015842661261558533, -0.07770974189043045, 0.0002174952533096075, 0.03773054480552673, 0.0013827572111040354, 0.03874468803405762, 0.06051130220293999, -0.020732158794999123, -0.03546256199479103, -0.054051946848630905, -0.014644003473222256, -0.012257421389222145, 0.014492524787783623, -0.000903946056496352, -0.03955531120300293, 0.046200212091207504, -0.01552629005163908, 0.04442227631807327, 0.011598119512200356, 0.011395957320928574, -0.01664845645427704, 0.017101364210247993, -0.022773712873458862, -0.05988873168826103, 0.08844462037086487, 0.015190033242106438, -0.0032409359700977802, 0.03755040094256401, 0.022613197565078735, -0.041798584163188934, -0.02538738027215004, 0.01896154135465622, -0.007765956688672304, 0.03284391015768051, -0.016210706904530525, 0.032959431409835815, 0.0002980177232529968, 0.03543926030397415, 0.01815935969352722, 0.006143270991742611, -0.020926624536514282, 0.012285829521715641, -0.019523916766047478, -0.02422739937901497, -0.00030341383535414934, -0.038549717515707016, -0.03933575749397278, 0.017587948590517044, -0.023071298375725746, -0.2698866128921509, 0.024846449494361877, 0.05179640278220177, 0.0269495639950037, -0.00988219678401947, 0.03806242719292641, 0.016540123149752617, 0.0028908790554851294, -0.03186403959989548, -0.007568547502160072, 0.007636284921318293, 0.02698935568332672, -0.0021062970627099276, -0.04864191263914108, -0.042750511318445206, 0.06033111736178398, 0.03850273787975311, -0.03147745132446289, 0.05269576236605644, -0.059945620596408844, 0.016667792573571205, 0.052398938685655594, 0.2581664025783539, 0.007748751435428858, -0.00394550571218133, 0.01369923260062933, -0.056853845715522766, -0.00432954728603363, 0.020848236978054047, 0.014206319116055965, 0.01946140080690384, -0.008018357679247856, 0.11221348494291306, 0.027621589601039886, 0.02799544483423233, 0.020575162023305893, -0.05156080052256584, 0.011799663305282593, 0.019938712939620018, -0.011872316710650921, -0.009376348927617073, 0.022381465882062912, -0.016238462179899216, -0.022090354934334755, 0.06596755236387253, -0.03710722550749779, -0.0237397663295269, -0.03050437569618225, 0.009716646745800972, -0.016031214967370033, -0.043697819113731384, -0.03379812836647034, -0.025212673470377922, 0.004118320997804403, 0.07845940440893173, 0.041078947484493256, -0.0492178238928318, -0.0512114018201828, -0.02197853848338127, -0.0029723872430622578, -0.01313343271613121, -0.03651171177625656, 0.010041569359600544, 0.03300568833947182, 0.02265610359609127 ]
devcenter
https://www.mongodb.com/developer/products/mongodb/atlas-open-ai-review-summary
created
Overall Review (ai based) : {{ listing.overall_review }} {{tag}} {{tag}} ``` ## Conclusion By integrating MongoDB Atlas triggers with OpenAI's powerful models, we can efficiently process and analyze large volumes of reviews in real-time. This setup not only provides concise summaries of reviews but also categorizes them into positive and negative tags, offering valuable insights to property hosts and potential renters. Questions? Comments? Let’s continue the conversation over in our [community forums.
md
{ "tags": [ "MongoDB", "JavaScript", "AI", "Node.js" ], "pageDescription": "Uncover the synergy of MongoDB Atlas triggers and OpenAI models in real-time analysis and summarization of Airbnb reviews. ", "contentType": "Tutorial" }
Using MongoDB Atlas Triggers to Summarize Airbnb Reviews with OpenAI
2024-05-20T17:32:23.500Z
[ -0.04842721298336983, -0.025147899985313416, 0.01631397195160389, -0.019730543717741966, 0.03751155734062195, 0.006439289078116417, 0.031063158065080643, 0.06317470222711563, -0.012957305647432804, 0.01124939601868391, -0.008856471627950668, -0.001972187776118517, 0.00006470937660196796, 0.07169532030820847, -0.00037921464536339045, -0.027850257232785225, 0.00846673920750618, 0.005523201078176498, -0.0014031133614480495, 0.0027788844890892506, 0.027582548558712006, -0.007449273951351643, -0.02156415581703186, -0.05942704156041145, 0.00681126257404685, 0.0368649885058403, -0.034196872264146805, -0.045273035764694214, -0.07643155008554459, -0.20041212439537048, -0.012149629183113575, -0.05387124419212341, 0.11793707311153412, -0.014538765884935856, -0.015929482877254486, -0.00932640302926302, -0.021593939512968063, 0.02404233254492283, -0.012101736851036549, 0.011141100898385048, 0.0579039640724659, 0.018659573048353195, 0.0037247200962156057, -0.056889649480581284, -0.014229636639356613, -0.03560064733028412, 0.03020898811519146, 0.00022661547700408846, -0.013458898290991783, 0.02229263447225094, 0.03534898906946182, -0.06911830604076385, -0.015801843255758286, 0.03014262020587921, 0.054053522646427155, 0.05719078332185745, 0.021778883412480354, 0.03507314622402191, 0.044743187725543976, 0.01119359489530325, 0.0910855084657669, 0.05564014986157417, -0.15633566677570343, 0.07464519143104553, 0.04262663796544075, 0.05940660089254379, -0.03652484342455864, -0.015051047317683697, 0.004606722854077816, 0.041081223636865616, -0.008570422418415546, 0.008326850831508636, 0.023671453818678856, 0.05471864715218544, 0.0002786630648188293, 0.028079092502593994, 0.010510701686143875, -0.0459260568022728, -0.004039607010781765, 0.01582944765686989, -0.040285736322402954, -0.038843635469675064, -0.05954087898135185, -0.05031891167163849, -0.030519999563694, -0.024759117513895035, 0.035210125148296356, -0.019106296822428703, 0.05571044981479645, 0.013215993531048298, 0.036604270339012146, -0.02627425827085972, 0.021597551181912422, 0.02462805062532425, -0.044628191739320755, -0.02756442502140999, 0.027872396633028984, 0.007112328894436359, -0.027293361723423004, 0.2439425140619278, -0.04421588033437729, 0.04599219188094139, 0.03742051497101784, -0.060246556997299194, 0.019898785278201103, -0.03212820738554001, 0.03815172240138054, -0.03497973456978798, -0.013455986976623535, 0.003293521236628294, -0.04502728208899498, 0.0008818028727546334, 0.025526953861117363, -0.07740940898656845, 0.0291743203997612, 0.002095084870234132, 0.06813177466392517, 0.07464062422513962, 0.04313579946756363, -0.03165963292121887, 0.012085212394595146, 0.016399048268795013, 0.023300262168049812, -0.022783787921071053, 0.03484209626913071, -0.04843734949827194, 0.05573736131191254, 0.09100969135761261, 0.04134901240468025, 0.04848456010222435, 0.03356222063302994, -0.01966877095401287, -0.08466960489749908, 0.017177216708660126, 0.029376782476902008, 0.026736974716186523, -0.0030452373903244734, 0.01467479020357132, 0.06399811804294586, 0.02710041217505932, -0.05004694685339928, -0.05802115425467491, -0.058391135185956955, -0.10390744358301163, -0.06440920382738113, 0.11522284895181656, -0.007730895187705755, 0.07164511829614639, -0.05471033975481987, 0.007104385644197464, 0.012891802936792374, 0.043554555624723434, -0.05379841849207878, -0.039853885769844055, -0.009509516879916191, 0.018463274464011192, 0.034691955894231796, 0.040038663893938065, -0.03714683651924133, -0.0022211852483451366, -0.018817374482750893, -0.027177199721336365, -0.08171653747558594, 0.10580545663833618, 0.005055311601608992, -0.1183350533246994, -0.059451013803482056, 0.01293276995420456, -0.02178552746772766, -0.04133600741624832, 0.009985086508095264, 0.025162655860185623, -0.08976195007562637, 0.015373576432466507, 0.05973437801003456, -0.0016798984725028276, -0.037848711013793945, -0.0016061922069638968, 0.006127919070422649, -0.020723335444927216, 0.011675462126731873, -0.03120844066143036, -0.028913602232933044, 0.0631047710776329, 0.026033246889710426, -0.04742329567670822, -0.025668824091553688, -0.05308074876666069, 0.02871256321668625, 0.03728697448968887, -0.06278615444898605, -0.0195817481726408, 0.015331742353737354, 0.024089263752102852, -0.03941807895898819, -0.032592594623565674, -0.0037515682633966208, 0.008038043975830078, 0.014965717680752277, -0.026426326483488083, 0.05201481655240059, -0.0028716251254081726, -0.04407179355621338, 0.03315066546201706, 0.018870150670409203, 0.042752705514431, -0.04146844148635864, 0.011583699844777584, 0.03735442832112312, 0.010986709967255592, -0.026109931990504265, 0.007403084076941013, 0.021713605150580406, 0.002285756403580308, -0.017754454165697098, -0.03994215279817581, 0.0038857287727296352, 0.019118590280413628, 0.01756662130355835, 0.064359650015831, 0.014956549741327763, -0.07568135857582092, -0.05745547637343407, -0.26054635643959045, 0.011288347654044628, 0.019282585009932518, 0.017284968867897987, 0.012752936221659184, -0.10473255813121796, 0.0207324530929327, -0.032034918665885925, -0.006645840127021074, 0.10432881116867065, 0.04372270777821541, -0.01740880310535431, -0.03090767003595829, 0.01578705757856369, 0.007829573936760426, 0.06807935982942581, 0.005356231238692999, 0.033953987061977386, -0.04008106142282486, -0.00042946988833136857, 0.02717691659927368, 0.04385906085371971, -0.018425552174448967, -0.07843802124261856, 0.02084919437766075, -0.016996784135699272, 0.23033736646175385, 0.02900182269513607, -0.00022854734561406076, -0.043174393475055695, 0.04907918721437454, 0.0023832437582314014, -0.00478647043928504, -0.12542812526226044, 0.07630334794521332, 0.01930958591401577, 0.08178620785474777, 0.0002588938223198056, -0.035468969494104385, -0.022721514105796814, -0.009801588952541351, 0.0648626908659935, 0.015830613672733307, -0.08757796883583069, -0.021325264126062393, -0.0270758755505085, -0.011875234544277191, 0.007770884782075882, -0.08727186173200607, 0.024204565212130547, 0.004398016724735498, -0.03627171367406845, 0.05810064077377319, 0.01800452172756195, -0.02178538590669632, -0.023985931649804115, -0.11363290995359421, 0.008755272254347801, -0.02604103274643421, 0.02641916647553444, 0.010159870609641075, -0.020186131820082664, 0.028744781389832497, -0.03333325311541557, 0.007665031589567661, -0.03558739647269249, -0.03460105508565903, 0.011549598537385464, -0.02263101190328598, -0.04704052209854126, -0.02137579582631588, 0.06901779770851135, -0.04160122200846672, -0.0168739203363657, 0.055412665009498596, 0.03376246243715286, 0.020755454897880554, -0.01128390897065401, -0.013674902729690075, -0.04092336446046829, 0.027301853522658348, -0.018907533958554268, 0.027535926550626755, 0.027139270678162575, 0.043714601546525955, 0.04117163270711899, 0.0030231729615479708, -0.026933258399367332, 0.010022448375821114, -0.0234835185110569, 0.0013760288711637259, 0.005963270086795092, -0.07205705344676971, -0.027474332600831985, 0.03229231387376785, -0.004711100831627846, -0.29319337010383606, 0.05267622694373131, -1.899695121210243e-7, 0.03299757465720177, -0.0014837626367807388, 0.005582552403211594, 0.02718663588166237, 0.03794202208518982, -0.012529892846941948, 0.020321492105722427, 0.051012925803661346, 0.04662812128663063, -0.010554143227636814, -0.024867543950676918, -0.050345055758953094, 0.005515346769243479, 0.01380024291574955, -0.07045913487672806, 0.036501795053482056, -0.027555054053664207, 0.015891004353761673, 0.05119163915514946, 0.2494342029094696, -0.00019363436149433255, 0.02248634584248066, 0.045636992901563644, -0.0242038294672966, -0.01651860773563385, 0.007573481183499098, -0.015193033032119274, 0.0370769165456295, -0.008890917524695396, 0.08912655711174011, -0.027455363422632217, 0.040040213614702225, 0.05771976336836815, -0.026892492547631264, 0.04902725666761398, 0.02414332702755928, 0.0021980549208819866, -0.015126974321901798, 0.019566798582673073, -0.015395362861454487, 0.028316566720604897, 0.08862946182489395, -0.01272137463092804, -0.04470705986022949, -0.028286129236221313, 0.004306143615394831, -0.0050825681537389755, -0.039697907865047455, -0.04194571077823639, -0.04735361039638519, -0.013038624078035355, 0.03124833293259144, 0.02269815467298031, -0.026109207421541214, -0.03525586426258087, -0.05862351879477501, -0.024427516385912895, -0.00434256624430418, -0.07000892609357834, 0.026041600853204727, 0.033000748604536057, 0.01336267776787281 ]
devcenter
https://www.mongodb.com/developer/products/mongodb/getting-started-with-mongodb-and-codewhisperer
created
# Getting Started with MongoDB and AWS Codewhisperer **Introduction** ---------------- Amazon CodeWhisperer is trained on billions of lines of code and can generate code suggestions — ranging from snippets to full functions — in real-time, based on your comments and existing code. AI code assistants have revolutionized developers’ coding experience, but what sets Amazon CodeWhisperer apart is that MongoDB has collaborated with the AWS Data Science team, enhancing its capabilities! At MongoDB, we are always looking to enhance the developer experience, and we've fine-tuned the CodeWhisperer Foundational Models to deliver top-notch code suggestions — trained on, and tailored for, MongoDB. This gives developers of all levels the best possible experience when using CodeWhisperer for MongoDB functions.
md
{ "tags": [ "MongoDB", "JavaScript", "Java", "Python", "AWS", "AI" ], "pageDescription": "", "contentType": "Tutorial" }
Getting Started with MongoDB and AWS Codewhisperer
2024-05-20T17:32:23.500Z
[ -0.06456639617681503, -0.02141782082617283, 0.006294905208051205, -0.021012524142861366, 0.04662040248513222, -0.0047924211248755455, -0.004582950379699469, 0.02320190891623497, -0.01318175345659256, 0.016072852537035942, 0.006855227518826723, -0.038180913776159286, 0.020347001031041145, 0.05467842519283295, 0.010857654735445976, 0.025391986593604088, 0.004596427083015442, 0.013453453779220581, -0.05720871686935425, -0.013090621680021286, 0.061904337257146835, -0.02909773401916027, -0.02180362120270729, -0.07464475184679031, -0.04748569801449776, 0.06908779591321945, -0.056018631905317307, -0.044964488595724106, -0.027052512392401695, -0.20038489997386932, -0.005675361957401037, -0.06339447945356369, 0.08550698310136795, -0.020514236763119698, -0.019931776449084282, -0.022017478942871094, 0.030032100155949593, 0.06104961410164833, -0.04035172611474991, 0.021272975951433182, 0.028411472216248512, 0.012327210046350956, -0.013869168236851692, -0.024025849997997284, -0.043882645666599274, -0.056772150099277496, 0.013948689214885235, 0.002031500218436122, -0.025787625461816788, -0.014187046326696873, -0.006107405759394169, -0.04925717040896416, -0.02226322516798973, -0.010761662386357784, 0.026512574404478073, 0.029013320803642273, 0.02995031699538231, 0.06742050498723984, 0.022912681102752686, 0.018446873873472214, 0.028779536485671997, 0.020050974562764168, -0.17627856135368347, 0.09493932873010635, 0.048403266817331314, 0.09117487072944641, -0.03900563716888428, -0.030160004273056984, 0.007448692340403795, 0.007797133643180132, -0.015079336240887642, 0.002084355102851987, 0.012724915519356728, 0.05361121892929077, 0.027925077825784683, 0.012973986566066742, 0.0064419591799378395, -0.041476283222436905, 0.008237349800765514, 0.04364262893795967, -0.06979231536388397, -0.022111771628260612, -0.07138629257678986, -0.005562128033488989, -0.005781568121165037, -0.0298394113779068, 0.04022153466939926, -0.009965980425477028, 0.034383662045001984, -0.016512176021933556, -0.022091766819357872, -0.043590229004621506, 0.021256495267152786, 0.030435003340244293, -0.0840127021074295, -0.0011081361444666982, 0.022686248645186424, 0.04707749933004379, -0.033353496342897415, 0.22693364322185516, -0.057640425860881805, 0.006948263384401798, -0.002921080682426691, -0.037300314754247665, 0.02613445557653904, -0.044346705079078674, 0.030686726793646812, -0.02705257758498192, 0.009912415407598019, -0.007991652935743332, 0.003134107682853937, -0.01310767326503992, 0.009480735287070274, -0.06986518204212189, 0.024951251223683357, 0.03054337203502655, 0.035713594406843185, 0.05186187103390694, -0.00506608746945858, 0.04972068965435028, 0.0220648106187582, 0.01665668562054634, 0.043360985815525055, 0.017865633592009544, 0.01571575738489628, -0.021310603246092796, 0.0388895645737648, 0.11128036677837372, 0.058366160839796066, 0.055009860545396805, 0.03875614330172539, 0.01357792317867279, -0.0593688003718853, -0.0014290852705016732, 0.016351750120520592, 0.0020312778651714325, -0.027444887906312943, 0.011210068129003048, 0.04816223680973053, 0.01234461460262537, -0.05849949270486832, -0.06778783351182938, -0.032812293618917465, -0.07930202782154083, -0.06272681057453156, 0.09233836829662323, -0.0492161363363266, 0.055791936814785004, -0.07730228453874588, -0.05903763696551323, 0.012884128838777542, 0.03816772997379303, -0.02997324801981449, -0.03659782186150551, 0.012861066497862339, 0.030150506645441055, 0.04993491247296333, 0.04327630624175072, -0.05526043847203255, -0.04504586011171341, -0.03782696649432182, -0.007715092971920967, -0.04275689646601677, 0.07367822527885437, -0.0354871042072773, -0.1334502100944519, 0.01799025572836399, -0.021346529945731163, 0.011340156197547913, -0.017497362568974495, 0.0035165748558938503, 0.040761057287454605, -0.06221124157309532, 0.0318022258579731, 0.08818572014570236, 0.04080934822559357, -0.04869721084833145, 0.01269089337438345, 0.02908327430486679, 0.01648683100938797, 0.0035618445836007595, -0.03808656707406044, -0.04976629838347435, 0.03709173575043678, -0.0009419572888873518, -0.06022688001394272, -0.01663205958902836, -0.03751758486032486, 0.011558580212295055, 0.038255732506513596, 0.017786024138331413, 0.020689014345407486, -0.015481720678508282, -0.0016071894206106663, 0.00718365702778101, -0.049492452293634415, -0.03535933420062065, -0.004505579825490713, 0.004020229913294315, -0.035018905997276306, 0.07777383178472519, 0.03037802129983902, 0.002145350445061922, 0.03412817046046257, 0.003335341578349471, 0.008192332461476326, 0.010347303934395313, -0.0094410739839077, 0.04068039357662201, -0.01080358400940895, -0.0204854104667902, 0.011715024709701538, 0.031635720282793045, -0.010173717513680458, -0.03333268687129021, -0.0065552121959626675, 0.014068097807466984, 0.053011205047369, 0.01526469737291336, 0.04232676699757576, 0.014400490559637547, -0.06939974427223206, -0.02628321945667267, -0.2412598729133606, 0.018940823152661324, 0.00937468372285366, -0.003759874263778329, -0.012532414868474007, -0.06656252592802048, 0.014677358791232109, -0.023867899551987648, -0.005206989590078592, 0.07962428033351898, 0.04057823866605759, -0.04402782768011093, 0.028296813368797302, 0.015190809033811092, -0.040502339601516724, 0.052419353276491165, -0.0028002429753541946, 0.019641442224383354, -0.03236960992217064, 0.0275342408567667, 0.024371881037950516, 0.008390592411160469, 0.026553403586149216, -0.13688455522060394, 0.0037332342471927404, 0.01028982549905777, 0.22436411678791046, 0.05250183120369911, 0.03563126176595688, -0.05832631140947342, 0.05784820392727852, -0.02605525776743889, -0.013066274113953114, -0.13772186636924744, 0.045943260192871094, 0.012290982529520988, 0.05757257714867592, -0.046754878014326096, 0.015178173780441284, -0.03919115290045738, -0.03708953782916069, 0.047843363136053085, 0.025803223252296448, -0.07794182002544403, -0.03493798151612282, -0.03682610020041466, -0.05248483270406723, -0.010727792978286743, -0.051559850573539734, 0.02016395516693592, -0.020036403089761734, 0.013420356437563896, 0.027589401230216026, 0.03966311365365982, -0.038096413016319275, -0.03646782413125038, -0.08192615956068039, -0.006020700093358755, -0.0340513177216053, 0.07853943109512329, -0.011385338380932808, -0.05253876373171806, 0.020340533927083015, -0.007476413622498512, 0.03603685274720192, -0.01827613078057766, -0.021833162754774094, 0.01012188196182251, 0.020326117053627968, -0.05890817195177078, -0.031080128625035286, 0.08865267038345337, -0.02102753520011902, 0.01215299405157566, 0.030071847140789032, 0.020968366414308548, 0.012962489388883114, -0.04229285567998886, -0.024803297594189644, -0.03840528801083565, 0.05159664899110794, -0.022279031574726105, 0.019570324569940567, 0.006234746892005205, 0.04655757173895836, 0.0429583378136158, 0.0375249981880188, -0.029581088572740555, 0.05051884427666664, -0.004466109909117222, -0.0033118855208158493, -0.014390842989087105, -0.07804535329341888, -0.030166171491146088, 0.009233358316123486, 0.003732222830876708, -0.2876966893672943, 0.02441488392651081, 0.004616837482899427, 0.0026028896681964397, -0.01598125696182251, 0.05680929869413376, 0.07483328878879547, -0.0008990861242637038, 0.0025425106287002563, -0.01907573826611042, 0.009399129077792168, 0.007870931178331375, 0.0064897676929831505, -0.005878319963812828, 0.03150185942649841, 0.07587733119726181, 0.04836961627006531, -0.04381326213479042, 0.06511116027832031, 0.0025823635514825583, 0.04856632649898529, 0.026640234515070915, 0.24723345041275024, 0.04695779085159302, 0.06684152781963348, 0.058890216052532196, 0.027904745191335678, 0.027759091928601265, 0.07677938789129257, -0.0052325306460261345, 0.011566029861569405, 0.037546586245298386, 0.08236433565616608, -0.040644168853759766, 0.020020313560962677, 0.06631549447774887, -0.02115696482360363, 0.06573037058115005, 0.04651212692260742, -0.038417376577854156, -0.04583980515599251, 0.03390027955174446, -0.01291309017688036, -0.01673775725066662, 0.057217445224523544, -0.037082239985466, -0.0592397078871727, -0.10139486938714981, -0.030226396396756172, 0.02070254646241665, -0.031205151230096817, -0.03809572383761406, -0.031432777643203735, -0.02571607567369938, 0.03300568088889122, 0.045489273965358734, -0.02545962855219841, 0.004410770256072283, -0.0723000094294548, -0.055409666150808334, 0.036849334836006165, -0.05402303487062454, 0.00508123030886054, 0.039381466805934906, 0.011022043414413929 ]
devcenter
https://www.mongodb.com/developer/products/mongodb/getting-started-with-mongodb-and-codewhisperer
created
This tutorial will help you get CodeWhisperer up and running in VS Code, but CodeWhisperer also works with a number of other IDEs, including IntelliJ IDEA, AWS Cloud9, AWS Lambda console, JupyterLab, and Amazon SageMaker Studio. On the [Amazon CodeWhisperer site][1], you can find tutorials that demonstrate how to set up CodeWhisperer on different IDEs, as well as other documentation. *Note:* CodeWhisperer allows users to start without an AWS account because usually, creating an AWS account requires a credit card. Currently, CodeWhisperer is free for individual users. So it’s super easy to get up and running. **Installing CodeWhisperer for VS Code** CodeWhisperer doesn’t have its own VS Code extension. It is part of a larger extension for AWS services called AWS Toolkit. AWS Toolkit is available in the VS Code extensions store.
md
{ "tags": [ "MongoDB", "JavaScript", "Java", "Python", "AWS", "AI" ], "pageDescription": "", "contentType": "Tutorial" }
Getting Started with MongoDB and AWS Codewhisperer
2024-05-20T17:32:23.500Z
[ -0.05912330374121666, -0.04956725239753723, -0.010123714804649353, -0.0076818810775876045, 0.027913479134440422, 0.0193786658346653, -0.010468638502061367, 0.02033318765461445, -0.01157626323401928, -0.004519777838140726, 0.02005293220281601, -0.03447508439421654, 0.04998226463794708, 0.028343981131911278, 0.014512008056044579, 0.01335840206593275, -0.01684892177581787, 0.026301970705389977, -0.0733121708035469, 0.0018834564834833145, 0.034816935658454895, -0.03135986998677254, -0.018258119001984596, -0.07494761794805527, -0.04543324187397957, 0.06402965635061264, -0.023332593962550163, -0.040348295122385025, -0.03521714359521866, -0.1633090227842331, -0.010310163721442223, -0.08239120244979858, 0.07474764436483383, -0.013031975366175175, -0.03609289973974228, -0.06793542951345444, -0.004764730576425791, 0.057811006903648376, -0.024452311918139458, 0.010657520033419132, 0.0014214359689503908, 0.030967047438025475, -0.028557956218719482, -0.009181221015751362, -0.03379865363240242, -0.08151283115148544, 0.014097998850047588, 0.00010605369607219473, 0.0033614395651966333, -0.019467296078801155, 0.03579356148838997, -0.0572035126388073, -0.014095068909227848, -0.007034752052277327, -0.02128194272518158, 0.029183629900217056, 0.019565684720873833, 0.0707620307803154, 0.010158053599298, 0.0033879969269037247, -0.0031601525843143463, -0.002725080354139209, -0.20545068383216858, 0.10065352916717529, 0.030192624777555466, 0.06738818436861038, -0.03051113337278366, -0.04514649882912636, 0.06044328212738037, -0.008023758418858051, -0.04107999429106712, 0.031289637088775635, 0.0020031246822327375, 0.06179361417889595, 0.029154306277632713, -0.030486850067973137, -0.005338627379387617, -0.010879047214984894, 0.04058743640780449, 0.04660867154598236, -0.0702148899435997, -0.023808492347598076, -0.028235342353582382, 0.02712465450167656, -0.02289433591067791, -0.01586328074336052, 0.024067368358373642, -0.004988256376236677, 0.06434391438961029, -0.008521057665348053, -0.06233707442879677, -0.05467665195465088, 0.0031401761807501316, 0.020322933793067932, -0.060672640800476074, -0.01678520068526268, 0.017318960279226303, 0.010884148068726063, -0.08002804219722748, 0.21615484356880188, -0.07275411486625671, -0.0025541349314153194, 0.0014934309292584658, -0.028832226991653442, 0.04062454402446747, -0.047719188034534454, -0.00033487245673313737, -0.03298802673816681, 0.008139137178659439, 0.019815891981124878, -0.0025845153722912073, 0.0073753478936851025, 0.008242454379796982, -0.051006004214286804, 0.009254883974790573, 0.020847829058766365, 0.04022133722901344, 0.031122542917728424, -0.0006301303510554135, 0.0323440246284008, 0.0049721538089215755, 0.005712793208658695, 0.031963955610990524, -0.0016408051596954465, 0.01457089465111494, 0.010495547205209732, 0.04387297108769417, 0.12927217781543732, 0.01633651740849018, 0.02793014608323574, 0.06628692895174026, -0.026561062783002853, -0.03787807747721672, 0.0011017128126695752, -0.009306592866778374, 0.005976339336484671, -0.006002060603350401, 0.020612332969903946, 0.05739011988043785, -0.03318248316645622, -0.043371256440877914, -0.04854609817266464, -0.00964999571442604, -0.06909637153148651, -0.04053006321191788, 0.06902902573347092, -0.05074843391776085, 0.04279724508523941, -0.010601137764751911, -0.04953526332974434, 0.02140066958963871, 0.02372773550450802, -0.04126642271876335, -0.027746496722102165, 0.02870633825659752, 0.041514817625284195, 0.03896549344062805, 0.057562824338674545, -0.0524166114628315, -0.014418811537325382, -0.04568655788898468, -0.03386920318007469, -0.01717698946595192, 0.07626648247241974, -0.02565528266131878, -0.12204457074403763, -0.0043107373639941216, -0.01113554835319519, 0.011371009051799774, -0.02472635917365551, -0.003923811484128237, 0.04707861319184303, -0.033996228128671646, 0.008981510996818542, 0.07223481684923172, 0.028090106323361397, -0.05820503085851669, 0.04093412682414055, 0.030944664031267166, 0.05700363591313362, 0.03282317891716957, -0.01867883838713169, -0.04365021362900734, 0.011856724508106709, 0.018948080018162727, -0.07820384949445724, 0.022375086322426796, -0.04949140176177025, -0.009753843769431114, -0.008244501426815987, -0.015970321372151375, 0.02260269783437252, -0.03802095726132393, -0.02344706282019615, 0.020079920068383217, -0.0095567861571908, -0.06411799788475037, -0.021178368479013443, 0.0162699893116951, -0.04396912455558777, 0.0977291539311409, 0.06236554682254791, 0.01843351311981678, 0.02962503582239151, -0.021556587889790535, 0.01666308008134365, 0.01788431778550148, -0.01654989831149578, 0.0585099533200264, -0.03528611361980438, -0.05568962171673775, 0.025626104325056076, 0.05849584564566612, -0.01894763484597206, -0.04578699544072151, 0.021526765078306198, -0.009581480175256729, 0.04972940683364868, 0.051163364201784134, 0.06928420066833496, 0.0050560953095555305, -0.05443154275417328, -0.019576653838157654, -0.25136667490005493, 0.001794280018657446, -0.0003803022555075586, -0.015920346602797508, -0.03801891580224037, -0.04315490275621414, 0.017581451684236526, -0.017082126811146736, 0.009994019754230976, 0.07674971222877502, 0.10130048543214798, -0.03316579386591911, 0.016036484390497208, -0.0027129794470965862, 0.019267482683062553, 0.06852545589208603, 0.014910530298948288, 0.036600805819034576, -0.019317980855703354, 0.02699637971818447, 0.0037401781883090734, -0.015552441589534283, 0.03437447175383568, -0.07611069083213806, 0.030143262818455696, -0.01584341563284397, 0.2299385815858841, 0.03259648010134697, 0.09556444734334946, -0.02418581023812294, 0.04704134538769722, 0.020482240244746208, -0.009176774881780148, -0.18035265803337097, 0.05196120962500572, 0.024998782202601433, 0.04127652198076248, -0.06101255118846893, 0.03811034932732582, -0.014603198505938053, -0.04413409158587456, 0.02758372761309147, -0.007163569331169128, -0.07897978276014328, -0.0027239748742431402, -0.03803849592804909, -0.046670857816934586, -0.02090638130903244, -0.06465892493724823, 0.0028782838489860296, 0.00265707285143435, -0.004125798586755991, 0.011542008258402348, 0.0839446485042572, -0.024610966444015503, -0.02860696241259575, -0.05787726119160652, -0.0063606551848351955, -0.024693714454770088, 0.06698635220527649, -0.012331143952906132, -0.03345891088247299, 0.004934836644679308, -0.03690994530916214, 0.06410698592662811, -0.005943282041698694, -0.01301139872521162, -0.0064149778336286545, 0.06438877433538437, -0.04318931698799133, -0.048752620816230774, 0.05087365582585335, -0.009786305017769337, 0.021028093993663788, -0.00904950499534607, -0.009572958573698997, 0.00868175458163023, -0.06107879430055618, -0.0019016385776922107, -0.043784018605947495, 0.006567816250026226, -0.025176044553518295, -0.006834041327238083, 0.003431460354477167, 0.030649568885564804, 0.05196879431605339, -0.005685058422386646, 0.00420483760535717, 0.06838396191596985, -0.02267414703965187, -0.0008000857778824866, 0.018357159569859505, -0.016533033922314644, 0.018086984753608704, 0.027148673310875893, 0.0066139488480985165, -0.28333771228790283, 0.015692604705691338, 0.02361142635345459, -0.008422273211181164, -0.04410536214709282, 0.024236386641860008, 0.06795907765626907, -0.03369297459721565, -0.029081951826810837, -0.03828810155391693, 0.03199806436896324, 0.016298696398735046, 0.00030617197626270354, -0.01149661559611559, 0.06481758505105972, 0.04537156969308853, 0.041475698351860046, -0.029731258749961853, 0.08122962713241577, -0.0032689326908439398, 0.06637874245643616, -0.0023490015882998705, 0.23869454860687256, 0.04746460169553757, 0.0357573963701725, 0.06367922574281693, 0.04269178584218025, 0.056099388748407364, 0.09097887575626373, -0.0012609343975782394, 0.019625553861260414, 0.038284800946712494, 0.11712149530649185, -0.03929032385349274, 0.007122901733964682, 0.0025534559972584248, -0.012139270082116127, 0.07911034673452377, 0.05312049388885498, 0.0166099201887846, -0.04880499094724655, 0.01935795694589615, -0.028653297573328018, -0.030089907348155975, 0.03218218311667442, -0.04470108076930046, -0.028576107695698738, -0.08775034546852112, -0.027709806337952614, -0.0006701551028527319, -0.028372185304760933, -0.029849110171198845, -0.03258834779262543, -0.001722013927064836, 0.05632612481713295, 0.018296221271157265, -0.038549985736608505, -0.024344325065612793, -0.07964909076690674, -0.05270636826753616, 0.029637351632118225, -0.052848439663648605, 0.020804377272725105, 0.03039899654686451, 0.02947576344013214 ]
devcenter
https://www.mongodb.com/developer/products/mongodb/getting-started-with-mongodb-and-codewhisperer
created
1. Open VS Code and navigate to the extensions store (bottom icon on the left panel). 2. Search for CodeWhisperer and it will show up as part of the AWS Toolkit. ![Searching for the AWS ToolKit Extension][2] 3. Once found, hit Install. Next, you’ll see the full AWS Toolkit Listing ![The AWS Toolkit full listing][3] 4. Once installed, you’ll need to authorize CodeWhisperer via a Builder ID to connect to your AWS developer account (or set up a new account if you don’t already have one). ![Authorise CodeWhisperer][4] **Using CodeWhisperer** ----------------------- Navigating code suggestions ![CodeWhisperer Running][5]
md
{ "tags": [ "MongoDB", "JavaScript", "Java", "Python", "AWS", "AI" ], "pageDescription": "", "contentType": "Tutorial" }
Getting Started with MongoDB and AWS Codewhisperer
2024-05-20T17:32:23.500Z
[ -0.05871956795454025, -0.01820199191570282, 0.02271755412220955, 0.0016068365657702088, 0.03996641933917999, 0.03970911726355553, -0.014900146052241325, 0.007821847684681416, -0.019832387566566467, 0.009616336785256863, 0.01070330385118723, -0.04804794862866402, 0.03952047973871231, 0.0033300723880529404, 0.05069538205862045, 0.006339354906231165, -0.005725797265768051, 0.03981662914156914, -0.0622992143034935, 0.006768255028873682, 0.04042273387312889, -0.009639103896915913, -0.0006031535449437797, -0.06045015901327133, -0.033478327095508575, 0.04861530289053917, -0.03494558855891228, -0.05235907435417175, -0.02371532842516899, -0.16870439052581787, -0.0390702448785305, -0.06155809015035629, 0.07191391289234161, -0.02654651179909706, -0.03218311443924904, -0.046470075845718384, 0.002143293619155884, 0.052221573889255524, -0.02442501299083233, 0.017718203365802765, 0.03394930064678192, 0.038530461490154266, -0.0186843853443861, -0.023816687986254692, -0.05835160240530968, -0.07699371129274368, 0.019424747675657272, -0.005078177433460951, 0.04383062198758125, -0.03524868190288544, 0.0386701300740242, -0.04039207845926285, -0.007807785179466009, -0.007250288501381874, 0.0034664394333958626, 0.031543511897325516, 0.027550790458917618, 0.058875761926174164, 0.026827968657016754, 0.017313038930296898, 0.015954917296767235, -0.006985791027545929, -0.20557387173175812, 0.11973714828491211, 0.03900568559765816, 0.08521012216806412, -0.046598996967077255, -0.03235277906060219, 0.06158863753080368, 0.0007820152677595615, -0.0515882782638073, -0.0010462355567142367, -0.0018722150707617402, 0.04996912553906441, 0.010106274858117104, -0.006806349381804466, -0.019787322729825974, -0.020674023777246475, 0.07116131484508514, 0.019746702164411545, -0.05694667994976044, -0.007272882387042046, -0.04694529250264168, 0.025617966428399086, -0.01660141721367836, -0.033458441495895386, 0.02589425817131996, 0.0014259199379011989, 0.08902820944786072, -0.0083634527400136, -0.06186306104063988, -0.09349895268678665, -0.005108199547976255, 0.0061410884372889996, -0.05971531942486763, -0.03251815587282181, 0.015771808102726936, -0.0051520452834665775, -0.04099320247769356, 0.2198992818593979, -0.07698217034339905, 0.011169795878231525, -0.015243524685502052, -0.023052414879202843, 0.025949370115995407, -0.04899544268846512, -0.007083760108798742, 0.009653585031628609, 0.01356599759310484, 0.011449270881712437, 0.012412752024829388, 0.009757119230926037, -0.005239611491560936, -0.05523427203297615, 0.028256623074412346, 0.020167432725429535, -0.011713385581970215, 0.021785883232951164, -0.010516972281038761, 0.021364962682127953, -0.005010024178773165, -0.02640758641064167, 0.061185888946056366, -0.016939599066972733, 0.012687313370406628, 0.021042723208665848, 0.05187121406197548, 0.10935565084218979, 0.03283050283789635, 0.033620912581682205, 0.048058439046144485, -0.010738757438957691, -0.02369837462902069, -0.019646504893898964, 0.0011337174801155925, 0.03164700046181679, -0.01851845160126686, 0.0009958427399396896, 0.0496484637260437, -0.035465531051158905, -0.0549405962228775, -0.05413154140114784, -0.014510786160826683, -0.057347603142261505, -0.04146409407258034, 0.056688498705625534, -0.06886126101016998, 0.05099136382341385, -0.023741647601127625, -0.04714411869645119, 0.03323668614029884, 0.021309712901711464, -0.015382134355604649, -0.020101910457015038, 0.06527585536241531, 0.042733438313007355, 0.05359887704253197, 0.04800386354327202, -0.06995204091072083, -0.005141146946698427, -0.03556378185749054, -0.06614048779010773, -0.02643257938325405, 0.09153759479522705, -0.001345721771940589, -0.1144161969423294, -0.0008021019748412073, -0.0029221412260085344, 0.008494200184941292, -0.021984107792377472, 0.01251138374209404, 0.045771222561597824, -0.03863605856895447, 0.0356668122112751, 0.08320064097642899, 0.003494320437312126, -0.040238793939352036, 0.02646542340517044, 0.043924007564783096, 0.03654073178768158, 0.03728252649307251, -0.022578923031687737, -0.046059299260377884, 0.017257537692785263, 0.02004242315888405, -0.06277424842119217, 0.005027187522500753, -0.05535339564085007, -0.0037198031786829233, -0.00277527398429811, -0.023692704737186432, 0.03228817135095596, -0.026685930788517, -0.031137408688664436, 0.04249239340424538, -0.0024989424273371696, -0.06622989475727081, -0.031227577477693558, 0.014061085879802704, -0.047703687101602554, 0.11558227241039276, 0.04211217537522316, -0.013043010607361794, 0.02672102116048336, -0.025396430864930153, 0.020663563162088394, -0.01303142961114645, -0.010681414976716042, 0.07944335788488388, -0.031188426539301872, -0.04799947887659073, 0.05874507874250412, 0.09205950051546097, -0.011989802122116089, -0.027393536642193794, 0.004805554635822773, 0.001055243075825274, 0.05991886928677559, 0.008545773103833199, 0.09434778243303299, -0.004409526474773884, -0.023716028779745102, -0.042296938598155975, -0.24342672526836395, 0.00916001945734024, 0.007947693578898907, -0.00800947193056345, -0.026817133650183678, -0.07445595413446426, 0.018066927790641785, -0.03902015835046768, 0.030281996354460716, 0.07718275487422943, 0.12225768715143204, -0.0478866882622242, 0.015075930394232273, 0.00515877828001976, 0.018878422677516937, 0.054249510169029236, 0.03182003274559975, 0.03039066307246685, -0.014082745648920536, 0.023773958906531334, 0.009080655872821808, 0.008690189570188522, -0.00349931581877172, -0.0680435374379158, 0.02572433277964592, -0.03403325751423836, 0.22197788953781128, 0.0386873222887516, 0.09145279228687286, -0.01953541859984398, 0.05300212651491165, -0.0004734789836220443, -0.02667936682701111, -0.16270235180854797, 0.0476626455783844, 0.043470341712236404, 0.03142491728067398, -0.047631219029426575, 0.034227099269628525, -0.011771807447075844, -0.03377627581357956, 0.04738180339336395, -0.008516130968928337, -0.06593245267868042, 0.015796992927789688, -0.060874223709106445, -0.042725253850221634, -0.02055138535797596, -0.06387607753276825, -0.019902309402823448, 0.005415554624050856, 0.02349703386425972, 0.020437417551875114, 0.06495226174592972, -0.03602316230535507, -0.008163556456565857, -0.03893959894776344, -0.0023326657246798277, 0.005185767542570829, 0.07049894332885742, -0.010630179196596146, -0.04444020614027977, -0.0142947593703866, -0.05734708905220032, 0.06356596946716309, 0.013583873398602009, -0.014417152851819992, 0.0007895550224930048, 0.04342348128557205, -0.07975931465625763, -0.04614906385540962, 0.014234095811843872, -0.024424873292446136, 0.010245062410831451, -0.017417682334780693, 0.002760697156190872, 0.0028270527254790068, -0.029065001755952835, 0.00622117705643177, -0.04776909202337265, 0.025299081578850746, -0.05382006615400314, -0.006337800528854132, 0.006046705413609743, -0.00035052362363785505, 0.0481659360229969, -0.005273536313325167, -0.024587756022810936, 0.03639594838023186, -0.01011575385928154, -0.010573900304734707, -0.004176631104201078, -0.001685447059571743, -0.017273087054491043, 0.02690621092915535, 0.009796502068638802, -0.2614481449127197, 0.00985250249505043, 0.049858469516038895, -0.02059471793472767, -0.03223581239581108, 0.035342585295438766, 0.06289763003587723, -0.04749637842178345, -0.030199002474546432, -0.032221272587776184, 0.004358651582151651, 0.03456239029765129, 0.009059489704668522, -0.04207269102334976, 0.03972112014889717, 0.05428393930196762, 0.0721905454993248, -0.01472803670912981, 0.0645073801279068, -0.030015304684638977, 0.0398089662194252, -0.027290508151054382, 0.24904802441596985, 0.045994844287633896, 0.027370261028409004, 0.056523825973272324, -0.0025498655159026384, 0.027549853548407555, 0.07067347317934036, -0.0023732390254735947, 0.04941349849104881, 0.041001468896865845, 0.07907385379076004, -0.04000482335686684, -0.0011999421985819936, 0.016948534175753593, -0.027810359373688698, 0.07323940843343735, 0.06440794467926025, 0.024900605902075768, -0.030493726953864098, -0.023691296577453613, -0.02925453521311283, -0.0005453886114992201, 0.019267020747065544, -0.08199535310268402, -0.027925102040171623, -0.09169542044401169, -0.016199130564928055, -0.009520518593490124, -0.049145087599754333, -0.02929823473095894, -0.02566525526344776, -0.0025417115539312363, 0.0678548738360405, 0.031544748693704605, -0.01736298017203808, -0.026651209220290184, -0.06119527667760849, -0.026134420186281204, 0.014863639138638973, -0.07787349075078964, 0.04019448161125183, 0.019457675516605377, 0.02923324517905712 ]
devcenter
https://www.mongodb.com/developer/products/mongodb/getting-started-with-mongodb-and-codewhisperer
created
**Using CodeWhisperer** ----------------------- Navigating code suggestions ![CodeWhisperer Running][5] With CodeWhisperer installed and running, as you enter your prompt or code, CodeWhisperer will offer inline code suggestions. If you want to keep the suggestion, use **TAB** to accept it. CodeWhisperer may provide multiple suggestions to choose from depending on your use case. To navigate between suggestions, use the left and right arrow keys to view them, and **TAB** to accept. If you don’t like the suggestions you see, keep typing (or hit **ESC**). The suggestions will disappear, and CodeWhisperer will generate new ones at a later point based on the additional context. **Requesting suggestions manually**
md
{ "tags": [ "MongoDB", "JavaScript", "Java", "Python", "AWS", "AI" ], "pageDescription": "", "contentType": "Tutorial" }
Getting Started with MongoDB and AWS Codewhisperer
2024-05-20T17:32:23.500Z
[ -0.07219529896974564, -0.007200576364994049, -0.0023679619189351797, -0.04683566093444824, -0.007351596374064684, 0.04573453217744827, 0.0234117042273283, 0.047622475773096085, 0.004880059976130724, -0.01350026112049818, 0.0017455840716138482, -0.01147446222603321, 0.003620678326115012, 0.06456026434898376, 0.04201526194810867, 0.027978448197245598, -0.005891167558729649, 0.03633394464850426, -0.056057725101709366, -0.006549903191626072, 0.07699013501405716, -0.024495506659150124, 0.01454988494515419, -0.04487595707178116, -0.0369144044816494, 0.058137234300374985, -0.05351629480719566, -0.048284392803907394, -0.04087178036570549, -0.18545901775360107, -0.0077151646837592125, -0.040649864822626114, 0.0668504610657692, -0.02701885811984539, -0.05109964311122894, -0.04196247458457947, -0.012065839022397995, 0.057561881840229034, -0.05318889394402504, 0.041140053421258926, 0.0032745699863880873, 0.028846895322203636, -0.01756139099597931, -0.009351656772196293, -0.07429204881191254, -0.03719945624470711, 0.002216695575043559, -0.008826563134789467, 0.015243343077600002, -0.022476153448224068, -0.007675874512642622, -0.05828876048326492, 0.015220393426716328, -0.01640448532998562, -0.013434724882245064, 0.012811698950827122, 0.027096088975667953, 0.05020613223314285, 0.052735671401023865, 0.07030796259641647, 0.04744071885943413, 0.011391091160476208, -0.21079744398593903, 0.1010943055152893, 0.0454341284930706, 0.034064050763845444, 0.010590810328722, -0.0107339508831501, 0.007464841473847628, 0.06633681058883667, -0.04084102436900139, 0.036015741527080536, -0.008110394701361656, 0.06985516846179962, 0.0190338846296072, -0.026334933936595917, 0.0007140286033973098, -0.017584742978215218, 0.016726968809962273, 0.00607981625944376, -0.06448670476675034, 0.016941437497735023, -0.04255497455596924, -0.007974726147949696, -0.005926134530454874, -0.013330211862921715, -0.013061612844467163, -0.03089050017297268, 0.06998670101165771, -0.017345638945698738, -0.018918758258223534, -0.0966050922870636, 0.03520344942808151, 0.032176606357097626, -0.06369821727275848, 0.0032544510904699564, 0.03959451988339424, 0.03650794178247452, -0.09506872296333313, 0.2008533477783203, -0.0445808582007885, -0.021390613168478012, 0.009464537724852562, -0.04468607157468796, -0.004747705068439245, -0.034014906734228134, 0.00676710857078433, -0.028678366914391518, -0.020017944276332855, 0.01668495126068592, 0.020818812772631645, -0.006834806874394417, 0.03432050719857216, -0.04448347166180611, -0.007209158036857843, 0.036856118589639664, 0.02519324980676174, 0.004883793648332357, -0.0018002361757680774, 0.03909522294998169, -0.0044090221635997295, -0.0023722751066088676, 0.03602426126599312, -0.010787720791995525, 0.008132567629218102, -0.0440460741519928, 0.031698860228061676, 0.10228215903043747, 0.05886335298418999, 0.028753507882356644, 0.05561426654458046, -0.007130622398108244, -0.012954083271324635, 0.010537614114582539, -0.014830810017883778, 0.0011328293476253748, 0.018300646916031837, -0.014822615310549736, 0.06235508620738983, -0.06100744381546974, -0.031777650117874146, -0.07216332107782364, -0.00918410625308752, -0.10775219649076462, -0.028793465346097946, 0.11485376954078674, -0.06609920412302017, 0.010311971418559551, -0.035015005618333817, -0.04295056685805321, 0.018239468336105347, -0.024812135845422745, -0.045073192566633224, -0.016131607815623283, 0.037835270166397095, 0.0836157575249672, 0.033513132482767105, 0.041703250259160995, -0.04237212985754013, 0.006349225994199514, -0.02171032316982746, -0.02212170697748661, -0.06177392229437828, 0.07542712241411209, -0.0036513940431177616, -0.09062798321247101, -0.05042661353945732, -0.004599933512508869, -0.026765134185552597, -0.0024087452329695225, -0.0423416942358017, 0.044667378067970276, -0.07200535386800766, 0.03651238977909088, 0.09540022909641266, 0.06017360836267471, -0.04210103675723076, 0.02442234568297863, 0.04022708162665367, 0.043097853660583496, 0.021845752373337746, -0.010687957517802715, -0.03969163820147514, 0.031607430428266525, 0.012489695101976395, -0.04416107013821602, 0.0027010038029402494, -0.09198566526174545, -0.011844968423247337, 0.05961140617728233, -0.031580012291669846, -0.0401809886097908, -0.010186773724853992, -0.04462385177612305, 0.01388029009103775, -0.03464798256754875, -0.00855294894427061, -0.035018760710954666, 0.03434687480330467, -0.03043045662343502, 0.081619031727314, 0.03846105933189392, -0.029460454359650612, 0.06322039663791656, -0.013578984886407852, 0.04033845663070679, 0.007373737636953592, -0.03392805531620979, 0.10103865712881088, -0.004520427901297808, -0.05030258744955063, -0.005683999974280596, 0.0945693626999855, 0.0013067031977698207, -0.03736463934183121, -0.023353617638349533, -0.00342916720546782, 0.04337538778781891, 0.03811490535736084, 0.051406487822532654, 0.020651258528232574, -0.030707405880093575, -0.0176247451454401, -0.2301282435655594, 0.018612906336784363, 0.0361890010535717, -0.01730480045080185, -0.022945024073123932, -0.072504423558712, 0.051576413214206696, -0.05085672810673714, 0.025766881182789803, 0.07191503047943115, 0.07556995004415512, -0.004318426828831434, 0.01326126977801323, -0.017749490216374397, -0.005015205126255751, 0.04822871834039688, 0.011884532868862152, 0.007848590612411499, -0.023692404851317406, 0.031088456511497498, 0.011947265826165676, 0.018293840810656548, 0.025121914222836494, -0.12013304233551025, -0.006517432630062103, -0.016336683183908463, 0.20540203154087067, 0.06778241693973541, 0.04942258074879646, -0.029100041836500168, 0.07646021246910095, 0.0342484749853611, 0.011317135766148567, -0.1658330261707306, 0.031245321035385132, 0.039453547447919846, 0.030204201117157936, -0.025472421199083328, 0.002936129691079259, -0.04913449287414551, -0.04545826464891434, 0.040408678352832794, -0.024034831672906876, -0.07656322419643402, -0.028476987034082413, -0.04685103893280029, -0.03350255638360977, -0.03712062910199165, -0.02840801514685154, 0.02036937139928341, 0.01891823671758175, -0.0314280204474926, 0.02428959496319294, 0.04779398813843727, -0.028402823954820633, -0.03864827752113342, -0.04363930597901344, -0.011555241420865059, -0.018772752955555916, 0.053924672305583954, -0.008576576597988605, -0.004781269934028387, 0.0071861580945551395, -0.028565458953380585, 0.024297446012496948, 0.008557110093533993, 0.005961441434919834, -0.014761647209525108, 0.06938837468624115, -0.028258860111236572, -0.018174225464463234, 0.06288830935955048, -0.0019055787706747651, -0.016641870141029358, 0.01545774657279253, 0.02856118232011795, 0.002445399295538664, 0.011800811626017094, -0.04919436573982239, -0.07287905365228653, 0.01323539949953556, 0.006066884845495224, 0.03960966318845749, 0.003980312962085009, 0.0031993938609957695, -0.013313679955899715, 0.032130274921655655, -0.012324785813689232, 0.07161279767751694, -0.018607094883918762, -0.02247966080904007, -0.033920276910066605, -0.035530075430870056, -0.021720003336668015, 0.02136916108429432, -0.0022947608958929777, -0.26968905329704285, 0.04624180495738983, 0.0504014827311039, -0.02924654260277748, -0.047130998224020004, 0.04355129227042198, 0.05019308626651764, -0.019922442734241486, -0.05596364662051201, 0.013785745948553085, 0.0035359449684619904, 0.02140096202492714, 0.018922729417681694, -0.030728284269571304, 0.03425144776701927, 0.006881200708448887, 0.0757732018828392, -0.04892084747552872, 0.05184714496135712, -0.04503336921334267, 0.05707583203911781, -0.010581516660749912, 0.24344919621944427, -0.007334514521062374, 0.08144517987966537, 0.045608654618263245, 0.032321639358997345, 0.015824871137738228, 0.07946675270795822, -0.02387763373553753, 0.027687812224030495, 0.01836283877491951, 0.09049879014492035, -0.06141658127307892, 0.026511305943131447, 0.03067007102072239, -0.05009259283542633, 0.04111587256193161, 0.04403599724173546, -0.021872958168387413, -0.04616454243659973, 0.034284450113773346, -0.03610770031809807, -0.04583326727151871, 0.02371283248066902, -0.02146756649017334, -0.02359299547970295, -0.016000978648662567, -0.009371851570904255, 0.05267879739403725, -0.04248494654893875, -0.022022150456905365, -0.06119023263454437, -0.02831248752772808, 0.05669059231877327, 0.04198022559285164, -0.045058734714984894, -0.021934784948825836, -0.03851491957902908, -0.005814631003886461, 0.06345711648464203, -0.06549942493438721, 0.049250323325395584, 0.007709398400038481, 0.026673216372728348 ]
devcenter
https://www.mongodb.com/developer/products/mongodb/getting-started-with-mongodb-and-codewhisperer
created
**Requesting suggestions manually** You can request suggestions at any time. Use **Option-C** on Mac or **ALT-C** on Windows. After you receive suggestions, use **TAB** to accept and arrow keys to navigate. **Getting the best recommendations** For best results, follow these practices.
md
{ "tags": [ "MongoDB", "JavaScript", "Java", "Python", "AWS", "AI" ], "pageDescription": "", "contentType": "Tutorial" }
Getting Started with MongoDB and AWS Codewhisperer
2024-05-20T17:32:23.500Z
[ -0.037793900817632675, 0.009321185760200024, 0.018807388842105865, -0.022428542375564575, -0.023728396743535995, 0.04572127014398575, 0.054113537073135376, 0.027041301131248474, 0.012802472338080406, -0.03669269382953644, 0.012890598736703396, -0.03439677134156227, -0.017111748456954956, 0.061397772282361984, 0.045659832656383514, 0.030186286196112633, 0.007265117019414902, 0.017791898921132088, -0.03217662125825882, -0.008247212506830692, 0.04321622475981712, -0.026222215965390205, -0.029573161154985428, -0.04485222324728966, 0.0008112976211123168, -0.0014118263497948647, -0.04052519053220749, -0.0437161847949028, -0.08662085980176926, -0.1603887677192688, -0.01092220377177, -0.018165940418839455, 0.05181604251265526, -0.02848479151725769, -0.014809837564826012, -0.044725336134433746, -0.014165778644382954, 0.06318988651037216, -0.038618165999650955, 0.038166504353284836, 0.05132497847080231, -0.006224843207746744, -0.021358618512749672, -0.029839789494872093, -0.042758066207170486, -0.04392864555120468, -0.00872363243252039, 0.0073247142136096954, 0.05022671818733215, 0.05315675958991051, 0.004423143807798624, -0.0032081662211567163, 0.033602483570575714, -0.0034678010269999504, -0.003659337991848588, 0.059933580458164215, 0.049641113728284836, 0.034657835960388184, 0.06384047865867615, 0.05830029770731926, 0.05683582276105881, 0.05480308458209038, -0.20362578332424164, 0.10823395103216171, 0.02217058464884758, 0.02619119919836521, -0.0017239925218746066, -0.025952933356165886, -0.029959354549646378, 0.0777672678232193, -0.025737078860402107, 0.010987011715769768, -0.02690422348678112, 0.06630630791187286, 0.010415296070277691, -0.03986688330769539, -0.03024427592754364, -0.01102480199187994, 0.020246393978595734, -0.01164743211120367, -0.05892029032111168, 0.02638416364789009, -0.05414627864956856, -0.01799592189490795, 0.005147814750671387, -0.011108439415693283, -0.0057876743376255035, -0.008316446095705032, 0.062751904129982, 0.0025336425751447678, -0.017144083976745605, -0.09244409948587418, 0.011034232564270496, 0.02596386894583702, -0.07102487981319427, -0.017559397965669632, 0.06145581230521202, 0.017194345593452454, -0.09619943052530289, 0.22565534710884094, -0.036283187568187714, 0.0037654743064194918, -0.0048670987598598, -0.042782992124557495, 0.013975501991808414, -0.0394892655313015, 0.012976190075278282, -0.009639079682528973, 0.006693981122225523, 0.03117252141237259, 0.011002631857991219, -0.016895709559321404, 0.025843283161520958, -0.0517733171582222, -0.02590380422770977, 0.05624527111649513, 0.019828442484140396, 0.0183690395206213, 0.00533243827521801, -0.020469924435019493, -0.016628066077828407, -0.009548184461891651, 0.04043203964829445, -0.027468090876936913, 0.02286382019519806, -0.0765518844127655, 0.029289592057466507, 0.09746314585208893, 0.039572425186634064, 0.012349767610430717, 0.06724753230810165, -0.011221016757190228, -0.04419897869229317, -0.0174839049577713, 0.014571486972272396, 0.007844672538340092, -0.004001109395176172, -0.04442867636680603, 0.0594056136906147, -0.05166370049118996, -0.03187919780611992, -0.09816940128803253, -0.013180303387343884, -0.09972770512104034, 0.0008045025751926005, 0.1273200511932373, -0.02755092643201351, 0.024945998564362526, -0.055602192878723145, -0.04751752316951752, 0.02498241513967514, -0.024761579930782318, -0.0487210787832737, -0.017885619774460793, 0.040575023740530014, 0.054209839552640915, 0.059566520154476166, 0.04523811116814613, -0.03785395994782448, 0.006427664775401354, -0.057239364832639694, -0.037636782974004745, -0.04010554403066635, 0.08293232321739197, 0.027447907254099846, -0.06240003556013107, -0.06532762944698334, -0.012609122321009636, -0.03348059207201004, 0.0045853713527321815, -0.01804211363196373, 0.03291761130094528, -0.07252904772758484, 0.062435682862997055, 0.1199868768453598, 0.027807479724287987, -0.05310938507318497, -0.0039885020814836025, 0.017379701137542725, -0.0016298992559313774, 0.016826210543513298, -0.004520312882959843, -0.03459160029888153, 0.03164343163371086, 0.05970083549618721, -0.02596905641257763, -0.01368629839271307, -0.0825391337275505, 0.010832763276994228, 0.06189631670713425, -0.007443650159984827, -0.03224870562553406, 0.006040087901055813, -0.05986819416284561, -0.016035040840506554, -0.02805732935667038, 0.005427268799394369, -0.02486884966492653, 0.021010804921388626, -0.026944708079099655, 0.06370200961828232, 0.020495377480983734, -0.04642461985349655, 0.04141881689429283, -0.011611506342887878, 0.031151417642831802, -0.021296832710504532, -0.006292169447988272, 0.11350586265325546, -0.00907672569155693, -0.06386901438236237, 0.003627450205385685, 0.08965949714183807, -0.015156065113842487, -0.08534363657236099, -0.02342389151453972, 0.021128801628947258, 0.017216257750988007, 0.03557581827044487, 0.06010408699512482, 0.033435989171266556, -0.036115821450948715, -0.047892771661281586, -0.238566592335701, 0.0036982542369514704, 0.011278401128947735, 0.012793921865522861, 0.030035240575671196, -0.0736900120973587, 0.04662588611245155, -0.04594456031918526, 0.017004450783133507, 0.10982917249202728, 0.08859597891569138, 0.007775675971060991, -0.006300749257206917, 0.007540753111243248, 0.024509860202670097, 0.0648278146982193, 0.01149452943354845, 0.0004222189891152084, 0.008024278096854687, -0.013897878117859364, 0.04013552516698837, 0.007727045565843582, -0.009119548834860325, -0.0744733139872551, 0.0031310110352933407, -0.0029081632383167744, 0.19999225437641144, 0.055625997483730316, 0.03178805485367775, -0.05338583141565323, 0.04767031595110893, 0.04720021039247513, -0.016579778864979744, -0.14847612380981445, 0.025365736335515976, 0.07964210957288742, 0.04551655426621437, -0.01656889170408249, -0.01499549113214016, -0.043143462389707565, 0.011811045929789543, 0.03547164425253868, -0.005406249314546585, -0.06258546561002731, -0.03925054520368576, -0.05759356543421745, 0.020672732964158058, 0.023309379816055298, -0.02797451987862587, -0.0006244744290597737, 0.0029789733234792948, -0.007212336640805006, -0.031651489436626434, 0.01724250055849552, -0.03130735829472542, -0.03397735580801964, -0.060878559947013855, -0.009434892795979977, -0.004290073178708553, 0.02336275205016136, 0.016936903819441795, -0.01378664281219244, -0.0018249565036967397, -0.05369384214282036, 0.046669840812683105, -0.0007146314601413906, -0.017650775611400604, -0.01658075675368309, 0.03293752670288086, -0.023006532341241837, -0.024630529806017876, 0.07290324568748474, -0.027762368321418762, 0.02311171591281891, 0.06035003438591957, 0.027861297130584717, 0.03862880542874336, -0.004764759447425604, -0.05449381470680237, -0.08047280460596085, 0.0102135194465518, -0.04161445423960686, 0.054460763931274414, 0.018476568162441254, 0.023799078539013863, -0.001577187911607325, 0.040537405759096146, -0.011185001581907272, 0.030350036919116974, -0.05193057283759117, -0.009465787559747696, -0.03525020554661751, -0.06686870008707047, -0.032832175493240356, 0.035943061113357544, -0.0039178356528282166, -0.24916629493236542, 0.07004310935735703, 0.02698940597474575, 0.004463582299649715, -0.023180127143859863, -0.005738710053265095, 0.0213940292596817, 0.014815314672887325, -0.06148912012577057, 0.05455274134874344, -0.026988329365849495, 0.04420129582285881, 0.0025797307025641203, -0.038586996495723724, 0.015695005655288696, 0.013631303794682026, 0.07385067641735077, -0.0675879567861557, 0.0373377688229084, -0.08362340182065964, 0.038592636585235596, 0.01706423982977867, 0.2671044170856476, -0.011112314648926258, 0.039362408220767975, 0.02144581824541092, -0.01694333925843239, -0.0031195860356092453, 0.020983053371310234, -0.016738424077630043, 0.06436119228601456, 0.0025098000187426805, 0.047071319073438644, -0.0710163488984108, 0.04247336462140083, 0.048562198877334595, -0.06848364323377609, 0.01761539839208126, 0.012053390964865685, -0.00967200007289648, -0.05149397253990173, 0.020216509699821472, -0.02430751919746399, -0.039666034281253815, 0.05577218160033226, -0.0503193661570549, -0.027453718706965446, -0.013567409478127956, 0.021882401779294014, 0.03267861530184746, -0.04495983198285103, -0.021828586235642433, -0.032376695424318314, -0.00505529111251235, 0.06477206200361252, 0.03985955938696861, -0.011876444332301617, -0.028889279812574387, -0.017242927104234695, 0.0013814871199429035, 0.0558721087872982, -0.047885432839393616, 0.03873791545629501, 0.014515497721731663, 0.05314396321773529 ]
devcenter
https://www.mongodb.com/developer/products/mongodb/getting-started-with-mongodb-and-codewhisperer
created
**Getting the best recommendations** For best results, follow these practices. - Give CodeWhisperer something to work with. The more code your file contains, the more context CodeWhisperer has for generating recommendations. - Write descriptive comments in natural language — for example ``` // Take a JSON document as a String and store it in MongoDB returning the _id ``` Or ``` //Insert a document in a collection with a given _id and a discountLevel ``` - Specify the libraries you prefer at the start of your file by using import statements. ``` // This Java class works with MongoDB sync driver. // This class implements Connection to MongoDB and CRUD methods. ``` - Use descriptive names for variables and functions - Break down complex tasks into simpler tasks **Provide feedback** ----------------
md
{ "tags": [ "MongoDB", "JavaScript", "Java", "Python", "AWS", "AI" ], "pageDescription": "", "contentType": "Tutorial" }
Getting Started with MongoDB and AWS Codewhisperer
2024-05-20T17:32:23.500Z
[ -0.055695611983537674, -0.00236820918507874, 0.0050787474028766155, -0.05617925524711609, 0.02910137176513672, -0.0006241381051950157, 0.002846823073923588, 0.08091509342193604, -0.049371395260095596, -0.02040194533765316, 0.001094409148208797, -0.013390183448791504, 0.007512558717280626, 0.06620067358016968, 0.004569822922348976, -0.0029153921641409397, 0.029886847361922264, 0.03558345139026642, -0.04714042320847511, 0.005867069121450186, 0.04673182591795921, -0.011296495795249939, -0.013824881985783577, -0.07873107492923737, 0.01005902886390686, 0.05667989328503609, -0.04688303545117378, -0.04732895642518997, -0.04986097663640976, -0.18483585119247437, -0.025223860517144203, -0.04962671175599098, 0.05860031768679619, -0.017313985154032707, -0.020274773240089417, -0.001265868777409196, 0.026398470625281334, 0.03669639676809311, -0.016126107424497604, 0.015656787902116776, 0.03749068081378937, 0.007738899905234575, -0.0295272059738636, -0.04096536338329315, -0.04473273083567619, -0.05718496814370155, -0.009822935797274113, -0.02763761393725872, -0.016137821599841118, -0.012247064150869846, -0.03636874631047249, -0.04222671315073967, 0.015852779150009155, -0.004404523875564337, 0.009336058050394058, 0.022837486118078232, 0.05800315737724304, 0.06984680891036987, -0.0077041438780725, -0.0000820206114440225, 0.02671784721314907, 0.021678972989320755, -0.1590983271598816, 0.0809110775589943, 0.02753463014960289, 0.0476592518389225, -0.051965273916721344, -0.00986643135547638, 0.006206936668604612, 0.03993429243564606, -0.027925947681069374, 0.02558160200715065, 0.019286785274744034, 0.0862031951546669, -0.00017021421808749437, -0.017607256770133972, 0.015593573451042175, -0.05190267041325569, 0.0003254610055591911, 0.06149045377969742, -0.08523871004581451, -0.013042930513620377, -0.02378654293715954, -0.03625630587339401, -0.0022003869526088238, -0.03880161792039871, 0.03072497434914112, -0.01098894327878952, 0.04499967396259308, -0.01663730852305889, 0.014007783494889736, -0.02992239035665989, 0.0157968457788229, 0.02289891615509987, -0.057720836251974106, 0.01516731083393097, 0.020805854350328445, 0.013572982512414455, -0.03957191854715347, 0.23236492276191711, -0.04796690493822098, -0.0006253543542698026, 0.041414741426706314, -0.0449502170085907, 0.0019442661432549357, -0.06068355217576027, 0.016762306913733482, 0.010369062423706055, 0.03140956908464432, 0.00279442360624671, -0.014311880804598331, -0.03582688421010971, 0.018290219828486443, -0.05279656872153282, 0.025023752823472023, 0.04383077099919319, 0.04617001861333847, 0.016036223620176315, -0.03534609451889992, 0.03275680169463158, 0.014399336650967598, 0.0029663327150046825, 0.027592508122324944, 0.007959016598761082, 0.030699342489242554, -0.07442841678857803, 0.021305890753865242, 0.06906262040138245, 0.08129754662513733, 0.0707140788435936, 0.028977075591683388, 0.03593606501817703, -0.08361281454563141, -0.017827922478318214, 0.022676242515444756, 0.023655952885746956, -0.020352348685264587, 0.0018379084067419171, 0.073940709233284, 0.0016399079468101263, -0.0026105036959052086, -0.06367917358875275, -0.031486980617046356, -0.10842880606651306, -0.036431364715099335, 0.09665786474943161, -0.051568206399679184, 0.052853312343358994, -0.05164862424135208, -0.042413029819726944, -0.01631591096520424, 0.05123466998338699, -0.047254208475351334, -0.02542833611369133, 0.017207089811563492, 0.062368638813495636, 0.06508921086788177, 0.020414745435118675, -0.07700587064027786, -0.004360890481621027, -0.013089976273477077, -0.025951873511075974, -0.05019024387001991, 0.07697641849517822, 0.0013358198339119554, -0.07774447649717331, -0.024770554155111313, 0.005727393552660942, 0.013605019077658653, -0.032849349081516266, -0.021596606820821762, 0.029196498915553093, -0.039662916213274, 0.006047962233424187, 0.08356846123933792, 0.031162945553660393, -0.05187661573290825, 0.02055879309773445, 0.012490234337747097, 0.003978442400693893, 0.043933551758527756, -0.024383505806326866, -0.06633298099040985, 0.022312389686703682, 0.01888468489050865, -0.028290191665291786, -0.027069637551903725, -0.04738527536392212, 0.016490522772073746, 0.056800417602062225, -0.03874083235859871, -0.03903587907552719, 0.011655190959572792, -0.04116583988070488, 0.0120700653642416, -0.021465739235281944, 0.00861174613237381, -0.0186129342764616, 0.005946533754467964, -0.04958361014723778, 0.0672619640827179, 0.055721137672662735, -0.009551063179969788, 0.054740775376558304, 0.0019723293371498585, 0.025944959372282028, 0.0014880078379064798, -0.024459701031446457, 0.07938884943723679, -0.01428594533354044, -0.07068236917257309, -0.0012413474032655358, 0.061165858060121536, -0.0035942515823990107, -0.06046631559729576, -0.007311258465051651, 0.04062870517373085, 0.04159404709935188, 0.044879697263240814, 0.05847834423184395, 0.02247503586113453, -0.0921037346124649, -0.025269148871302605, -0.27786532044410706, 0.012111498042941093, 0.012120451778173447, 0.009503860026597977, 0.06455344706773758, -0.07449907809495926, 0.019182315096259117, -0.08013873547315598, -0.020658740773797035, 0.06243118271231651, 0.040535155683755875, -0.048018790781497955, -0.0025278711691498756, 0.0019773428793996572, -0.01684676855802536, 0.07147545367479324, 0.008535673841834068, 0.012086155824363232, -0.04320422187447548, 0.007153083570301533, 0.01597418449819088, 0.017008783295750618, 0.027225613594055176, -0.1031356081366539, 0.009467082098126411, 0.004777588415890932, 0.207661435008049, 0.032446954399347305, 0.021839266642928123, -0.042961008846759796, 0.0753927230834961, -0.017696229740977287, -0.016797110438346863, -0.14900200068950653, 0.03215323016047478, -0.004802474286407232, 0.05304794758558273, 0.0026357010938227177, -0.02419143356382847, -0.03497767075896263, 0.03402617201209068, 0.04107244685292244, 0.02502826228737831, -0.0429203175008297, -0.03560382127761841, -0.06589100509881973, -0.030740661546587944, -0.02382148988544941, -0.034585487097501755, 0.028182832524180412, -0.025913989171385765, 0.011347646825015545, 0.04251425713300705, 0.01982596144080162, -0.07505719363689423, -0.02396324835717678, -0.08323560655117035, 0.021711574867367744, -0.04432389885187149, 0.05837050452828407, -0.006356710568070412, -0.050307586789131165, 0.03017256408929825, -0.0345100574195385, 0.03438481315970421, -0.019949520006775856, 0.0037659532390534878, 0.039171624928712845, 0.017529482021927834, -0.0063365004025399685, -0.019170230254530907, 0.024803051725029945, -0.05577416718006134, -0.0025880392640829086, 0.04767189547419548, 0.03502635657787323, 0.01880922168493271, -0.037138424813747406, -0.03166656941175461, -0.05136103555560112, 0.04996437951922417, 0.004334522411227226, 0.05449600890278816, -0.009764817543327808, 0.012133405543863773, 0.02583835832774639, 0.06206250190734863, -0.01690293848514557, 0.02641027793288231, -0.011081100441515446, -0.007215860299766064, -0.02756653167307377, -0.04762027785181999, -0.03192867711186409, 0.04452415183186531, 0.0035276557318866253, -0.30632543563842773, 0.025713995099067688, 0.004612809978425503, 0.018821222707629204, -0.014620828442275524, 0.02432386949658394, 0.06516043096780777, -0.021676499396562576, 0.0004940152284689248, 0.033194150775671005, 0.023705914616584778, -0.01065104641020298, 0.012875339016318321, -0.01742652803659439, 0.009375527501106262, 0.01896175742149353, 0.027844805270433426, -0.04289470240473747, 0.07851490378379822, -0.008754848502576351, 0.0530940517783165, 0.02487294003367424, 0.24468553066253662, 0.018762441352009773, 0.06441257894039154, 0.04688052088022232, 0.02780052274465561, 0.025442032143473625, 0.05943107232451439, 0.00945729948580265, 0.04275715351104736, -0.014716705307364464, 0.09428852051496506, -0.028986524790525436, 0.020547669380903244, 0.06414888799190521, -0.030584057793021202, 0.04639140143990517, 0.040425483137369156, -0.008854225277900696, -0.023830007761716843, 0.02516099251806736, -0.013106636703014374, -0.03574560582637787, 0.08171810954809189, -0.028469957411289215, -0.04855656996369362, -0.0801795944571495, -0.004858932923525572, 0.014886267483234406, -0.06767338514328003, -0.022968748584389687, -0.027033919468522072, -0.03252154216170311, 0.015322723425924778, 0.05757013335824013, -0.025679899379611015, -0.008951148949563503, -0.046677444130182266, -0.03158242627978325, 0.04240686446428299, -0.07380779087543488, 0.04164838045835495, 0.04369110241532326, 0.004862275440245867 ]
devcenter
https://www.mongodb.com/developer/products/mongodb/getting-started-with-mongodb-and-codewhisperer
created
**Provide feedback** ---------------- As with all generative AI tools, they are forever learning and forever expanding their foundational knowledge base, and MongoDB is looking for feedback. If you are using Amazon CodeWhisperer in your MongoDB development, we’d love to hear from you. We’ve created a special “codewhisperer” tag on our [Developer Forums][6], and if you tag any post with this, it will be visible to our CodeWhisperer project team and we will get right on it to help and provide feedback. If you want to see what others are doing with CodeWhisperer on our forums, the [tag search link][7] will jump you straight into all the action. We can’t wait to see your thoughts and impressions of MongoDB and Amazon CodeWhisperer together.
md
{ "tags": [ "MongoDB", "JavaScript", "Java", "Python", "AWS", "AI" ], "pageDescription": "", "contentType": "Tutorial" }
Getting Started with MongoDB and AWS Codewhisperer
2024-05-20T17:32:23.500Z
[ -0.0754004493355751, -0.030515208840370178, 0.0367886982858181, -0.012632420286536217, 0.01949852705001831, -0.024691054597496986, -0.026394423097372055, 0.0338144414126873, -0.04351126775145531, 0.01708023063838482, 0.016154516488313675, -0.04983565956354141, 0.021673787385225296, 0.06961667537689209, 0.015173956751823425, 0.02188725769519806, 0.0063801114447414875, -0.00046674476470798254, -0.05445189028978348, -0.022309133782982826, 0.05680975317955017, -0.041075706481933594, -0.0009826241293922067, -0.07376844435930252, -0.04747067019343376, 0.05121760815382004, -0.04430000111460686, -0.050734877586364746, -0.031136803328990936, -0.2096133828163147, -0.006535495165735483, -0.035353243350982666, 0.09104287624359131, -0.018678218126296997, 0.004541721194982529, -0.006974188145250082, -0.000047519479267066345, 0.04948484152555466, -0.03856644406914711, 0.022146889939904213, 0.03251996636390686, 0.03076774626970291, -0.019307397305965424, -0.03165625408291817, -0.031223462894558907, -0.05703352391719818, 0.003875776194036007, -0.012783250771462917, -0.031079811975359917, -0.02156534604728222, -0.02077511139214039, -0.059230949729681015, -0.015134732238948345, 0.003243334824219346, 0.031014297157526016, 0.029631083831191063, 0.03266125172376633, 0.07652208209037781, 0.03909144923090935, 0.0186543520539999, 0.05091346055269241, 0.028625303879380226, -0.20459583401679993, 0.08322185277938843, 0.03639351204037666, 0.10038451850414276, -0.04057702794671059, -0.027407227084040642, 0.006327225361019373, 0.01597811095416546, -0.01376427710056305, -0.004535961896181107, 0.03491796553134918, 0.050474829971790314, 0.04087822511792183, 0.007685953751206398, 0.03268134593963623, -0.048819854855537415, -0.008401109836995602, 0.0433599017560482, -0.076332226395607, -0.025241082534193993, -0.07073929905891418, -0.0391000397503376, -0.0004502606752794236, -0.04050769656896591, 0.03514907509088516, -0.004227309953421354, 0.022453568875789642, 0.007110123056918383, 0.00343952514231205, -0.04022321477532387, 0.041362322866916656, 0.028649048879742622, -0.09901374578475952, 0.017342861741781235, 0.033862464129924774, 0.03437156602740288, -0.05548117309808731, 0.21718856692314148, -0.05588448420166969, 0.01816246099770069, 0.006335986312478781, -0.05320151150226593, 0.03661021590232849, -0.028173459693789482, 0.04324676841497421, -0.02308686077594757, 0.013258581981062889, -0.005401459988206625, -0.0038895707111805677, -0.003128036158159375, 0.030043112114071846, -0.0632334053516388, 0.022821996361017227, 0.01411504577845335, 0.05110200494527817, 0.07903595268726349, -0.01801913231611252, 0.018151981756091118, 0.015003289096057415, 0.03759947791695595, 0.03653297945857048, 0.0008094965596683323, 0.0350051149725914, -0.024702347815036774, 0.03604421019554138, 0.10846118628978729, 0.04740830138325691, 0.05919242650270462, 0.038658592849969864, -0.00708026485517621, -0.054256513714790344, -0.015070736408233643, 0.0004887983086518943, -0.00416005402803421, -0.038695573806762695, -0.01034126803278923, 0.056845638900995255, 0.015623104758560658, -0.028379138559103012, -0.06014621630311012, -0.046962909400463104, -0.07652251422405243, -0.06666756421327591, 0.07883913069963455, -0.03907076641917229, 0.0486912801861763, -0.053001873195171356, -0.027007875964045525, 0.01718445122241974, 0.04136185348033905, -0.04044969752430916, -0.039551813155412674, -0.0011372431181371212, 0.039119891822338104, 0.05679461732506752, 0.03691131994128227, -0.03190616890788078, -0.01865258999168873, -0.012199563905596733, -0.023688195273280144, -0.0582602396607399, 0.060250844806432724, -0.0023594731464982033, -0.13094764947891235, -0.008892067708075047, -0.017043951898813248, 0.020883753895759583, -0.023042969405651093, -0.0055350749753415585, 0.0324111245572567, -0.06403031945228577, 0.024447645992040634, 0.09796291589736938, 0.026660848408937454, -0.04046636074781418, 0.007231240626424551, 0.01594836823642254, 0.007856057956814766, 0.017318155616521835, -0.033867642283439636, -0.028603263199329376, 0.03902490437030792, -0.005895406939089298, -0.06881994754076004, -0.01672143116593361, -0.040465205907821655, 0.007903900928795338, 0.04034414887428284, 0.012236024253070354, -0.035721465945243835, -0.0024464072193950415, 0.030386481434106827, 0.017782218754291534, -0.06418971717357635, -0.022185204550623894, -0.027503762394189835, -0.018711727112531662, -0.032528702169656754, 0.06290946900844574, 0.032065559178590775, 0.00789991021156311, 0.03283103555440903, 0.001269604777917266, 0.056822676211595535, -0.0028256583027541637, -0.02244229055941105, 0.031771235167980194, 0.005178435239940882, -0.04494023695588112, 0.013729941099882126, 0.06315357238054276, -0.012903468683362007, -0.030228465795516968, 0.006741663441061974, -0.006691072601824999, 0.04585105925798416, 0.022753385826945305, 0.04073578864336014, 0.004094796255230904, -0.05411115661263466, -0.02906353585422039, -0.24033953249454498, 0.029359228909015656, -0.011828050948679447, 0.011505387723445892, -0.013826918788254261, -0.06890103220939636, 0.025635328143835068, -0.04111127927899361, -0.004795797634869814, 0.07596214860677719, 0.030884791165590286, -0.02571532316505909, 0.022433077916502953, 0.02309928461909294, -0.046364136040210724, 0.04235406592488289, 0.0013046803651377559, 0.027566757053136826, -0.04352789744734764, 0.019123900681734085, 0.00725175067782402, 0.01427993830293417, 0.03359145671129227, -0.13587260246276855, 0.01072266511619091, -0.01037984061986208, 0.19593928754329681, 0.08373415470123291, 0.02067798189818859, -0.02382899448275566, 0.07481882721185684, -0.005616501439362764, -0.024088241159915924, -0.14300242066383362, 0.06812920421361923, 0.011992109008133411, 0.05714460834860802, -0.0242867823690176, -0.008788708597421646, -0.03177487105131149, -0.05214709788560867, 0.03665623441338539, 0.03795233741402626, -0.1023634597659111, -0.036378566175699234, -0.027626359835267067, -0.05387493222951889, -0.020837724208831787, -0.06329258531332016, 0.035524483770132065, -0.03974258527159691, -0.005025764927268028, 0.031598906964063644, 0.038431670516729355, -0.040311701595783234, -0.04487435147166252, -0.07684365659952164, 0.007038936484605074, -0.034192901104688644, 0.08301319181919098, -0.002456771209836006, -0.03135383129119873, 0.03210685774683952, -0.01804260164499283, 0.03652161359786987, -0.0011008389992639422, -0.021319415420293808, -0.001772917341440916, 0.03238922730088234, -0.05750521644949913, -0.007013235706835985, 0.07789020240306854, -0.018446309491991997, 0.009913825429975986, 0.030142541974782944, 0.026817666366696358, 0.004573503043502569, -0.027272537350654602, -0.025776047259569168, -0.06273974478244781, 0.03691824525594711, 0.0056342799216508865, 0.03414659574627876, 0.011279714293777943, 0.052391014993190765, 0.04695527255535126, 0.031203515827655792, -0.019031336531043053, 0.05286886543035507, -0.009295369498431683, 0.003937435802072287, -0.0026082785334438086, -0.08158566802740097, -0.049196016043424606, 0.014555937610566616, 0.009775695390999317, -0.27078527212142944, 0.025289513170719147, 0.029476480558514595, 0.021820897236466408, -0.008012393489480019, 0.06785483658313751, 0.07278414070606232, 0.0005233574192970991, -0.019291769713163376, -0.02129204571247101, 0.03129489719867706, 0.005531577859073877, 0.030757511034607887, -0.0050096698105335236, 0.019662167876958847, 0.03391339257359505, 0.04582840949296951, -0.0705067589879036, 0.0666545107960701, -0.012448277324438095, 0.019105510786175728, 0.03819580376148224, 0.251642107963562, 0.04517951235175133, 0.04943353682756424, 0.041794098913669586, 0.03115263022482395, 0.038627058267593384, 0.07536018639802933, -0.0154286352917552, -0.011214038357138634, 0.03295780345797539, 0.09487442672252655, -0.030791647732257843, -0.002944460604339838, 0.04458758234977722, -0.031602222472429276, 0.060662586241960526, 0.03382693603634834, -0.03905951976776123, -0.041423115879297256, 0.038069624453783035, -0.01291439775377512, -0.0013580061495304108, 0.07579976320266724, -0.03474273532629013, -0.060119278728961945, -0.06459291279315948, -0.024836979806423187, 0.005949163343757391, -0.037811100482940674, -0.06145254150032997, -0.029165472835302353, -0.008132838644087315, 0.03663162142038345, 0.03389090299606323, -0.030512476339936256, -0.0009763138950802386, -0.05794474855065346, -0.0492706224322319, 0.01729637011885643, -0.04999230057001114, 0.02150951512157917, 0.02217596396803856, 0.005401185713708401 ]
devcenter
https://www.mongodb.com/developer/products/mongodb/getting-started-with-mongodb-and-codewhisperer
created
[1]: https://aws.amazon.com/codewhisperer/resources/#Getting_started [2]: https://images.contentstack.io/v3/assets/blt39790b633ee0d5a7/blt1bfd28a846063ae9/65481ef6e965d6040a3dcc37/CW_1.png [3]: https://images.contentstack.io/v3/assets/blt39790b633ee0d5a7/bltde40d5ae1b9dd8dd/65481ef615630d040a4b2588/CW_2.png [4]: https://images.contentstack.io/v3/assets/blt39790b633ee0d5a7/blt636bb8d307bebcee/65481ef6a6e009040a740b86/CW_3.png
md
{ "tags": [ "MongoDB", "JavaScript", "Java", "Python", "AWS", "AI" ], "pageDescription": "", "contentType": "Tutorial" }
Getting Started with MongoDB and AWS Codewhisperer
2024-05-20T17:32:23.500Z
[ -0.04668710008263588, -0.05350756272673607, 0.03410687297582626, -0.0008209437946788967, 0.03904532641172409, 0.05028768628835678, -0.036285627633333206, 0.0371750183403492, -0.028346305713057518, 0.007081599440425634, 0.035153865814208984, -0.06255291402339935, 0.03658417984843254, 0.03365550935268402, 0.04246557131409645, 0.029481228440999985, 0.027342965826392174, 0.0027576712891459465, -0.05066424980759621, 0.008317861706018448, 0.04339829832315445, 0.0004716413386631757, 0.00869582686573267, -0.06123538687825203, -0.02601618692278862, 0.06068089231848717, -0.018152767792344093, 0.0016541563672944903, -0.02680506743490696, -0.17917315661907196, -0.038594476878643036, -0.07362525910139084, 0.0846848115324974, -0.025543658062815666, -0.014839735813438892, -0.06421227753162384, 0.00610018614679575, 0.05405931547284126, -0.053284719586372375, 0.008004351519048214, 0.06812001764774323, -0.013284225016832352, -0.03207409754395485, -0.0248958058655262, -0.048130493611097336, -0.05255834758281708, -0.001018431270495057, 0.01087761390954256, 0.030564317479729652, -0.012617130763828754, 0.00029598744004033506, -0.04215036705136299, 0.010805893689393997, -0.018384503200650215, 0.04631752520799637, 0.029439875856041908, 0.042254574596881866, 0.0807667225599289, 0.013065089471638203, 0.022643331438302994, -0.001812838250771165, 0.033434413373470306, -0.21630597114562988, 0.12172029912471771, 0.058082420378923416, 0.061332013458013535, -0.030401812866330147, 0.006600118242204189, 0.035940468311309814, 0.002803662559017539, -0.03409998491406441, 0.0036408519372344017, 0.013533024117350578, 0.06096236780285835, 0.01605985127389431, -0.02375645749270916, -0.017302170395851135, -0.015733104199171066, 0.0025797525886446238, -0.018817637115716934, -0.05251096934080124, 0.012628374621272087, -0.04562951251864433, 0.021420961245894432, -0.01849079690873623, -0.04970824718475342, 0.01576775126159191, -0.011571347713470459, 0.028512263670563698, 0.0002504596777725965, -0.04044070839881897, -0.03012220561504364, -0.028506875038146973, 0.002247412223368883, -0.09765293449163437, -0.04033639281988144, 0.01826511137187481, -0.005552300252020359, -0.04935725778341293, 0.2128358781337738, -0.0677044466137886, 0.02484598010778427, 0.04388054832816124, -0.028824998065829277, 0.03825034946203232, -0.045907605439424515, 0.017877347767353058, -0.022317061200737953, 0.0018517480930313468, 0.013720883056521416, 0.020154159516096115, 0.0054134950041770935, 0.0056451475247740746, -0.05386945977807045, 0.036681417375802994, 0.015482009388506413, 0.0180205125361681, 0.06317005306482315, 0.021920574828982353, -0.011124886572360992, 0.027177860960364342, -0.011178247630596161, 0.04550767317414284, -0.03050827607512474, 0.008814724162220955, -0.04144429415464401, 0.06069827079772949, 0.11855645477771759, 0.049359146505594254, 0.07152703404426575, 0.04638931155204773, 0.028513066470623016, -0.011432057246565819, -0.03934750333428383, -0.01845569908618927, 0.04507528617978096, 0.0011019587982445955, -0.01803116872906685, 0.028747355565428734, -0.004185217432677746, -0.040305353701114655, -0.10997670888900757, -0.005224987864494324, -0.09511104971170425, -0.03324497863650322, 0.06019799783825874, -0.041955117136240005, 0.036656033247709274, -0.051728926599025726, -0.034477800130844116, 0.0158965103328228, 0.03681633993983269, 0.010493049398064613, -0.032663505524396896, 0.028423119336366653, 0.017393622547388077, 0.08955835551023483, 0.06504472345113754, -0.05601206049323082, -0.021230055019259453, -0.017101865261793137, -0.0851864367723465, -0.0521036759018898, 0.12392149120569229, -0.007105391006916761, -0.1312468945980072, 0.004962617065757513, -0.032963551580905914, 0.0018488793866708875, 0.012002172879874706, 0.011741502210497856, 0.03176114708185196, -0.02828095480799675, 0.011307766661047935, 0.10464034974575043, 0.012927417643368244, -0.016610076650977135, 0.03875119611620903, 0.034757837653160095, 0.03102906234562397, 0.009775033220648766, -0.06789986789226532, -0.025821980088949203, 0.038054756820201874, -0.018746092915534973, -0.06478770077228546, -0.0038273618556559086, -0.024855192750692368, 0.02322450652718544, 0.025188570842146873, -0.017411932349205017, 0.011007342487573624, -0.019803255796432495, -0.0024790149182081223, 0.015900423750281334, -0.018438436090946198, -0.0641433522105217, -0.025096120312809944, 0.013746136799454689, -0.04700161889195442, 0.09835926443338394, -0.021389048546552658, -0.002398780779913068, 0.025228852406144142, -0.043101683259010315, 0.017605789005756378, 0.015272952616214752, 0.006879708729684353, 0.04653594270348549, 0.016024405136704445, -0.037598468363285065, 0.03527749702334404, 0.024555431678891182, -0.048249222338199615, -0.01673053950071335, -0.015549776144325733, 0.022487903013825417, 0.081044502556324, -0.012174826115369797, 0.062203433364629745, 0.028029760345816612, -0.06363412737846375, -0.06140641123056412, -0.2368200123310089, 0.010745104402303696, -0.022610928863286972, -0.0031386774498969316, -0.013927186839282513, -0.0485527478158474, 0.0420977883040905, 0.002526132622733712, -0.006482888478785753, 0.09172928333282471, 0.13485309481620789, -0.06569056957960129, 0.014349513687193394, 0.001979065127670765, -0.013357092626392841, 0.012149724178016186, -0.015244203619658947, 0.017383813858032227, -0.03406606987118721, 0.02250521071255207, -0.011706091463565826, 0.002463745651766658, 0.026857543736696243, -0.0926351398229599, 0.040469978004693985, -0.007588433567434549, 0.18133671581745148, 0.0036132310051470995, 0.07571893185377121, -0.030822398141026497, 0.04098345711827278, -0.014177842997014523, -0.01469516847282648, -0.0842294692993164, 0.047058701515197754, 0.019874146208167076, 0.01300755888223648, -0.03561205044388771, 0.026636851951479912, -0.039465270936489105, -0.023930152878165245, 0.03254089877009392, -0.02511843480169773, -0.03779827803373337, -0.018578100949525833, -0.05162757635116577, -0.09610818326473236, -0.017480749636888504, -0.04689241573214531, -0.007871178910136223, 0.01678198203444481, -0.0021949049551039934, -0.0059848353266716, 0.032051753252744675, -0.0061767324805259705, -0.026130935177206993, -0.05791683867573738, -0.01826036348938942, -0.0264465119689703, 0.0605069063603878, -0.01833241991698742, -0.05457642301917076, -0.0037041394971311092, -0.06242312490940094, 0.06919427961111069, -0.02937544323503971, -0.051269274204969406, -0.012285376898944378, -0.008178950287401676, -0.07105012238025665, -0.045133013278245926, 0.08855413645505905, 0.00498878164216876, 0.015560269355773926, 0.05096481367945671, 0.0020768875256180763, 0.019592415541410446, -0.021411335095763206, 0.022644510492682457, -0.03944633528590202, 0.045287393033504486, -0.04790544509887695, 0.030090900138020515, 0.016878776252269745, 0.04363308474421501, 0.049386635422706604, 0.026532353833317757, -0.03875303268432617, 0.04975767061114311, -0.028928302228450775, 0.02765381895005703, 0.012513597495853901, -0.053605109453201294, -0.018741030246019363, 0.06041400879621506, -0.006887946277856827, -0.2830874025821686, 0.03379470482468605, 0.025384820997714996, 0.016473844647407532, -0.05577083304524422, 0.03169170394539833, 0.07038543373346329, 0.009440794587135315, -0.010498044081032276, -0.03969931602478027, -0.025182383134961128, 0.035603102296590805, 0.027290256693959236, -0.010473939590156078, 0.05774568393826485, 0.059468865394592285, 0.057638972997665405, -0.016619795933365822, 0.039499539881944656, -0.018224870786070824, 0.025748105719685555, 0.001642249058932066, 0.23578783869743347, 0.02960893139243126, 0.029985075816512108, 0.07079021632671356, 0.0023130353074520826, 0.02617003209888935, 0.05952826887369156, 0.03211395442485809, 0.03710315376520157, 0.04281867668032646, 0.06421483308076859, -0.030621904879808426, 0.015099411830306053, 0.025897227227687836, -0.015048149041831493, 0.05370176583528519, 0.037261053919792175, -0.02257370948791504, -0.03269914165139198, 0.018175682052969933, 0.012694573029875755, -0.0440215989947319, 0.04620815068483353, -0.03689733147621155, -0.03235270828008652, -0.10975759476423264, -0.032407015562057495, 0.0034987921826541424, -0.04693160951137543, -0.01018083468079567, -0.042351651936769485, -0.025135338306427002, 0.026977425441145897, 0.04737476631999016, -0.038810811936855316, -0.007745951414108276, -0.0825025662779808, -0.039101358503103256, 0.037625763565301895, -0.06485309451818466, 0.0017950721085071564, 0.024577906355261803, 0.03417184576392174 ]
devcenter
https://www.mongodb.com/developer/products/mongodb/getting-started-with-mongodb-and-codewhisperer
created
[5]: https://images.contentstack.io/v3/assets/blt39790b633ee0d5a7/bltf1e0ebeea2089e6a/65481ef6077aca040a5349da/CW_4.png [6]: https://www.mongodb.com/community/forums/ [7]: https://www.mongodb.com/community/forums/tag/codewhisperer
md
{ "tags": [ "MongoDB", "JavaScript", "Java", "Python", "AWS", "AI" ], "pageDescription": "", "contentType": "Tutorial" }
Getting Started with MongoDB and AWS Codewhisperer
2024-05-20T17:32:23.500Z
[ -0.062355611473321915, -0.02996961958706379, 0.00748904375359416, -0.027389757335186005, 0.03996922820806503, -0.010491594672203064, -0.014069334603846073, 0.03178500384092331, -0.03944150358438492, 0.009434203617274761, 0.0149646932259202, -0.048328813165426254, 0.015768952667713165, 0.054414376616477966, 0.007088041864335537, 0.023150645196437836, 0.002046203473582864, 0.027154039591550827, -0.05924564599990845, 0.006997764576226473, 0.08600103110074997, -0.05919058993458748, 0.01785942353308201, -0.06253083050251007, -0.007300966419279575, 0.05297831445932388, -0.05127301067113876, -0.02763819321990013, -0.011380335316061974, -0.15849176049232483, -0.007148937322199345, -0.02925032190978527, 0.06397753953933716, -0.033660806715488434, -0.007702183909714222, -0.056023009121418, -0.002089533256366849, 0.04406818374991417, -0.03779851272702217, 0.06259049475193024, 0.02407110296189785, 0.017117977142333984, -0.04076184704899788, -0.020925655961036682, -0.03241109848022461, -0.02643587626516819, 0.0031974795274436474, -0.043360158801078796, -0.0034808344207704067, -0.04945407807826996, 0.004174570553004742, -0.03768162801861763, -0.01763247884809971, 0.02327105775475502, 0.01710163801908493, 0.029813364148139954, 0.037299782037734985, 0.05067159980535507, 0.030785389244556427, 0.027926599606871605, 0.030445994809269905, 0.019404398277401924, -0.21457676589488983, 0.0885930061340332, 0.07833344489336014, 0.07564116269350052, -0.01888064295053482, -0.03092018887400627, -0.001878430717624724, 0.002139416988939047, -0.010763464495539665, 0.004547892604023218, 0.015577143058180809, 0.03820544108748436, 0.02531784027814865, -0.014914176426827908, 0.027494512498378754, -0.04787127673625946, -0.032644812017679214, 0.038736291229724884, -0.06680770963430405, -0.0036128659266978502, -0.04286829009652138, -0.02177336998283863, -0.006617967505007982, -0.047333668917417526, 0.01504101324826479, -0.048305951058864594, 0.021254809573292732, 0.003908347804099321, -0.02228306420147419, -0.056668970733881, 0.05930649861693382, 0.03041580319404602, -0.09733893722295761, -0.0012599362526088953, 0.02534669265151024, 0.04267515987157822, 0.005128427408635616, 0.21502357721328735, -0.08038664609193802, 0.0035635267850011587, 0.021721864119172096, -0.0424104705452919, 0.041929811239242554, -0.04880208894610405, 0.021170536056160927, -0.01534461323171854, -0.007582062389701605, -0.0017436208436265588, 0.0036793167237192392, -0.005284203682094812, 0.05909350886940956, -0.07622075825929642, 0.022382382303476334, -0.017653103917837143, 0.014653600752353668, 0.03648792579770088, -0.029110243543982506, 0.0394386425614357, 0.00908864475786686, 0.02071869559586048, 0.04975395277142525, 0.014589784666895866, 0.026026766747236252, -0.013710509985685349, 0.03135768696665764, 0.10460169613361359, 0.08786247670650482, 0.04787600040435791, 0.051345277577638626, 0.028421441093087196, -0.03141267970204353, -0.004011762794107199, 0.0006076769204810262, -0.010224192403256893, 0.01674208976328373, 0.001964422408491373, 0.023685522377490997, -0.02944698929786682, -0.03149033337831497, -0.12748028337955475, -0.032672617584466934, -0.045057035982608795, -0.04785830155014992, 0.07881926000118256, -0.07012277841567993, 0.030086355283856392, -0.05310463532805443, -0.031057430431246758, -0.0059074521996080875, 0.030697152018547058, -0.044035397469997406, 0.023359103128314018, -0.013776253908872604, 0.008131193928420544, 0.07324574142694473, 0.037623465061187744, -0.0485466904938221, -0.0229613296687603, -0.007666022516787052, -0.03326484560966492, -0.03856327012181282, 0.06721560657024384, -0.008257623761892319, -0.12403423339128494, 0.0015926510095596313, -0.015846971422433853, 0.0036562092136591673, -0.046141885221004486, -0.024929089471697807, 0.04640395939350128, -0.06024793162941933, 0.029749734327197075, 0.10171428322792053, 0.03794608265161514, -0.04854702204465866, 0.017978399991989136, 0.016452359035611153, 0.006631297990679741, 0.0002499259717296809, -0.04585956782102585, -0.039748165756464005, 0.052351806312799454, -0.002944763284176588, -0.04257015883922577, 0.0008514457731507719, -0.04602138698101044, 0.021288003772497177, 0.03457111492753029, 0.005148775409907103, -0.01586042158305645, -0.013358782976865768, 0.013597821816802025, -0.026512937620282173, -0.0643872395157814, -0.02399578131735325, -0.03020261786878109, -0.013694990426301956, -0.05187840014696121, 0.09322480857372284, 0.02827252820134163, -0.003930406644940376, 0.03229750320315361, -0.010161506943404675, 0.033616021275520325, -0.00888004433363676, -0.020015373826026917, 0.017010433599352837, 0.00002683675120351836, -0.0662497729063034, -0.0015409437473863363, 0.05286145582795143, 0.0020542009733617306, 0.004087941721081734, -0.007107504643499851, 0.03175890073180199, 0.04104045405983925, 0.024060199037194252, 0.00721632270142436, 0.003040362149477005, -0.11604447662830353, -0.06449620425701141, -0.2453334629535675, 0.023338941857218742, -0.006726489402353764, -0.014166198670864105, -0.01565876416862011, -0.06837627291679382, 0.016479486599564552, -0.03718722239136696, 0.01975416950881481, 0.06420701742172241, 0.07088487595319748, -0.02611703611910343, 0.0021843730937689543, -0.002760071074590087, -0.026139797642827034, 0.07295484095811844, 0.02608432248234749, 0.014533381909132004, -0.015811022371053696, 0.004690632689744234, 0.004479651339352131, -0.0027916710823774338, 0.015618247911334038, -0.09960276633501053, 0.02419515699148178, 0.006071832962334156, 0.21580296754837036, 0.09026141464710236, 0.015218597836792469, -0.01722691021859646, 0.07161298394203186, -0.0030410729814320803, -0.015001916326582432, -0.10105635970830917, 0.05816584825515747, 0.04412311315536499, 0.023843418806791306, -0.018407706171274185, 0.04172808676958084, -0.043560609221458435, -0.047780655324459076, 0.04797818511724472, 0.010601210407912731, -0.09161451458930969, -0.017216380685567856, -0.04832182452082634, -0.04968411475419998, -0.027302201837301254, -0.052434712648391724, 0.032805435359478, 0.015257389284670353, 0.01320478692650795, 0.03966812044382095, 0.048808418214321136, -0.0225305687636137, -0.03735911473631859, -0.06571793556213379, -0.020849531516432762, -0.04936462640762329, 0.09004087746143341, -0.002129380591213703, -0.03302668407559395, 0.018266914412379265, -0.03763856366276741, 0.03666969761252403, 0.022097716107964516, -0.022021757438778877, -0.0048581687733531, 0.03897830471396446, -0.052148375660181046, -0.019026078283786774, 0.1011432483792305, -0.0003420378779992461, -0.013184623792767525, 0.04511849582195282, 0.0590767078101635, -0.005947008263319731, -0.031524408608675, -0.00844868179410696, -0.03650425001978874, 0.025322724133729935, -0.002961902879178524, 0.028931284323334694, 0.03455585986375809, 0.023622246459126472, 0.029182463884353638, 0.02025648206472397, -0.0041432809084653854, 0.05875769257545471, -0.00829385407269001, -0.007796049118041992, -0.004070505034178495, -0.06452720612287521, -0.07036542892456055, -0.007670645602047443, 0.00687425397336483, -0.3068496584892273, 0.022768333554267883, 0.023845117539167404, 0.027422644197940826, -0.03980261832475662, 0.07993757724761963, 0.09213860332965851, -0.006334281526505947, -0.011469564400613308, -0.026679273694753647, 0.026658952236175537, 0.0030075807590037584, 0.03352627530694008, -0.01894388534128666, 0.021674836054444313, 0.0436033196747303, 0.010786707513034344, -0.052997857332229614, 0.0722597986459732, 0.013163475319743156, 0.020811527967453003, 0.020337838679552078, 0.253429651260376, 0.02119203470647335, 0.024934731423854828, 0.032814424484968185, 0.03362954035401344, 0.02955290675163269, 0.06528960913419724, -0.0063550714403390884, -0.007654995191842318, 0.02704142965376377, 0.08662901073694229, -0.028000950813293457, 0.00016761549341026694, 0.045041050761938095, -0.025758106261491776, 0.032478317618370056, 0.03989052772521973, -0.01945684291422367, -0.05390553921461105, 0.0575990229845047, -0.05019330605864525, -0.018218830227851868, 0.10569137334823608, -0.02023223787546158, -0.04155655577778816, -0.03689386323094368, -0.00560474069789052, 0.01053640153259039, -0.03310832753777504, -0.04082275927066803, -0.020427029579877853, -0.03415771946310997, 0.01366991363465786, 0.04443996027112007, -0.03329620882868767, 0.0028544277884066105, -0.040724221616983414, -0.028062500059604645, 0.022616125643253326, -0.05737780034542084, 0.015719253569841385, 0.016371145844459534, 0.04351203516125679 ]
devcenter
https://www.mongodb.com/developer/code-examples/java/rest-apis-java-spring-boot
created
# REST APIs with Java, Spring Boot, and MongoDB ## GitHub repository If you want to write REST APIs in Java at the speed of light, I have what you need. I wrote this template to get you started. I have tried to solve as many problems as possible in it. So if you want to start writing REST APIs in Java, clone this project, and you will be up to speed in no time. ```shell git clone https://github.com/mongodb-developer/java-spring-boot-mongodb-starter ``` That’s all folks! All you need is in this repository. Below I will explain a few of the features and details about this template, but feel free to skip what is not necessary for your understanding. ## README All the extra information and commands you need to get this project going are in the `README.md` file which you can read in GitHub. ## Spring and MongoDB configuration
md
{ "tags": [ "Java", "Spring" ], "pageDescription": "Take a shortcut to REST APIs with this Java/Spring Boot and MongoDB example application that embeds all you'll need to get going.", "contentType": "Code Example" }
REST APIs with Java, Spring Boot, and MongoDB
2024-05-20T17:32:23.500Z
[ -0.056110650300979614, 0.020723596215248108, -0.0050460901111364365, -0.04011356085538864, 0.03915746137499809, -0.02171265333890915, -0.023249952122569084, 0.043229542672634125, -0.022295985370874405, -0.02515980415046215, -0.016533667221665382, -0.05829558148980141, 0.04635586589574814, 0.03355865925550461, 0.023079965263605118, -0.02846216969192028, 0.0008396257762797177, 0.030470585450530052, -0.031136007979512215, -0.006801178678870201, 0.05860571563243866, -0.010821827687323093, -0.015104490332305431, -0.05248120427131653, 0.027290593832731247, 0.07792442291975021, -0.017917927354574203, -0.027459213510155678, -0.022792691364884377, -0.17444461584091187, 0.00963849388062954, -0.04404842108488083, 0.028522880747914314, -0.018751835450530052, -0.0086420439183712, 0.046003930270671844, 0.00298868166282773, 0.03827723115682602, -0.043869055807590485, 0.05871758237481117, 0.08782586455345154, 0.019846752285957336, -0.012220856733620167, -0.032840173691511154, -0.04477792605757713, -0.067720428109169, -0.03332359343767166, -0.0080293333157897, 0.007061040960252285, -0.027030380442738533, -0.003681578440591693, -0.016745317727327347, -0.021284129470586777, 0.005762480664998293, 0.04247254505753517, 0.06902562826871872, 0.06600566953420639, 0.07539451867341995, -0.0020270224194973707, -0.011758940294384956, 0.05165904760360718, 0.039922550320625305, -0.2008473128080368, 0.05420317500829697, 0.06212057173252106, 0.06846203655004501, -0.029790645465254784, -0.023047495633363724, 0.05838802456855774, -0.0045785182155668736, -0.05269835144281387, 0.04426088556647301, 0.03716951236128807, 0.07023431360721588, 0.01913163810968399, -0.05967552587389946, 0.01159075926989317, -0.04490382596850395, 0.03790585324168205, -0.00019289861666038632, -0.08317306637763977, -0.0517413467168808, 0.009145364165306091, 0.036540839821100235, -0.029131298884749413, -0.024188458919525146, -0.003259834833443165, -0.01171457301825285, 0.043092161417007446, 0.015635743737220764, -0.007573985029011965, -0.007608390878885984, 0.05860871821641922, -0.0038673642557114363, -0.06656840443611145, 0.02281293459236622, 0.0021990817040205, 0.01763109862804413, -0.026530882343649864, 0.21657782793045044, -0.03393690288066864, 0.003103808965533972, 0.02986442856490612, -0.030069326981902122, 0.018774395808577538, -0.04319820925593376, -0.0017130604246631265, -0.0362020879983902, 0.006732870824635029, 0.02565442956984043, -0.007917351089417934, -0.035845350474119186, 0.004495390225201845, -0.046744972467422485, 0.014747457578778267, -0.019216667860746384, 0.020999247208237648, 0.050896093249320984, -0.0323517769575119, 0.029861019924283028, -0.010284515097737312, -0.012592741288244724, 0.014890260063111782, 0.0024370644241571426, 0.015672987326979637, -0.08212485164403915, -0.002207929501309991, 0.06370752304792404, 0.046633265912532806, 0.057127002626657486, 0.02814784273505211, 0.025434762239456177, -0.10100175440311432, -0.04752734676003456, 0.025675268843770027, 0.0546397790312767, 0.01969864033162594, -0.018082965165376663, 0.02672777697443962, 0.02504665218293667, -0.020682496950030327, -0.056690264493227005, -0.06281328201293945, -0.12341529130935669, -0.034887947142124176, 0.07033466547727585, -0.004291788674890995, 0.10436083376407623, -0.040491603314876556, -0.033795520663261414, -0.006028741132467985, 0.051726993173360825, -0.04683149978518486, -0.013891052454710007, 0.01742362789809704, 0.03297910839319229, 0.010758244432508945, 0.07722500711679459, -0.0017805673414841294, 0.01842152327299118, -0.024188077077269554, -0.045208923518657684, -0.04231802374124527, 0.07209498435258865, 0.0414736270904541, -0.1284915655851364, -0.02365727163851261, 0.035692863166332245, -0.011516365222632885, -0.011313083581626415, 0.02424391731619835, 0.0552033893764019, -0.010103106498718262, -0.007820358499884605, 0.09225016087293625, 0.04467690736055374, -0.01846267841756344, 0.016891667619347572, -0.00041774794226512313, 0.010600697249174118, 0.03446533530950546, -0.03678658604621887, -0.06477005034685135, 0.04257436841726303, -0.0025584932882338762, -0.05555596575140953, 0.017215609550476074, -0.02000546269118786, 0.015287164598703384, 0.03633693978190422, -0.044131722301244736, -0.025968383997678757, -0.03626673296093941, -0.0032608178444206715, -0.01517513394355774, -0.08238743245601654, -0.0033969145733863115, -0.03169510141015053, 0.05633673071861267, -0.049802087247371674, 0.053454309701919556, 0.02883162908256054, -0.018295297399163246, 0.034695617854595184, -0.012768376618623734, 0.007617263123393059, -0.010662708431482315, -0.005996076390147209, 0.028806595131754875, -0.02041921764612198, -0.04991581290960312, 0.015823861584067345, 0.03465975448489189, 0.014551719650626183, -0.05407792702317238, -0.02814653515815735, 0.06917784363031387, 0.030625611543655396, 0.07193341851234436, 0.03539591282606125, 0.0048868414014577866, -0.06342656910419464, -0.045549578964710236, -0.23641018569469452, 0.01640264317393303, 0.0026810024864971638, -0.021414238959550858, 0.02681719698011875, -0.06408730894327164, 0.03445325046777725, -0.0432572104036808, -0.014363874681293964, 0.001557447132654488, 0.10958084464073181, -0.041838668286800385, -0.011496108956634998, -0.003320490475744009, -0.06406663358211517, 0.04164525121450424, -0.006359640043228865, -0.006635128520429134, -0.03550686687231064, -0.025032956153154373, 0.001026225509122014, -0.010429955087602139, 0.01708493009209633, -0.06773082166910172, 0.03052505850791931, 0.02643207274377346, 0.19659487903118134, 0.07547647505998611, 0.017289191484451294, -0.08211103826761246, 0.0637492761015892, 0.00824491772800684, 0.010857559740543365, -0.1608419120311737, 0.06586149334907532, 0.055586472153663635, 0.010538838803768158, -0.007365645375102758, 0.009546564891934395, -0.04482610151171684, -0.05060787871479988, 0.05777020379900932, -0.015219420194625854, -0.09184911847114563, -0.007343464531004429, -0.0423334538936615, -0.06496691703796387, -0.018666934221982956, -0.036954641342163086, 0.016059845685958862, -0.02897724136710167, -0.0019093439914286137, 0.03840993344783783, 0.014269613660871983, -0.01818009465932846, -0.05045093595981598, -0.07333079725503922, 0.014922048896551132, 0.009023613296449184, 0.04082684591412544, -0.004507139325141907, -0.019350102171301842, 0.04603470861911774, -0.02738824672996998, 0.026540393009781837, -0.028311530128121376, -0.03187093138694763, -0.006486023310571909, 0.002700923476368189, -0.04597663879394531, -0.016348594799637794, 0.05681160092353821, -0.018553346395492554, 0.007637190166860819, 0.06758221983909607, 0.022479888051748276, 0.01650104857981205, -0.02523273043334484, -0.038683414459228516, -0.048369139432907104, 0.03310731425881386, -0.005729170516133308, 0.01775776408612728, 0.024777520447969437, 0.009341785684227943, 0.076921746134758, 0.058511942625045776, -0.02151792123913765, 0.0072894166223704815, 0.0017798490589484572, -0.0011758763575926423, -0.027513843029737473, -0.04647306352853775, -0.01873890869319439, 0.00008449739107163623, 0.012353497557342052, -0.2778479754924774, 0.041246213018894196, -0.01831061579287052, 0.024418888613581657, -0.005684367846697569, 0.05301973968744278, 0.061128996312618256, 0.017618276178836823, -0.06977689266204834, 0.020190877839922905, 0.06669054180383682, 0.040256042033433914, 0.030657857656478882, -0.009360474534332752, 0.006675090175122023, 0.09786929190158844, 0.0674426481127739, -0.062298811972141266, 0.06257535517215729, -0.05595727264881134, -0.0029190557543188334, 0.044653233140707016, 0.20110024511814117, 0.00827210396528244, 0.05845611169934273, 0.07611996680498123, 0.007149614859372377, 0.052760910242795944, 0.053397808223962784, 0.02093895524740219, -0.01406050194054842, -0.0219777449965477, 0.12139201909303665, -0.004118373617529869, 0.0403820164501667, 0.05474065989255905, -0.01825851760804653, 0.0331818126142025, 0.02333945967257023, -0.029452886432409286, -0.056102901697158813, 0.03133134916424751, -0.013361992314457893, -0.0280100516974926, 0.11573904007673264, -0.0642356425523758, -0.06174294278025627, -0.07830947637557983, -0.024989454075694084, -0.0007996053318493068, -0.05502096563577652, -0.08119603991508484, -0.03345414251089096, 0.012355499900877476, 0.026106955483555794, 0.023871559649705887, -0.008813303895294666, -0.0147226732224226, -0.06641542911529541, -0.02972017414867878, 0.039711467921733856, -0.04122720658779144, -0.015250205993652344, 0.03523408621549606, 0.007645318750292063 ]
devcenter
https://www.mongodb.com/developer/code-examples/java/rest-apis-java-spring-boot
created
## Spring and MongoDB configuration The configuration can be found in the MongoDBConfiguration.java class. ```java package com.mongodb.starter; import ...] import static org.bson.codecs.configuration.CodecRegistries.fromProviders; import static org.bson.codecs.configuration.CodecRegistries.fromRegistries; @Configuration public class MongoDBConfiguration { @Value("${spring.data.mongodb.uri}") private String connectionString; @Bean public MongoClient mongoClient() { CodecRegistry pojoCodecRegistry = fromProviders(PojoCodecProvider.builder().automatic(true).build()); CodecRegistry codecRegistry = fromRegistries(MongoClientSettings.getDefaultCodecRegistry(), pojoCodecRegistry); return MongoClients.create(MongoClientSettings.builder() .applyConnectionString(new ConnectionString(connectionString)) .codecRegistry(codecRegistry) .build()); } } ```
md
{ "tags": [ "Java", "Spring" ], "pageDescription": "Take a shortcut to REST APIs with this Java/Spring Boot and MongoDB example application that embeds all you'll need to get going.", "contentType": "Code Example" }
REST APIs with Java, Spring Boot, and MongoDB
2024-05-20T17:32:23.500Z
[ -0.022041186690330505, 0.012386796064674854, 0.04889116808772087, -0.04572535306215286, 0.022289298474788666, -0.004703840706497431, 0.03612551838159561, 0.06614290177822113, -0.007171238772571087, -0.02755134366452694, -0.01405954547226429, -0.058601442724466324, 0.0952560231089592, 0.04907258599996567, 0.007889390923082829, -0.019541222602128983, -0.03721519559621811, 0.0471126027405262, -0.01502219121903181, 0.005151094403117895, 0.09870892018079758, 0.008520187810063362, -0.008075632154941559, -0.05453799292445183, 0.043002985417842865, 0.08538641780614853, 0.0023370180279016495, -0.04108783230185509, -0.005747552961111069, -0.1694403886795044, 0.00441355025395751, -0.05800977721810341, 0.05112555995583534, -0.023905696347355843, -0.02874312363564968, 0.013844579458236694, -0.012203563004732132, 0.0325998030602932, -0.0011771789286285639, 0.03692103177309036, 0.01750795543193817, 0.010735936462879181, -0.028510039672255516, -0.061957649886608124, -0.02986912429332733, -0.059283297508955, 0.009025292471051216, -0.0017280076863244176, 0.034686196595430374, -0.07263530790805817, -0.005969671998172998, -0.027340520173311234, -0.011624990962445736, 0.014776486903429031, -0.0007738536223769188, 0.08466791361570358, 0.03409115597605705, 0.04743091017007828, -0.0075223688036203384, -0.008356915786862373, 0.03840678185224533, 0.0673118606209755, -0.2292495220899582, 0.07618743926286697, 0.04400166869163513, 0.04502156376838684, -0.0018944521434605122, -0.01523547526448965, 0.048585329204797745, 0.004549473058432341, -0.017932260408997536, 0.028781019151210785, 0.02005322277545929, 0.012063790112733841, 0.04364697262644768, -0.0031432779505848885, 0.012565746903419495, -0.034252066165208817, 0.05970751494169235, 0.00549729261547327, -0.07649566978216171, -0.047602150589227676, 0.004816229455173016, 0.02208397164940834, -0.023360300809144974, -0.039619073271751404, 0.030947033315896988, -0.07123278081417084, 0.01451074331998825, 0.030940262600779533, 0.0036165963392704725, -0.03529271483421326, 0.006955834571272135, -0.005999231245368719, -0.0670541524887085, 0.04145652800798416, -0.02864735759794712, 0.009448445402085781, -0.013168192468583584, 0.21600894629955292, -0.04268161952495575, -0.002502660034224391, -0.01631513237953186, -0.006066685542464256, 0.013048427179455757, -0.03387327119708061, -0.012863821350038052, -0.020199112594127655, 0.023966018110513687, 0.027415184304118156, -0.011306196451187134, -0.0376463457942009, 0.009728759527206421, -0.07900150120258331, 0.022017868235707283, 0.03855285793542862, -0.006091882474720478, 0.02270406112074852, -0.027156837284564972, 0.05474589020013809, -0.002158057177439332, 0.005406335461884737, 0.005947268567979336, 0.03966835141181946, 0.006626754067838192, -0.07599717378616333, 0.010413335636258125, 0.056890226900577545, 0.03824664279818535, 0.012754308059811592, 0.007658906280994415, -0.00451150257140398, -0.08769788593053818, -0.0016945195384323597, 0.03289748728275299, 0.031341031193733215, 0.0008202188182622194, 0.020622815936803818, 0.030829237774014473, 0.019237400963902473, -0.03763005882501602, -0.08667314052581787, -0.044189099222421646, -0.1251346915960312, -0.04524487629532814, 0.07575995475053787, -0.07608815282583237, 0.11027554422616959, -0.02009720355272293, -0.020888829603791237, -0.016990110278129578, 0.0496370755136013, -0.03174275904893875, -0.012498121708631516, 0.01581042818725109, 0.01733068749308586, 0.009314281865954399, 0.10374876856803894, -0.01534606795758009, 0.005365369375795126, -0.031554900109767914, 0.00903401244431734, -0.05477152764797211, 0.06871373951435089, 0.03654935210943222, -0.10719966888427734, -0.01786115951836109, -0.013081136159598827, -0.01842181570827961, -0.010051119141280651, -0.009472912177443504, 0.047506652772426605, -0.05762305483222008, 0.0014488294254988432, 0.14273688197135925, 0.03701946511864662, -0.056933991611003876, -0.06032887473702431, -0.03659581393003464, 0.018400395289063454, 0.03534802421927452, -0.005608216859400272, -0.04626166820526123, 0.022248663008213043, 0.0038859196938574314, -0.06072336807847023, -0.02060198225080967, -0.02296154387295246, 0.0382784940302372, 0.040753450244665146, -0.04927312582731247, -0.014873373322188854, -0.0040838695131242275, -0.004894076846539974, 0.01175086572766304, -0.08866272121667862, 0.018984531983733177, -0.037465061992406845, 0.03247737139463425, -0.04662701115012169, 0.06217510998249054, 0.045114628970623016, -0.03308981657028198, 0.06340216100215912, -0.026092205196619034, 0.032036587595939636, -0.032563913613557816, -0.02945381961762905, 0.009230085648596287, -0.023414522409439087, -0.04895264655351639, 0.03938866779208183, 0.059078481048345566, -0.010008339770138264, -0.027730094268918037, 0.014297189190983772, 0.03450851887464523, 0.05105080455541611, 0.08341232687234879, -0.007220860105007887, -0.004690752364695072, -0.05095134302973747, -0.030981536954641342, -0.21899078786373138, -0.0011797569459304214, -0.010122080333530903, -0.029113691300153732, 0.007227984722703695, -0.034558188170194626, -0.020745279267430305, 0.00831028912216425, -0.0010903934016823769, 0.016036799177527428, 0.07866685092449188, -0.02128913439810276, -0.0065450104884803295, 0.011288603767752647, -0.048342492431402206, 0.0513477586209774, -0.010714790783822536, -0.011976752430200577, -0.051212627440690994, -0.007477721199393272, 0.02290036715567112, -0.024127531796693802, -0.0006161206983961165, -0.05741909518837929, 0.057022757828235626, 0.03954538702964783, 0.1976599246263504, 0.03647468611598015, 0.0004556227650027722, -0.07317667454481125, 0.04314498230814934, 0.022828880697488785, -0.0025731632485985756, -0.1455586701631546, 0.059841252863407135, 0.031264182180166245, -0.02605280466377735, 0.008520208299160004, 0.014415849931538105, -0.034516070038080215, -0.02814500220119953, 0.04106223210692406, 0.000529662414919585, -0.10487951338291168, 0.030807603150606155, -0.048648882657289505, -0.032181330025196075, 0.019858701154589653, -0.03483016788959503, 0.030963754281401634, -0.03944607824087143, 0.01660715602338314, 0.01699153706431389, 0.0018521127058193088, -0.018418829888105392, -0.06102098897099495, -0.06949912756681442, 0.022634422406554222, -0.0025970609858632088, 0.04057319089770317, -0.00735904835164547, -0.019624369218945503, 0.07749899476766586, -0.009298257529735565, 0.013402409851551056, -0.008316597901284695, -0.0024386639706790447, -0.013151577673852444, 0.02086687460541725, -0.03189948946237564, -0.006280402187258005, 0.0554112009704113, -0.006968446541577578, 0.0015430974308401346, 0.061859823763370514, 0.01403795275837183, 0.02948085218667984, -0.05099673569202423, -0.028889356181025505, -0.057630669325590134, 0.033956196159124374, -0.01748262159526348, 0.029984567314386368, 0.02062465250492096, 0.03236950561404228, 0.07240303605794907, 0.08544863760471344, -0.02828163281083107, 0.04006519913673401, 0.012852267362177372, -0.03180399909615517, -0.04517567902803421, -0.042683858424425125, -0.001216983888298273, 0.02249288558959961, 0.003851200919598341, -0.27873292565345764, 0.026726149022579193, -0.0033370216842740774, 0.017698828130960464, -0.019846748560667038, 0.014670773409307003, 0.06926444917917252, 0.006556320004165173, -0.04337116330862045, 0.012062394060194492, 0.0535145178437233, -0.02539527602493763, 0.006036445964127779, -0.006930823437869549, 0.028174933046102524, 0.11777672171592712, 0.03029867447912693, -0.04480837285518646, 0.08112720400094986, -0.054151751101017, -0.009298264048993587, 0.07643621414899826, 0.21877075731754303, 0.02429255284368992, 0.06164507940411568, 0.09865474700927734, 0.01994476281106472, 0.029681680724024773, 0.06002332270145416, 0.022335294634103775, 0.02118382602930069, 0.006643146276473999, 0.0809057280421257, -0.0367688350379467, 0.01978512667119503, 0.01450585201382637, -0.008690156042575836, -0.0074173337779939175, 0.006145752500742674, -0.012168963439762592, -0.09290841966867447, 0.021841544657945633, -0.05147736519575119, -0.02739984169602394, 0.10153714567422867, -0.0637197196483612, -0.04170478507876396, -0.07572489231824875, -0.007566526997834444, -0.024651743471622467, -0.04754709452390671, -0.08085756748914719, -0.011222951114177704, 0.01560195442289114, 0.0022890393156558275, 0.04045509919524193, -0.0179264098405838, -0.009305022656917572, -0.068546824157238, -0.014366376213729382, 0.017758946865797043, -0.06594141572713852, -0.0004583374538924545, 0.03399384394288063, 0.021157441660761833 ]
devcenter
https://www.mongodb.com/developer/code-examples/java/rest-apis-java-spring-boot
created
} ``` The important section here is the MongoDB configuration, of course. Firstly, you will notice the connection string is automatically retrieved from the `application.properties` file, and secondly, you will notice the configuration of the `MongoClient` bean. A `Codec` is the interface that abstracts the processes of decoding a BSON value into a Java object and encoding a Java object into a BSON value. A `CodecRegistry` contains a set of `Codec` instances that are accessed according to the Java classes that they encode from and decode to. The MongoDB driver is capable of encoding and decoding BSON for us, so we do not have to take care of this anymore. All the configuration we need for this project to run is here and nowhere else. You can read [the driver documentation if you want to know more about this topic. ## Multi-document ACID transactions
md
{ "tags": [ "Java", "Spring" ], "pageDescription": "Take a shortcut to REST APIs with this Java/Spring Boot and MongoDB example application that embeds all you'll need to get going.", "contentType": "Code Example" }
REST APIs with Java, Spring Boot, and MongoDB
2024-05-20T17:32:23.500Z
[ -0.03185790032148361, -0.0073826974257826805, 0.01151951216161251, -0.036193642765283585, 0.03182685747742653, -0.014662986621260643, 0.03447699174284935, 0.05345042794942856, -0.01536285225301981, -0.04201623424887657, -0.018850605934858322, -0.09083906561136246, 0.028942318633198738, 0.03361458703875542, -0.0012896183179691434, -0.002771188272163272, 0.007655917201191187, 0.01593383215367794, -0.011712565086781979, 0.02023034729063511, 0.06393128633499146, -0.0009233331657014787, -0.020273679867386818, -0.06417535245418549, 0.017392143607139587, 0.08890349417924881, -0.018577883020043373, -0.030088700354099274, -0.051711905747652054, -0.19170349836349487, -0.006226466502994299, -0.0238442812114954, 0.06623703241348267, -0.03238851577043533, -0.0034744907170534134, -0.011111192405223846, -0.02496808022260666, 0.05372336506843567, -0.02492336742579937, 0.025357969105243683, 0.05628632381558418, 0.03033924661576748, -0.02826201170682907, -0.059831805527210236, -0.05578587204217911, -0.06319748610258102, 0.025317678228020668, -0.03705224767327309, 0.013457236811518669, -0.043487537652254105, -0.009486954659223557, -0.02739410288631916, -0.013315064832568169, 0.022730547934770584, -0.012528071179986, 0.04884443059563637, 0.040331318974494934, 0.05227173492312431, 0.009934170171618462, -0.004072601906955242, 0.047592971473932266, 0.045107901096343994, -0.2019130438566208, 0.07953981310129166, 0.06865103542804718, 0.0885431319475174, -0.0306770671159029, -0.020414231345057487, 0.06628233194351196, 0.011777265928685665, -0.036559198051691055, 0.00391341419890523, 0.011989315040409565, 0.03627302497625351, 0.05341501533985138, -0.03733937814831734, 0.005880068521946669, -0.031051184982061386, 0.02104426734149456, 0.024254951626062393, -0.07729076594114304, -0.036897506564855576, -0.01688871718943119, 0.006129337474703789, -0.032102908939123154, -0.05533026531338692, 0.02675795555114746, -0.022854899987578392, 0.002025109250098467, 0.02601660043001175, 0.006455731578171253, -0.03305601328611374, 0.019138535484671593, 0.01157322432845831, -0.0678340271115303, 0.027378562837839127, -0.0199611596763134, 0.01428993046283722, 0.007750488352030516, 0.23497815430164337, -0.03449743613600731, 0.01312390435487032, 0.006747751496732235, -0.045746900141239166, 0.005748681258410215, -0.018849695101380348, -0.010357145220041275, -0.018285207450389862, -0.007451150566339493, 0.003961092792451382, -0.00712615204975009, -0.04198016971349716, 0.027907030656933784, -0.05782957375049591, 0.019157396629452705, 0.03716609999537468, -0.02368299663066864, 0.04542887583374977, -0.02887764386832714, 0.04593188688158989, 0.003255773102864623, 0.027423907071352005, 0.02937391772866249, 0.03794234246015549, 0.0283135287463665, -0.0489274300634861, 0.008222820237278938, 0.0773310512304306, 0.040631379932165146, 0.028350336477160454, 0.015532312914729118, 0.003496650606393814, -0.07619836181402206, -0.0039832573384046555, 0.03679530322551727, 0.005521635990589857, -0.004984032362699509, 0.04120345786213875, 0.028479669243097305, 0.01565040461719036, -0.035291317850351334, -0.049959465861320496, -0.028726577758789062, -0.0773218423128128, -0.050008513033390045, 0.053463757038116455, -0.04891172796487808, 0.0868503600358963, -0.0595817044377327, -0.01739388331770897, -0.0027513133827596903, 0.049078118056058884, -0.035996727645397186, -0.041394684463739395, 0.01999746449291706, 0.021466070786118507, 0.06056104227900505, 0.05930321291089058, -0.06289339810609818, -0.007743321359157562, 0.007113611325621605, -0.009605991654098034, -0.04262159392237663, 0.10052063316106796, 0.027960360050201416, -0.10536528378725052, 0.0007985648699104786, 0.015324076637625694, -0.012734892778098583, -0.042991697788238525, -0.028009336441755295, 0.03459024429321289, -0.04314712807536125, -0.019464261829853058, 0.11855350434780121, 0.031146936118602753, -0.047094713896512985, -0.00746277067810297, -0.023866889998316765, -0.010949033312499523, 0.0032269859220832586, -0.02044406160712242, -0.04752479866147041, 0.020480630919337273, 0.033069245517253876, -0.06499509513378143, -0.028481699526309967, -0.03620542585849762, 0.038734372705221176, 0.026812104508280754, -0.03817545622587204, -0.0011199376313015819, -0.008189385756850243, 0.0020594936795532703, 0.023698166012763977, -0.03688829019665718, -0.026409273967146873, -0.03818235546350479, -0.032027944922447205, -0.053700122982263565, 0.08523013442754745, 0.05822032317519188, -0.02685265801846981, 0.060557715594768524, 0.0027108245994895697, -0.006702466867864132, -0.04404224455356598, -0.014725247398018837, 0.004351814743131399, -0.04187158867716789, -0.056601155549287796, 0.046680402010679245, 0.03212662786245346, 0.01579589582979679, -0.025069110095500946, 0.010812722146511078, 0.018486805260181427, 0.04171530902385712, 0.06128449738025665, 0.004502528812736273, -0.011661384254693985, -0.07478992640972137, -0.022989673539996147, -0.24545341730117798, 0.03221830725669861, 0.008962975814938545, -0.038910288363695145, 0.01585686206817627, -0.04254494234919548, 0.00758404890075326, -0.008571559563279152, -0.018113428726792336, 0.03343220800161362, 0.06543707847595215, -0.021744921803474426, 0.013045225292444229, 0.023242585361003876, -0.05382154881954193, 0.069451242685318, -0.00807850994169712, -0.008064948953688145, -0.013681767508387566, 0.02855163812637329, 0.01513870619237423, -0.03644682094454765, -0.01112235989421606, -0.0909530371427536, 0.05319866165518761, 0.007146719377487898, 0.19419468939304352, 0.03315196931362152, 0.006559958681464195, -0.0520174577832222, 0.04021723195910454, 0.032904792577028275, -0.01829059049487114, -0.1272844672203064, 0.0594068244099617, 0.010333050042390823, 0.03916604816913605, 0.021939856931567192, -0.00003782136627705768, -0.025056514889001846, -0.058506228029727936, 0.022258806973695755, 0.029823653399944305, -0.10664017498493195, 0.008757829666137695, -0.03280206397175789, -0.02027762122452259, -0.01305883377790451, -0.0681157335639, 0.01824590563774109, -0.0398692861199379, 0.027658384293317795, 0.020827315747737885, 0.06095607206225395, -0.002318575279787183, -0.03930548205971718, -0.048501260578632355, -0.009588371030986309, -0.04247066751122475, 0.05294133722782135, 0.005969533696770668, -0.02091667428612709, 0.049633052200078964, -0.009318974800407887, 0.039410077035427094, 0.0044640908017754555, 0.04101596772670746, -0.007638426497578621, 0.039384812116622925, -0.047469496726989746, -0.013402730226516724, 0.059071946889162064, -0.008109157904982567, -0.012723280116915703, 0.045266054570674896, 0.019426967948675156, 0.006626676302403212, -0.07009793072938919, -0.0301064420491457, -0.051525432616472244, 0.03421110287308693, -0.02018486149609089, 0.05503324791789055, 0.05154971033334732, 0.023927263915538788, 0.07045853137969971, 0.0600571483373642, -0.015890374779701233, -0.006356602534651756, 0.007670402526855469, -0.026425374671816826, -0.019718201830983162, -0.053880028426647186, -0.029668735340237617, -0.002437030430883169, 0.018755517899990082, -0.3089282810688019, 0.04259822145104408, -0.018913013860583305, 0.013310380280017853, -0.018459981307387352, 0.03728587180376053, 0.05960559472441673, 0.0059203519485890865, -0.04759621247649193, 0.033113036304712296, 0.04928415268659592, 0.012159700505435467, 0.03157029300928116, -0.005188704002648592, 0.03194562718272209, 0.07624176144599915, 0.044999949634075165, -0.07216855138540268, 0.08063152432441711, -0.03220834583044052, 0.04112020507454872, 0.04714757204055786, 0.21029816567897797, 0.023152340203523636, 0.06437374651432037, 0.08018247783184052, 0.012352668680250645, 0.07776300609111786, 0.09887776523828506, 0.025498727336525917, 0.03627699613571167, 0.04183683916926384, 0.10214229673147202, -0.04980073496699333, -0.0047319987788796425, 0.029285695403814316, 0.004093222785741091, -0.004918782040476799, 0.04733547940850258, 0.002783508040010929, -0.045726507902145386, 0.02951199747622013, -0.04870842397212982, -0.04274234548211098, 0.0961042121052742, -0.023921888321638107, -0.07244198769330978, -0.07644856721162796, 0.0062051997520029545, -0.028188811615109444, -0.044826313853263855, -0.0793447494506836, -0.028217267245054245, -0.0048641785979270935, 0.018359176814556122, 0.0127802062779665, -0.030345086008310318, -0.01206129603087902, -0.050861090421676636, -0.026821501553058624, 0.031989824026823044, -0.09582625329494476, -0.004361026454716921, 0.04191102832555771, -0.01728322170674801 ]
devcenter
https://www.mongodb.com/developer/code-examples/java/rest-apis-java-spring-boot
created
You can read [the driver documentation if you want to know more about this topic. ## Multi-document ACID transactions Just for the sake of it, I also used multi-document ACID transactions in a few methods where it could potentially make sense to use ACID transactions. You can check all the code in the `MongoDBPersonRepository` class. Here is an example: ```java private static final TransactionOptions txnOptions = TransactionOptions.builder() .readPreference(ReadPreference.primary()) .readConcern(ReadConcern.MAJORITY) .writeConcern(WriteConcern.MAJORITY) .build(); @Override public List saveAll(List personEntities) { try (ClientSession clientSession = client.startSession()) { return clientSession.withTransaction(() -> { personEntities.forEach(p -> p.setId(new ObjectId())); personCollection.insertMany(clientSession, personEntities); return personEntities; }, txnOptions); } } ```
md
{ "tags": [ "Java", "Spring" ], "pageDescription": "Take a shortcut to REST APIs with this Java/Spring Boot and MongoDB example application that embeds all you'll need to get going.", "contentType": "Code Example" }
REST APIs with Java, Spring Boot, and MongoDB
2024-05-20T17:32:23.500Z
[ -0.05469315126538277, -0.001743087312206626, -0.00930569414049387, -0.023819755762815475, -0.03809059038758278, -0.018179314211010933, 0.06407202035188675, 0.040189072489738464, -0.010788281448185444, -0.012967627495527267, 0.010226083919405937, -0.04590384662151337, -0.0003548367531038821, 0.041879743337631226, -0.009009105153381824, -0.02157965488731861, 0.012217779643833637, 0.011851189658045769, -0.03263464197516441, 0.00279096863232553, 0.030257290229201317, -0.00038210369530133903, -0.02170899324119091, -0.0662275105714798, 0.0392022542655468, 0.06984344124794006, -0.026928270235657692, -0.0352754220366478, -0.06197304278612137, -0.18168218433856964, 0.008757907897233963, -0.010879120789468288, 0.033164624124765396, -0.022314151749014854, -0.02020503766834736, 0.0030643215868622065, -0.012892775237560272, 0.07348531484603882, -0.02234930545091629, 0.039032090455293655, 0.03311510384082794, 0.018144484609365463, -0.05012296512722969, -0.07361844182014465, -0.0440543033182621, -0.059469714760780334, 0.018207386136054993, -0.025959840044379234, 0.061105262488126755, -0.03411310538649559, 0.0015864124288782477, -0.01547099556773901, 0.008835220709443092, 0.03543883562088013, 0.006008706986904144, -0.006263257935643196, 0.04038563743233681, 0.05670487508177757, 0.009798559360206127, -0.01663595624268055, 0.05954250320792198, 0.05771207436919212, -0.20052380859851837, 0.064612977206707, 0.03544733673334122, 0.05478641018271446, -0.059008851647377014, -0.01787959598004818, 0.06509774923324585, 0.03180699795484543, -0.03490396589040756, 0.014806520193815231, -0.01035974733531475, 0.03125421330332756, 0.060662928968667984, -0.06711863726377487, -0.0025743332225829363, -0.027424056082963943, -0.03533456474542618, 0.050111446529626846, -0.09584186971187592, -0.0723295658826828, -0.008510341867804527, -0.011143457144498825, -0.029765518382191658, -0.03011198714375496, 0.048965875059366226, -0.027705496177077293, 0.0021910034120082855, -0.00579246086999774, 0.020581010729074478, -0.025831470265984535, 0.04436445236206055, 0.007447395473718643, -0.07543143630027771, -0.002244226634502411, 0.04585840553045273, -0.005780136678367853, -0.002364678541198373, 0.2066842019557953, 0.014380821958184242, 0.01287785917520523, 0.02163024991750717, -0.028598932549357414, -0.008305797353386879, -0.027557039633393288, -0.0027329525910317898, -0.03937143832445145, -0.050814878195524216, -0.012844312004745007, -0.013571610674262047, -0.025445489212870598, 0.037779875099658966, -0.03521665558218956, 0.037751130759716034, 0.05321700870990753, 0.03842581808567047, 0.042041752487421036, -0.0371052585542202, -0.004554241430014372, -0.010810970328748226, -0.007611640729010105, 0.0176130011677742, 0.03973734751343727, 0.02999703213572502, -0.07726699858903885, 0.054575566202402115, 0.0782070904970169, 0.0077855330891907215, 0.02667449414730072, 0.008473776280879974, -0.03334399685263634, -0.1006539911031723, -0.028444631025195122, 0.03525805473327637, 0.011355946771800518, 0.015985649079084396, -0.0045478688552975655, 0.021757841110229492, 0.005030088126659393, -0.03172691911458969, -0.041223444044589996, -0.026358196511864662, -0.11373196542263031, -0.051346879452466965, 0.11678945273160934, -0.005473373457789421, 0.07269472628831863, -0.06378156691789627, -0.024570342153310776, -0.020833702757954597, 0.01864144764840603, -0.05877670273184776, -0.008082455024123192, 0.007822331972420216, 0.016151923686265945, 0.08042778074741364, 0.048772186040878296, -0.0481317974627018, 0.04001067578792572, -0.02698153257369995, -0.03388882055878639, -0.0333368293941021, 0.12159554660320282, 0.030867256224155426, -0.04983292520046234, 0.003617376321926713, 0.0268300361931324, -0.007817555218935013, -0.049701593816280365, 0.01370948925614357, 0.03573957830667496, -0.049970731139183044, -0.019815068691968918, 0.11045701056718826, 0.03813799470663071, -0.054170142859220505, -0.010579186491668224, -0.022208040580153465, -0.008864953182637691, 0.044702526181936264, -0.003289639949798584, -0.08961903303861618, 0.018266689032316208, 0.03818666934967041, -0.04152005538344383, -0.03199281170964241, -0.011994174681603909, 0.01620403118431568, 0.041035957634449005, -0.012141415849328041, -0.024027852341532707, -0.012293177656829357, 0.02911689504981041, -0.013739559799432755, -0.04662398621439934, -0.04069921746850014, -0.0685146376490593, -0.0074849543161690235, -0.04301266372203827, 0.09186502546072006, 0.05546122416853905, -0.01189598347991705, 0.03721608966588974, 0.00021167534578125924, -0.0031558775808662176, -0.02930143103003502, -0.012503988109529018, 0.044341545552015305, -0.03168608620762825, -0.047746941447257996, 0.027408374473452568, 0.0038375232834368944, 0.06888551265001297, -0.05645376443862915, 0.00752742774784565, 0.017575522884726524, 0.06510022282600403, 0.07182994484901428, 0.009595034644007683, 0.025073934346437454, -0.08166778087615967, -0.027566567063331604, -0.23451456427574158, 0.02268059179186821, -0.004869420547038317, 0.02332662045955658, 0.03342091664671898, -0.05282518267631531, 0.022783776745200157, -0.030338017269968987, -0.03484174609184265, 0.03041478432714939, 0.06754681468009949, -0.04201322793960571, 0.00218342081643641, 0.036128170788288116, -0.008378557860851288, 0.07836808264255524, -0.06400635838508606, 0.001221348182298243, -0.008282334543764591, 0.045874178409576416, 0.006438674405217171, -0.00862869806587696, -0.015216480009257793, -0.05530223250389099, 0.09544187784194946, 0.028172092512249947, 0.18877065181732178, 0.010597203858196735, -0.02198340930044651, -0.05922967568039894, 0.07806268334388733, 0.03701310604810715, -0.03323906660079956, -0.1077040359377861, 0.02316153049468994, 0.019561830908060074, 0.03849632665514946, -0.02574431337416172, 0.029298268258571625, -0.05380252003669739, -0.05686463788151741, 0.02076612040400505, -0.014036723412573338, -0.08675237745046616, -0.004214216955006123, -0.06031732261180878, -0.045542504638433456, -0.01080181822180748, 0.001256542163901031, 0.01404938381165266, 0.015285075642168522, -0.004132778383791447, 0.005536290351301432, 0.023839980363845825, -0.040240578353405, -0.03933386504650116, -0.044333845376968384, 0.07358983159065247, -0.035471249371767044, 0.015695856884121895, -0.01122871320694685, -0.025046469643712044, 0.03892580047249794, 0.010076259262859821, 0.06454035639762878, -0.029970353469252586, -0.0030835445504635572, -0.013738478533923626, 0.020345725119113922, -0.054651495069265366, -0.02359752170741558, 0.10031095892190933, -0.042656611651182175, 0.0035039829090237617, 0.03398492559790611, 0.06393730640411377, 0.012089177034795284, -0.05019970238208771, -0.06080435961484909, -0.03828258439898491, 0.019914748147130013, -0.00873660109937191, 0.054563138633966446, 0.05845603346824646, 0.015879714861512184, 0.06868457049131393, 0.07917110621929169, -0.004959084093570709, -0.011252911761403084, -0.033807478845119476, 0.0017572838114574552, -0.010608699172735214, -0.039010073989629745, -0.024538924917578697, 0.01745487004518509, -0.015047358348965645, -0.28181785345077515, 0.03592756763100624, -0.026896720752120018, 0.008342459797859192, -0.04116268455982208, 0.06924589723348618, 0.04805837571620941, 0.02967684157192707, -0.04112938418984413, 0.03437907621264458, 0.03439116105437279, 0.04477908834815025, -0.0028233493212610483, 0.002956174314022064, 0.03439473733305931, 0.04255436360836029, 0.02952248603105545, -0.012609759345650673, 0.037775151431560516, -0.06930150836706161, 0.008613413199782372, 0.051420025527477264, 0.25642403960227966, 0.0026791593991219997, 0.054053373634815216, 0.0809953361749649, 0.011213471181690693, 0.03682933747768402, 0.0650796964764595, 0.024297261610627174, 0.03723981976509094, 0.016452983021736145, 0.08318860828876495, -0.04230387136340141, 0.02675415389239788, 0.04091772809624672, -0.030215496197342873, 0.018847495317459106, 0.041535165160894394, 0.033897850662469864, -0.041978344321250916, 0.01723327860236168, -0.05626281723380089, -0.07931909710168839, 0.09314265847206116, 0.0016818916192278266, -0.05338434875011444, -0.08560419082641602, -0.00733244838193059, 0.017697112634778023, -0.03808145970106125, -0.026415441185235977, -0.008016173727810383, 0.009353045374155045, 0.043269965797662735, 0.018792657181620598, -0.032414574176073074, -0.025689052417874336, -0.06397779285907745, -0.021702192723751068, 0.05888922140002251, -0.02466697432100773, -0.004692596849054098, 0.026454800739884377, -0.010299166664481163 ]
devcenter
https://www.mongodb.com/developer/code-examples/java/rest-apis-java-spring-boot
created
As you can see, I’m using an auto-closeable try-with-resources which will automatically close the client session at the end. This helps me to keep the code clean and simple. Some of you may argue that it is actually too simple because transactions (and write operations, in general) can throw exceptions, and I’m not handling any of them here… You are absolutely right and this is an excellent transition to the next part of this article. ## Exception management Transactions in MongoDB can raise exceptions for various reasons, and I don’t want to go into the details too much here, but since MongoDB 3.6, any write operation that fails can be automatically retried once. And the transactions are no different. See the documentation for retryWrites. If retryable writes are disabled or if a write operation fails twice, then MongoDB will send a MongoException (extends RuntimeException) which should be handled properly.
md
{ "tags": [ "Java", "Spring" ], "pageDescription": "Take a shortcut to REST APIs with this Java/Spring Boot and MongoDB example application that embeds all you'll need to get going.", "contentType": "Code Example" }
REST APIs with Java, Spring Boot, and MongoDB
2024-05-20T17:32:23.500Z
[ -0.06570691615343094, -0.00028689877944998443, 0.05140234902501106, -0.04029842093586922, 0.01408341247588396, -0.039414696395397186, 0.020902082324028015, 0.04618111252784729, -0.016687754541635513, -0.05932946503162384, -0.021208424121141434, -0.03566288203001022, -0.007504936773329973, 0.0984702780842781, -0.029951199889183044, 0.0061104572378098965, -0.017786506563425064, 0.03574834018945694, -0.04935130104422569, 0.042890507727861404, 0.017440205439925194, -0.013487448915839195, 0.0031478027813136578, -0.018888236954808235, 0.015306349843740463, 0.07849223166704178, -0.00004442097633727826, -0.038705430924892426, -0.04277984797954559, -0.23226520419120789, -0.01600293070077896, -0.05589833855628967, -0.014290299266576767, -0.08148831874132156, 0.011204722337424755, -0.0019572998862713575, -0.04951801896095276, 0.04657622426748276, -0.04631037637591362, 0.03623832017183304, 0.07447914034128189, 0.04829680174589157, -0.03933635354042053, -0.05922484025359154, -0.047133445739746094, -0.06965319067239761, 0.013870473951101303, -0.03320162370800972, 0.030145442113280296, -0.0446971170604229, -0.030577896162867546, -0.03894701600074768, 0.00971626490354538, 0.026880118995904922, 0.0113237788900733, 0.03614036366343498, 0.04483423009514809, 0.044092338532209396, -0.014408539049327374, 0.034520648419857025, 0.07623302936553955, 0.06394961476325989, -0.12783414125442505, 0.02798675373196602, 0.06597591936588287, 0.03215303644537926, -0.03137616440653801, 0.014374630525708199, 0.028956139460206032, 0.03439969941973686, -0.022135067731142044, -0.022662701085209846, -0.007548177614808083, 0.05426570028066635, 0.03660013899207115, -0.0017963284626603127, -0.011657779105007648, -0.06071033328771591, 0.014527104794979095, 0.05746205151081085, -0.08936677128076553, -0.07187435775995255, -0.003037611721083522, 0.0355079360306263, -0.03258375823497772, -0.031038235872983932, 0.03354892134666443, -0.01767793484032154, 0.05853832885622978, 0.005464179906994104, 0.01315494254231453, 0.015220782719552517, 0.05533648282289505, 0.026489827781915665, -0.0710919201374054, 0.015124529600143433, 0.0657552108168602, 0.03134891018271446, -0.05184555798768997, 0.22306042909622192, -0.005675897002220154, 0.022233746945858, -0.004881036467850208, -0.01815643161535263, 0.02591824159026146, -0.03638523072004318, -0.004334196913987398, -0.02058001607656479, -0.03838659077882767, -0.019080068916082382, -0.01062396727502346, -0.020068176090717316, 0.06250937283039093, -0.05761754885315895, 0.011781946755945683, 0.07638572156429291, 0.027197638526558876, 0.01971924677491188, -0.03694426640868187, 0.013696997426450253, -0.015855157747864723, 0.01916707679629326, 0.025026418268680573, -0.005068309139460325, 0.022602831944823265, -0.07100296765565872, 0.0715508982539177, 0.1023755595088005, 0.0038648738991469145, 0.01782694272696972, 0.006219294387847185, -0.01571112871170044, -0.07060180604457855, -0.04312142729759216, 0.023633792996406555, 0.006571103353053331, -0.03248254954814911, -0.013867102563381195, 0.03167868033051491, -0.005186587106436491, 0.019331973046064377, -0.08699935674667358, -0.04305668920278549, -0.11725843697786331, -0.009453704580664635, 0.12511645257472992, -0.015717796981334686, 0.08575741946697235, -0.05510774254798889, -0.046253301203250885, 0.006019975058734417, 0.002879194915294647, -0.056950218975543976, -0.03776024281978607, 0.011972569860517979, 0.03963743895292282, 0.05387314781546593, 0.049715571105480194, -0.03541874140501022, -0.008257112465798855, -0.02828655019402504, -0.005073831882327795, -0.05035730078816414, 0.06347678601741791, 0.016503548249602318, -0.06983214616775513, -0.011700984090566635, 0.022419201210141182, -0.022496771067380905, -0.024093588814139366, -0.015621965751051903, 0.012413360178470612, -0.0691208615899086, -0.03883156552910805, 0.061131637543439865, 0.009889510460197926, -0.04320988431572914, -0.054927926510572433, -0.0047128028236329556, 0.02073591947555542, 0.03550208732485771, 0.0023876496125012636, -0.04593363031744957, 0.013623212464153767, 0.017435405403375626, -0.07476034015417099, -0.009264062158763409, -0.035770758986473083, 0.054324422031641006, 0.04605432599782944, -0.03460739180445671, -0.04340001195669174, 0.020209796726703644, -0.012559091672301292, -0.05396486446261406, -0.01675327867269516, -0.002095039002597332, -0.07735282182693481, 0.03199212998151779, -0.059476740658283234, 0.08363909274339676, 0.060251299291849136, 0.003424343653023243, 0.04338262230157852, 0.04482105001807213, 0.058746468275785446, -0.017938686534762383, -0.009567761793732643, 0.0255955271422863, -0.009612525813281536, -0.03310791775584221, 0.026746124029159546, -0.0004720874421764165, 0.015404891222715378, -0.042415596544742584, -0.003981859888881445, 0.0020482325926423073, 0.07515028864145279, 0.02838081680238247, 0.013575203716754913, 0.020565330982208252, -0.025630680844187737, -0.004161633085459471, -0.24783384799957275, -0.0195302814245224, -0.014722310937941074, -0.013161879032850266, 0.03532583639025688, -0.05218900367617607, 0.028948169201612473, -0.032303955405950546, -0.04407893121242523, 0.03308279812335968, 0.06685683131217957, -0.007074618246406317, -0.003650218714028597, -0.01016953680664301, 0.010365007445216179, 0.03823067620396614, -0.04534148424863815, 0.01043026801198721, -0.037359971553087234, 0.022877253592014313, -0.023258065804839134, -0.023165639489889145, -0.025309542194008827, -0.06785941123962402, 0.024722810834646225, 0.03711096569895744, 0.22009235620498657, 0.026023900136351585, 0.00018588350212667137, -0.06370489299297333, 0.04625847190618515, 0.01758602075278759, -0.015279341489076614, -0.11553782969713211, 0.04673083499073982, 0.017635131254792213, 0.010215453803539276, 0.018681369721889496, 0.03256835788488388, -0.067003533244133, -0.03188897296786308, 0.05619761720299721, -0.004791503772139549, -0.1056549921631813, 0.007169592194259167, -0.013939195312559605, -0.047366924583911896, -0.0065480065532028675, -0.008333231322467327, 0.0390365906059742, -0.0005819314974360168, -0.033149853348731995, 0.02937702089548111, 0.03125789389014244, -0.030617712065577507, -0.025062786415219307, -0.09495164453983307, 0.009829648770391941, -0.007445602212101221, 0.03534654155373573, -0.0019291031640022993, -0.036690518260002136, 0.044603072106838226, 0.016429532319307327, 0.06100322678685188, 0.022702915593981743, 0.04583442956209183, -0.01643184758722782, -0.009684426710009575, -0.047690678387880325, -0.015149096958339214, 0.12218399345874786, -0.018709050491452217, -0.028409797698259354, 0.051330845803022385, 0.05014564096927643, 0.03711482137441635, -0.045194000005722046, -0.0702444389462471, -0.014666397124528885, 0.02529706247150898, -0.040708988904953, 0.03780726343393326, 0.04084046930074692, 0.03529368340969086, 0.05758660286664963, 0.038045138120651245, 0.007528543937951326, 0.004487276542931795, -0.04709627479314804, -0.03676297515630722, -0.009179980494081974, -0.09281044453382492, -0.020368479192256927, 0.0161233339458704, -0.0013274059165269136, -0.25255510210990906, -0.007652001455426216, -0.0292173121124506, 0.03202907368540764, -0.024103010073304176, 0.06330603361129761, 0.014885077252984047, 0.044712577015161514, -0.04583345353603363, 0.03697939217090607, 0.07993363589048386, 0.02358616702258587, -0.001246427884325385, 0.009891381487250328, -0.003110365942120552, 0.07171640545129776, 0.020883072167634964, -0.03430382162332535, 0.04669857397675514, -0.048412274569272995, 0.020955529063940048, 0.04704361781477928, 0.23212525248527527, 0.017424797639250755, 0.024851977825164795, 0.08084370195865631, 0.003765490371733904, 0.05678778886795044, 0.08571989834308624, 0.03395368531346321, 0.02361474744975567, 0.007987656630575657, 0.06001778319478035, -0.016557257622480392, 0.0571104995906353, -0.021173352375626564, -0.037968698889017105, 0.018778203055262566, 0.02984049543738365, -0.0466390959918499, -0.05735008046030998, 0.032509174197912216, -0.007769086863845587, -0.007648791652172804, 0.11052916198968887, -0.03593584522604942, -0.06140104681253433, -0.07868422567844391, 0.013105914928019047, 0.023435523733496666, -0.031525082886219025, -0.06936826556921005, -0.009739113040268421, 0.01773022674024105, 0.02971879579126835, 0.02931566722691059, -0.019762134179472923, 0.0015239955391734838, -0.027727840468287468, -0.020988989621400833, 0.06568127870559692, -0.034379784017801285, -0.006480319891124964, 0.03771016001701355, 0.011624054051935673 ]
devcenter
https://www.mongodb.com/developer/code-examples/java/rest-apis-java-spring-boot
created
Luckily, Spring provides the annotation `ExceptionHandler` to help us do that. See the code in my controller `PersonController`. Of course, you will need to adapt and enhance this in your real project, but you have the main idea here. ```java @ExceptionHandler(RuntimeException.class) public final ResponseEntity handleAllExceptions(RuntimeException e) { logger.error("Internal server error.", e); return new ResponseEntity<>(e, HttpStatus.INTERNAL_SERVER_ERROR); } ``` ## Aggregation pipeline MongoDB's aggregation pipeline is a very powerful and efficient way to run your complex queries as close as possible to your data for maximum efficiency. Using it can ease the computational load on your application. Just to give you a small example, I implemented the `/api/persons/averageAge` route to show you how I can retrieve the average age of the persons in my collection.
md
{ "tags": [ "Java", "Spring" ], "pageDescription": "Take a shortcut to REST APIs with this Java/Spring Boot and MongoDB example application that embeds all you'll need to get going.", "contentType": "Code Example" }
REST APIs with Java, Spring Boot, and MongoDB
2024-05-20T17:32:23.500Z
[ -0.06039218604564667, 0.0036323911044746637, 0.03805512934923172, -0.040028877556324005, 0.011331590823829174, -0.0352645181119442, 0.05585698410868645, 0.054624419659376144, -0.028550488874316216, -0.017760273069143295, 0.002833765931427479, -0.03987063094973564, 0.04272453114390373, 0.05995500087738037, -0.02279675006866455, 0.01856701634824276, -0.007778359577059746, 0.07441327720880508, -0.028045443817973137, 0.019840985536575317, 0.0384116992354393, 0.00822790153324604, -0.038174618035554886, -0.0628947988152504, -0.009552281349897385, 0.07595602422952652, -0.051541928201913834, -0.06573956459760666, -0.05330059304833412, -0.16776840388774872, 0.0025430158711969852, -0.08019030094146729, 0.07118329405784607, -0.037302251905202866, -0.04751364886760712, -0.008635173551738262, 0.010881342925131321, 0.056366004049777985, -0.01554121170192957, 0.05532718822360039, 0.02971566654741764, 0.03467998281121254, -0.025623256340622902, -0.06596916913986206, -0.048358600586652756, -0.05481280758976936, -0.03188395872712135, 0.017942437902092934, 0.014672276563942432, -0.02475603297352791, -0.05090097710490227, -0.01673736236989498, -0.006407235749065876, 0.03976258635520935, 0.01592468097805977, 0.04078533872961998, 0.0317712128162384, 0.013977624475955963, 0.025203101336956024, -0.003892448265105486, 0.03398715704679489, 0.006929630879312754, -0.15733474493026733, 0.04859093576669693, 0.03603983297944069, 0.03427916020154953, 0.029781291261315346, -0.02583177015185356, 0.03193047270178795, -0.007963139563798904, -0.03317887336015701, 0.004518203437328339, 0.07330251485109329, 0.0689128115773201, 0.03035861998796463, -0.028874387964606285, -0.011321724392473698, -0.03847964480519295, 0.007493229117244482, 0.029518328607082367, -0.062013763934373856, -0.038597144186496735, 0.00252908980473876, 0.00905006006360054, -0.004523185081779957, -0.015328600071370602, 0.039584919810295105, -0.0405869223177433, 0.04891118034720421, 0.04226274788379669, -0.027991900220513344, -0.002260401612147689, 0.015382157638669014, 0.028764281421899796, -0.03330830857157707, 0.025339936837553978, 0.03774479776620865, 0.016322491690516472, -0.040727488696575165, 0.23173120617866516, -0.01675889641046524, 0.025263022631406784, 0.004905999172478914, -0.014063810929656029, 0.010619601234793663, -0.029067354276776314, -0.017776362597942352, -0.04389340057969093, -0.014845904894173145, -0.000424161902628839, -0.006487630307674408, -0.01033247821033001, 0.028435299172997475, -0.058026012033224106, 0.04013132303953171, 0.025960629805922508, 0.03637610375881195, 0.05650542676448822, -0.04290613532066345, -0.012868789955973625, 0.006098443176597357, 0.001797263277694583, 0.023061148822307587, 0.009260421618819237, 0.060924042016267776, -0.08044414967298508, 0.037557415664196014, 0.0935412049293518, 0.01290665939450264, 0.029586654156446457, 0.021687299013137817, -0.030420513823628426, -0.12866301834583282, -0.028006458654999733, 0.016677241772413254, 0.00904407911002636, -0.011508308351039886, 0.025334013625979424, 0.015134270302951336, -0.0010922536021098495, -0.01834622584283352, -0.10395411401987076, -0.04815222695469856, -0.08348590135574341, -0.0670892596244812, 0.14028479158878326, -0.017331702634692192, 0.07923226058483124, -0.004032937344163656, -0.0519535094499588, -0.012684687040746212, 0.02873845025897026, -0.04156126454472542, -0.004033159464597702, 0.012151435948908329, 0.04265407472848892, 0.05206042155623436, 0.05016877129673958, -0.00043603836093097925, -0.001977162668481469, -0.0070663029327988625, -0.010719985701143742, -0.045881956815719604, 0.0895823985338211, 0.017165696248412132, -0.0985603854060173, 0.005515264812856913, 0.02918008156120777, -0.015149090439081192, -0.03419311344623566, 0.04976361617445946, 0.018153857439756393, -0.03797118365764618, 0.038716573268175125, 0.10619311779737473, 0.05521004647016525, -0.012327240779995918, -0.016480324789881706, 0.004100766032934189, 0.036855507642030716, 0.03669142723083496, -0.0033011476043611765, -0.05864807963371277, 0.012703990563750267, 0.03014567121863365, -0.08728085458278656, 0.023725925013422966, -0.002507349941879511, 0.06170595809817314, 0.027545714750885963, -0.02898886241018772, -0.02646685764193535, -0.03956088423728943, 0.005604819860309362, -0.03635802119970322, -0.054164644330739975, -0.01807667315006256, -0.043070465326309204, 0.050732120871543884, -0.05353422462940216, 0.07910997420549393, 0.016353534534573555, -0.03668065369129181, 0.049124423414468765, 0.043254315853118896, 0.05875620245933533, -0.032832469791173935, -0.02443244494497776, 0.041298966854810715, -0.03371976688504219, -0.05849411338567734, -0.032153431326150894, 0.067365363240242, -0.0005828810390084982, -0.0372733548283577, 0.037030912935733795, 0.026649413630366325, 0.05259225144982338, 0.043453216552734375, 0.011326547712087631, 0.022125955671072006, -0.0509793721139431, -0.0013469640398398042, -0.243865504860878, 0.002010353608056903, 0.039135172963142395, -0.030331645160913467, 0.028321392834186554, -0.042208362370729446, 0.0015798562671989202, -0.041653573513031006, -0.007027968764305115, 0.041455406695604324, 0.06695030629634857, -0.024785926565527916, -0.00663721514865756, -0.01085654366761446, -0.04046442732214928, 0.05406906083226204, -0.018674809485673904, 0.019340723752975464, -0.04285517707467079, -0.0018647670513018966, 0.004169418476521969, -0.021388467401266098, -0.0023279832676053047, -0.04975827410817146, 0.0411825105547905, 0.006445351056754589, 0.2393769770860672, 0.046561289578676224, -0.015749845653772354, -0.10690127313137054, 0.02935599349439144, 0.012485546991229057, -0.013944444246590137, -0.09270182251930237, 0.06958689540624619, -0.0012046186020597816, -0.03830670565366745, -0.006865398027002811, -0.0007590215536765754, -0.023340683430433273, -0.028410060331225395, 0.022621797397732735, 0.0311378575861454, -0.09751991182565689, -0.012959632091224194, -0.036305464804172516, -0.021254317834973335, -0.012377966195344925, -0.030156783759593964, 0.01708255335688591, -0.011029531247913837, -0.03655903786420822, 0.04169303551316261, 0.0011145755415782332, -0.012594882398843765, -0.050649117678403854, -0.07239530235528946, 0.05494258925318718, -0.01123568881303072, 0.03839462623000145, 0.0034404254984110594, 0.0022171204909682274, 0.04255015775561333, -0.02888793684542179, 0.014294418506324291, -0.012935424223542213, 0.018051130697131157, -0.014862949028611183, -0.0398293174803257, -0.06532171368598938, -0.020587095990777016, 0.10257835686206818, -0.04773535206913948, 0.0008438624208793044, 0.01649519056081772, 0.03822290524840355, 0.018964195623993874, -0.07836516201496124, -0.0200630035251379, -0.0027858226094394922, -0.013863809406757355, -0.03723529726266861, 0.04672763869166374, 0.03700786456465721, 0.03412076458334923, -0.003284414066001773, 0.041331592947244644, 0.015800917521119118, 0.027814239263534546, -0.013255002908408642, -0.008188384585082531, -0.01644129492342472, -0.0838344544172287, -0.01595269702374935, -0.02120571956038475, 0.00882064737379551, -0.2718275487422943, 0.029885273426771164, -0.047492481768131256, 0.00721880653873086, 0.01159710343927145, 0.018880028277635574, 0.06277836859226227, 0.03297090902924538, 0.0066973245702683926, 0.025270085781812668, 0.04006681963801384, 0.011268654838204384, 0.02386699616909027, -0.007937788963317871, 0.01337950024753809, 0.07874166965484619, -0.024479640647768974, -0.03762209042906761, 0.07805731892585754, -0.07094132900238037, 0.07232179492712021, 0.07081778347492218, 0.2333456128835678, -0.009353692643344402, 0.030545273795723915, 0.08412548899650574, -0.019877351820468903, -0.01178284827619791, 0.06788734346628189, -0.020415596663951874, -0.002158205024898052, -0.013241545297205448, 0.13603077828884125, -0.04620789736509323, 0.06852378696203232, 0.02280253916978836, -0.0006653540767729282, -0.02997737005352974, -0.003547841217368841, -0.009834791533648968, -0.05917517840862274, 0.00782082974910736, -0.032363325357437134, -0.01665775664150715, 0.12364077568054199, -0.0012561555486172438, -0.05626358091831207, -0.05222351476550102, 0.004143494181334972, 0.022336116060614586, -0.036964792758226395, -0.0790628120303154, -0.030845943838357925, 0.024029770866036415, 0.04940091818571091, 0.03163493052124977, -0.021448731422424316, -0.009141404181718826, -0.06963860988616943, -0.02460140362381935, 0.00567997433245182, -0.027620980516076088, -0.007906299084424973, 0.020357990637421608, -0.011486854404211044 ]
devcenter
https://www.mongodb.com/developer/code-examples/java/rest-apis-java-spring-boot
created
```java @Override public double getAverageAge() { List pipeline = List.of(group(new BsonNull(), avg("averageAge", "$age")), project(excludeId())); return personCollection.aggregate(pipeline, AverageAgeDTO.class).first().averageAge(); } ``` Also, you can note here that I’m using the `personCollection` which was initially instantiated like this: ```java private MongoCollection personCollection; @PostConstruct void init() { personCollection = client.getDatabase("test").getCollection("persons", PersonEntity.class); } ``` Normally, my personCollection should encode and decode `PersonEntity` object only, but you can overwrite the type of object your collection is manipulating to return something different — in my case, `AverageAgeDTO.class` as I’m not expecting a `PersonEntity` class here but a POJO that contains only the average age of my "persons". ## Swagger
md
{ "tags": [ "Java", "Spring" ], "pageDescription": "Take a shortcut to REST APIs with this Java/Spring Boot and MongoDB example application that embeds all you'll need to get going.", "contentType": "Code Example" }
REST APIs with Java, Spring Boot, and MongoDB
2024-05-20T17:32:23.500Z
[ -0.03430325910449028, 0.004300291184335947, -0.0027935784310102463, -0.038299523293972015, 0.009678411297500134, -0.027354616671800613, 0.037777598947286606, 0.026876822113990784, -0.01637119986116886, 0.011425045318901539, 0.015342768281698227, -0.0679003968834877, 0.03717166185379028, 0.05920882523059845, -0.025988196954131126, 0.009677802212536335, 0.01794459857046604, 0.0672374814748764, -0.07171178609132767, -0.0019018951570615172, 0.0843391939997673, -0.0016309202183037996, -0.04712756350636482, -0.0731048583984375, 0.06368030607700348, 0.07757391035556793, -0.048004381358623505, -0.030559372156858444, -0.03504865616559982, -0.20345106720924377, 0.0012053594691678882, -0.07958760112524033, 0.0692148506641388, -0.03318402171134949, -0.04037763178348541, -0.01109245140105486, -0.0269230417907238, 0.05044357851147652, -0.04997967928647995, 0.06825597584247589, 0.0547022819519043, 0.018989719450473785, -0.06386303901672363, -0.08737346529960632, -0.05188674107193947, -0.041677407920360565, -0.022728580981492996, -0.026584306731820107, 0.017801150679588318, -0.03223693370819092, -0.02325581945478916, -0.006397732067853212, 0.007246316876262426, 0.03634994849562645, 0.023983880877494812, 0.030794991180300713, 0.032856669276952744, 0.05372698977589607, 0.018508663401007652, -0.011354608461260796, 0.0031274326611310244, 0.010715954937040806, -0.15421836078166962, 0.05789586901664734, 0.02015218697488308, 0.04134391248226166, 0.009705628268420696, -0.020289644598960876, 0.03820865973830223, 0.008223777636885643, 0.009677058085799217, 0.016597481444478035, 0.05455171689391136, 0.061458609998226166, 0.037618350237607956, -0.031103717163205147, -0.00838239211589098, -0.04063545912504196, 0.027367079630494118, 0.04094172269105911, -0.07666251808404922, -0.04669817537069321, 0.006827650126069784, 0.022602582350373268, -0.03650771453976631, -0.04102164879441261, 0.06331752240657806, -0.06857752054929733, 0.05634815990924835, 0.04634295031428337, -0.021294377744197845, 0.0045775738544762135, 0.01883876509964466, 0.02328861504793167, -0.07556400448083878, 0.0006922945030964911, 0.042860470712184906, 0.0373343750834465, -0.006575046107172966, 0.22246363759040833, -0.021249521523714066, 0.007229394745081663, 0.02998606115579605, -0.02670859359204769, 0.03870495781302452, -0.04590312018990517, -0.016541119664907455, -0.05036062374711037, 0.030504221096634865, 0.0015712704043835402, -0.03396320715546608, -0.02607579529285431, 0.015117863193154335, -0.053111959248781204, 0.009988960810005665, 0.004258234519511461, 0.02105054259300232, 0.06610755622386932, -0.04769141972064972, 0.010201416909694672, 0.01999465376138687, 0.004218949005007744, 0.020450875163078308, -0.002019621431827545, 0.014382909052073956, -0.06358444690704346, 0.03750016540288925, 0.11048205941915512, 0.02001490257680416, 0.041183046996593475, 0.04349031671881676, -0.04321726784110069, -0.11007504165172577, -0.06030527874827385, -0.001957464497536421, 0.028771277517080307, 0.005998844746500254, 0.031707603484392166, 0.024473557248711586, 0.009247520938515663, -0.011214266531169415, -0.06631223112344742, -0.05180496722459793, -0.07847382128238678, -0.06189677491784096, 0.1244751438498497, -0.021613791584968567, 0.08270825445652008, -0.02136908657848835, -0.031987566500902176, -0.03204461932182312, 0.02591816894710064, -0.027118759229779243, -0.01868312433362007, -0.01124499086290598, 0.02931426838040352, 0.044516514986753464, 0.05085211619734764, -0.038443759083747864, -0.028466003015637398, -0.004680165089666843, -0.017940469086170197, -0.06918658316135406, 0.07687785476446152, 0.04041586443781853, -0.04071713984012604, 0.0015590802067890763, 0.014930568635463715, -0.01691521145403385, -0.04873990640044212, 0.013310245238244534, 0.026579895988106728, -0.05300067365169525, 0.02952047623693943, 0.11131186783313751, 0.022300217300653458, -0.011855779215693474, -0.00420213071629405, -0.030276048928499222, 0.006978149991482496, -0.016852224245667458, -0.025204867124557495, -0.08114128559827805, 0.003294257214292884, 0.055015306919813156, -0.07477967441082001, -0.015538159757852554, -0.02034764736890793, 0.020789751783013344, 0.056165553629398346, -0.021937424317002296, 0.02764849178493023, -0.03953762724995613, -0.000940999889280647, -0.02222883701324463, -0.03093605488538742, 0.012104494497179985, -0.028055431321263313, 0.025376271456480026, -0.01578206568956375, 0.06377270072698593, 0.0678497850894928, -0.024557363241910934, 0.059795036911964417, 0.004271580837666988, 0.04829917475581169, -0.005988177843391895, -0.041271038353443146, 0.043453559279441833, -0.01090028416365385, -0.06733851134777069, -0.05045541375875473, 0.02557300217449665, 0.051429275423288345, -0.03194582089781761, 0.047221649438142776, 0.030537543818354607, 0.026428883895277977, 0.06587038189172745, 0.016914065927267075, -0.02690764330327511, -0.05935833230614662, -0.013953086920082569, -0.2503095269203186, 0.04862085357308388, 0.02353534661233425, -0.03925962746143341, 0.009310313500463963, -0.03186645358800888, 0.02319483272731304, -0.03378906846046448, 0.0001994186022784561, 0.06468327343463898, 0.05178896710276604, -0.014796395786106586, -0.018073849380016327, 0.03898565471172333, -0.04108376055955887, 0.08006184548139572, 0.003871307475492358, -0.008155706338584423, -0.023388158529996872, 0.02627967856824398, 0.02278188243508339, 0.006179786752909422, -0.007742430083453655, -0.06624632328748703, 0.06047172099351883, 0.01045687310397625, 0.231388121843338, 0.03840260952711105, 0.023857805877923965, -0.07478980720043182, 0.0466904453933239, 0.024120161309838295, -0.013927415013313293, -0.07475903630256653, 0.056994713842868805, -0.010435166768729687, -0.025841951370239258, -0.02395073138177395, -0.003981007728725672, 0.0028132980223745108, -0.0403425358235836, 0.0029577906243503094, 0.014216474257409573, -0.10031172633171082, 0.005901651922613382, -0.0811859592795372, -0.04688134416937828, 0.008389631286263466, -0.04352135211229324, 0.02354602888226509, -0.004186788573861122, -0.057678963989019394, 0.06878839433193207, 0.02708357572555542, -0.012710506096482277, -0.005064746830612421, -0.061794742941856384, 0.04450444132089615, -0.008353091776371002, 0.04641244560480118, 0.006879068911075592, 0.0065888031385838985, 0.017449816688895226, -0.03372572362422943, 0.028794877231121063, -0.03315563127398491, -0.04633057489991188, -0.029208587482571602, -0.012698741629719734, -0.06935375928878784, 0.0015315880300477147, 0.06580150872468948, -0.01714950241148472, -0.028024224564433098, 0.026649776846170425, 0.05222523584961891, -0.005609909072518349, -0.03972026705741882, -0.005951719358563423, -0.02477593533694744, 0.029973207041621208, -0.02872275933623314, 0.043840061873197556, 0.03572038188576698, 0.027360349893569946, 0.010498922318220139, 0.03442718833684921, -0.016212286427617073, 0.014909408055245876, -0.020053789019584656, -0.033999502658843994, -0.03434108570218086, -0.03472413867712021, -0.02205110713839531, -0.006640988402068615, -0.025386305525898933, -0.2853829562664032, 0.030241772532463074, -0.010168327949941158, -0.0009539203601889312, -0.009523514658212662, 0.01577727496623993, 0.05629508197307587, -0.004455856047570705, -0.01829613745212555, 0.01379480678588152, 0.0434955433011055, 0.03174217417836189, 0.03201926499605179, 0.0008373394375666976, 0.04144854471087456, 0.0758688673377037, -0.0031459303572773933, -0.04282601177692413, 0.07802349328994751, -0.044251713901758194, 0.036245353519916534, 0.01581335999071598, 0.22172421216964722, 0.0119929239153862, 0.052337467670440674, 0.03550839424133301, -0.01814301498234272, 0.019881200045347214, 0.0604843907058239, -0.011164222843945026, 0.009375873021781445, -0.015907475724816322, 0.16602565348148346, -0.038844216614961624, 0.03081423230469227, 0.007596236653625965, -0.006250027101486921, 0.017814869061112404, -0.0015491289086639881, -0.011566836386919022, -0.039885517209768295, -0.009957510977983475, -0.04960252344608307, -0.03692856431007385, 0.1597391813993454, -0.0048873694613575935, -0.03222681209445, -0.04357585683465004, 0.0029490410815924406, 0.011796196922659874, -0.04800301417708397, -0.04066595062613487, -0.020943667739629745, -0.019886314868927002, 0.05500731244683266, 0.02637498825788498, -0.026080213487148285, -0.0023786972742527723, -0.05624784529209137, 0.007823966443538666, 0.00020911518367938697, -0.022337323054671288, -0.030897215008735657, 0.05023577809333801, -0.018302002921700478 ]
devcenter
https://www.mongodb.com/developer/code-examples/java/rest-apis-java-spring-boot
created
## Swagger Swagger is the tool you need to document your REST APIs. You have nothing to do — the configuration is completely automated. Just run the server and navigate to http://localhost:8080/swagger-ui.html. the interface will be waiting for you. for more information. ## Nyan Cat Yes, there is a Nyan Cat section in this post. Nyan Cat is love, and you need some Nyan Cat in your projects. :-) Did you know that you can replace the Spring Boot logo in the logs with pretty much anything you want? and the "Epic" font for each project name. It's easier to identify which log file I am currently reading. ## Conclusion I hope you like my template, and I hope I will help you be more productive with MongoDB and the Java stack.
md
{ "tags": [ "Java", "Spring" ], "pageDescription": "Take a shortcut to REST APIs with this Java/Spring Boot and MongoDB example application that embeds all you'll need to get going.", "contentType": "Code Example" }
REST APIs with Java, Spring Boot, and MongoDB
2024-05-20T17:32:23.500Z
[ -0.051025472581386566, 0.0020606087055057287, 0.008362272754311562, -0.01653616689145565, 0.04463132098317146, 0.00867606233805418, -0.00596108753234148, 0.03738109767436981, -0.02173328772187233, -0.016612080857157707, -0.005427626892924309, -0.05795499309897423, 0.04639716446399689, 0.05937735363841057, 0.03109944984316826, -0.026716219261288643, 0.010451672598719597, 0.027732087299227715, -0.03541772812604904, -0.010855968110263348, 0.07931631803512573, 0.02627728320658207, -0.023676540702581406, -0.055550716817379, 0.03715623915195465, 0.10343778878450394, -0.01773970015347004, -0.005102881696075201, -0.054339323192834854, -0.1885569989681244, 0.016340257599949837, -0.04412178322672844, 0.03607269003987312, -0.028451956808567047, -0.003937968518584967, 0.007380349095910788, -0.009125219658017159, 0.04017305746674538, -0.025560971349477768, 0.05417166277766228, 0.07455122470855713, 0.005718807224184275, -0.002380700781941414, -0.05185384303331375, -0.0336436927318573, -0.07486215978860855, -0.028154628351330757, -0.005685500800609589, 0.00519055500626564, -0.03922737017273903, -0.017841236665844917, -0.04051164537668228, -0.016021745279431343, 0.007279681041836739, 0.04078063741326332, 0.06858513504266739, 0.09819695353507996, 0.055832259356975555, 0.01696363277733326, -0.002943522995337844, 0.036494046449661255, 0.03630447015166283, -0.192888081073761, 0.07568884640932083, 0.05371040478348732, 0.035825464874506, -0.04861995205283165, 0.006506336387246847, 0.053799062967300415, 0.02998107671737671, -0.05028442293405533, 0.0015169888501986861, 0.039573755115270615, 0.07131296396255493, 0.0352245457470417, -0.05613195523619652, 0.02314508706331253, -0.016759352758526802, 0.05446940287947655, 0.015707066282629967, -0.091022789478302, -0.022027628496289253, -0.02141772024333477, 0.01889035664498806, -0.02339407615363598, -0.005232018418610096, -0.01692742295563221, -0.03743649646639824, 0.06253854185342789, 0.01193042378872633, -0.012476110830903053, -0.014769460074603558, 0.03680957481265068, -0.015079623088240623, -0.08032513409852982, -0.016271499916911125, 0.01934994012117386, 0.03545207530260086, -0.02839881367981434, 0.23463772237300873, -0.000036804474802920595, -0.01837473176419735, 0.03470929339528084, -0.03915224224328995, 0.006985702086240053, -0.04801638796925545, -0.03010844998061657, -0.0264041218906641, 0.024339964613318443, 0.03819222003221512, 0.0037645199336111546, -0.024213731288909912, -0.019067130982875824, -0.04372022673487663, 0.04077612981200218, -0.03582911938428879, 0.03304985538125038, 0.05247148871421814, -0.030635366216301918, -0.003925557713955641, -0.027415163815021515, -0.009719816036522388, 0.034090541303157806, -0.002004872774705291, -0.005896989721804857, -0.09031558036804199, 0.05929742380976677, 0.06336094439029694, 0.02934129908680916, 0.07860878109931946, 0.030521955341100693, 0.01091775856912136, -0.09468188881874084, -0.02536585181951523, 0.00016833949484862387, 0.012285967357456684, 0.03030542843043804, -0.02523902989923954, -0.011315415613353252, 0.053036537021398544, -0.0358169823884964, -0.06843820214271545, -0.04391247779130936, -0.12525177001953125, -0.03696802631020546, 0.09384119510650635, 0.006778177805244923, 0.08507886528968811, -0.029700715094804764, -0.04907270893454552, -0.01871473155915737, 0.06247681751847267, -0.0285833440721035, -0.00948029849678278, -0.006865926086902618, 0.033506184816360474, 0.03072509355843067, 0.06404311209917068, -0.01442025788128376, 0.017858142033219337, -0.004136525560170412, -0.0638963058590889, -0.04194314405322075, 0.0535045750439167, 0.043788257986307144, -0.136546790599823, -0.00034580728970468044, 0.02551613375544548, -0.02590121328830719, -0.021269217133522034, 0.02000521682202816, 0.05571207404136658, -0.027496343478560448, -0.00020138485706411302, 0.08088889718055725, 0.04494984820485115, -0.00921319704502821, 0.01857111044228077, -0.018275544047355652, -0.0021028872579336166, 0.027182482182979584, -0.036874525249004364, -0.06392129510641098, 0.0658528134226799, 0.02482789009809494, -0.05149570852518082, 0.007112224120646715, -0.023570522665977478, 0.00859827734529972, 0.04217638820409775, -0.021636784076690674, -0.0343010239303112, -0.010423282161355019, -0.04238470271229744, -0.0059621925465762615, -0.06487903743982315, -0.012223269790410995, -0.016657814383506775, 0.05543367192149162, -0.0373733714222908, 0.06141141057014465, 0.05289069563150406, -0.008242732845246792, 0.05782410502433777, 0.027146246284246445, 0.037662699818611145, -0.023748347535729408, -0.01824326626956463, 0.04652509093284607, -0.008280336856842041, -0.06676190346479416, 0.020702926442027092, 0.047746747732162476, 0.01835743710398674, -0.05110368877649307, -0.007117587141692638, 0.031295809894800186, 0.021210938692092896, 0.035226982086896896, 0.05095050111413002, 0.008827787823975086, -0.053324874490499496, -0.025588039308786392, -0.23044437170028687, 0.010400568135082722, 0.0025379927828907967, -0.06832026690244675, 0.002754820743575692, -0.09814272820949554, 0.014761517755687237, -0.02874225564301014, 0.01866353116929531, 0.034080035984516144, 0.10080129653215408, -0.04615017771720886, -0.029253873974084854, 0.007972010411322117, -0.04278195649385452, 0.06245679035782814, 0.021820610389113426, -0.016970979049801826, -0.035293374210596085, 0.00030006596352905035, 0.005426459945738316, -0.014162671752274036, -0.015971949324011803, -0.06651727855205536, 0.017789430916309357, 0.014483898878097534, 0.21039097011089325, 0.07790821045637131, 0.022089065983891487, -0.07391253113746643, 0.0502905510365963, 0.010100971907377243, -0.02424478903412819, -0.1314859390258789, 0.03954223915934563, 0.05923400819301605, 0.02832150086760521, -0.015790678560733795, 0.0067397127859294415, -0.04621178284287453, -0.06828518211841583, 0.06685388088226318, -0.004109166096895933, -0.10304819047451019, 0.01046245638281107, -0.05829893425107002, -0.051325127482414246, -0.033336371183395386, -0.06503944844007492, 0.0012416912941262126, 0.016793709248304367, -0.00649967510253191, 0.03128470480442047, 0.03365001454949379, -0.02089373767375946, -0.04286770522594452, -0.05806334316730499, 0.012177722528576851, 0.004512918181717396, 0.02964962087571621, -0.022048277780413628, -0.030569495633244514, 0.038854002952575684, -0.03463001921772957, 0.059969462454319, -0.017944499850273132, -0.028842810541391373, -0.030966319143772125, 0.014517873525619507, -0.0634060651063919, -0.03463015705347061, 0.049818459898233414, -0.012044733390212059, -0.02695615030825138, 0.04486316815018654, 0.021944895386695862, -0.0025459991302341223, -0.04548401013016701, -0.04680262506008148, -0.05189114436507225, 0.03708833083510399, -0.005659467540681362, 0.047577861696481705, 0.010259433649480343, 0.008663587272167206, 0.06239420548081398, 0.02457352541387081, -0.008442235179245472, 0.0344528928399086, -0.020690659061074257, -0.013873633928596973, -0.0095931151881814, -0.02572817914187908, -0.05043598636984825, 0.010256295092403889, 0.00392927834764123, -0.25540032982826233, 0.04025758057832718, 0.01216859184205532, 0.03717627748847008, -0.01028773095458746, 0.02999628521502018, 0.04502435401082039, -0.003601766424253583, -0.04699390009045601, -0.0026464115362614393, 0.05725076049566269, 0.064114049077034, 0.025758882984519005, -0.025093896314501762, 0.019418178126215935, 0.08801102638244629, 0.06256549805402756, -0.06130978837609291, 0.058860208839178085, -0.05015234276652336, -0.040639203041791916, -0.0036617040168493986, 0.2156745046377182, -0.0007880552439019084, 0.0465463325381279, 0.051546912640333176, -0.009197215549647808, 0.05629819259047508, 0.054972726851701736, 0.005215373821556568, 0.03384258970618248, -0.01123103965073824, 0.09030485153198242, 0.02581874467432499, 0.026632457971572876, 0.0300514604896307, -0.005050093401223421, 0.01483500562608242, 0.0014222771860659122, -0.008999972604215145, -0.04609792307019234, 0.009371747262775898, -0.016838515177369118, 0.00016937917098402977, 0.11040828377008438, -0.06122875213623047, -0.06746839731931686, -0.04957061633467674, 0.01860908605158329, -0.002304650843143463, -0.06937038898468018, -0.06805223226547241, -0.05633736401796341, 0.03585510700941086, 0.01486998051404953, 0.05038358271121979, 0.017371680587530136, 0.007280780468136072, -0.07644877582788467, -0.033394183963537216, 0.001538911834359169, -0.013770426623523235, 0.010051536373794079, 0.023814532905817032, 0.014632935635745525 ]
devcenter
https://www.mongodb.com/developer/code-examples/java/rest-apis-java-spring-boot
created
## Conclusion I hope you like my template, and I hope I will help you be more productive with MongoDB and the Java stack. If you see something which can be improved, please feel free to open a GitHub issue or directly submit a pull request. They are very welcome. :-) If you are new to MongoDB Atlas, give our Quick Start post a try to get up to speed with MongoDB Atlas in no time. [1]: https://images.contentstack.io/v3/assets/blt39790b633ee0d5a7/blt876f3404c57aa244/65388189377588ba166497b0/swaggerui.png [2]: https://images.contentstack.io/v3/assets/blt39790b633ee0d5a7/bltf2f06ba5af19464d/65388188d31953242b0dbc6f/nyancat.png
md
{ "tags": [ "Java", "Spring" ], "pageDescription": "Take a shortcut to REST APIs with this Java/Spring Boot and MongoDB example application that embeds all you'll need to get going.", "contentType": "Code Example" }
REST APIs with Java, Spring Boot, and MongoDB
2024-05-20T17:32:23.500Z
[ -0.0710957869887352, 0.011432668194174767, -0.004561296198517084, -0.005724127404391766, 0.02573459781706333, -0.0029782771598547697, 0.010772356763482094, 0.0374654084444046, -0.01542743295431137, -0.02575158327817917, -0.0037470050156116486, -0.08644571900367737, 0.06435542553663254, 0.062283411622047424, -0.0015874247765168548, 0.006849624682217836, -0.016783300787210464, 0.015218176878988743, -0.04414988309144974, -0.007700302638113499, 0.055870018899440765, 0.005593983456492424, -0.04831068590283394, -0.0633697658777237, 0.03243860602378845, 0.09579171240329742, -0.029663201421499252, -0.04220135509967804, -0.03693074360489845, -0.2443440854549408, 0.03337252885103226, -0.031143972650170326, 0.0947619378566742, -0.03943756967782974, -0.03584926947951317, -0.0011399158975109458, -0.022890742868185043, 0.07328487932682037, -0.03749850019812584, 0.024815373122692108, 0.08307347446680069, 0.03286408632993698, -0.014932198449969292, -0.07659471035003662, -0.04815814271569252, -0.06533423811197281, -0.014072042889893055, -0.012913085520267487, 0.00793838407844305, -0.049866367131471634, -0.04944289103150368, -0.04085901752114296, -0.022606564685702324, 0.007975293323397636, 0.03328847512602806, 0.04054427519440651, 0.069783054292202, 0.06350143253803253, -0.01986875757575035, -0.005531645379960537, 0.05314391478896141, 0.037879087030887604, -0.16593371331691742, 0.050425074994564056, 0.03870265185832977, 0.05647921562194824, -0.03835345059633255, -0.0014353628503158689, 0.015384562313556671, 0.02149503119289875, -0.019608570262789726, -0.0031078385654836893, 0.005408104509115219, 0.059684280306100845, 0.0453917570412159, -0.0223738681524992, -0.0021783371921628714, -0.03364642336964607, 0.0168492142111063, 0.0194551944732666, -0.0890439972281456, -0.025258846580982208, -0.005517304874956608, 0.0071121263317763805, -0.021887850016355515, -0.004645060747861862, 0.01649346761405468, -0.08035720139741898, 0.02068992704153061, 0.0072183203883469105, 0.03550638258457184, 0.021560868248343468, 0.039715856313705444, 0.024186601862311363, -0.08235892653465271, -0.011327793821692467, 0.024732254445552826, 0.03655292093753815, 0.01549615990370512, 0.1827143430709839, -0.03064078837633133, 0.02731306478381157, 0.04949936643242836, -0.01824641227722168, 0.037008292973041534, -0.01679745316505432, 0.0037142704240977764, -0.05804841220378876, -0.011230752803385258, 0.027280297130346298, -0.004831931088119745, -0.037972137331962585, 0.01698654517531395, -0.05546244606375694, 0.01899832673370838, -0.018889542669057846, 0.04712972044944763, 0.03770974650979042, -0.05187466740608215, -0.00952697079628706, 0.00018859819101635367, 0.029183557257056236, 0.06894379109144211, 0.01299492921680212, 0.002930430229753256, -0.04890163615345955, 0.006540386006236076, 0.069710873067379, 0.021094659343361855, 0.049758683890104294, 0.033092040568590164, 0.015114933252334595, -0.06641547381877899, -0.03107835352420807, 0.012194938026368618, 0.015456417575478554, -0.014681083150207996, -0.031215772032737732, -0.014824960380792618, 0.057776328176259995, -0.029924629256129265, -0.08994957059621811, -0.05338835343718529, -0.10961535573005676, -0.02644210495054722, 0.11571338772773743, -0.03192927688360214, 0.060842033475637436, -0.057520102709531784, -0.027584142982959747, -0.0226459763944149, 0.04652399569749832, -0.050448764115571976, -0.0049930764362216, -0.03840365260839462, 0.021082499995827675, 0.05005995184183121, 0.08987542986869812, -0.06256172060966492, -0.025655940175056458, -0.028677577152848244, -0.014071814715862274, -0.054632291197776794, 0.09749510139226913, 0.02232547104358673, -0.1253591626882553, 0.0072601353749632835, 0.019846981391310692, -0.002391277812421322, -0.018467068672180176, -0.0047390959225595, 0.04639846459031105, -0.011925642378628254, 0.021967552602291107, 0.11722724139690399, 0.04869462549686432, -0.0303104966878891, 0.007070047780871391, -0.0015147078083828092, -0.004439064301550388, 0.017583763226866722, -0.04087356477975845, -0.06484858691692352, 0.05677499622106552, -0.00998555775731802, -0.03141690045595169, -0.014786812476813793, -0.01790618523955345, 0.03908691182732582, 0.056757695972919464, -0.009954924695193768, -0.007797755766659975, 0.02395031787455082, -0.003794399555772543, -0.025632664561271667, -0.08919026702642441, -0.006427171174436808, -0.017643757164478302, 0.049335721880197525, -0.07647577673196793, 0.08324497938156128, 0.05302765592932701, -0.0000397916192014236, 0.06069870665669441, 0.02010219357907772, 0.014622249640524387, -0.031015217304229736, -0.023312799632549286, 0.004161733202636242, 0.00683141965419054, -0.040480151772499084, -0.004270613193511963, -0.005741018336266279, 0.012443147599697113, -0.013345880433917046, -0.007423234172165394, 0.028534987941384315, 0.06026408076286316, 0.020163951441645622, 0.0397784523665905, -0.0025385709013789892, -0.11398814618587494, -0.047987185418605804, -0.21776334941387177, 0.03868705406785011, -0.0026605597231537104, -0.0015623768558725715, -0.036850329488515854, -0.05347388610243797, 0.01814870722591877, -0.02345331385731697, -0.023592200130224228, 0.04539775103330612, 0.06445863842964172, -0.02767552249133587, -0.008647135458886623, 0.024048518389463425, -0.046793535351753235, 0.08645329624414444, 0.012954982928931713, -0.019482899457216263, -0.03339480981230736, -0.007167223375290632, 0.017367515712976456, 0.02618071250617504, -0.030608491972088814, -0.09694962203502655, 0.012907285243272781, 0.0072149052284657955, 0.23441553115844727, 0.025302546098828316, -0.004311659839004278, -0.05326364189386368, 0.07675928622484207, -0.01358374860137701, -0.027014244347810745, -0.07291720807552338, 0.053767602890729904, 0.04152931272983551, 0.0012347419979050756, -0.014084722846746445, -0.0037230215966701508, -0.05564001575112343, -0.05569896101951599, 0.04504154622554779, 0.015987519174814224, -0.08045017719268799, -0.013065670616924763, -0.04406142607331276, -0.020352449268102646, -0.016830584034323692, -0.03845084086060524, 0.04946758225560188, -0.043189916759729385, 0.011928333900868893, 0.060895342379808426, 0.024237697944045067, -0.0201996061950922, -0.03233293816447258, -0.0680074468255043, 0.020910372957587242, -0.0366162434220314, 0.07349991053342819, -0.017961783334612846, 0.001734623103402555, 0.03565383702516556, -0.019966110587120056, 0.02487221732735634, -0.02870159037411213, -0.03444203361868858, -0.013643154874444008, 0.012521387077867985, -0.07682971656322479, -0.02420632541179657, 0.019209830090403557, -0.017244748771190643, -0.01933603547513485, 0.033170461654663086, 0.02793070860207081, 0.006897889543324709, -0.008545985445380211, -0.02837880328297615, -0.040791306644678116, 0.0205300971865654, -0.026653310284018517, 0.07181345671415329, 0.02493348717689514, 0.03094199299812317, 0.07088308781385422, 0.05199014022946358, -0.019941046833992004, 0.004440330434590578, -0.035002823919057846, -0.0020539616234600544, -0.004795784130692482, -0.032567065209150314, -0.04284363240003586, 0.004545989446341991, 0.00819526705890894, -0.26191356778144836, 0.054125357419252396, -0.01584964245557785, 0.01756064034998417, 0.009593524038791656, 0.04146764427423477, 0.04961487650871277, 0.022757012397050858, -0.01830979250371456, 0.018585657700896263, 0.06226016953587532, 0.05684339255094528, 0.03047356940805912, -0.013070391491055489, 0.01315300352871418, 0.07468098402023315, 0.031498827040195465, -0.06431221216917038, 0.07059077173471451, -0.04150701314210892, 0.012826765887439251, 0.05396683141589165, 0.21962261199951172, 0.030082521960139275, 0.03285035490989685, 0.054461583495140076, 0.03933519497513771, 0.022441746667027473, 0.06828285753726959, 0.013867960311472416, -0.020215261727571487, -0.010782869532704353, 0.09745073318481445, 0.007116359192878008, 0.00503266928717494, 0.0674339011311531, -0.02455693483352661, 0.044727008789777756, -0.00564171327278018, -0.048503268510103226, -0.04193360358476639, 0.03518795594573021, -0.018614565953612328, 0.02695290371775627, 0.11827228963375092, -0.048124417662620544, -0.06273313611745834, -0.05488118156790733, 0.01369123999029398, 0.02009551413357258, -0.06619683653116226, -0.07275348156690598, -0.04399304464459419, 0.012448634020984173, -0.003924234304577112, 0.030551409348845482, 0.011641936376690865, 0.0023295029532164335, -0.043188657611608505, -0.023569270968437195, 0.009220081381499767, -0.05655272677540779, 0.006422122474759817, 0.03275797516107559, -0.009800526313483715 ]
devcenter
https://www.mongodb.com/developer/languages/swift/halting-development-on-swift-driver
created
# Halting Development on MongoDB Swift Driver MongoDB is halting development on our server-side Swift driver. We remain excited about Swift and will continue our development of our mobile Swift SDK. We released our server-side Swift driver in 2020 as an open source project and are incredibly proud of the work that our engineering team has contributed to the Swift community over the last four years. Unfortunately, today we are announcing our decision to stop development of the MongoDB server-side Swift driver. We understand that this news may come as a disappointment to the community of current users. There are still ways to use MongoDB with Swift: - Use the MongoDB driver with server-side Swift applications as is - Use the MongoDB C Driver directly in your server-side Swift projects - Usage of another community Swift driver, mongokitten
md
{ "tags": [ "Swift", "MongoDB" ], "pageDescription": "The latest news regarding the MongoDB driver for Swift.", "contentType": "News & Announcements" }
Halting Development on MongoDB Swift Driver
2024-05-20T17:32:23.500Z
[ -0.02048601023852825, -0.010558489710092545, 0.035269901156425476, -0.029257163405418396, 0.0026281876489520073, -0.0030582291074097157, -0.007431581616401672, 0.01594264805316925, -0.02352409064769745, -0.014450808987021446, 0.010975237935781479, -0.026762347668409348, 0.023372916504740715, 0.017757641151547432, -0.0018557376461103559, 0.03157683089375496, -0.0012922220630571246, -0.034469638019800186, -0.01713550090789795, 0.02639652229845524, 0.02069052867591381, -0.01550234667956829, -0.04351317137479782, -0.05939182639122009, 0.02372566983103752, 0.09164886921644211, -0.029360331594944, -0.03867083787918091, -0.027647994458675385, -0.1910354644060135, -0.021367967128753662, -0.07522981613874435, 0.036462679505348206, -0.038482096046209335, -0.01899334415793419, -0.044649120420217514, -0.006543514784425497, 0.061896756291389465, -0.018272973597049713, 0.04881741479039192, 0.02278759889304638, 0.014554756693542004, -0.05254749208688736, -0.04937439411878586, -0.027392826974391937, -0.0422135666012764, -0.0278488639742136, -0.02933172695338726, 0.0050028287805616856, -0.04971746355295181, -0.05394688621163368, -0.05646440386772156, -0.037708062678575516, 0.021327579393982887, 0.03585438057780266, 0.06468251347541809, 0.016585905104875565, 0.018897563219070435, 0.05480638146400452, 0.04882785677909851, 0.0802316963672638, 0.01846955344080925, -0.1985851377248764, 0.06092743203043938, 0.02684246003627777, 0.05004188045859337, -0.010592637583613396, -0.046268247067928314, 0.04160693660378456, 0.02170551009476185, 0.0011130187194794416, 0.023935817182064056, 0.013537688180804253, 0.03167358785867691, 0.019517479464411736, -0.02440553717315197, -0.007848146371543407, -0.0340481735765934, 0.019114641472697258, 0.010195236653089523, -0.029855409637093544, -0.027423178777098656, -0.02697516791522503, 0.008560074493288994, -0.029834924265742302, -0.0348690040409565, 0.008936329744756222, -0.04941745474934578, 0.01857137307524681, -0.02232160046696663, -0.020418161526322365, -0.05380740389227867, 0.09927476197481155, 0.014523370191454887, -0.11042986065149307, 0.0077461907640099525, 0.03297363221645355, 0.01358887366950512, -0.04033947363495827, 0.24257071316242218, -0.05084877461194992, 0.06087072938680649, -0.006185871548950672, -0.03817126899957657, -0.05112450197339058, -0.010141986422240734, -0.014347548596560955, -0.027242351323366165, -0.007272066082805395, 0.016961313784122467, 0.016476068645715714, -0.034774698317050934, 0.0058367555029690266, -0.026035359129309654, 0.018889976665377617, 0.016721846535801888, 0.020839493721723557, 0.056336916983127594, -0.035102929919958115, 0.062143195420503616, -0.02228565514087677, 0.06063906475901604, 0.05862220749258995, -0.006383392494171858, 0.04026804864406586, -0.02596694976091385, 0.08031174540519714, 0.0888252928853035, 0.010719561018049717, 0.008323831483721733, 0.03919469937682152, -0.03157489001750946, -0.10954313725233078, -0.008154566399753094, 0.029881242662668228, -0.0026312205009162426, -0.005292953923344612, -0.0038986799772828817, 0.021883787587285042, -0.03322962298989296, -0.015353221446275711, -0.10804140567779541, -0.01122510526329279, -0.07526969164609909, -0.0022669006139039993, 0.045189857482910156, -0.014097586274147034, 0.0690845400094986, -0.03491701930761337, -0.03916693106293678, 0.007595124654471874, 0.04168657585978508, -0.05663930997252464, -0.004416401498019695, 0.004052917938679457, 0.025751877576112747, 0.06366114318370819, 0.06041795387864113, -0.05914697423577309, 0.01854086108505726, -0.014881893061101437, -0.019111042842268944, -0.034033339470624924, 0.04088578373193741, 0.012494969181716442, -0.1103392168879509, 0.008626190945506096, 0.05738062411546707, -0.022094011306762695, -0.008780761621892452, -0.0431157648563385, 0.0012058439897373319, -0.03171281889081001, -0.0008084425935521722, 0.10343419015407562, 0.021594561636447906, -0.0772218182682991, -0.0021572040859609842, -0.020591948181390762, -0.02167213149368763, 0.004137377720326185, -0.046334538608789444, -0.0488862507045269, 0.008959297090768814, 0.012205103412270546, -0.04225322976708412, 0.011202026158571243, -0.06429042667150497, 0.048188596963882446, 0.029542870819568634, -0.005677421577274799, -0.010700071230530739, -0.021853791549801826, 0.006848587188869715, -0.025195641443133354, -0.08175087720155716, -0.005950713995844126, -0.01121743954718113, 0.0548517070710659, -0.025163911283016205, 0.08010447025299072, 0.06239837780594826, -0.0011692676926031709, 0.04329463839530945, -0.008576950989663601, 0.024879401549696922, -0.04483914375305176, -0.01388945896178484, -0.01173296570777893, -0.005116472020745277, -0.031657326966524124, -0.014105585403740406, 0.03462885320186615, -0.0027669069822877645, -0.015200372785329819, -0.002674924908205867, 0.000566519855055958, 0.033359892666339874, 0.022535577416419983, 0.03308161720633507, -0.0021526410710066557, -0.008309874683618546, -0.022121505811810493, -0.26227834820747375, 0.035885218530893326, -0.00902168545871973, -0.054169707000255585, 0.01830938085913658, -0.0752188041806221, 0.0348038412630558, -0.030799994245171547, -0.025372885167598724, 0.08760179579257965, 0.061015784740448, 0.01052127219736576, -0.00244030449539423, 0.009064954705536366, -0.015806255862116814, 0.05507875978946686, 0.024700604379177094, -0.015043229795992374, -0.026668347418308258, 0.002088981680572033, 0.037326786667108536, -0.006267037242650986, -0.05484374612569809, -0.07743214815855026, 0.039270319044589996, 0.01908199116587639, 0.21206916868686676, 0.016709964722394943, 0.018840180709958076, -0.0648011863231659, 0.02767196297645569, 0.043803706765174866, -0.03662589192390442, -0.12902814149856567, 0.010452157817780972, 0.03267859295010567, 0.011567446403205395, -0.02659744955599308, -0.019464895129203796, -0.017247138544917107, -0.028035106137394905, 0.08370702713727951, 0.035161469131708145, -0.1196959912776947, 0.013285018503665924, -0.036391135305166245, -0.05575258284807205, -0.00006399768608389422, -0.01692906767129898, 0.04022939130663872, 0.03468034788966179, 0.02916603349149227, 0.05505508556962013, 0.07173258811235428, -0.0062116822227835655, -0.02412491664290428, -0.09912315756082535, 0.04186800867319107, -0.013394223526120186, 0.03747864440083504, -0.010770863853394985, -0.03473697975277901, 0.015644526109099388, -0.016827601939439774, 0.03357735276222229, 0.007091949228197336, -0.022754579782485962, -0.03439226374030113, 0.05968427658081055, -0.02819410152733326, -0.02245444618165493, 0.08272819966077805, -0.028347402811050415, 0.022436412051320076, 0.03047875128686428, 0.033631376922130585, 0.03404008224606514, -0.03534465283155441, -0.06767641007900238, -0.029708949849009514, 0.0502019003033638, -0.008759518153965473, 0.0744677409529686, 0.05787384882569313, 0.022251708433032036, 0.0376577191054821, 0.07119013369083405, 0.018521741032600403, -0.0001993134501390159, -0.0462341234087944, -0.0034393391106277704, 0.00041627223254181445, -0.044426292181015015, -0.08253864198923111, 0.06631004810333252, 0.03471176326274872, -0.23976442217826843, 0.04814466834068298, -0.015772182494401932, 0.04479863867163658, 0.016987549141049385, 0.08348839730024338, 0.04015558212995529, 0.01943105086684227, -0.05547589808702469, 0.028035487979650497, -0.0038012785371392965, 0.020276276394724846, 0.03253046050667763, 0.006551612168550491, 0.05726628750562668, 0.0369587317109108, 0.06547516584396362, -0.032656360417604446, 0.02656901814043522, -0.03670196980237961, 0.01099027507007122, 0.05642389878630638, 0.2270445078611374, -0.026688802987337112, 0.03691164404153824, 0.049888551235198975, 0.0016781019512563944, 0.03815499320626259, 0.08386728912591934, 0.009121476672589779, -0.010417597368359566, 0.01635708101093769, 0.08233311772346497, -0.025036435574293137, 0.00781013909727335, 0.05385266989469528, -0.06289057433605194, 0.03379179164767265, 0.015011022798717022, -0.029843410477042198, -0.003035908564925194, 0.05231070518493652, -0.03128298744559288, -0.01340642012655735, 0.12709808349609375, -0.0369725376367569, -0.08283114433288574, -0.08242800086736679, 0.036421939730644226, -0.027219489216804504, -0.04382677003741264, -0.05412590503692627, -0.04258941113948822, -0.0002897162630688399, 0.030650164932012558, 0.014420056715607643, -0.01640833169221878, 0.008063762448728085, -0.04367620497941971, -0.03794495761394501, 0.03350582718849182, -0.04607455059885979, -0.04288312420248985, 0.05960685759782791, 0.023560870438814163 ]
devcenter
https://www.mongodb.com/developer/languages/swift/halting-development-on-swift-driver
created
Community members and developers are welcome to fork our existing driver and add features as you see fit - the Swift driver is under the Apache 2.0 license and source code is available on GitHub. For those developing client/mobile applications, MongoDB offers the Realm Swift SDK with real time sync to MongoDB Atlas. We would like to take this opportunity to express our heartfelt appreciation for the enthusiastic support that the Swift community has shown for MongoDB. Your loyalty and feedback have been invaluable to us throughout our journey, and we hope to resume development on the server-side Swift driver in the future.
md
{ "tags": [ "Swift", "MongoDB" ], "pageDescription": "The latest news regarding the MongoDB driver for Swift.", "contentType": "News & Announcements" }
Halting Development on MongoDB Swift Driver
2024-05-20T17:32:23.500Z
[ -0.04201998934149742, -0.036628011614084244, 0.021529875695705414, -0.02369876578450203, 0.014935408718883991, 0.003615425433963537, 0.012501300312578678, 0.03791311755776405, -0.027779564261436462, -0.04076854884624481, 0.02252265438437462, -0.03456484153866768, 0.0034513145219534636, 0.020197466015815735, 0.0023855012841522694, 0.03150872141122818, 0.003886809339746833, -0.02235211245715618, -0.02498810738325119, 0.0039032818749547005, 0.013486853800714016, -0.022320445626974106, -0.04440910369157791, -0.0654623880982399, 0.027000555768609047, 0.08285307139158249, -0.04272610321640968, -0.030201014131307602, -0.0291176438331604, -0.17995299398899078, 0.015676770359277725, -0.05449526011943817, 0.02936279959976673, -0.014332153834402561, -0.04146973788738251, -0.047725141048431396, -0.0013180722016841173, 0.06114330142736435, -0.023547353222966194, 0.01874822936952114, 0.06822915375232697, 0.000329695176333189, -0.04069110006093979, -0.061231739819049835, -0.03184710070490837, -0.07429246604442596, -0.004687426146119833, 0.00383779127150774, 0.015486421063542366, -0.06176157295703888, -0.03923069313168526, -0.05310862883925438, -0.01039100531488657, 0.03554392606019974, 0.0194248054176569, 0.06185049191117287, 0.045412857085466385, 0.03124449960887432, 0.06380443274974823, 0.03311619162559509, 0.04803944379091263, 0.012412207201123238, -0.1774139255285263, 0.07775907218456268, 0.023118088021874428, 0.07230816781520844, 0.0020140339620411396, -0.03614689037203789, -0.003973375074565411, -0.011888599954545498, -0.02620355784893036, 0.027567889541387558, 0.03188280016183853, 0.02284322679042816, 0.026412837207317352, -0.011291745118796825, -0.02066117338836193, -0.032161857932806015, -0.02351294830441475, 0.011414582841098309, -0.0036371212918311357, -0.015046884305775166, -0.017888884991407394, 0.03813159838318825, -0.02308444306254387, -0.02772665023803711, 0.018838517367839813, -0.05640285089612007, 0.04625276103615761, -0.023585600778460503, -0.015907272696495056, -0.04463423416018486, 0.06718891859054565, 0.009519539773464203, -0.10053399950265884, 0.02585047483444214, 0.009233172051608562, 0.025925828143954277, 0.003084240248426795, 0.24429798126220703, -0.029417656362056732, 0.03032510168850422, 0.0006808721809647977, -0.03206433355808258, -0.018231449648737907, -0.03035150282084942, -0.016913874074816704, -0.00784195214509964, 0.0015986738726496696, 0.04071904718875885, 0.008528691716492176, -0.047732871025800705, 0.025942951440811157, -0.01876961998641491, 0.014576414600014687, 0.016697188839316368, 0.012996913865208626, 0.031225524842739105, -0.011816895566880703, 0.028529025614261627, -0.021772349253296852, 0.030581697821617126, 0.061834536492824554, -0.022411666810512543, 0.04956333339214325, -0.03852106258273125, 0.08199001103639603, 0.08299500495195389, 0.05211205780506134, 0.040165744721889496, 0.04701720178127289, 0.012125659734010696, -0.08737719804048538, -0.0033183705527335405, 0.019632257521152496, 0.004994532559067011, -0.020217290148139, -0.014965889975428581, 0.027136031538248062, 0.002604757435619831, -0.03074362874031067, -0.08288361877202988, -0.013580936938524246, -0.06021936237812042, -0.03214862197637558, 0.06272657215595245, 0.01442071981728077, 0.05699184164404869, -0.04840848594903946, 0.0002788927231449634, 0.010455607436597347, 0.03562622144818306, -0.07770921289920807, -0.014146310277283192, 0.007926086895167828, 0.02816009521484375, 0.06978029012680054, 0.04149337485432625, -0.03585675731301308, 0.017009083181619644, -0.01823035255074501, -0.048733729869127274, -0.015325070358812809, 0.03766899183392525, 0.02239629253745079, -0.15152359008789062, 0.029442645609378815, 0.0346827432513237, 0.0008744749356992543, -0.020867206156253815, -0.05009685456752777, -0.007000736426562071, -0.04170915484428406, 0.010287471115589142, 0.11134066432714462, 0.02845090441405773, -0.06897419691085815, -0.03104596771299839, -0.015172979794442654, -0.043063852936029434, 0.015311543829739094, -0.06522903591394424, -0.04578494653105736, 0.027974991127848625, 0.038615111261606216, -0.032394226640462875, -0.010676500387489796, -0.048214223235845566, 0.03558943048119545, 0.007856686599552631, 0.0000791109778219834, 0.00021862566063646227, -0.011995990760624409, -0.0021508121863007545, -0.018346639350056648, -0.0726267397403717, -0.010750562883913517, -0.003374764695763588, 0.04678763449192047, 0.00303813093341887, 0.09033790975809097, 0.06588422507047653, 0.0006591599667444825, 0.03885858505964279, 0.009390775114297867, 0.00981676671653986, -0.0822472795844078, -0.016184737905859947, -0.008386491797864437, 0.0011353071313351393, -0.041543636471033096, 0.0011271827388554811, 0.029004473239183426, 0.016209691762924194, -0.052030012011528015, 0.016673680394887924, 0.008760497905313969, 0.049990661442279816, -0.0031441855244338512, 0.06372112780809402, 0.004987091291695833, -0.04670865833759308, -0.02845972217619419, -0.2792849838733673, 0.032471828162670135, -0.019036412239074707, -0.017602650448679924, 0.017919300124049187, -0.06817954778671265, 0.009298908524215221, -0.014466050080955029, -0.02115476503968239, 0.05483052879571915, 0.0867835059762001, -0.003958915360271931, 0.007336102891713381, 0.008806309662759304, -0.02959037572145462, 0.08958131074905396, 0.02111692726612091, -0.018837235867977142, -0.024112049490213394, 0.006642261985689402, 0.04751887917518616, 0.022727830335497856, -0.035757455974817276, -0.050668153911828995, 0.054435428231954575, 0.004771753679960966, 0.20177897810935974, 0.017865946516394615, 0.021604809910058975, -0.08462188392877579, 0.04504794254899025, 0.026854444295167923, -0.010899558663368225, -0.1431928426027298, 0.014146341942250729, 0.04437653720378876, 0.019926168024539948, -0.014125250279903412, -0.023147357627749443, -0.05136203393340111, -0.05490698292851448, 0.08256468921899796, 0.029421059414744377, -0.1164824441075325, 0.0054825544357299805, -0.007738566491752863, -0.03168182447552681, 0.022224904969334602, -0.0302957184612751, 0.023056237027049065, 0.013816534541547298, 0.03567221388220787, 0.07398147881031036, 0.059838756918907166, -0.02293821983039379, -0.05054112523794174, -0.07416064292192459, 0.03222354128956795, -0.030768901109695435, 0.057042453438043594, -0.009051652625203133, -0.015711726620793343, 0.01336620096117258, -0.023584619164466858, 0.039843522012233734, -0.0062872059643268585, -0.04204948991537094, -0.038108840584754944, 0.06253951787948608, -0.04024258255958557, -0.007978919893503189, 0.03801392763853073, -0.019465046003460884, 0.03204525262117386, 0.02513568289577961, 0.033573538064956665, 0.0401768833398819, -0.012033004313707352, -0.04189491271972656, -0.03603866323828697, 0.010220654308795929, -0.013940899632871151, 0.0724702775478363, 0.05277553200721741, 0.0329250693321228, 0.056813549250364304, 0.04669185355305672, 0.012972790747880936, -0.029709184542298317, -0.01882384531199932, -0.027007099241018295, 0.02162892557680607, -0.02458546869456768, -0.09269536286592484, 0.024211866781115532, 0.04135885462164879, -0.2716534733772278, 0.0338900163769722, -0.032888490706682205, 0.02555234357714653, -0.022506099194288254, 0.058723803609609604, 0.04154687747359276, 0.03804570436477661, -0.06590858846902847, 0.012236620299518108, -0.0003727426228579134, 0.03495151922106743, 0.016982365399599075, 0.029541226103901863, 0.041519589722156525, 0.046765461564064026, 0.06388256698846817, -0.05268411338329315, 0.020677395164966583, -0.08755379915237427, 0.001661740941926837, 0.05905401334166527, 0.24104908108711243, -0.024296600371599197, 0.03417191281914711, 0.04996182769536972, 0.0013576039345934987, 0.04067061096429825, 0.06899859011173248, 0.0007732295780442655, -0.001023990917019546, 0.018654227256774902, 0.08508714288473129, -0.02392520383000374, 0.013166584074497223, 0.06020643562078476, -0.0676724910736084, 0.00711824232712388, 0.01994992233812809, -0.0026456566993147135, 0.009125916287302971, 0.04950229823589325, -0.034680332988500595, 0.0055025070905685425, 0.10321441292762756, -0.03854573518037796, -0.06420076638460159, -0.07424503564834595, 0.01619899645447731, -0.008729780092835426, -0.048271212726831436, -0.05920160561800003, -0.02894827350974083, -0.0019924112129956484, 0.03652949258685112, -0.0034794132225215435, -0.017699452117085457, 0.0037475114222615957, -0.06144086271524429, -0.038237664848566055, 0.025230074301362038, -0.0628335028886795, -0.005072164814919233, 0.02873992919921875, -0.017286602407693863 ]
devcenter
https://www.mongodb.com/developer/products/atlas/online-archive-query-performance
created
# Optimizing your Online Archive for Query Performance ## Contributed By This article was contributed by Prem Krishna, a Senior Product Manager for Analytics at MongoDB. ## Introduction With Atlas Online Archive, you can tier off cold data or infrequently accessed data from your MongoDB cluster to a MongoDB-managed cloud object storage - Amazon S3 or Microsoft Azure Blob Storage. This can lower the cost via archival cloud storage for old data, while active data that is more often accessed and queried remains in the primary database. > FYI: If using Online Archive and also using MongoDB's Atlas Data Federation, users can also see a unified view of production data, and *archived data* side by side through a read-only, federated database instance. In this blog, we are going to be discussing how to improve the performance of your online archive by choosing the correct partitioning fields.
md
{ "tags": [ "Atlas", "AWS" ], "pageDescription": "Get all the do's and don'ts around optimization of your data archival strategy.", "contentType": "Article" }
Optimizing your Online Archive for Query Performance
2024-05-20T17:32:23.500Z
[ -0.031625352799892426, -0.008480050601065159, 0.031467147171497345, 0.012029411271214485, 0.07238798588514328, -0.012630869634449482, -0.008400843478739262, 0.015860402956604958, -0.04067423939704895, -0.009654701687395573, 0.025164682418107986, 0.000007395433385681827, 0.03465186059474945, 0.012951706536114216, 0.003601201344281435, 0.010497266426682472, 0.0280339103192091, 0.012015247717499733, -0.04376127943396568, 0.013436715118587017, 0.008898366242647171, -0.05102681368589401, -0.01372948195785284, -0.040053434669971466, -0.004991000518202782, 0.06716473400592804, -0.05850676819682121, -0.023467974737286568, -0.06890183687210083, -0.22442619502544403, 0.008179894648492336, -0.08679316937923431, 0.06628431379795074, -0.010166952386498451, 0.006635967642068863, -0.008916698396205902, 0.02890869602560997, 0.07512566447257996, -0.06060310825705528, 0.002301939530298114, 0.05384277179837227, 0.06088917702436447, -0.037361837923526764, -0.048458654433488846, -0.05489658564329147, -0.015508086420595646, -0.006334278266876936, -0.0008536967216059566, -0.00907103531062603, -0.005180389154702425, -0.004444190766662359, -0.014380419626832008, -0.030452586710453033, 0.02554929070174694, 0.015461782924830914, 0.09225964546203613, 0.05714636668562889, 0.04325789585709572, -0.014313210733234882, -0.01668376661837101, 0.05831077694892883, 0.042820267379283905, -0.1469166874885559, 0.06760112196207047, 0.030970368534326553, 0.0674792006611824, -0.030620314180850983, -0.024151457473635674, -0.0063094706274569035, 0.046171754598617554, -0.04971950873732567, 0.024724438786506653, -0.003270990215241909, 0.05497432500123978, 0.0031791802030056715, 0.012747068889439106, 0.0031654606573283672, -0.019502239301800728, -0.007364509627223015, 0.006792342755943537, -0.012413294054567814, -0.020237628370523453, -0.03432711586356163, 0.009107837453484535, -0.0434226393699646, -0.05763321742415428, 0.03234899789094925, -0.04598820209503174, 0.010567360557615757, -0.008625810034573078, -0.004647253546863794, 0.006842698901891708, 0.030948493629693985, 0.04462193697690964, -0.03819528967142105, 0.012559043243527412, 0.008173334412276745, 0.054598819464445114, 0.02317659929394722, 0.23785348236560822, -0.033204399049282074, 0.05985851213335991, 0.024880196899175644, -0.039946239441633224, 0.013945487327873707, -0.024863749742507935, 0.0026679092552512884, -0.02338956668972969, 0.019630493596196175, -0.00932477880269289, 0.03181213513016701, -0.03703150525689125, 0.011145597323775291, -0.035975825041532516, 0.03975164517760277, 0.040903013199567795, 0.02404637634754181, 0.05497927963733673, -0.029897436499595642, -0.003821509424597025, -0.027410486713051796, 0.04432933032512665, 0.08709461987018585, -0.012282664887607098, 0.05693735554814339, -0.03687649220228195, 0.05349234119057655, 0.11232824623584747, 0.01291678100824356, 0.007061614189296961, 0.015398235991597176, -0.03784362971782684, -0.07798870652914047, -0.019995495676994324, 0.05031681805849075, -0.023945152759552002, 0.03239130973815918, -0.029580891132354736, 0.056552570313215256, 0.006550343707203865, -0.03638643026351929, -0.06144110858440399, 0.0004407812375575304, -0.07095027714967728, -0.05470670759677887, 0.18805216252803802, -0.01874300092458725, 0.07260474562644958, -0.09850340336561203, -0.05602701008319855, 0.005560696590691805, 0.03886271268129349, -0.05105111747980118, -0.01380087062716484, 0.019559377804398537, -0.028670573607087135, 0.03450661152601242, 0.06901456415653229, -0.0610090047121048, -0.0417136549949646, -0.07683487981557846, -0.03993099555373192, -0.052333950996398926, 0.0988556295633316, -0.02133568935096264, -0.11679060757160187, -0.0049634212628006935, 0.022667672485113144, 0.016284506767988205, -0.05449390411376953, 0.03323732316493988, 0.012101994827389717, -0.04267013072967529, 0.02831219509243965, 0.11988379061222076, -0.009491924196481705, -0.027964742854237556, -0.03320290520787239, 0.002929126378148794, -0.021384937688708305, -0.013797882944345474, -0.027765784412622452, -0.035514991730451584, 0.025960657745599747, 0.021050529554486275, -0.06884616613388062, -0.03374280408024788, 0.00806097500026226, 0.03679696470499039, 0.05149432271718979, -0.0268731527030468, 0.004565038718283176, -0.03728610649704933, -0.003266689833253622, -0.044863391667604446, -0.032216742634773254, -0.016111766919493675, -0.011074000969529152, 0.015783173963427544, -0.031548693776130676, 0.07237186282873154, 0.018396979197859764, -0.047129686921834946, 0.053818657994270325, 0.030246132984757423, 0.02545657753944397, -0.033355340361595154, -0.04229709506034851, 0.03023703768849373, -0.01753097213804722, -0.04858976602554321, -0.030105190351605415, 0.004790246486663818, 0.001818775781430304, -0.02096458524465561, -0.011326048523187637, 0.05059075728058815, 0.014171091839671135, 0.019446590915322304, 0.06091894954442978, 0.03616315871477127, -0.08462663739919662, -0.05419980362057686, -0.24050290882587433, 0.024717966094613075, -0.037759602069854736, 0.0012280815280973911, 0.052192650735378265, -0.047276780009269714, 0.05397876352071762, -0.012846710160374641, 0.017275746911764145, 0.05953701585531235, 0.036840371787548065, -0.04553317651152611, 0.01754024252295494, 0.02998255379498005, -0.03517793118953705, 0.05354125425219536, 0.030247826129198074, 0.0073112063109874725, -0.06112414970993996, -0.0005614490946754813, 0.013822419568896294, 0.0006292110774666071, 0.01617446355521679, -0.0830279216170311, 0.06694397330284119, 0.006978236138820648, 0.22173209488391876, -0.008891850709915161, 0.015970874577760696, -0.04902594909071922, 0.07178868353366852, -0.03530830517411232, -0.0031724167056381702, -0.11009024828672409, 0.03703029826283455, 0.008491373620927334, 0.012038415297865868, -0.004056904930621386, -0.0306834876537323, -0.0018822378478944302, -0.07311482727527618, 0.04311784729361534, 0.06287786364555359, -0.09601672738790512, 0.00867887120693922, -0.01309142168611288, -0.016020052134990692, 0.014759291894733906, -0.05906020849943161, 0.003112639533355832, -0.01740289106965065, 0.0016824186313897371, 0.027697281911969185, 0.018190868198871613, -0.015749843791127205, -0.03255722299218178, -0.07561171799898148, 0.010428555309772491, -0.054492007941007614, 0.045118555426597595, 0.010127365589141846, -0.047420110553503036, 0.024020370095968246, -0.019346879795193672, 0.043863695114851, -0.04843190312385559, -0.030058477073907852, -0.012203169986605644, 0.01053699292242527, -0.0690913125872612, 0.005568219348788261, 0.05177462100982666, -0.05244310200214386, 0.004510026425123215, 0.04293084517121315, 0.04352037236094475, 0.043220531195402145, -0.00954124890267849, -0.0405324250459671, -0.04673806205391884, 0.03304591774940491, -0.033518724143505096, 0.022141683846712112, 0.0511896014213562, 0.03768718242645264, 0.056715138256549835, 0.06145443022251129, -0.00034360753488726914, -0.0014220146695151925, -0.029809318482875824, 0.00036331856972537935, -0.028332538902759552, -0.07688924670219421, -0.0588211752474308, 0.02845723368227482, 0.011699912138283253, -0.2866082191467285, 0.05800843611359596, 0.009043983183801174, 0.006474529393017292, 0.012944609858095646, 0.018852781504392624, 0.029119282960891724, 0.029448222368955612, 0.010886840522289276, 0.030244624242186546, 0.023051591590046883, 0.052153121680021286, -0.007727373391389847, -0.013498494401574135, 0.007329966407269239, 0.06242142245173454, 0.021000321954488754, -0.04127245768904686, 0.022051231935620308, -0.02997717820107937, 0.018698830157518387, 0.007459606509655714, 0.23388032615184784, 0.03185005113482475, 0.021880989894270897, 0.030964981764554977, 0.016234777867794037, 0.0488261952996254, 0.00933657307177782, -0.010649396106600761, -0.01628364622592926, -0.0008165151812136173, 0.07241468876600266, -0.0013092511799186468, 0.015779035165905952, 0.051704999059438705, -0.030315229669213295, 0.047645244747400284, 0.03983025625348091, -0.005698726512491703, -0.04310839623212814, 0.05450577288866043, -0.03293338418006897, 0.0369715616106987, 0.07454298436641693, -0.05193069204688072, -0.031824998557567596, -0.0706479549407959, -0.00850999727845192, -0.015139197930693626, -0.02960025705397129, -0.013851414434611797, -0.0177672877907753, -0.008812909945845604, 0.012057831510901451, 0.03758139908313751, -0.03200237452983856, -0.024829203262925148, -0.028711779043078423, -0.0335126556456089, 0.022441180422902107, -0.06672285497188568, -0.053157199174165726, 0.020422903820872307, 0.03183917701244354 ]
devcenter
https://www.mongodb.com/developer/products/atlas/online-archive-query-performance
created
In this blog, we are going to be discussing how to improve the performance of your online archive by choosing the correct partitioning fields. ## Why is partitioning so critical when configuring Online Archive? Once you have started archiving data, you cannot edit any partition fields as the structure of how the data will be stored in the object storage becomes fixed after the archival job begins. Therefore, you'll want to think critically about your partitioning strategy beforehand. Also, archival query performance is determined by how the data is structured in object storage, so it is important to not only choose the correct partitions but also choose the correct order of partitions.
md
{ "tags": [ "Atlas", "AWS" ], "pageDescription": "Get all the do's and don'ts around optimization of your data archival strategy.", "contentType": "Article" }
Optimizing your Online Archive for Query Performance
2024-05-20T17:32:23.500Z
[ -0.03244185820221901, 0.00013426669465843588, 0.04931750148534775, -0.036095451563596725, 0.07204870134592056, 0.008243436925113201, -0.015980297699570656, -0.004394145682454109, -0.004748839419335127, -0.0018426604801788926, 0.008875750936567783, -0.009179570712149143, 0.035492319613695145, 0.030345750972628593, 0.018028754740953445, -0.001121240435168147, -0.002778533147647977, 0.026175761595368385, -0.037135809659957886, 0.03210439532995224, 0.04540050029754639, -0.02784188650548458, 0.020992590114474297, -0.06359710544347763, -0.0010047316318377852, 0.039566125720739365, -0.06092827022075653, -0.039415083825588226, -0.04455056041479111, -0.2459055632352829, -0.01868249848484993, -0.05375172942876816, 0.04158488288521767, 0.02140938676893711, 0.04080192744731903, -0.018118487671017647, 0.022728731855750084, 0.07233546674251556, -0.03961499407887459, 0.023360323160886765, 0.04806237295269966, 0.012979147955775261, -0.02643340267241001, -0.06397182494401932, -0.02555527351796627, -0.012772818095982075, -0.029305800795555115, -0.01774776540696621, 0.02157311700284481, -0.018175829201936722, -0.018595237284898758, 0.009638186544179916, -0.02842267043888569, 0.04715634137392044, 0.030294284224510193, 0.08780159056186676, 0.09281221032142639, 0.06041967123746872, 0.009171982295811176, -0.022932909429073334, 0.058245133608579636, 0.05386456474661827, -0.16507646441459656, 0.08901073783636093, 0.044317010790109634, 0.004401467274874449, -0.025432508438825607, -0.011873142793774605, -0.02702726610004902, 0.08138084411621094, -0.06985632330179214, 0.04340846836566925, -0.006424813065677881, 0.06582576781511307, 0.019352184608578682, -0.012600380927324295, -0.023642102256417274, -0.007972946390509605, -0.00034636654891073704, -0.0036111350636929274, -0.019410746172070503, -0.028262650594115257, -0.049032893031835556, -0.0028654790949076414, -0.07122161984443665, -0.05775812640786171, 0.008809911087155342, -0.04844742640852928, -0.015450573526322842, -0.006626838352531195, -0.001806180807761848, 0.00192106026224792, 0.01409973856061697, 0.03490837663412094, -0.01736733503639698, 0.0010614751372486353, -0.004718087613582611, 0.012786002829670906, -0.023787721991539, 0.21446412801742554, -0.04231282323598862, 0.04861706122756004, 0.05859818309545517, -0.03997284173965454, 0.023521877825260162, -0.030044620856642723, -0.0010759455617517233, 0.00799082312732935, 0.013497848995029926, -0.0037833715323358774, 0.029675042256712914, -0.03064926154911518, 0.024872763082385063, -0.031018029898405075, 0.045837897807359695, 0.039549365639686584, 0.006355447228997946, 0.022340361028909683, -0.01339511014521122, 0.0002689829852897674, -0.005870738998055458, 0.06567752361297607, 0.06227734312415123, 0.0001987119176192209, 0.023283198475837708, -0.0701698437333107, 0.026900939643383026, 0.08565343916416168, 0.012665635906159878, 0.013223071582615376, 0.021409407258033752, -0.030384261161088943, -0.03382190316915512, -0.03243955597281456, 0.012315732426941395, 0.004150937777012587, 0.026162205263972282, -0.0022623378317803144, 0.029140077531337738, -0.0037861168384552, -0.04625426232814789, -0.07652266323566437, -0.011578813195228577, -0.07867836952209473, -0.03694574162364006, 0.19983738660812378, -0.06272336840629578, 0.040872372686862946, -0.06641384214162827, -0.025579221546649933, -0.010572956874966621, 0.020152445882558823, -0.07185544818639755, -0.04963988810777664, -0.02377840131521225, -0.0032731753308326006, 0.024784663692116737, 0.062391482293605804, -0.0655556246638298, -0.03486184775829315, -0.04673833027482033, -0.05050301179289818, -0.041328106075525284, 0.11535479128360748, -0.000051299852202646434, -0.06268634647130966, -0.04249341040849686, -0.01141052134335041, 0.01685122214257717, -0.040710531175136566, 0.028958478942513466, 0.037928078323602676, -0.016319889575242996, 0.02843196503818035, 0.08021696656942368, -0.002735760295763612, -0.011446983553469181, 0.006219792645424604, 0.014499864540994167, -0.031645268201828, 0.04062889143824577, 0.016208766028285027, -0.03415824472904205, 0.07034765183925629, 0.06295884400606155, -0.05879548192024231, -0.03496905043721199, -0.03446231782436371, 0.049507662653923035, 0.05728759616613388, -0.03423820808529854, -0.007155378814786673, -0.051304008811712265, 0.000982971047051251, -0.046159528195858, -0.026041477918624878, -0.013654501177370548, -0.008594498038291931, -0.006106335669755936, -0.03673296794295311, 0.05000704526901245, 0.03040016070008278, -0.03685328736901283, 0.04591742157936096, 0.00813467800617218, 0.04851566627621651, -0.026706384494900703, -0.05114905163645744, 0.0324394665658474, 0.04425659775733948, -0.07310958951711655, -0.000027467971449368633, 0.025662720203399658, -0.012437264434993267, -0.02707887813448906, -0.0008385370019823313, 0.055478207767009735, 0.028598880395293236, 0.09491664916276932, 0.06711029261350632, 0.0565602146089077, -0.04936148226261139, -0.010597145184874535, -0.24271224439144135, -0.000052351322665344924, -0.08039562404155731, 0.001468747854232788, 0.039215218275785446, -0.05995214357972145, 0.07805729657411575, 0.01486595906317234, 0.017882050946354866, 0.06267965584993362, 0.03976698964834213, -0.05208751931786537, 0.012859403155744076, 0.021241867914795876, -0.036921218037605286, 0.008067225106060505, 0.03556477278470993, 0.009320180863142014, -0.06779201328754425, 0.029687078669667244, 0.010108725167810917, 0.01452825590968132, 0.02854338474571705, -0.037665046751499176, 0.06291483342647552, -0.007457780186086893, 0.18199050426483154, 0.019134290516376495, 0.03004380315542221, -0.03144710138440132, 0.06608552485704422, -0.0007249687914736569, -0.012524530291557312, -0.13974526524543762, 0.04860338941216469, 0.0388621911406517, 0.006795101799070835, -0.023929378017783165, -0.04254591837525368, -0.0027275998145341873, -0.040568962693214417, 0.015416840091347694, 0.015545663423836231, -0.11121287196874619, -0.009974224492907524, -0.03295306861400604, -0.05841955915093422, 0.024482280015945435, -0.03630470484495163, -0.013535707257688046, 0.005615992937237024, -0.0000304930563288508, 0.029780536890029907, 0.05588372051715851, 0.000931394228246063, -0.032567303627729416, -0.07384687662124634, 0.016954293474555016, -0.026955515146255493, 0.03429453447461128, 0.007938048802316189, -0.05045425891876221, 0.009082957170903683, -0.04074184596538544, 0.03326144441962242, -0.016803625971078873, -0.053339384496212006, -0.043079160153865814, 0.016103800386190414, -0.09176717698574066, -0.023220663890242577, 0.05709487199783325, -0.06715887784957886, -0.009372084401547909, 0.07372314482927322, 0.022648604586720467, 0.02256842888891697, -0.01806563138961792, 0.0009265978005714715, -0.05744270235300064, 0.013753215782344341, -0.06041703373193741, 0.04329569265246391, 0.03345659002661705, 0.05054624751210213, 0.008264449425041676, 0.07088439911603928, 0.035873893648386, -0.010323112830519676, -0.02305648848414421, -0.005716371349990368, -0.00470704073086381, -0.06521527469158173, 0.012842612341046333, 0.03622749075293541, -0.0007692024810239673, -0.2918544411659241, 0.06202417239546776, 0.03690693527460098, 0.022212756797671318, -0.014738890342414379, 0.012526201084256172, 0.012705170549452305, 0.017755575478076935, 0.03327357769012451, 0.022016005590558052, -0.012571599334478378, 0.0530221052467823, 0.004959221929311752, -0.0678410604596138, -0.014437736943364143, 0.050272393971681595, 0.01832946576178074, -0.03529316559433937, 0.023868706077337265, -0.06485565751791, -0.0023591844365000725, 0.03490109741687775, 0.22756503522396088, 0.01800745166838169, 0.03457862138748169, 0.03373701125383377, 0.01200651004910469, 0.04312552511692047, -0.024218356236815453, -0.01709085889160633, 0.008763046003878117, -0.025882920250296593, 0.07376471161842346, -0.019959228113293648, 0.017069077119231224, 0.03896012902259827, -0.008826677687466145, 0.034822262823581696, 0.016284434124827385, -0.008035777136683464, -0.06511927396059036, 0.023553991690278053, -0.05648915842175484, 0.00018875818932428956, 0.10308453440666199, -0.06927358359098434, -0.02765173465013504, -0.024013105779886246, 0.008990864269435406, -0.02487446367740631, -0.032177671790122986, 0.010729148052632809, -0.025752432644367218, -0.005560056306421757, -0.013613824732601643, 0.057753786444664, -0.03339556232094765, -0.041988275945186615, -0.05165578052401543, -0.001525978441350162, 0.07878411561250687, -0.017816895619034767, -0.014071587473154068, 0.002669242210686207, 0.022194301709532738 ]
devcenter
https://www.mongodb.com/developer/products/atlas/online-archive-query-performance
created
## Do this... **Choose the most frequently queried fields.** You can choose up to 2 partition fields for a custom query-based archive or up to three fields on a date-based online archive. Ensure that the most frequently queried fields for the archive are chosen. Note that we are talking about how you are going to query the archive and not the custom query criteria provided at the time of archiving! **Check the order of partitioned fields.** While selecting the partitions is important, it is equally critical to choose the correct *order* of partitions. The most frequently queried field should be the first chosen partition field, followed by the second and third. That's simple enough.
md
{ "tags": [ "Atlas", "AWS" ], "pageDescription": "Get all the do's and don'ts around optimization of your data archival strategy.", "contentType": "Article" }
Optimizing your Online Archive for Query Performance
2024-05-20T17:32:23.500Z
[ -0.048373546451330185, 0.010478157550096512, 0.02949291653931141, -0.03198837488889694, 0.041628655046224594, -0.017276842147111893, -0.03300536051392555, -0.01103147678077221, -0.00147473462857306, -0.008745572529733181, 0.006687208078801632, -0.016997799277305603, 0.02684960886836052, 0.02441471442580223, 0.024158306419849396, 0.0029990242328494787, -0.012909255921840668, 0.029689190909266472, -0.039469894021749496, 0.03828827664256096, 0.052166055887937546, -0.027832617983222008, 0.0020251937676221132, -0.058536674827337265, 0.002027087612077594, 0.028240540996193886, -0.05250430107116699, -0.03326007351279259, -0.053111813962459564, -0.21409837901592255, 0.001247498905286193, -0.04456380009651184, 0.024641908705234528, -0.011692451313138008, 0.02031593769788742, -0.05414867773652077, 0.010422688908874989, 0.0721990093588829, -0.025196632370352745, 0.050644394010305405, 0.025134291499853134, -0.015718800947070122, -0.0188513845205307, -0.08275957405567169, -0.044389497488737106, -0.014024917967617512, -0.029262924566864967, -0.006282596383243799, 0.015698300674557686, -0.0063276286236941814, -0.016730675473809242, 0.002797442488372326, -0.01264125481247902, 0.015483166091144085, 0.04005268216133118, 0.08702027797698975, 0.06316480040550232, 0.03961997479200363, -0.003459898754954338, -0.021028313785791397, 0.06320501863956451, 0.05409236624836922, -0.17374610900878906, 0.08689023554325104, 0.01955457776784897, 0.012671899981796741, -0.008624170906841755, -0.04344173148274422, -0.005180760752409697, 0.059927280992269516, -0.048655685037374496, 0.04073712229728699, -0.019238969311118126, 0.060742396861314774, 0.030979715287685394, -0.016303202137351036, -0.026363786309957504, -0.021136900410056114, -0.013284551911056042, 0.0015499547589570284, -0.03369506821036339, -0.01148192211985588, -0.018455807119607925, -0.00484819570556283, -0.07036110758781433, -0.05252249911427498, 0.01568359136581421, -0.02912648394703865, -0.011065484955906868, -0.0009712747414596379, -0.006667056120932102, -0.018272077664732933, 0.020008618012070656, 0.03904147073626518, -0.02217402309179306, 0.010182262398302555, 0.00857359915971756, 0.008801463060081005, -0.002918386599048972, 0.2313915640115738, -0.03938701003789902, 0.05925236642360687, 0.007164086680859327, 0.0035548186860978603, 0.015593156218528748, -0.0380927212536335, -0.007198627572506666, -0.02971753291785717, 0.003255497431382537, 0.017819244414567947, 0.01524011418223381, 0.0026857699267566204, 0.05658922716975212, -0.06034206226468086, 0.018059227615594864, 0.053790751844644547, 0.03921858221292496, 0.00039047637255862355, -0.006718626711517572, 0.007877531461417675, -0.02086605876684189, 0.03312141075730324, 0.06768813729286194, -0.020981280133128166, 0.03134739771485329, -0.07105815410614014, 0.04084217920899391, 0.07436912506818771, 0.027740465477108955, 0.007542154286056757, 0.02642081491649151, -0.030066074803471565, -0.053499866276979446, -0.06054680794477463, 0.046077996492385864, 0.007665779907256365, 0.029190992936491966, -0.011600290425121784, 0.03530135378241539, -0.003850748296827078, -0.05534682795405388, -0.09110599756240845, 0.02836812287569046, -0.08852103352546692, -0.046144112944602966, 0.19127897918224335, -0.0381888709962368, 0.048557695001363754, -0.060647398233413696, -0.03720979392528534, -0.03411068022251129, 0.029778648167848587, -0.05762065574526787, -0.04301551729440689, 0.020804433152079582, 0.01968948170542717, 0.05592140927910805, 0.05611830949783325, -0.05380278453230858, -0.017228025943040848, -0.04961323365569115, -0.0653340294957161, 0.000831178855150938, 0.15300001204013824, 0.003448386676609516, -0.07693581283092499, -0.021572209894657135, 0.027064397931098938, 0.01077384315431118, -0.02933034673333168, 0.024315446615219116, 0.02999112382531166, -0.020876528695225716, 0.03268809616565704, 0.08976738154888153, 0.01610197313129902, -0.014978132210671902, 0.022688644006848335, 0.034741126000881195, 0.019900450482964516, 0.03930315375328064, -0.00265028839930892, -0.02902711182832718, 0.06307805329561234, 0.04194438084959984, -0.06877796351909637, 0.012373638339340687, -0.028072534129023552, 0.04588780924677849, 0.04945918172597885, -0.034301914274692535, -0.0042267185635864735, -0.02583622746169567, 0.007736763916909695, -0.04641161113977432, -0.015590628609061241, -0.03947615623474121, -0.007299535907804966, -0.0008691172697581351, -0.039397913962602615, 0.05864385515451431, 0.001711521064862609, -0.027815457433462143, 0.03468536585569382, 0.02591637894511223, 0.008626111783087254, -0.025431079789996147, -0.019707350060343742, 0.031182600185275078, 0.014264937490224838, -0.06871096044778824, 0.021920494735240936, 0.043916165828704834, -0.023878902196884155, -0.039631400257349014, -0.0007072798325680196, 0.023764310404658318, 0.023726647719740868, 0.06317330151796341, 0.06788435578346252, 0.07193266600370407, -0.06717780232429504, -0.02907378226518631, -0.25031778216362, -0.0035262468736618757, -0.044845230877399445, -0.005985093303024769, 0.04161696881055832, -0.09282813221216202, 0.05920029804110527, -0.023606060072779655, 0.020658474415540695, 0.09266459941864014, 0.056309495121240616, -0.026882953941822052, -0.004182683769613504, 0.01589473895728588, -0.024904893711209297, 0.029634056612849236, 0.012967118062078953, 0.001082759816199541, -0.058192089200019836, 0.003026164136826992, 0.02745114080607891, -0.012981077656149864, 0.0035840291529893875, -0.06935063004493713, 0.07076911628246307, -0.007964825257658958, 0.2016831487417221, 0.06910126656293869, -0.012251287698745728, -0.03554919362068176, 0.08544319868087769, -0.00962002668529749, -0.0038559921085834503, -0.10459838062524796, 0.01778901368379593, 0.030996816232800484, 0.00011587376502575353, -0.03428243100643158, -0.0706324502825737, -0.0059800888411700726, -0.034960661083459854, 0.0272488072514534, -0.00533463666215539, -0.09210149943828583, -0.027669165283441544, -0.05970374867320061, -0.037491921335458755, 0.020761799067258835, -0.042750705033540726, -0.02147226594388485, 0.022761793807148933, -0.003849159926176071, 0.014168625697493553, 0.037758518010377884, 0.007692986633628607, -0.03408857062458992, -0.06598737090826035, 0.023465696722269058, -0.010566405020654202, 0.04156453534960747, 0.012630737386643887, -0.049656543880701065, -0.007151751779019833, -0.04117861017584801, 0.02999052405357361, -0.02578568458557129, -0.0425720140337944, -0.034299470484256744, 0.01889495737850666, -0.0746132880449295, -0.013369668275117874, 0.0189520251005888, -0.07306227087974548, -0.007209261413663626, 0.05741427466273308, 0.04643568769097328, 0.06385187804698944, -0.016878703609108925, 0.01523954700678587, -0.0792577713727951, 0.021886715665459633, -0.06351131945848465, 0.049252431839704514, 0.025071101263165474, 0.048504844307899475, 0.024725643917918205, 0.050616901367902756, 0.02172001823782921, 0.04255225509405136, -0.03438873216509819, -0.029547525569796562, 0.000390801316825673, -0.03885097801685333, 0.001251701032742858, 0.0391620434820652, -0.026311730965971947, -0.2987782955169678, 0.046015821397304535, 0.0008605261100456119, 0.03731014207005501, -0.02113143354654312, 0.009760125540196896, 0.01368070486932993, 0.007142290007323027, 0.006124831736087799, 0.019425705075263977, 0.019299419596791267, 0.06429637223482132, 0.01646537147462368, -0.06019830331206322, -0.009054017253220081, 0.04087686538696289, 0.019904127344489098, -0.02257411926984787, 0.03554962947964668, -0.07504498213529587, 0.01957639493048191, 0.02154465764760971, 0.21399565041065216, 0.033330004662275314, 0.043452922254800797, 0.02987515740096569, -0.012778974138200283, 0.02773825265467167, -0.031082483008503914, -0.00682647293433547, 0.04370614513754845, -0.01676216907799244, 0.10416262596845627, -0.04108796268701553, 0.015871064737439156, 0.06279415637254715, -0.014100274071097374, 0.04887274652719498, 0.004002787172794342, -0.023648587986826897, -0.05651929974555969, 0.012224027886986732, -0.08182751387357712, -0.009767324663698673, 0.10697613656520844, -0.0694756880402565, -0.03586183860898018, -0.02509976550936699, -0.0010830227984115481, 0.005516381002962589, -0.03955400735139847, 0.006701159290969372, -0.03899531066417694, -0.0014776220778003335, 0.007574086543172598, 0.07897552847862244, 0.009570034220814705, -0.0290934219956398, -0.037375498563051224, 0.006629150826483965, 0.04638352617621422, -0.02336597628891468, 0.0210542231798172, -0.0010672651696950197, 0.057704679667949677 ]
devcenter
https://www.mongodb.com/developer/products/atlas/online-archive-query-performance
created
## Not this **Don't add irrelevant fields as partitions.** If you are not querying a specific field from the archive, then that field should not be added as a partition field. Remember that you can add a maximum of 2 or 3 partition fields, so it is important to choose these fields carefully based on how you query your archive. **Don't ignore the “Move down” option.** The “Move down” option is applicable to an archive with a data-based rule. For example, if you want to query on Field_A the most, then Field_B, and then on exampleDate, ensure you are selecting the “Move Down” option next to the “Archive date field” on top.
md
{ "tags": [ "Atlas", "AWS" ], "pageDescription": "Get all the do's and don'ts around optimization of your data archival strategy.", "contentType": "Article" }
Optimizing your Online Archive for Query Performance
2024-05-20T17:32:23.500Z
[ -0.049739446491003036, 0.006466949824243784, 0.04906553030014038, -0.024883650243282318, 0.04166816547513008, -0.011757899075746536, -0.02664254605770111, -0.0012480935547500849, -0.0026517603546380997, 0.028028201311826706, 0.03241767734289169, -0.039367277175188065, 0.05200689658522606, 0.015279162675142288, -0.0019333354430273175, -0.014354315586388111, -0.013654335401952267, 0.07386275380849838, -0.06262682378292084, 0.01194003876298666, 0.039201412349939346, -0.005831572227180004, 0.03548237308859825, -0.023158583790063858, 0.0031621260568499565, 0.04211953654885292, -0.0583520382642746, -0.0607416108250618, -0.08046796917915344, -0.24237868189811707, -0.004801404196768999, -0.049601275473833084, -0.008941899985074997, -0.0034223548136651516, 0.026455741375684738, -0.02871263585984707, 0.017010927200317383, 0.056735675781965256, -0.02866251952946186, 0.0713486298918724, 0.0228679571300745, 0.0014478799421340227, -0.02513044700026512, -0.07076641172170639, -0.04020402580499649, -0.017206216230988503, -0.03322611749172211, -0.026039158925414085, 0.018084092065691948, -0.014366359449923038, -0.013046924956142902, 0.017314709722995758, -0.031475938856601715, 0.038199715316295624, 0.0006861849105916917, 0.10040581226348877, 0.05917191132903099, 0.011424824595451355, -0.014597274363040924, -0.013142929412424564, 0.07336834818124771, 0.035511478781700134, -0.1632344126701355, 0.06943561881780624, 0.05526088923215866, -0.001373847364448011, -0.025681665167212486, -0.05929788202047348, 0.007508937735110521, 0.059555258601903915, -0.06382601708173752, 0.02211683988571167, -0.006278692279011011, 0.06452755630016327, 0.03182106092572212, -0.05562908202409744, -0.04704727977514267, -0.02201952412724495, -0.006633953657001257, -0.006969029549509287, -0.02148943580687046, -0.03015844151377678, -0.01657167635858059, -0.01430641021579504, -0.06553525477647781, -0.049912210553884506, 0.020128974691033363, -0.04799420386552811, -0.030337898060679436, -0.017551252618432045, 0.01622779294848442, -0.03241439908742905, 0.030054505914449692, 0.03139009699225426, -0.03293359652161598, 0.008028499782085419, 0.017647188156843185, 0.02039918676018715, -0.03178692236542702, 0.2195616513490677, -0.028585491701960564, 0.055357322096824646, 0.020678238943219185, 0.019885562360286713, 0.008788182400166988, -0.01897645741701126, 0.01996852271258831, 0.006605108268558979, 0.004931180272251368, -0.006044107023626566, 0.0034318824764341116, -0.009111505933105946, 0.030740953981876373, -0.037584032863378525, 0.052947551012039185, 0.037434738129377365, 0.04439930617809296, 0.017031531780958176, -0.03485316410660744, 0.0010289631318300962, -0.013742093928158283, 0.02413295768201351, 0.07157234847545624, -0.01435899455100298, 0.023212773725390434, -0.062030669301748276, 0.024337412789463997, 0.09142208099365234, 0.03383924439549446, -0.003047473728656769, 0.03399717062711716, -0.0630674660205841, -0.03416675701737404, -0.05204359441995621, 0.0298715028911829, 0.0021444119047373533, 0.0033704673405736685, 0.01167241483926773, 0.048323970288038254, -0.013023286126554012, -0.0374540351331234, -0.09131388366222382, 0.01579795591533184, -0.06930054724216461, -0.02324145846068859, 0.16481687128543854, -0.03299637511372566, 0.04173525422811508, -0.055320434272289276, 0.0016297859838232398, -0.042574889957904816, 0.026740606874227524, -0.07016133517026901, -0.0413660928606987, 0.006951704155653715, 0.011913386173546314, 0.06227286532521248, 0.07485660910606384, -0.1001085489988327, -0.02148987166583538, -0.05517173931002617, -0.08004580438137054, -0.022617744281888008, 0.12241103500127792, 0.0017189215868711472, -0.05552716553211212, -0.028717655688524246, 0.012594448402523994, 0.022384116426110268, -0.016415854915976524, 0.00366091076284647, 0.01387324370443821, 0.004975620657205582, 0.029131099581718445, 0.10896297544240952, 0.0033424922730773687, -0.019393252208828926, 0.013441355898976326, 0.007914782501757145, -0.0070847333408892155, 0.01333696860820055, -0.0298401340842247, -0.01834038272500038, 0.044480714946985245, 0.029613349586725235, -0.057095691561698914, -0.032647356390953064, -0.014572733081877232, 0.05854468792676926, 0.04379839077591896, -0.048270292580127716, 0.016851048916578293, -0.030626753345131874, 0.011223050765693188, -0.052828121930360794, -0.01453167200088501, -0.015198467299342155, 0.012903598137199879, 0.005943958181887865, -0.02898627519607544, 0.03852258250117302, 0.015269219875335693, -0.000364589795935899, 0.03806278854608536, 0.014447406865656376, 0.0029376742895692587, -0.0524984635412693, -0.019320551306009293, 0.03937995433807373, 0.027006391435861588, -0.0657491609454155, -0.018885405734181404, 0.05145321041345596, -0.022367874160408974, -0.016091499477624893, 0.01415595505386591, 0.004515605978667736, 0.019366031512618065, 0.05857652425765991, 0.04565373435616493, 0.0517420694231987, -0.04527222737669945, -0.016607746481895447, -0.28911203145980835, -0.011739429086446762, -0.04141981527209282, -0.008079176768660545, -0.00038912167656235397, -0.08522967249155045, 0.041026607155799866, -0.020393017679452896, 0.00017260752792935818, 0.0820133239030838, 0.0375525988638401, -0.030696554109454155, -0.037560153752565384, 0.009583490900695324, -0.03192516788840294, 0.015575225464999676, 0.009982219897210598, 0.010265760123729706, -0.08023189753293991, 0.018032964318990707, 0.0355871357023716, -0.005780676379799843, 0.014079601503908634, -0.059259314090013504, 0.08211372047662735, -0.011568683199584484, 0.19496546685695648, 0.05492103099822998, 0.017385248094797134, -0.012352592311799526, 0.05176181346178055, 0.011883125640451908, -0.016942128539085388, -0.12498288601636887, 0.039100032299757004, 0.0357903391122818, -0.0020892175380140543, -0.020075242966413498, -0.04259078949689865, -0.013729582540690899, -0.05388037860393524, 0.01948293298482895, 0.0003844382881652564, -0.10381443053483963, -0.00432877941057086, -0.01939123310148716, -0.03945476561784744, 0.021818609908223152, -0.023339811712503433, 0.007764733862131834, 0.032518304884433746, 0.007716810330748558, 0.051632605493068695, 0.0503099150955677, 0.034463588148355484, -0.05897412449121475, -0.058595869690179825, 0.012306169606745243, -0.005115804728120565, 0.0527469739317894, -0.010068714618682861, -0.03777077794075012, 0.025412021204829216, -0.014979253523051739, 0.01839362643659115, -0.027513926848769188, -0.04172360897064209, -0.013178590685129166, 0.0014578797854483128, -0.040611382573843, -0.013119136914610863, 0.05404926463961601, -0.05188103765249252, 0.013064789585769176, 0.052478086203336716, 0.06863120943307877, 0.000046331522753462195, 0.0038110921159386635, -0.0276415403932333, -0.07254549115896225, 0.013151813298463821, -0.06433513760566711, 0.06342779099941254, 0.03717907890677452, 0.05639836564660072, 0.03827410191297531, 0.053932420909404755, -0.006391596514731646, 0.04420937970280647, -0.04293902590870857, -0.03879615291953087, -0.005818607285618782, -0.0646098330616951, 0.04018270969390869, 0.05098438635468483, -0.021286766976118088, -0.2838298976421356, 0.05302475020289421, 0.05641206353902817, 0.02568013221025467, -0.03497634083032608, 0.03479291871190071, 0.03735487535595894, 0.007399765308946371, -0.013918660581111908, 0.023500638082623482, 0.004270592704415321, 0.05169554799795151, 0.01723264902830124, -0.04715079441666603, -0.026501525193452835, 0.04167759045958519, 0.01761220023036003, 0.000577326281927526, 0.05051685497164726, -0.062421273440122604, 0.016282333061099052, 0.04268987476825714, 0.22010068595409393, 0.020665055140852928, 0.03411876782774925, 0.036914847791194916, -0.012018308974802494, 0.021741138771176338, -0.026462513953447342, 0.021519960835576057, 0.028232228010892868, -0.00958201102912426, 0.10127109289169312, -0.0385354720056057, 0.009496009908616543, 0.03315311670303345, 0.012307609431445599, 0.0745077058672905, 0.00017202136223204434, -0.03318674489855766, -0.05391037464141846, 0.018381930887699127, -0.07630420476198196, 0.007444134447723627, 0.08958350121974945, -0.08109455555677414, -0.031030461192131042, -0.02514486014842987, -0.006943991407752037, -0.015513204038143158, -0.023478936403989792, 0.03557851165533066, -0.01868276856839657, 0.0023902198299765587, 0.024074004963040352, 0.0676271915435791, -0.02362898178398609, -0.024809597060084343, -0.036560796201229095, 0.004684301558881998, 0.05176711827516556, -0.019809704273939133, -0.002010360127314925, 0.007329651620239019, 0.03724202141165733 ]
devcenter
https://www.mongodb.com/developer/products/atlas/online-archive-query-performance
created
**Don't choose high cardinality partition(s).** Choosing a high cardinality field such as `_id` will create a large number of partitions in the object storage. Then querying the archive for any aggregate based queries will cause increased latency. The same is applicable if multiple partitions are selected such that the collective fields when grouped together can be termed as high cardinality. For example, if you are selecting Field_A, Field_B and Field_C as your partitions and if a combination of these fields are creating unique values, then it will result in high cardinality partitions. > Please note that this is **not applicable** for new Online Archives. ## Additional guidance In addition to the partitioning guidelines, there are a couple of additional considerations that are relevant for the optimal configuration of your data archival strategy.
md
{ "tags": [ "Atlas", "AWS" ], "pageDescription": "Get all the do's and don'ts around optimization of your data archival strategy.", "contentType": "Article" }
Optimizing your Online Archive for Query Performance
2024-05-20T17:32:23.500Z
[ -0.01170691940933466, -0.0012132225092500448, 0.00652391416952014, -0.010388919152319431, 0.06165760010480881, -0.02153152972459793, -0.019311871379613876, 0.015235300175845623, 0.00196845643222332, -0.005715647712349892, -0.017572252079844475, -0.03132668882608414, 0.04173479974269867, 0.023958884179592133, -0.03463210165500641, 0.010704184882342815, 0.003106639953330159, 0.022821206599473953, -0.04766397178173065, 0.040989335626363754, 0.01971731148660183, -0.032778337597846985, -0.028666997328400612, -0.05153761804103851, 0.0064966268837451935, 0.06461820751428604, -0.0548834428191185, -0.047301892191171646, -0.06178078427910805, -0.2409759908914566, 0.02258537895977497, -0.014548619277775288, 0.06575364619493484, 0.0013593657640740275, 0.05283468961715698, -0.01418491080403328, 0.03189226612448692, 0.08815958350896835, -0.023450780659914017, 0.03904373571276665, 0.03925313800573349, 0.014011477120220661, -0.042914729565382004, -0.054712191224098206, -0.03918767347931862, -0.01236043032258749, -0.03751760348677635, -0.03496761620044708, -0.0018619050970301032, 0.011222016997635365, -0.029201431199908257, 0.016776233911514282, -0.027955152094364166, 0.014382733032107353, 0.006171056069433689, 0.09637225419282913, 0.04059140011668205, 0.02170717716217041, 0.0020258689764887094, -0.031643882393836975, 0.05858530476689339, 0.011909157037734985, -0.12602339684963226, 0.05229027941823006, 0.05242761969566345, 0.023865872994065285, -0.01592012494802475, -0.047695282846689224, 0.012958315201103687, 0.037465665489435196, -0.04544927552342415, 0.03430023416876793, 0.0051114377565681934, 0.052813541144132614, 0.036167703568935394, -0.0330168753862381, -0.029054181650280952, -0.02388686314225197, 0.014516291208565235, 0.014199728146195412, -0.02690279111266136, -0.03637631982564926, -0.04827125743031502, -0.03751631826162338, -0.08076316863298416, -0.06437880545854568, 0.01602822355926037, -0.06938823312520981, 0.008164189755916595, -0.01310640573501587, 0.016544241458177567, 0.004386649001389742, 0.015429740771651268, 0.04377254098653793, -0.01102390792220831, 0.0051842643879354, -0.01569889485836029, 0.012521353550255299, -0.034353435039520264, 0.23795051872730255, -0.03196682408452034, 0.0272870771586895, 0.041148580610752106, -0.016335859894752502, -0.01087879203259945, -0.02733379602432251, -0.005946772173047066, -0.01934795454144478, 0.021212244406342506, 0.0135224349796772, 0.007695559412240982, -0.06258039176464081, 0.03312588483095169, -0.024950124323368073, 0.04013046249747276, 0.018391864374279976, 0.032850053161382675, 0.012766684405505657, -0.021592997014522552, 0.009911930188536644, -0.018579602241516113, 0.07388537377119064, 0.06027514114975929, -0.012167074717581272, 0.000784160103648901, -0.03217286616563797, 0.016560453921556473, 0.10735637694597244, 0.010350770317018032, 0.013554804027080536, 0.011585037223994732, -0.02287750504910946, -0.05411386862397194, -0.022843215614557266, 0.023225421085953712, 0.008872545324265957, 0.016271155327558517, 0.0052459691651165485, 0.02883152663707733, 0.016658011823892593, -0.07648903876543045, -0.0713796615600586, 0.024465331807732582, -0.06279213726520538, -0.01518728956580162, 0.19284938275814056, -0.037356186658144, 0.03525852411985397, -0.04391007497906685, -0.013729553669691086, -0.014829958789050579, 0.010782512836158276, -0.06051582470536232, -0.06850382685661316, -0.031089745461940765, 0.004576015751808882, 0.029924476519227028, 0.09090670943260193, -0.041971612721681595, -0.02194472961127758, -0.017593910917639732, -0.0701599270105362, -0.01695903204381466, 0.1638462245464325, -0.0007484166999347508, -0.06024651601910591, -0.05178632587194443, -0.01186784915626049, 0.005536957643926144, -0.04324803873896599, 0.028562292456626892, 0.016766473650932312, -0.003982148598879576, 0.06003645434975624, 0.0965118408203125, -0.010038740001618862, -0.050249598920345306, 0.010715121403336525, 0.032320134341716766, -0.0024765559937804937, 0.03500956669449806, 0.00756194768473506, -0.05635160580277443, 0.05894588679075241, 0.03972431644797325, -0.08460855484008789, -0.034776974469423294, -0.028596123680472374, 0.03074796497821808, 0.04129060357809067, -0.035962529480457306, 0.03267602249979973, -0.037880945950746536, 0.016944868490099907, -0.06082175672054291, -0.024258578196167946, -0.001214663963764906, 0.008725752122700214, 0.03320050612092018, -0.03871196508407593, 0.04189034178853035, 0.013958838768303394, -0.03621302545070648, 0.061650242656469345, 0.027507659047842026, 0.011262956075370312, -0.028104159981012344, -0.05325547233223915, -0.009595210663974285, 0.03045862354338169, -0.05131196603178978, -0.02345697395503521, 0.02977263368666172, 0.02253669872879982, -0.04181261733174324, -0.0004963207757100463, 0.038696203380823135, 0.029672494158148766, 0.08056415617465973, 0.0804494097828865, 0.05761285498738289, -0.06935079395771027, -0.02401222102344036, -0.2626984715461731, 0.014674368314445019, -0.05287560075521469, -0.011084451340138912, 0.03543606027960777, -0.056004848331213, 0.06469345092773438, 0.0176871195435524, 0.016561048105359077, 0.062308672815561295, 0.005634488072246313, -0.02871750295162201, -0.023849258199334145, 0.04342273995280266, -0.03618932515382767, 0.0543571338057518, -0.007694715168327093, 0.028354723006486893, -0.050101760774850845, 0.02601008117198944, 0.03046555072069168, 0.008921603672206402, 0.012617440894246101, -0.06363685429096222, 0.05020071193575859, 0.0010380558669567108, 0.19568361341953278, 0.004908193834125996, -0.01946999505162239, -0.02596847154200077, 0.06873536109924316, -0.006418921519070864, -0.02488194964826107, -0.11505037546157837, 0.05507843196392059, 0.0028568897396326065, 0.005643191747367382, -0.0025681122206151485, -0.035735782235860825, -0.02663569524884224, -0.06372308731079102, 0.034430764615535736, 0.007378058973699808, -0.11912629753351212, -0.01136538665741682, -0.0348815955221653, -0.038282640278339386, 0.03843432292342186, -0.03840989992022514, -0.004152859561145306, 0.026935579255223274, 0.005049501080065966, 0.02429460734128952, 0.05242777243256569, 0.018843097612261772, -0.04228181764483452, -0.08119384199380875, 0.019537895917892456, -0.02412872388958931, 0.052392683923244476, 0.013865531422197819, -0.06348229944705963, 0.008610879071056843, -0.03790775686502457, 0.0419309064745903, -0.025833923369646072, -0.040113415569067, -0.015260221436619759, -0.014241189695894718, -0.08380113542079926, -0.008970770053565502, 0.03984418883919716, -0.07113854587078094, -0.006080648861825466, 0.09967952221632004, 0.036590658128261566, 0.03217851743102074, -0.014900153502821922, -0.004545603878796101, -0.04632589966058731, 0.030999209731817245, -0.06217385083436966, 0.04368272423744202, 0.03283799812197685, 0.059164129197597504, 0.014541943557560444, 0.04981333389878273, 0.03135887160897255, 0.030722418799996376, -0.042702943086624146, 0.005321883130818605, -0.004144913516938686, -0.056976329535245895, 0.0070855566300451756, 0.029424237087368965, -0.013358188793063164, -0.3033725917339325, 0.06867244839668274, 0.008704768493771553, 0.024250315502285957, -0.008211289532482624, 0.005060764495283365, 0.0011474678758531809, -0.008260048925876617, 0.01997990719974041, 0.021349240094423294, 0.00135274778585881, 0.05306725576519966, 0.030773064121603966, -0.032912712544202805, -0.0527801439166069, 0.0599847212433815, -0.0019970890134572983, -0.02745336852967739, 0.009846282191574574, -0.03903418779373169, 0.0027748001739382744, 0.020542573183774948, 0.21871213614940643, 0.03289584442973137, -0.003736709011718631, 0.024867918342351913, 0.01921662874519825, 0.041940007358789444, -0.030476311221718788, 0.003913624212145805, 0.005998997949063778, -0.018665242940187454, 0.0838257223367691, -0.0505184642970562, 0.03797171637415886, 0.07696157693862915, -0.00027142520411871374, 0.022800328209996223, 0.021430447697639465, -0.00847766175866127, -0.04494362324476242, 0.030762135982513428, -0.05630826577544212, -0.008574905805289745, 0.07653547078371048, -0.05649051070213318, -0.03447945788502693, -0.03834986686706543, 0.006320956163108349, -0.01840476132929325, -0.023881353437900543, -0.00362820434384048, -0.034922920167446136, 0.025125950574874878, 0.026188652962446213, 0.04342231526970863, -0.02040083520114422, -0.017285915091633797, -0.04319281131029129, -0.0003034246910829097, 0.05491039156913757, -0.003787692403420806, 0.007863400503993034, 0.048230066895484924, 0.02364843711256981 ]
devcenter
https://www.mongodb.com/developer/products/atlas/online-archive-query-performance
created
**Add data expiration rules and scheduled windows** These fields are optional but are relevant for your use cases and can improve your archival speeds and for how long your data needs to be present in the archive. **Index required fields** Before archiving the data, ensure that your data is indexed for optimal performance. You can run an explain plan on the archival query to verify whether the archival rule will use an index. ## Conclusion It is important to follow these do’s and don’ts before hitting “Begin Archiving” to archive your data so that the partitions are correctly configured thereby optimizing the performance of your online archives. For more information on configuration or Online Archive, please see the documentation for setting up an Online Archive and our blog post on how to create an Online Archive. Dig deeper into this topic with this tutorial.
md
{ "tags": [ "Atlas", "AWS" ], "pageDescription": "Get all the do's and don'ts around optimization of your data archival strategy.", "contentType": "Article" }
Optimizing your Online Archive for Query Performance
2024-05-20T17:32:23.500Z
[ -0.04666883870959282, 0.00422804756090045, 0.059722308069467545, -0.009661548770964146, 0.06599495559930801, 0.011287498287856579, -0.03142751380801201, 0.00432452280074358, -0.03840911015868187, -0.017528830096125603, 0.02862926945090294, -0.011607712134718895, 0.040696658194065094, 0.01387599017471075, -0.004266771953552961, 0.005671982187777758, -0.01614179089665413, 0.03956522420048714, -0.06066853553056717, 0.02510608732700348, 0.041350141167640686, -0.034704942256212234, 0.006202788557857275, -0.0555197149515152, 0.010077212005853653, 0.0698465034365654, -0.056879207491874695, -0.012285704724490643, -0.03229771926999092, -0.19662941992282867, -0.011274803429841995, -0.07546545565128326, 0.03875989466905594, 0.007012482266873121, 0.008745322935283184, -0.05991057679057121, 0.009644719772040844, 0.07173030823469162, -0.0748661532998085, 0.039020754396915436, 0.016640586778521538, 0.02372453548014164, -0.005031212233006954, -0.05663885548710823, -0.029451506212353706, -0.033094797283411026, -0.03353344649076462, -0.01772359199821949, 0.029339103028178215, -0.008512510918080807, -0.006932202726602554, 0.0017919365782290697, -0.01715659163892269, 0.00660172663629055, 0.0066339122131466866, 0.08884572237730026, 0.06125636771321297, 0.02917121909558773, 0.011017244309186935, -0.021859092637896538, 0.0884515792131424, 0.02862744778394699, -0.1778045892715454, 0.09841538965702057, 0.022581173107028008, 0.004875566344708204, -0.026079067960381508, -0.016392314806580544, -0.016082724556326866, 0.03977978229522705, -0.10508381575345993, 0.03391383960843086, -0.0006193213630467653, 0.10587738454341888, 0.0010481494246050715, -0.02654922939836979, -0.031419310718774796, -0.012789331376552582, -0.007830376736819744, 0.00192368240095675, -0.003273000940680504, -0.021327344700694084, -0.004659771919250488, -0.011238646693527699, -0.05088026076555252, -0.05110318586230278, -0.0021597950253635645, -0.02965911664068699, -0.015637990087270737, 0.0034610796719789505, 0.010502289049327374, -0.01581297442317009, -0.012942365370690823, 0.030127834528684616, -0.014762075617909431, 0.01650906726717949, 0.0030913925729691982, 0.05013319104909897, -0.06178053468465805, 0.2210046797990799, -0.04505905508995056, 0.04047340899705887, 0.03373516723513603, -0.010187067091464996, 0.02324676886200905, -0.037754710763692856, 0.009698224253952503, -0.008777543902397156, -0.007170403376221657, 0.001972025725990534, 0.01788780651986599, -0.01917514204978943, 0.005772160366177559, -0.04548289626836777, 0.05191759392619133, 0.04958445951342583, 0.0029486599378287792, 0.00922008790075779, -0.020299265161156654, -0.03960420936346054, -0.02116146683692932, 0.05809049680829048, 0.07366712391376495, 0.0019685430452227592, 0.03303780406713486, -0.0757518783211708, 0.021492265164852142, 0.08519069850444794, -0.0017745338845998049, 0.05515220761299133, 0.01608436368405819, -0.030449330806732178, -0.026286842301487923, -0.022865673527121544, 0.015095740556716919, -0.02358822524547577, 0.03744131326675415, -0.01093536801636219, 0.030963439494371414, -0.041497852653265, -0.028082258999347687, -0.07802564650774002, -0.008819261565804482, -0.0864626094698906, -0.025399740785360336, 0.17719034850597382, 0.0037935348227620125, 0.059231746941804886, -0.07580749690532684, -0.06428507715463638, 0.018240656703710556, 0.01098757702857256, -0.057297203689813614, -0.0527406744658947, 0.0006582499481737614, 0.00008576225081924349, 0.05142834037542343, 0.06460615992546082, -0.04476950690150261, 0.0032122074626386166, -0.07809697091579437, -0.051246315240859985, -0.031547605991363525, 0.12646114826202393, -0.019645867869257927, -0.08692467212677002, -0.03367765247821808, 0.009845523163676262, 0.02033294178545475, -0.01810038834810257, 0.018195252865552902, -0.008437943644821644, -0.03809269145131111, 0.03640707582235336, 0.09355435520410538, -0.001949360128492117, 0.014022797346115112, 0.028040794655680656, -0.02617543190717697, 0.009081212803721428, 0.026062237098813057, -0.012448253110051155, -0.04034753143787384, 0.03919175639748573, 0.06979063153266907, -0.05684784799814224, -0.03195299208164215, -0.028037482872605324, 0.04494233429431915, 0.055994804948568344, -0.048781223595142365, -0.006791335996240377, -0.06708167493343353, -0.02432677149772644, -0.04123979061841965, -0.0352153554558754, -0.02604893036186695, -0.010089964605867863, 0.022593075409531593, -0.06516743451356888, 0.06832785904407501, 0.00929321814328432, -0.009827756322920322, 0.07319515198469162, 0.007018374279141426, 0.017198236659169197, -0.021381136029958725, -0.025056399405002594, 0.05156782642006874, -0.008981302380561829, -0.07067917287349701, 0.008646706119179726, 0.036899786442518234, -0.023322781547904015, -0.030277682468295097, 0.011601283214986324, 0.028904778882861137, 0.013492155820131302, 0.06560956686735153, 0.06460360437631607, 0.04565693065524101, -0.05057290568947792, -0.029320960864424706, -0.2404869943857193, 0.01596103608608246, -0.05786893516778946, 0.007288269232958555, 0.038287606090307236, -0.07302224636077881, 0.09103444218635559, 0.0038993805646896362, -0.02069229818880558, 0.056990254670381546, 0.05958059802651405, -0.02387215942144394, -0.005093577317893505, -0.0019967854022979736, -0.016387920826673508, 0.021140974014997482, 0.041984573006629944, 0.0002892893389798701, -0.05489833652973175, 0.011739501729607582, -0.0077338325791060925, 0.03072633035480976, 0.04122070223093033, -0.05210547894239426, 0.09291784465312958, -0.013230375945568085, 0.17152076959609985, 0.03582672402262688, 0.020682847127318382, -0.03811144083738327, 0.03829750791192055, -0.03174120932817459, -0.056954625993967056, -0.160408616065979, 0.03490898758172989, 0.015474362298846245, -0.0013482732465490699, 0.02653561905026436, -0.04343031346797943, -0.010426651686429977, -0.03035055287182331, 0.020747119560837746, 0.013160371221601963, -0.07598918676376343, -0.04851948469877243, -0.0021855300292372704, -0.04590601474046707, -0.003963591530919075, -0.04481375589966774, -0.013336461037397385, 0.03652968630194664, 0.0028423485346138477, 0.017232447862625122, 0.02303154394030571, -0.002326001413166523, -0.049483634531497955, -0.08128625154495239, 0.028729531913995743, -0.025898633524775505, 0.03889933601021767, 0.0045270719565451145, -0.03597521781921387, 0.030720284208655357, -0.05190011486411095, 0.036862052977085114, -0.013233261182904243, -0.045969437807798386, -0.016846397891640663, 0.02352389506995678, -0.0775902047753334, -0.03589789196848869, 0.0711907222867012, -0.051840703934431076, -0.03991401940584183, 0.047162968665361404, 0.03232702985405922, 0.017293883487582207, -0.01886451430618763, -0.010341993533074856, -0.06327948719263077, 0.0037254353519529104, -0.05093720182776451, 0.046862661838531494, 0.04322187229990959, 0.049448300153017044, 0.024212731048464775, 0.05792707949876785, 0.0276760533452034, 0.05164720118045807, -0.018251562491059303, 0.01430074218660593, -0.007302285172045231, -0.036752890795469284, -0.009673338383436203, 0.043757371604442596, -0.0062941196374595165, -0.30398404598236084, 0.04659970477223396, 0.057858191430568695, 0.03263791278004646, -0.009709724225103855, 0.0056999800726771355, 0.039302997291088104, 0.008648382499814034, 0.011132961139082909, 0.02853251062333584, -0.009918373078107834, 0.037436243146657944, -0.011157272383570671, -0.026542989537119865, 0.01488785445690155, 0.03577481582760811, 0.03675278648734093, 0.003249859670177102, -0.013002225197851658, -0.09113030135631561, 0.017871906980872154, 0.00808076560497284, 0.2350168377161026, 0.016708364710211754, 0.01736568845808506, 0.03455893322825432, 0.044048961251974106, 0.06606043130159378, 0.0487186573445797, -0.007717580068856478, 0.047643911093473434, -0.013530069962143898, 0.10124286264181137, -0.016010958701372147, 0.032677095383405685, 0.03814926743507385, -0.02772541530430317, 0.08585170656442642, 0.002195955254137516, -0.015370583161711693, -0.06290324777364731, 0.029739148914813995, -0.043921854346990585, 0.015619177371263504, 0.06679365783929825, -0.05077870562672615, -0.02816009521484375, -0.055909208953380585, 0.009311167523264885, -0.019004428759217262, -0.03158774971961975, 0.009937919676303864, -0.02088477835059166, 0.00011881920363521203, 0.002426411956548691, 0.04547916725277901, -0.01646958850324154, -0.0023554980289191008, -0.0017330555710941553, 0.0064858621917665005, 0.037210140377283096, -0.03886151313781738, -0.002260918729007244, 0.02208256535232067, 0.032652270048856735 ]
devcenter
https://www.mongodb.com/developer/products/atlas/online-archive-query-performance
created
Dig deeper into this topic with this tutorial. ✅ Already have an AWS account? Atlas supports paying for usage via the AWS Marketplace (AWS MP) without any upfront commitment — simply sign up for MongoDB Atlas via AWS Marketplace.
md
{ "tags": [ "Atlas", "AWS" ], "pageDescription": "Get all the do's and don'ts around optimization of your data archival strategy.", "contentType": "Article" }
Optimizing your Online Archive for Query Performance
2024-05-20T17:32:23.500Z
[ -0.05158604681491852, -0.052005890756845474, 0.0029884346295148134, 0.015366647392511368, 0.0006438301061280072, -0.01108179334551096, 0.01832607574760914, -0.007439817767590284, -0.014531333930790424, -0.009240147657692432, 0.03066110610961914, -0.0543217658996582, 0.003617677139118314, -0.002209739526733756, 0.02513059787452221, -0.004738209769129753, 0.014720902778208256, 0.0023951134644448757, -0.03657875210046768, 0.03372890502214432, -0.00407671183347702, -0.04266868159174919, -0.01622687466442585, -0.053787555545568466, -0.0012486397754400969, 0.03703971207141876, -0.05082235857844353, -0.045151982456445694, -0.06408606469631195, -0.16317756474018097, 0.003559496020898223, -0.08972138911485672, 0.055570442229509354, -0.02576402574777603, -0.015794511884450912, -0.04278311878442764, -0.00592361344024539, 0.032871752977371216, -0.0224763136357069, 0.007691279985010624, 0.06708782911300659, 0.05977364629507065, -0.03791113197803497, -0.038796406239271164, -0.02083549089729786, -0.06743297725915909, 0.035499200224876404, 0.03155585750937462, 0.05366728454828262, -0.023731226101517677, 0.03287956491112709, -0.05165489763021469, 0.008315956220030785, 0.005922029726207256, 0.018571976572275162, 0.08267200738191605, 0.009645922109484673, 0.03941598907113075, -0.003773259464651346, -0.007040046155452728, 0.02419263869524002, 0.03546883910894394, -0.18816328048706055, 0.09846716374158859, 0.012186677195131779, 0.0952419862151146, -0.017152000218629837, -0.040620993822813034, 0.016063062474131584, -0.007350886706262827, -0.045273613184690475, -0.012957371771335602, -0.020603716373443604, 0.05439504235982895, 0.020447585731744766, -0.010735200718045235, -0.004594939295202494, -0.04308716207742691, 0.016325807198882103, 0.0014039382804185152, -0.061391934752464294, 0.005044183693826199, -0.015318945981562138, -0.0020323137287050486, -0.012715554796159267, -0.04242099076509476, 0.027164053171873093, -0.02936733141541481, 0.03332531824707985, 0.002883806126192212, -0.03036888875067234, -0.0076073468662798405, 0.009075447916984558, 0.03799918293952942, -0.08561612665653229, -0.016737081110477448, 0.039435047656297684, 0.03425326198339462, -0.018405411392450333, 0.23190738260746002, -0.06490638852119446, 0.0710957944393158, 0.004670298658311367, -0.04600568488240242, 0.018580885604023933, -0.026672717183828354, -0.0404614619910717, -0.0015683856327086687, -0.01706387847661972, 0.029812727123498917, -0.017380425706505775, -0.019872214645147324, 0.012776532210409641, -0.05772422254085541, 0.0028017873410135508, 0.020849555730819702, -0.011793207377195358, 0.06542015075683594, 0.02330343797802925, 0.005462272558361292, -0.024541763588786125, 0.01747937500476837, 0.06206208094954491, -0.01748264580965042, 0.039899792522192, -0.03006293997168541, 0.060265909880399704, 0.10879869759082794, 0.019957710057497025, 0.009433326311409473, 0.0072234314866364, -0.04987632855772972, -0.08575171232223511, -0.02187357284128666, 0.053160347044467926, -0.0022319070994853973, -0.0189391877502203, 0.007411980535835028, 0.015069391578435898, 0.05128788575530052, -0.05550336092710495, -0.05465356260538101, -0.019138114526867867, -0.06492257118225098, -0.0123811736702919, 0.11759429425001144, -0.015327377244830132, 0.06517916172742844, -0.07152420282363892, -0.038520220667123795, 0.00850057415664196, 0.02952779270708561, -0.06823839992284775, 0.023120395839214325, 0.00959616806358099, -0.008341248147189617, 0.073143869638443, 0.08378209918737411, -0.04207614064216614, -0.0061831544153392315, -0.053185854107141495, -0.06177395582199097, -0.02221798710525036, 0.10755238682031631, -0.004192320629954338, -0.123936727643013, 0.004785673692822456, 0.014589089900255203, 0.024326063692569733, -0.04219024255871773, -0.02179967425763607, 0.020065125077962875, -0.019303152337670326, 0.01046445406973362, 0.12005620449781418, -0.0016798992874100804, -0.06912615150213242, -0.00861383881419897, 0.02937529794871807, 0.00887737050652504, -0.02220206707715988, -0.049362096935510635, -0.04305841401219368, 0.000701481883879751, -0.027234353125095367, -0.05872273072600365, -0.04723784327507019, -0.007019137032330036, 0.031313735991716385, -0.02335646189749241, 0.0069365049712359905, 0.05219584330916405, -0.019521838054060936, -0.03401388227939606, -0.014573311433196068, -0.026205144822597504, -0.05139242485165596, -0.02356407605111599, 0.053883545100688934, -0.04068704694509506, 0.08355486392974854, 0.05661000311374664, -0.0333099402487278, 0.03756754472851753, 0.026337090879678726, 0.009153266437351704, -0.0037124764639884233, 0.015792910009622574, 0.039414770901203156, -0.03266430273652077, 0.007491067983210087, 0.03334322199225426, -0.0007649257313460112, -0.006425626575946808, -0.03360975533723831, 0.009083726443350315, 0.017066190019249916, 0.04503568634390831, -0.011033146642148495, 0.049197301268577576, 0.008116967976093292, -0.07181931287050247, -0.04780716076493263, -0.24241524934768677, 0.03089841827750206, 0.008621886372566223, 0.023405175656080246, -0.02187434583902359, -0.05103204399347305, 0.028475774452090263, -0.016813673079013824, -0.014931123703718185, 0.11028819531202316, 0.11137300729751587, -0.030838245525956154, 0.026783984154462814, 0.03245854005217552, -0.003385094227269292, 0.08064784854650497, -0.019088784232735634, 0.005644216202199459, -0.006935229059308767, 0.01158300880342722, 0.03565267473459244, -0.03192562982439995, -0.009989509359002113, -0.05638439953327179, 0.06745097786188126, 0.03701517730951309, 0.2514955997467041, 0.025190671905875206, 0.0006323861889541149, -0.04771266132593155, 0.047937143594026566, -0.013727584853768349, -0.020222226157784462, -0.1440107375383377, 0.03382021188735962, 0.020158536732196808, 0.0312139131128788, -0.022319678217172623, 0.016310187056660652, -0.0592842735350132, -0.06977333128452301, 0.04153743386268616, 0.009751473553478718, -0.06450482457876205, -0.033489201217889786, -0.007655034773051739, -0.030064057558774948, 0.02263500541448593, -0.04462534934282303, 0.019694412127137184, -0.016345713287591934, 0.04596298187971115, 0.005347755271941423, 0.014499293640255928, -0.019804349169135094, -0.03345820680260658, -0.050912484526634216, 0.028728459030389786, -0.05115601792931557, 0.06798051297664642, 0.014863008633255959, -0.022508583962917328, 0.016985397785902023, -0.05439639836549759, 0.050760820508003235, -0.055615875869989395, -0.04422180354595184, -0.00518764229491353, 0.04032859951257706, -0.05138438567519188, 0.007462284993380308, 0.08194102346897125, -0.024017592892050743, 0.03179844841361046, 0.04253678396344185, -0.009313144721090794, 0.0478653758764267, -0.008990214206278324, -0.005366475321352482, -0.03366347402334213, 0.011473418213427067, -0.011518429964780807, 0.027208849787712097, 0.04441848024725914, 0.02555236406624317, 0.08135775476694107, 0.02794022299349308, -0.03629940748214722, -0.030225925147533417, -0.03399428725242615, 0.006291584577411413, 0.011418568901717663, -0.060027386993169785, -0.038720421493053436, 0.031391311436891556, 0.004319855943322182, -0.2506825923919678, 0.053713612258434296, -0.02264317311346531, 0.03533291444182396, -0.016789309680461884, -0.0013124140677973628, 0.02201125957071781, 0.028636684641242027, -0.07328858971595764, 0.019978340715169907, 0.07327838242053986, 0.05916020646691322, -0.0035105396527796984, 0.006514778360724449, 0.04021889716386795, 0.06489790976047516, 0.04895120486617088, -0.039859838783741, 0.05645674467086792, -0.05291349068284035, 0.06732390820980072, 0.005044317804276943, 0.2418784648180008, 0.03373461961746216, 0.016338588669896126, 0.046707164496183395, 0.00800746027380228, 0.07268974930047989, 0.06220763176679611, 0.016875358298420906, 0.0036940788850188255, -0.0009650613064877689, 0.07182492315769196, -0.04085658863186836, 0.04026658833026886, 0.054849326610565186, -0.01271272636950016, 0.04672536253929138, 0.041739001870155334, -0.0162089541554451, -0.06534811854362488, 0.013305029831826687, -0.015363582409918308, 0.015483131632208824, 0.04690619558095932, -0.07380523532629013, -0.013603162951767445, -0.08467759937047958, -0.004544429946690798, 0.0443897619843483, -0.023693066090345383, -0.0332576148211956, -0.017472384497523308, 0.017016539350152016, 0.017048122361302376, 0.03365159034729004, -0.034356310963630676, -0.012522939592599869, -0.040552131831645966, -0.04286447912454605, 0.0048000202514231205, -0.07083410024642944, -0.009839659556746483, 0.018539832904934883, -0.017153825610876083 ]
devcenter
https://www.mongodb.com/developer/products/atlas/using-confluent-cloud-atlas-stream-processing
created
# Using the Confluent Cloud with Atlas Stream Processing > Atlas Stream Processing is now available. Learn more about it here. Apache Kafka is a massively popular streaming platform today. It is available in the open-source community and also as software (e.g., Confluent Platform) for self-managing. Plus, you can get a hosted Kafka (or Kafka-compatible) service from a number of providers, including AWS Managed Streaming for Apache Kafka (MSK), RedPanda Cloud, and Confluent Cloud, to name a few. In this tutorial, we will configure network connectivity between MongoDB Atlas Stream Processing instances and a topic within the Confluent Cloud. By the end of this tutorial, you will be able to process stream events from Confluent Cloud topics and emit the results back into a Confluent Cloud topic.
md
{ "tags": [ "Atlas" ], "pageDescription": "Learn how to configure network connectivity between Confluent Cloud and MongoDB Atlas Stream Processing.", "contentType": "Tutorial" }
Using the Confluent Cloud with Atlas Stream Processing
2024-05-20T17:32:23.500Z
[ -0.015456649474799633, -0.05480249971151352, -0.003914199769496918, -0.020000917837023735, 0.03494960442185402, -0.012897667475044727, -0.0019430441316217184, 0.03312560170888901, -0.028532303869724274, -0.02998463623225689, 0.01608048379421234, -0.04674335941672325, 0.012475202791392803, 0.00478158937767148, 0.052446361631155014, 0.015091661363840103, 0.014087640680372715, 0.043786901980638504, -0.046102333813905716, 0.028902577236294746, 0.027459848672151566, -0.03110751137137413, -0.046358946710824966, -0.0743446946144104, 0.006629148498177528, 0.023856697604060173, -0.026311542838811874, -0.05741599202156067, -0.06421135365962982, -0.19821836054325104, -0.03468343988060951, -0.07116978615522385, 0.020566808059811592, -0.0469810888171196, -0.029110867530107498, -0.04421115666627884, -0.01166895404458046, 0.04448883235454559, -0.05312692001461983, 0.0019810632802546024, 0.06026656553149223, 0.014528440311551094, -0.02314109355211258, -0.04677382856607437, -0.05152196064591408, -0.0678325667977333, -0.001656395965255797, 0.02078002132475376, 0.021512527018785477, -0.02060701698064804, 0.012768293730914593, -0.050018832087516785, 0.025729484856128693, 0.012536486610770226, 0.022551892325282097, 0.03886083513498306, 0.045393578708171844, 0.010119400918483734, 0.04103298485279083, -0.01715059019625187, 0.043248772621154785, 0.03636029362678528, -0.19997279345989227, 0.10391795635223389, -0.008397120982408524, 0.05165841802954674, -0.017309818416833878, -0.024390172213315964, 0.024989154189825058, 0.0003931004903279245, -0.04681811109185219, 0.027167145162820816, 0.04524170234799385, 0.05036289989948273, 0.027003472670912743, 0.0007317699491977692, -0.026731427758932114, -0.02098371647298336, -0.02918056771159172, 0.05828043073415756, -0.004703285172581673, 0.010662004351615906, -0.03224843740463257, 0.02994859591126442, -0.05937105789780617, 0.0022245501168072224, 0.0021343992557376623, -0.02789260819554329, 0.029607171192765236, 0.016478603705763817, -0.06964866071939468, -0.002049807459115982, 0.015665806829929352, 0.021280623972415924, -0.06360776722431183, -0.01820848509669304, 0.01920681819319725, 0.039301320910453796, 0.029423965141177177, 0.22188836336135864, -0.02790493331849575, 0.00857546553015709, 0.031042488291859627, -0.02916274406015873, 0.026553163304924965, -0.008529044687747955, -0.015557506121695042, -0.01904384046792984, 0.004760336596518755, 0.027619175612926483, 0.020838454365730286, -0.026819635182619095, 0.016627110540866852, -0.059241749346256256, 0.05785093083977699, -0.0019060415215790272, 0.03354720398783684, 0.021928437054157257, -0.037535395473241806, 0.012403486296534538, 0.009560375474393368, 0.049408167600631714, 0.08021535724401474, -0.027226537466049194, 0.06879453361034393, -0.028023583814501762, 0.04607143998146057, 0.09326716512441635, 0.021199356764554977, 0.012939083389937878, 0.017466139048337936, -0.0321006216108799, -0.04717681556940079, -0.03717174008488655, 0.0184627678245306, 0.020100248977541924, -0.01604725793004036, -0.011819522827863693, -0.008135049603879452, 0.02635153941810131, -0.05550159141421318, -0.0617138035595417, 0.01322888769209385, -0.09612449258565903, -0.02011813223361969, 0.1608966439962387, -0.01668393984436989, 0.058761775493621826, -0.04824674874544144, -0.036711160093545914, 0.032277125865221024, 0.010595598258078098, -0.048457179218530655, -0.029149014502763748, 0.031010659411549568, -0.024289570748806, 0.03429771959781647, 0.056454747915267944, -0.049018993973731995, 0.0028991017024964094, -0.07210350036621094, -0.08148598670959473, -0.05522654578089714, 0.09530945122241974, 0.0044670142233371735, -0.13887007534503937, -0.011502527631819248, -0.020021483302116394, 0.03618975728750229, -0.00218379870057106, -0.04868211969733238, 0.03156863525509834, -0.009033884853124619, 0.0014554989757016301, 0.04856942221522331, 0.007564628962427378, -0.06378179788589478, -0.002334470394998789, 0.018817510455846786, -0.013641675002872944, 0.03921538591384888, -0.024790499359369278, -0.0016965707764029503, 0.027945522218942642, 0.019331999123096466, -0.06629151850938797, -0.009442836977541447, -0.033786360174417496, -0.0008210695232264698, 0.030258025974035263, -0.0949435755610466, 0.036503225564956665, 0.026004957035183907, -0.038313593715429306, 0.006399611011147499, -0.014389588497579098, -0.005180956330150366, -0.006023924332112074, 0.0400458462536335, -0.0479903519153595, 0.051427628844976425, 0.06407053023576736, -0.03917858749628067, 0.025895092636346817, -0.0030357891228049994, 0.012680118903517723, -0.04874987155199051, -0.011726091615855694, 0.02376297488808632, -0.00392010947689414, -0.020075155422091484, 0.017144672572612762, -0.023872725665569305, 0.01436415035277605, -0.02122100628912449, 0.03662370145320892, 0.044878508895635605, 0.03941866755485535, -0.008754070848226547, 0.03162629157304764, 0.05578819662332535, -0.09803784638643265, -0.06552786380052567, -0.2568599283695221, 0.01806029863655567, 0.00791611522436142, -0.02258608303964138, 0.012407531961798668, -0.03757001832127571, 0.013334098272025585, 0.012385692447423935, 0.014853996224701405, 0.10973887145519257, 0.05344092473387718, -0.01962544396519661, -0.010345838032662868, -0.012824652716517448, 0.010986427776515484, 0.05540492385625839, 0.002545769326388836, 0.022083671763539314, -0.01058765035122633, 0.010462815873324871, 0.03742357715964317, 0.00987144373357296, 0.0009238906786777079, -0.05672912299633026, 0.07250427454710007, 0.023846998810768127, 0.20856314897537231, 0.03570714220404625, 0.027995139360427856, -0.07752681523561478, 0.050911519676446915, 0.01444467343389988, -0.01718287542462349, -0.11771348863840103, 0.03671613335609436, 0.015617446042597294, 0.04018997773528099, -0.02594205178320408, -0.001959269866347313, -0.01560056023299694, -0.050836481153964996, 0.06347699463367462, 0.011426428332924843, -0.12331634759902954, -0.025186968967318535, -0.00434760469943285, -0.014099329710006714, 0.006782220676541328, -0.07527635991573334, 0.046615201979875565, -0.0020923970732837915, 0.00046299953828565776, 0.018097922205924988, 0.01448588352650404, -0.006707451306283474, -0.02725321799516678, -0.06402814388275146, 0.030600083991885185, -0.030409878119826317, 0.029963981360197067, 0.01561431959271431, 0.0013515291502699256, 0.00878930278122425, -0.047908443957567215, 0.06236735358834267, -0.0023342061322182417, -0.03691893815994263, 0.01896054670214653, 0.025489816442131996, -0.025282910093665123, 0.004237730987370014, 0.07883083820343018, -0.03431153669953346, 0.040525566786527634, 0.08385270088911057, 0.055917419493198395, 0.05371766537427902, -0.019480308517813683, -0.007727275602519512, 0.010771650820970535, 0.055933330208063126, -0.04687899723649025, 0.045346569269895554, 0.021439848467707634, 0.04995645210146904, 0.06676337122917175, 0.02928588166832924, -0.011313079856336117, -0.016949035227298737, -0.058030661195516586, 0.005030586384236813, -0.005111762322485447, -0.050520360469818115, -0.08452077209949493, 0.017214586958289146, 0.008440299890935421, -0.28677788376808167, 0.05542239919304848, -0.0117851747199893, 0.015337938442826271, -0.014204677194356918, 0.008385159075260162, 0.004054138902574778, 0.05146343633532524, -0.038984641432762146, 0.05270899087190628, 0.020658446475863457, 0.0627104714512825, 0.0011829098220914602, -0.02226000465452671, 0.04468980059027672, 0.07311917096376419, 0.05599101260304451, -0.037610866129398346, 0.012473776005208492, -0.05476577952504158, 0.020638657733798027, 0.008535479195415974, 0.22836877405643463, 0.01116610411554575, 0.01178563479334116, 0.02955188788473606, -0.004751642234623432, 0.04882463440299034, 0.03966440260410309, -0.020741619169712067, -0.01905559003353119, 0.002124178223311901, 0.10819556564092636, -0.05207812413573265, 0.04420921951532364, 0.0265056025236845, -0.025090908631682396, 0.06288862973451614, 0.04942847043275833, -0.025650987401604652, -0.028943905606865883, 0.0318991094827652, -0.013002872467041016, -0.024676622822880745, 0.05039195343852043, -0.019269509240984917, -0.025127531960606575, -0.1248304545879364, -0.0036977618001401424, 0.0030845485161989927, -0.011651743203401566, -0.018882790580391884, -0.006078093778342009, 0.041887667030096054, -0.011288910172879696, 0.015916192904114723, -0.04367820918560028, 0.001825702958740294, -0.0467708446085453, -0.04514553025364876, 0.03687066584825516, -0.08582693338394165, -0.001974221784621477, 0.039996515959501266, -0.012120521627366543 ]
devcenter
https://www.mongodb.com/developer/products/atlas/using-confluent-cloud-atlas-stream-processing
created
Confluent Cloud dedicated clusters support connectivity through secure public internet endpoints with their Basic and Standard clusters. Private network connectivity options such as Private Link connections, VPC/VNet peering, and AWS Transit Gateway are available in the Enterprise and Dedicated cluster tiers. **Note:** At the time of this writing, Atlas Stream Processing only supports internet-facing Basic and Standard Confluent Cloud clusters. This post will be updated to accommodate Enterprise and Dedicated clusters when support is provided for private networks. The easiest way to get started with connectivity between Confluent Cloud and MongoDB Atlas is by using public internet endpoints. Public internet connectivity is the only option for Basic and Standard Confluent clusters. Rest assured that Confluent Cloud clusters with internet endpoints are protected by a proxy layer that prevents types of DoS, DDoS, SYN flooding, and other network-level attacks. We will also use authentication API keys with the SASL_SSL authentication method for secure credential exchange.
md
{ "tags": [ "Atlas" ], "pageDescription": "Learn how to configure network connectivity between Confluent Cloud and MongoDB Atlas Stream Processing.", "contentType": "Tutorial" }
Using the Confluent Cloud with Atlas Stream Processing
2024-05-20T17:32:23.500Z
[ -0.01947430521249771, -0.06790168583393097, -0.01760980300605297, -0.01615196280181408, 0.016279540956020355, 0.0002706421946641058, 0.042080555111169815, 0.03153383359313011, -0.031810909509658813, -0.03453424200415611, 0.04952060431241989, -0.05975239351391792, 0.045030705630779266, -0.003600464668124914, 0.005991579033434391, 0.04405566304922104, 0.005415818654000759, 0.014996395446360111, -0.030659107491374016, 0.061891183257102966, 0.04007013142108917, -0.04894223064184189, -0.03016357310116291, -0.08233402669429779, 0.0036092721857130527, 0.05946503207087517, -0.042293258011341095, -0.05777249485254288, -0.06304251402616501, -0.20814746618270874, -0.00717342272400856, -0.06008210778236389, -0.020998463034629822, -0.028987275436520576, -0.0008678602753207088, -0.03211020305752754, 0.012193852104246616, 0.05506831780076027, -0.05212713032960892, 0.012322339229285717, 0.060825347900390625, 0.03727817162871361, -0.058001793920993805, -0.027377763763070107, -0.020682906731963158, -0.05037279054522514, -0.00026435739709995687, 0.03924575075507164, -0.0023960352409631014, -0.04574156925082207, 0.017827540636062622, -0.0454830601811409, -0.004282358568161726, 0.039953846484422684, 0.0003987901727668941, 0.052752986550331116, 0.03482065349817276, 0.02362733706831932, 0.011696810834109783, -0.0060424599796533585, 0.07425212115049362, 0.03293982148170471, -0.1964402198791504, 0.07381660491228104, 0.03507637977600098, 0.08135414868593216, -0.0218479223549366, -0.01616574265062809, 0.04059118404984474, 0.016109278425574303, -0.027326423674821854, 0.05084751546382904, -0.0024293973110616207, 0.025147823616862297, 0.013017012737691402, 0.04343372583389282, -0.021571673452854156, -0.012248975224792957, -0.030899489298462868, 0.04852774366736412, 0.00686716940253973, -0.000027876425519934855, 0.007488252595067024, 0.04184523597359657, -0.0456828847527504, -0.014958454295992851, 0.023029407486319542, -0.03291933238506317, 0.02654663845896721, -0.005462892819195986, -0.0372873991727829, 0.004624432418495417, -0.0058608949184417725, 0.038886044174432755, -0.03368007391691208, -0.03579529747366905, 0.009882435202598572, -0.004911096300929785, 0.002066632965579629, 0.216705784201622, -0.05271106958389282, 0.040689144283533096, 0.01708809658885002, -0.03338257968425751, 0.04502745717763901, -0.02299308218061924, 0.02022431790828705, -0.0350339412689209, 0.015198775567114353, 0.015795940533280373, 0.026756197214126587, -0.052407946437597275, 0.015392614528536797, -0.07017184048891068, 0.024021001532673836, 0.027125945314764977, 0.0251721553504467, 0.056903064250946045, -0.014068158343434334, -0.013837650418281555, 0.0021215418819338083, 0.04981627315282822, 0.08517417311668396, 0.0009229030692949891, 0.04527189955115318, -0.0451555959880352, 0.057209886610507965, 0.08735700696706772, 0.027821073308587074, 0.054398566484451294, 0.013857685960829258, -0.021711334586143494, -0.02766609378159046, -0.02319428324699402, 0.05387111380696297, 0.017128415405750275, -0.011722531169652939, -0.0040016029961407185, 0.003514531534165144, 0.018669631332159042, -0.06762310117483139, -0.05164352431893349, 0.011902556754648685, -0.11253506690263748, 0.013067269697785378, 0.1566859781742096, -0.011211919598281384, 0.0731193870306015, -0.033398158848285675, -0.02015986479818821, 0.03873457387089729, 0.011311556212604046, -0.062356095761060715, -0.02621389552950859, 0.008603017777204514, -0.04072437807917595, 0.05688575282692909, 0.07543439418077469, -0.029059434309601784, -0.014018977992236614, -0.006322583649307489, -0.05176880583167076, -0.04612340033054352, 0.14041107892990112, 0.037766288965940475, -0.15583911538124084, 0.006317656487226486, -0.005931896157562733, 0.011648984625935555, -0.03217529505491257, -0.060485582798719406, 0.031826190650463104, -0.004738701973110437, 0.008306375704705715, 0.06329721212387085, 0.022242074832320213, -0.09256664663553238, -0.020714854821562767, -0.029594138264656067, 0.0011350406566634774, -0.026315925642848015, -0.04748661071062088, -0.021358828991651535, 0.009912852197885513, 0.006171451415866613, -0.031336091458797455, -0.031056836247444153, -0.01483914814889431, 0.014796387404203415, 0.022454362362623215, -0.1110127791762352, 0.02528528869152069, -0.005203528795391321, -0.030318841338157654, 0.004454635549336672, -0.04281257838010788, -0.004891033284366131, -0.0006025415495969355, 0.01780027151107788, -0.013350659050047398, 0.07638537138700485, 0.06766291707754135, -0.0357518307864666, 0.025956522673368454, -0.0022300605196505785, 0.02191460318863392, -0.015062086284160614, -0.0049947332590818405, 0.025334687903523445, -0.009517155587673187, -0.03831332176923752, 0.012240482494235039, 0.00926830805838108, -0.015130302868783474, -0.00968971662223339, 0.025718852877616882, 0.05113605782389641, 0.06437182426452637, 0.0026654002722352743, 0.04043934866786003, 0.032277755439281464, -0.03538379445672035, -0.08116964250802994, -0.2275928407907486, -0.002203460317105055, -0.0174317117780447, -0.02281404845416546, 0.05637958645820618, -0.03756023943424225, -0.0013383955229073763, 0.012184607796370983, -0.017067162320017815, 0.04702695459127426, 0.08807061612606049, 0.0056669157929718494, -0.011396859772503376, 0.0107120955362916, -0.031150178983807564, 0.09187149256467819, 0.012456853874027729, 0.02498791180551052, -0.015079383738338947, 0.03763908892869949, 0.018314359709620476, -0.006960984319448471, -0.05167190730571747, -0.05270955711603165, 0.04036640375852585, 0.03167910501360893, 0.22164888679981232, -0.014962284825742245, 0.013417826034128666, -0.052905138581991196, 0.036321546882390976, 0.004143573343753815, 0.0064096772111952305, -0.11789966374635696, 0.04042156785726547, 0.01285616960376501, 0.03048659674823284, -0.012226519174873829, 0.0019603667315095663, -0.04517948627471924, -0.06582619994878769, 0.06141773238778114, 0.021271036937832832, -0.11647524684667587, -0.01695653609931469, -0.01990140601992607, -0.008803583681583405, 0.02117985300719738, -0.09130214899778366, 0.02531137689948082, -0.01591661013662815, 0.014155220240354538, 0.047673169523477554, 0.012875125743448734, 0.00036456077941693366, -0.04202676936984062, -0.04672032967209816, 0.028917726129293442, -0.05221772566437721, 0.05349356308579445, -0.015389913693070412, -0.014551752246916294, -0.004343654960393906, -0.06577160954475403, 0.06532002240419388, -0.031224457547068596, -0.06207024306058884, -0.010388157330453396, 0.035984106361866, -0.04405425861477852, 0.0002586545015219599, 0.08187336474657059, -0.026951847597956657, 0.009180501103401184, 0.049733731895685196, 0.04107118025422096, 0.050603237003088, -0.010905950330197811, -0.03474834933876991, -0.03852439299225807, 0.06283946335315704, -0.04068044573068619, 0.032341644167900085, 0.05161543935537338, 0.006054683588445187, 0.036342840641736984, 0.05994771420955658, 0.016587624326348305, 0.002938302932307124, -0.02665691077709198, 0.014939548447728157, -0.005872961133718491, -0.054957788437604904, -0.07907163351774216, 0.011165909469127655, 0.026147227734327316, -0.287063330411911, 0.025902271270751953, -0.029517682269215584, -0.03319307416677475, -0.022740837186574936, 0.007628460880368948, 0.029863223433494568, 0.04054825380444527, -0.05898979306221008, 0.025224365293979645, 0.050526607781648636, 0.04756488651037216, -0.011828256770968437, -0.02704615704715252, 0.03667694330215454, 0.05733533203601837, 0.04731942340731621, -0.05260028317570686, -0.011462976224720478, -0.032444652169942856, -0.008993454277515411, 0.01789609156548977, 0.21426968276500702, 0.017077863216400146, 0.025567540898919106, 0.05053525045514107, -0.025034425780177116, 0.058119580149650574, 0.035556141287088394, -0.016309820115566254, -0.015780750662088394, 0.00701679103076458, 0.05657060444355011, -0.04371682554483414, 0.043731894344091415, 0.028176264837384224, -0.02664806880056858, 0.03185664862394333, 0.04895812273025513, -0.039343032985925674, -0.008035910315811634, 0.02455197088420391, -0.002655833261087537, -0.009201512672007084, 0.0593370757997036, -0.01011722907423973, -0.049244388937950134, -0.08249583840370178, 0.04723533242940903, -0.003136795712634921, -0.06282685697078705, -0.05080314353108406, -0.0009031598456203938, 0.028390733525156975, 0.003350605024024844, 0.048587702214717865, -0.040672898292541504, -0.000843381101731211, -0.045884229242801666, 0.0038670513313263655, 0.013866581954061985, -0.08909349143505096, -0.015306699089705944, 0.04826889932155609, -0.005105813965201378 ]
devcenter
https://www.mongodb.com/developer/products/atlas/using-confluent-cloud-atlas-stream-processing
created
In this tutorial, we will set up and configure Confluent Cloud and MongoDB Atlas for network connectivity and then work through a simple example that uses a sample data generator to stream data between MongoDB Atlas and Confluent Cloud. ## Tutorial prerequisites This is what you’ll need to follow along: - An Atlas project (free or paid tier) - An Atlas database user with atlasAdmin permission - For the purposes of this tutorial, we’ll have the user “tutorialuser.” - MongoDB shell (Mongosh) version 2.0+ - Confluent Cloud cluster (any configuration) ## Configure Confluent Cloud For this tutorial, you need a Confluent Cloud cluster created with a topic, “solardata,” and an API access key created. If you already have this, you may skip to Step 2.
md
{ "tags": [ "Atlas" ], "pageDescription": "Learn how to configure network connectivity between Confluent Cloud and MongoDB Atlas Stream Processing.", "contentType": "Tutorial" }
Using the Confluent Cloud with Atlas Stream Processing
2024-05-20T17:32:23.500Z
[ -0.017411526292562485, -0.017036197707057, -0.012765389867126942, -0.04100590571761131, 0.029164718464016914, -0.012195363640785217, 0.011741956695914268, 0.012938239611685276, -0.03342513367533684, -0.033147845417261124, 0.00614933529868722, -0.05562334507703781, 0.04299475625157356, 0.00835435464978218, 0.021976929157972336, 0.039617590606212616, -0.014268787577748299, 0.005703575909137726, -0.04406564682722092, 0.044792428612709045, 0.030648697167634964, -0.03731927275657654, -0.0480000302195549, -0.07540251314640045, 0.001155502861365676, 0.08076269179582596, -0.0013818759471178055, -0.051452700048685074, -0.055419862270355225, -0.20952239632606506, -0.02083069458603859, -0.051267415285110474, 0.014829106628894806, -0.03286345675587654, 0.0031441841274499893, -0.046198636293411255, 0.008175374008715153, 0.02286272682249546, -0.03740587458014488, 0.032501012086868286, 0.05288119241595268, 0.018702790141105652, -0.04776056110858917, -0.03854437172412872, -0.02095346711575985, -0.06584815680980682, 0.0007219358230940998, 0.017628801986575127, 0.013604594394564629, -0.04417852684855461, 0.008158578537404537, -0.06873998790979385, -0.005234190262854099, 0.03140544146299362, 0.02576902136206627, 0.07415775209665298, 0.034366920590400696, 0.03664359822869301, 0.02916826866567135, 0.009027648717164993, 0.033055346459150314, 0.044040266424417496, -0.2018505334854126, 0.09163877367973328, 0.0251327957957983, 0.06918109208345413, -0.0270813200622797, -0.025884293019771576, 0.027125854045152664, 0.017891138792037964, -0.05028316378593445, 0.02452446147799492, 0.013124067336320877, 0.039053719490766525, 0.0123720932751894, 0.029766734689474106, -0.04165082052350044, -0.038387902081012726, 0.0007042008801363409, 0.024954184889793396, -0.03253185749053955, 0.0035841576755046844, -0.01144083309918642, 0.05999889224767685, -0.014022869057953358, -0.010585233569145203, 0.017862865701317787, -0.03733242675662041, -0.02058321237564087, 0.01901819556951523, -0.030960476025938988, -0.019444959238171577, -0.00697435112670064, 0.05115339159965515, -0.07519780099391937, 0.02356068231165409, 0.037967048585414886, 0.01718929409980774, 0.0014120441628620028, 0.20719033479690552, -0.04638289287686348, 0.019792882725596428, 0.01054297760128975, -0.0063631776720285416, 0.007229320704936981, -0.029160065576434135, 0.008322851732373238, -0.03824161738157272, 0.019477080553770065, 0.025647487491369247, -0.005929793231189251, -0.03771728277206421, -0.007023663260042667, -0.07466183602809906, 0.032556116580963135, 0.0023092881310731173, -0.009703412652015686, 0.04647484049201012, -0.025512784719467163, -0.002273032907396555, -0.01682225428521633, 0.03467177972197533, 0.08138911426067352, 0.009418549947440624, 0.07370024174451828, -0.02841646410524845, 0.04722621291875839, 0.07723364233970642, 0.021534254774451256, 0.052385102957487106, 0.016133541241288185, 0.000750398205127567, -0.06683837622404099, -0.011935757473111153, 0.028780270367860794, 0.016447575762867928, -0.016992537304759026, -0.012617143802344799, 0.006082349456846714, 0.017796320840716362, -0.010913964360952377, -0.06103387847542763, -0.010961371473968029, -0.09954957664012909, -0.008935675024986267, 0.13469219207763672, -0.0445018894970417, 0.08850614726543427, -0.05896828696131706, -0.03737259656190872, 0.0466899536550045, -0.0012283447431400418, -0.04584099352359772, -0.01900358311831951, 0.006859570741653442, 0.021053820848464966, 0.05708150565624237, 0.07833471149206161, -0.02971477434039116, -0.009678926318883896, -0.03367796167731285, -0.05180545896291733, -0.05757936090230942, 0.10054633021354675, 0.002573861740529537, -0.1711445450782776, -0.01982823759317398, 0.0028921160846948624, 0.014368854463100433, -0.011203293688595295, -0.04493087902665138, 0.02309173159301281, -0.033282577991485596, 0.02301659807562828, 0.0953751727938652, -0.005998492706567049, -0.07349339872598648, -0.009777840226888657, -0.015731068328022957, 0.007586088962852955, -0.015395845286548138, -0.023242492228746414, -0.021708855405449867, 0.01825353503227234, 0.0034647660795599222, -0.037906575947999954, -0.018636658787727356, 0.00399925047531724, -0.0012562003685161471, 0.04063498601317406, -0.08333361893892288, 0.03315611183643341, 0.006273981649428606, -0.033643461763858795, -0.04762609675526619, -0.053875893354415894, 0.0058651091530919075, -0.02437090314924717, 0.010917510837316513, -0.05698695406317711, 0.06801921874284744, 0.0638495609164238, -0.018560804426670074, 0.049650855362415314, -0.01165333017706871, -0.0016176595818251371, -0.05354452133178711, -0.012421181425452232, 0.05606584995985031, -0.03893199935555458, -0.012406017631292343, 0.02917208895087242, 0.0016510681016370654, 0.00288591836579144, -0.028276607394218445, 0.041926853358745575, 0.041256945580244064, 0.033325206488370895, -0.006204903591424227, 0.043241117149591446, 0.03410034999251366, -0.0674448236823082, -0.06806391477584839, -0.2528057098388672, 0.017286324873566628, -0.011223570443689823, 0.006805234123021364, 0.012521212920546532, -0.0271383635699749, 0.048960160464048386, 0.03073541633784771, -0.04264688864350319, 0.063569076359272, 0.07214362174272537, 0.0005437979125417769, -0.00620588893070817, -0.02600075490772724, -0.02657248079776764, 0.051243141293525696, 0.01023587491363287, 0.03333190083503723, -0.03428765758872032, 0.012052806094288826, 0.02480282448232174, -0.010493594221770763, -0.013268083333969116, -0.09305592626333237, 0.034092776477336884, -0.00011306734086247161, 0.22189363837242126, 0.021565387025475502, 0.024713153019547462, -0.053227465599775314, 0.06559382379055023, 0.004573213867843151, -0.013566169887781143, -0.11472209542989731, 0.031547628343105316, 0.006034404039382935, 0.035214316099882126, 0.01759631745517254, 0.0003471543313935399, -0.026645980775356293, -0.04243955761194229, 0.07438863068819046, 0.024981379508972168, -0.11451631784439087, -0.012275013141334057, -0.014513092115521431, -0.02315937913954258, 0.029674915596842766, -0.0962543860077858, 0.015421919524669647, -0.02069234848022461, 0.0207198653370142, 0.034982845187187195, -0.02167210355401039, -0.019822923466563225, -0.02259187586605549, -0.08561636507511139, 0.04757760837674141, -0.03784787654876709, 0.0435890331864357, 0.007353377528488636, 0.0000953860508161597, 0.026006942614912987, -0.04917239770293236, 0.052923303097486496, -0.026128526777029037, -0.06093857064843178, -0.022455411031842232, 0.04120948165655136, -0.03482804819941521, 0.012887151911854744, 0.05515484884381294, -0.030794214457273483, 0.05414031073451042, 0.05502255633473396, 0.04261542111635208, 0.02618233673274517, -0.028293520212173462, -0.02258448861539364, -0.02038435824215412, 0.02763734571635723, -0.03690187633037567, 0.025788087397813797, 0.03280116617679596, 0.02666781283915043, 0.049847446382045746, 0.0727565810084343, -0.00883411429822445, 0.0325285941362381, -0.04553578421473503, 0.004073259886354208, -0.0021243952214717865, -0.029521126300096512, -0.05423557758331299, 0.007273160386830568, 0.02110804244875908, -0.29021596908569336, 0.03960800543427467, -0.00945121981203556, 0.012803756631910801, -0.02261674962937832, 0.011696008034050465, 0.05709730088710785, 0.07976744323968887, -0.033460021018981934, 0.004385075531899929, 0.03631649911403656, 0.02004280686378479, -0.00008682713087182492, -0.004982742015272379, 0.036283280700445175, 0.0760461688041687, 0.03921531140804291, -0.042774930596351624, 0.002520923502743244, -0.04347885400056839, 0.03730488568544388, 0.04162173718214035, 0.2169591784477234, -0.0051964023150503635, 0.025841200724244118, 0.07246847450733185, -0.008042785339057446, 0.04736427962779999, 0.08958476036787033, 0.012118878774344921, -0.026128031313419342, 0.002036308404058218, 0.08700738847255707, -0.03572965785861015, 0.043082647025585175, 0.05074630677700043, -0.016592757776379585, 0.03439007326960564, 0.06769605726003647, -0.045103222131729126, -0.024584397673606873, 0.04454617574810982, -0.0036467337049543858, -0.0063309152610599995, 0.054094575345516205, -0.03978369012475014, -0.027985911816358566, -0.1135033518075943, 0.016801059246063232, 0.008132503367960453, -0.0421648733317852, -0.018285028636455536, 0.014382143504917622, 0.028094585984945297, -0.013115906156599522, 0.0143740214407444, -0.018732160329818726, -0.01260389480739832, -0.006449877750128508, -0.02282707579433918, 0.031058305874466896, -0.10001193732023239, 0.006326832342892885, 0.01143517903983593, -0.009926104918122292 ]
devcenter
https://www.mongodb.com/developer/products/atlas/using-confluent-cloud-atlas-stream-processing
created
To create a Confluent Cloud cluster, log into the Confluent Cloud portal, select or create an environment for your cluster, and then click the “Add Cluster” button. In this tutorial, we can use a **Basic** cluster type. , click on “Stream Processing” from the Services menu. Next, click on the “Create Instance” button. Provide a name, cloud provider, and region. Note: For a lower network cost, choose the cloud provider and region that matches your Confluent Cloud cluster. In this tutorial, we will use AWS us-east-1 for both Confluent Cloud and MongoDB Atlas. before continuing this tutorial. Connection information can be found by clicking on the “Connect” button on your SPI. The connect dialog is similar to the connect dialog when connecting to an Atlas cluster. To connect to the SPI, you will need to use the **mongosh** command line tool. .
md
{ "tags": [ "Atlas" ], "pageDescription": "Learn how to configure network connectivity between Confluent Cloud and MongoDB Atlas Stream Processing.", "contentType": "Tutorial" }
Using the Confluent Cloud with Atlas Stream Processing
2024-05-20T17:32:23.500Z
[ -0.032883692532777786, -0.06877793371677399, -0.018512757495045662, -0.018576322123408318, 0.004193569533526897, 0.002793220104649663, 0.01884966716170311, 0.02706879936158657, -0.039367493242025375, -0.012674644589424133, 0.022237371653318405, -0.10904789716005325, 0.01999366655945778, -0.024591993540525436, 0.025927947834134102, 0.03380803391337395, -0.012176988646388054, 0.014964012429118156, -0.07325104624032974, 0.04840235412120819, 0.03824949637055397, -0.042955487966537476, -0.04192914068698883, -0.07063509523868561, -0.006889146752655506, 0.05795075744390488, -0.007202595937997103, -0.03575996309518814, -0.029267065227031708, -0.1922249048948288, -0.035405728965997696, -0.03242693841457367, 0.021085789427161217, -0.016945384442806244, -0.010124873369932175, -0.01861383765935898, 0.0251410361379385, 0.060807473957538605, -0.05883791670203209, 0.01788596622645855, 0.0489443875849247, 0.004307850729674101, -0.03395727649331093, -0.02390662394464016, -0.025535987690091133, -0.07731456309556961, -0.0086567597463727, 0.03804996982216835, 0.038257747888565063, -0.04559825360774994, 0.04178760200738907, -0.04373592138290405, -0.01036445889621973, -0.004218879155814648, 0.0061360434629023075, 0.0672125592827797, 0.0312186311930418, 0.0276461411267519, 0.00982776191085577, -0.03197436034679413, 0.04200263321399689, 0.05024842172861099, -0.20875805616378784, 0.10807322710752487, 0.028366997838020325, 0.05396677553653717, -0.022074535489082336, -0.028298094868659973, 0.037645500153303146, 0.031913068145513535, -0.060977477580308914, 0.04061747342348099, -0.003926326520740986, 0.04393097758293152, 0.014163355343043804, 0.006336831487715244, -0.03217054903507233, -0.029613405466079712, 0.019042540341615677, 0.06780239194631577, -0.039975930005311966, 0.021622588858008385, -0.04302003234624863, 0.04812702536582947, -0.030073614791035652, -0.022403225302696228, 0.027624761685729027, -0.028687018901109695, 0.006842431146651506, 0.0160088911652565, -0.04121314734220505, -0.035423073917627335, -0.017880113795399666, 0.02985418774187565, -0.06516211479902267, -0.0009393049404025078, 0.03351382538676262, 0.011143493466079235, 0.011014771647751331, 0.21837420761585236, -0.04504115507006645, 0.027195720002055168, 0.01772295869886875, -0.013703783974051476, 0.019068557769060135, -0.02196461893618107, -0.00284823146648705, -0.027532819658517838, 0.020973222330212593, 0.02259254641830921, 0.009114410728216171, -0.013644878752529621, -0.024167368188500404, -0.0851559042930603, -0.0058833216316998005, 0.005099715664982796, -0.012193466536700726, 0.05543899908661842, -0.021731380373239517, -0.02194325067102909, 0.01183665357530117, 0.022508755326271057, 0.05617833510041237, -0.021655181422829628, 0.05474681779742241, -0.03860282897949219, 0.028966965153813362, 0.07859454303979874, 0.017359279096126556, 0.02640138566493988, 0.021181758493185043, -0.004398881923407316, -0.0488743931055069, -0.02404232695698738, 0.06723107397556305, 0.025196434929966927, -0.028955664485692978, -0.01952437497675419, -0.00874071940779686, 0.002130362903699279, -0.022267049178481102, -0.06952031701803207, 0.004172519315034151, -0.10871384292840958, 0.004811196122318506, 0.13382214307785034, -0.03249267861247063, 0.06624995172023773, -0.05451474338769913, -0.0255476925522089, 0.02141723409295082, -0.015134836547076702, -0.06715977936983109, -0.04190164431929588, 0.014487779699265957, 0.007559226825833321, 0.07484586536884308, 0.06092104688286781, -0.007397047709673643, 0.009914165362715721, -0.03618188574910164, -0.06337154656648636, -0.036232076585292816, 0.10494256764650345, 0.01412277016788721, -0.1367853432893753, -0.012735186144709587, 0.019439000636339188, 0.029879454523324966, -0.02391323633491993, -0.039566848427057266, 0.027383187785744667, -0.0007224017754197121, 0.03463767468929291, 0.11722194403409958, -0.006467314437031746, -0.06577745825052261, 0.0033615545835345984, 0.0012603335781022906, 0.0027439475525170565, -0.01489644218236208, -0.020656174048781395, -0.0021561901085078716, 0.010176252573728561, 0.014465423300862312, -0.0630863681435585, -0.0037501808255910873, -0.01910705864429474, -0.0136113241314888, 0.0277439896017313, -0.10472043603658676, 0.07244545966386795, -0.0017208489589393139, -0.025514846667647362, -0.027938321232795715, -0.060503456741571426, 0.0010864267824217677, -0.018273746594786644, 0.03277362510561943, -0.013589372858405113, 0.08670651912689209, 0.06543358415365219, -0.04911912977695465, 0.010819150134921074, -0.021258430555462837, 0.01877306029200554, -0.005551062989979982, -0.015297126956284046, 0.07102962583303452, -0.04399661347270012, -0.023997841402888298, 0.0352865569293499, 0.025607164949178696, 0.013252048753201962, -0.01695779338479042, 0.046654555946588516, 0.04087105765938759, 0.028698692098259926, 0.01029263623058796, 0.04034459963440895, 0.040007829666137695, -0.061301715672016144, -0.08202386647462845, -0.2312495857477188, 0.025479042902588844, -0.007063409313559532, -0.023404600098729134, 0.03196728974580765, -0.02394738420844078, 0.04022522643208504, 0.050238121300935745, -0.0018265898106619716, 0.06207982450723648, 0.072950579226017, -0.010334859602153301, -0.004428620915859938, 0.012274566106498241, -0.032345306128263474, 0.046106498688459396, 0.03211269527673721, 0.032883014529943466, 0.003215441480278969, 0.04313937574625015, 0.030798636376857758, -0.010099979117512703, -0.03862902522087097, -0.0694926306605339, 0.03589703142642975, 0.0018882022704929113, 0.21369250118732452, 0.006537802051752806, 0.02910260483622551, -0.03337598592042923, 0.044469136744737625, 0.024450935423374176, -0.03353695198893547, -0.104787178337574, 0.011110630817711353, 0.020642105489969254, 0.030083656311035156, -0.013707238249480724, 0.010475890710949898, -0.03347472473978996, -0.06152401119470596, 0.06030845269560814, -0.0037266965955495834, -0.08105770498514175, 0.003525378182530403, -0.02111293002963066, 0.004946062341332436, 0.041163671761751175, -0.09492767602205276, 0.0027498912531882524, -0.024956025183200836, 0.003674154868349433, 0.020363349467515945, 0.010812419466674328, -0.02602546475827694, -0.0250591691583395, -0.08126682788133621, 0.023003799840807915, -0.022054435685276985, 0.02098848670721054, 0.005113491788506508, -0.010243687778711319, 0.000958730757702142, -0.06113823503255844, 0.08333441615104675, -0.04255855828523636, -0.09523572772741318, -0.02759266272187233, 0.04252517223358154, -0.0306562390178442, 0.02476782165467739, 0.07110360264778137, -0.03802237659692764, 0.03083227016031742, 0.0759269967675209, 0.030978558585047722, 0.03917071223258972, -0.03013434447348118, -0.04115976765751839, -0.010123157873749733, 0.0321621373295784, -0.06404478847980499, 0.03947777673602104, 0.062283147126436234, 0.00785149447619915, 0.05931180343031883, 0.04243341460824013, 0.002738961251452565, 0.028264978900551796, -0.062251780182123184, -0.005358642432838678, -0.002902973908931017, -0.02201903983950615, -0.034001804888248444, -0.0037195582408457994, 0.01545178983360529, -0.29308900237083435, 0.03793879225850105, -0.009812215343117714, -0.0011202722089365125, -0.01954040676355362, 0.012555615045130253, 0.03670112416148186, 0.05789654701948166, -0.020303895696997643, 0.007005963008850813, 0.036061909049749374, 0.01338481530547142, -0.009218954481184483, -0.005669048987329006, 0.038010578602552414, 0.07594342529773712, 0.023061534389853477, -0.0474216490983963, 0.03205021098256111, -0.06636957079172134, -0.015183248557150364, 0.018218209967017174, 0.22738556563854218, -0.0019387041684240103, 0.03558841347694397, 0.07452928274869919, -0.0092080719769001, 0.05297347903251648, 0.04558590427041054, 0.015417654998600483, 0.022838013246655464, 0.004211193881928921, 0.08834278583526611, -0.034642718732357025, 0.052983399480581284, 0.020390665158629417, 0.006635433994233608, 0.01091613620519638, 0.053622495383024216, -0.023664357140660286, -0.030826235190033913, 0.02647572010755539, 0.003747115842998028, -0.002414146438241005, 0.06521864235401154, -0.038369495421648026, -0.030318746343255043, -0.10722967982292175, -0.0005310618435032666, 0.006022494286298752, -0.058455031365156174, -0.00725891487672925, 0.007864986546337605, 0.02140401303768158, -0.002687030006200075, 0.05783991888165474, -0.022107521072030067, 0.004150814842432737, -0.030725965276360512, -0.014763632789254189, 0.025948848575353622, -0.11890028417110443, 0.021028578281402588, 0.016531450673937798, 0.012285265140235424 ]
devcenter
https://www.mongodb.com/developer/products/atlas/using-confluent-cloud-atlas-stream-processing
created
. > Log in today to get started. Atlas Stream Processing is now available to all developers in Atlas. Give it a try today!
md
{ "tags": [ "Atlas" ], "pageDescription": "Learn how to configure network connectivity between Confluent Cloud and MongoDB Atlas Stream Processing.", "contentType": "Tutorial" }
Using the Confluent Cloud with Atlas Stream Processing
2024-05-20T17:32:23.500Z
[ -0.020578589290380478, -0.022939030081033707, 0.02774185687303543, -0.026139581575989723, -0.015020504593849182, 0.0011803517118096352, 0.012284724041819572, 0.00012355610670056194, -0.02621406316757202, -0.029760517179965973, 0.02622395195066929, -0.0471661351621151, -0.028404980897903442, -0.00016820048040244728, -0.0009071786189451814, 0.0058584390208125114, -0.007354362867772579, 0.022840183228254318, -0.047424767166376114, 0.01370314136147499, 0.0020228943321853876, -0.04545466601848602, -0.020581241697072983, -0.07919920235872269, 0.00656104227527976, 0.016686387360095978, -0.05688904970884323, -0.06646823137998581, -0.06456461548805237, -0.2099297046661377, 0.01113024353981018, -0.06057065725326538, 0.03986448794603348, -0.061736978590488434, -0.018175920471549034, -0.03890443220734596, -0.023055264726281166, 0.046531133353710175, -0.046154189854860306, 0.005035739857703447, 0.07869823276996613, 0.056350529193878174, -0.04756638780236244, -0.037463802844285965, -0.04707889258861542, -0.05694491043686867, -0.0010521000949665904, 0.031757909804582596, 0.04048809036612511, 0.009133212268352509, -0.005542139522731304, -0.05962832644581795, 0.04544266313314438, -0.001687550451606512, 0.007209661416709423, 0.04018574580550194, 0.03082086704671383, 0.05990241467952728, 0.017331331968307495, 0.026636766269803047, 0.024071384221315384, 0.005055525805801153, -0.20881834626197815, 0.08648986369371414, 0.0046633156016469, 0.056519411504268646, -0.009996430017054081, -0.0294907558709383, 0.020831773057579994, -0.011342276819050312, -0.06725088506937027, 0.0278610959649086, 0.02734738029539585, 0.03645378723740578, 0.005389403086155653, 0.01832907646894455, -0.0246783085167408, -0.0015236306935548782, -0.010779322125017643, 0.030539976432919502, -0.010294981300830841, -0.006748127285391092, 0.0005836270283907652, 0.022236380726099014, -0.047497592866420746, 0.04482349753379822, 0.014162378385663033, 0.006802811287343502, 0.061038970947265625, -0.0096510611474514, -0.04553521052002907, -0.01268062274903059, -0.0011868658475577831, 0.05222175642848015, -0.05832729488611221, -0.037331584841012955, 0.04895921051502228, 0.0318177230656147, 0.01967582292854786, 0.23506584763526917, -0.03594173863530159, 0.04114415869116783, 0.0580240860581398, -0.039795033633708954, 0.04436293616890907, -0.026511413976550102, -0.02671535313129425, 0.009163088165223598, -0.037191711366176605, 0.019464947283267975, 0.00800354965031147, -0.02298913151025772, 0.06545132398605347, -0.0429459847509861, 0.028505459427833557, 0.01982402428984642, 0.011886621825397015, 0.012980999425053596, -0.01747795008122921, 0.01433486770838499, 0.0044306619092822075, 0.016584964469075203, 0.055931828916072845, -0.049880508333444595, 0.018195563927292824, -0.023113980889320374, 0.059376951307058334, 0.11858469247817993, 0.020847098901867867, 0.002252297243103385, 0.04758444055914879, -0.01809900999069214, -0.08504274487495422, 0.002965262858197093, 0.026504594832658768, 0.006440339144319296, -0.006144734099507332, -0.03475034236907959, -0.03967628628015518, 0.01570112071931362, -0.061012499034404755, -0.05617188662290573, 0.00808508601039648, -0.10176832228899002, 0.0036417762748897076, 0.11936400830745697, -0.04566526785492897, 0.0427384227514267, -0.07205519080162048, -0.03885045275092125, 0.0049834540113806725, 0.019406113773584366, -0.07520457357168198, -0.018913187086582184, 0.004722917452454567, -0.011865392327308655, 0.056474391371011734, 0.07137876749038696, -0.040904700756073, 0.03423755615949631, -0.03298623859882355, -0.06437139213085175, -0.04064710810780525, 0.07910660654306412, 0.013573885895311832, -0.10423421114683151, -0.03035285882651806, -0.015476232394576073, 0.022891847416758537, 0.011271940544247627, -0.030240673571825027, 0.016867024824023247, -0.008591843768954277, -0.015179219655692577, 0.08339933305978775, 0.005245024338364601, -0.04721033200621605, -0.027384363114833832, 0.01902828924357891, 0.008000173605978489, 0.05522175878286362, -0.05024506151676178, -0.014601975679397583, -0.0020320317707955837, -0.013398687355220318, -0.06459266692399979, -0.031378667801618576, -0.03793603181838989, 0.015830961987376213, 0.012995949946343899, -0.0377512164413929, 0.023779701441526413, 0.014534056186676025, -0.05761417746543884, -0.005920411087572575, -0.009578905068337917, -0.00042537625995464623, -0.023556984961032867, 0.005044982768595219, -0.04697885364294052, 0.0949179157614708, 0.0404089093208313, -0.025168444961309433, 0.06633192300796509, 0.017253858968615532, 0.03524898737668991, -0.05346927419304848, -0.03265826031565666, 0.02245539054274559, 0.010552671737968922, -0.033591873943805695, 0.0016292819054797292, 0.08229352533817291, 0.0008308399119414389, 0.00019264906586613506, 0.03332919254899025, 0.017714140936732292, 0.06063714250922203, -0.002480600494891405, 0.04494614154100418, 0.031106365844607353, -0.06725592911243439, -0.0677250549197197, -0.23576457798480988, 0.04639090225100517, 0.03488250449299812, -0.01351590733975172, -0.02498343028128147, -0.08682963252067566, 0.02375577576458454, -0.025557029992341995, 0.0009798126993700862, 0.09345884621143341, 0.08544373512268066, 0.027886612340807915, 0.008465918712317944, -0.016345761716365814, 0.020456261932849884, 0.06977476924657822, 0.025318456813693047, 0.04415763542056084, -0.014581396244466305, -0.012567269615828991, 0.02162213996052742, 0.004178432747721672, 0.0052392613142728806, -0.060575682669878006, 0.06872301548719406, 0.031026160344481468, 0.19935233891010284, 0.04160873219370842, 0.04735275357961655, -0.057067081332206726, 0.04758398234844208, 0.018802663311362267, 0.014472772367298603, -0.154828280210495, 0.04001531004905701, 0.07043316215276718, 0.013154014013707638, 0.008417265489697456, 0.018517760559916496, -0.038765691220760345, -0.05998147279024124, 0.03387253358960152, 0.026668552309274673, -0.12709303200244904, -0.018669424578547478, -0.007405915763229132, -0.030265342444181442, 0.0031939896289259195, -0.06991829723119736, 0.01983991451561451, 0.024460190907120705, -0.01817932538688183, 0.02677914686501026, 0.030361918732523918, -0.022135039791464806, -0.048549357801675797, -0.0444396547973156, 0.05293924733996391, -0.0338679775595665, 0.03478667512536049, -0.006303015630692244, -0.005927862133830786, -0.0047064959071576595, -0.03544943407177925, 0.06379661709070206, -0.017360590398311615, -0.004768158309161663, -0.03546161204576492, 0.050605274736881256, -0.011391225270926952, -0.00137931271456182, 0.05750323086977005, -0.0391751304268837, -0.0018762892577797174, 0.03057425655424595, 0.03007017821073532, 0.033616069704294205, -0.008170130662620068, 0.02475772053003311, -0.05383244529366493, 0.01770867593586445, -0.05434530973434448, 0.04914536699652672, 0.030655452981591225, 0.040693916380405426, 0.07690242677927017, 0.020816180855035782, -0.02794654481112957, -0.01574958674609661, -0.023791512474417686, 0.005271330010145903, -0.007497052196413279, -0.03442475572228432, -0.07482078671455383, 0.046335961669683456, 0.016494588926434517, -0.26419422030448914, 0.02674386091530323, 0.007123561576008797, -0.013046124950051308, -0.052339330315589905, -0.01519903726875782, 0.051080260425806046, 0.06395672261714935, -0.047611020505428314, 0.032487235963344574, 0.033995285630226135, 0.03930976241827011, 0.0010272272629663348, -0.007524972315877676, 0.04992089048027992, 0.06678810715675354, 0.0706276074051857, -0.05219903588294983, 0.039184603840112686, -0.060307521373033524, 0.05200107395648956, 0.015587998554110527, 0.23726022243499756, -0.00926205888390541, 0.019211268052458763, 0.05323728546500206, -0.02446136437356472, 0.020643725991249084, 0.03177143260836601, -0.003728373209014535, -0.012957458384335041, 0.0032993857748806477, 0.0794721469283104, -0.03206614404916763, 0.04913957044482231, 0.07071410864591599, -0.020900757983326912, 0.03175150975584984, 0.04782714694738388, -0.04443999379873276, -0.0267450213432312, 0.03840593248605728, -0.01846454292535782, 0.013865907676517963, 0.0633314698934555, -0.025510944426059723, -0.03215261548757553, -0.06414131820201874, -0.03620997071266174, 0.029871147125959396, -0.03421410545706749, -0.03498324379324913, 0.001990523189306259, 0.019270122051239014, -0.020439554005861282, 0.028650520369410515, -0.040229812264442444, -0.03339175507426262, -0.04445088654756546, -0.009985207580029964, 0.025269821286201477, -0.11394628137350082, 0.034954216331243515, 0.01715787872672081, -0.006983929313719273 ]
devcenter
https://www.mongodb.com/developer/products/atlas/using-confluent-cloud-atlas-stream-processing
created
[1]: https://images.contentstack.io/v3/assets/blt39790b633ee0d5a7/bltcfb9c8a1f971ace1/652994177aecdf27ae595bf9/image24.png [2]: https://images.contentstack.io/v3/assets/blt39790b633ee0d5a7/blt63a22c62ae627895/652994381e33730b6478f0d1/image5.png [3]: https://images.contentstack.io/v3/assets/blt39790b633ee0d5a7/blte3f1138a6294748f/65299459382be57ed901d434/image21.png
md
{ "tags": [ "Atlas" ], "pageDescription": "Learn how to configure network connectivity between Confluent Cloud and MongoDB Atlas Stream Processing.", "contentType": "Tutorial" }
Using the Confluent Cloud with Atlas Stream Processing
2024-05-20T17:32:23.500Z
[ -0.038695868104696274, -0.0021250087302178144, 0.03379495069384575, -0.005874587222933769, 0.03419850021600723, 0.01730361208319664, -0.006395284086465836, 0.021268386393785477, -0.004587728995829821, -0.018438884988427162, 0.02148045226931572, -0.0932486429810524, 0.029424266889691353, 0.0226113460958004, 0.05708986893296242, -0.014518833719193935, 0.019656792283058167, 0.031245602294802666, -0.08704990893602371, 0.03013489581644535, 0.02970605157315731, -0.00855227466672659, 0.020876746624708176, -0.04268103092908859, 0.002135415794327855, 0.017661049962043762, -0.03081134893000126, 0.004164753947407007, -0.03958766162395477, -0.20044705271720886, -0.0036344879772514105, -0.07305283099412918, 0.025300774723291397, -0.06277447193861008, -0.002214326523244381, -0.030462225899100304, -0.01656455546617508, 0.07258065789937973, -0.041114624589681625, 0.013601492159068584, 0.06543219834566116, -0.040493328124284744, -0.04859964922070503, -0.056831613183021545, -0.010585756041109562, -0.05922672897577286, -0.024155912920832634, -0.025508513674139977, 0.026155466213822365, -0.040817271918058395, 0.000372084992704913, -0.02274767868220806, 0.002821807749569416, 0.039537373930215836, 0.03739956393837929, 0.030217820778489113, 0.056541554629802704, 0.05295763164758682, 0.02346949093043804, 0.06531871855258942, 0.019144654273986816, 0.07412376999855042, -0.23157520592212677, 0.0914568230509758, 0.05719565600156784, 0.027055205777287483, -0.02466084249317646, 0.00932997651398182, 0.02231026627123356, 0.05031852796673775, -0.01671137847006321, 0.020034819841384888, 0.017122793942689896, 0.024407831951975822, 0.006628990173339844, -0.056515224277973175, -0.034079670906066895, -0.027869753539562225, -0.04060187190771103, -0.06337673217058182, -0.019258933141827583, 0.0023952354677021503, -0.0042889537289738655, -0.01677931286394596, 0.01694692298769951, -0.023920930922031403, -0.03247563913464546, -0.07225748151540756, 0.033208929002285004, 0.026164693757891655, 0.0039712125435471535, -0.006624107249081135, 0.012277333065867424, 0.02848886139690876, -0.07234088331460953, -0.012974649667739868, 0.0261907447129488, 0.01459860522300005, -0.0017202111193910241, 0.18504542112350464, -0.07122442126274109, 0.005702698137611151, 0.06766831874847412, -0.013703661039471626, 0.05172418802976608, -0.04188548028469086, -0.003733819117769599, -0.05084228515625, -0.018845558166503906, 0.050614215433597565, 0.01699589565396309, 0.0008189400541596115, 0.0437895692884922, -0.05200820416212082, 0.026958080008625984, 0.008060495369136333, 0.015531301498413086, 0.007359098643064499, -0.029062440618872643, -0.03991740196943283, -0.007770748808979988, 0.01029595360159874, 0.05817598104476929, -0.0027692208532243967, 0.032308027148246765, -0.03811119869351387, 0.059782855212688446, 0.0733603984117508, 0.053124647587537766, 0.050588417798280716, 0.04688553884625435, 0.004418687894940376, -0.0010490178829059005, -0.007455830927938223, -0.030177274718880653, 0.04012385010719299, 0.007692651357501745, -0.011263723485171795, 0.008523279801011086, -0.0412854440510273, -0.032211340963840485, -0.1557527482509613, 0.008488459512591362, -0.10485867410898209, 0.011561939492821693, 0.08997700363397598, -0.011569281108677387, 0.023501718416810036, -0.08062799274921417, 0.0013809324009343982, 0.003213434247300029, 0.043227579444646835, -0.012129297479987144, 0.0009106373181566596, 0.04634581878781319, 0.018229857087135315, 0.05016229674220085, 0.09024515002965927, -0.02066945470869541, -0.0297507643699646, -0.0013389873784035444, -0.06916726380586624, -0.043859269469976425, 0.1000477746129036, 0.021559501066803932, -0.12106268107891083, -0.0016061549540609121, -0.011693472042679787, 0.00811196118593216, -0.0030358608346432447, -0.028346307575702667, 0.04306773468852043, -0.029215320944786072, -0.01624002866446972, 0.10154912620782852, 0.04427246376872063, -0.052213914692401886, 0.002002795459702611, 0.023921428248286247, 0.03271852806210518, 0.002162174554541707, -0.03663837909698486, -0.03233721852302551, 0.08689361810684204, 0.0022894050925970078, -0.0811995267868042, 0.017840126529335976, -0.0402725450694561, 0.04976019263267517, 0.07138721644878387, -0.004226772580295801, 0.0065143536776304245, -0.03466995060443878, 0.023585323244333267, -0.02487300895154476, -0.04152381792664528, -0.03589098900556564, -0.02215985581278801, -0.027867766097187996, -0.061936721205711365, 0.0917893648147583, -0.017420535907149315, -0.038139548152685165, 0.010663610883057117, -0.05052744597196579, 0.027359437197446823, 0.004104407038539648, 0.005578195676207542, 0.06126397103071213, 0.04035361483693123, -0.03196375072002411, 0.030191564932465553, 0.0072327870875597, -0.015857994556427002, 0.04005073010921478, -0.02898517996072769, 0.031035520136356354, 0.026081351563334465, 0.0005422629765234888, 0.032403528690338135, 0.0414612777531147, -0.0966816321015358, -0.0853828713297844, -0.21661216020584106, -0.003085469128564, -0.008223817683756351, -0.03520173579454422, 0.006660164333879948, -0.022340239956974983, 0.02076253481209278, -0.017935769632458687, 0.013058008626103401, 0.05727534368634224, 0.08608204871416092, -0.0068525345996022224, -0.020732276141643524, 0.021479249000549316, -0.015855131670832634, 0.0117188123986125, -0.02036774531006813, 0.013943590223789215, -0.027745012193918228, -0.031207075342535973, -0.055193692445755005, 0.019416233524680138, 0.002245925134047866, -0.08044298738241196, 0.037100110203027725, -0.037518374621868134, 0.23291966319084167, 0.07270222902297974, -0.0046994322910904884, -0.010382340289652348, 0.03828752413392067, 0.03398938104510307, -0.024878136813640594, -0.09502467513084412, 0.04572469741106033, 0.045357510447502136, 0.010515512898564339, -0.014976035803556442, -0.00764468964189291, -0.02886863425374031, -0.004210543353110552, 0.04576784372329712, -0.020918281748890877, -0.05271075293421745, 0.016147805377840996, -0.024782055988907814, -0.039320360869169235, 0.004163861740380526, -0.001940203015692532, 0.015303313732147217, 0.008517343550920486, 0.017539355903863907, 0.010790369473397732, -0.00008933294884627685, -0.0028622490353882313, -0.028875216841697693, -0.07852260768413544, 0.00410569878295064, -0.01238888967782259, 0.0519242025911808, -0.03698562830686569, -0.06957355886697769, 0.004516258370131254, -0.07270660251379013, 0.06090722605586052, 0.03731721639633179, -0.01345761027187109, -0.03929604962468147, 0.014059960842132568, -0.02207416482269764, -0.019893918186426163, 0.09101321548223495, 0.02131441980600357, -0.0377042181789875, 0.07001899182796478, 0.019027819857001305, 0.026973143219947815, 0.005677924957126379, 0.03200702741742134, -0.03437015786767006, 0.04860760644078255, -0.000981415156275034, 0.0019466435769572854, 0.04782043397426605, 0.03755144774913788, 0.012151850387454033, 0.039315491914749146, -0.04419070482254028, 0.05495280772447586, -0.06401639431715012, -0.03809548169374466, -0.013504794798791409, -0.04440939798951149, -0.0032024201937019825, 0.012243425473570824, 0.013934867456555367, -0.3505631387233734, 0.06935709714889526, 0.038354240357875824, 0.028741158545017242, 0.012748406268656254, 0.020243944600224495, 0.042775023728609085, 0.008245982229709625, -0.04529571905732155, 0.0014020409435033798, 0.02025960199534893, 0.03600333258509636, 0.03767605498433113, -0.01876806654036045, -0.004236734937876463, 0.036461472511291504, 0.03756843879818916, -0.040924958884716034, 0.043479543179273605, -0.05330468714237213, 0.0021830429323017597, 0.01537548191845417, 0.21967287361621857, -0.006489494815468788, -0.040977843105793, 0.009926517494022846, -0.000369789864635095, 0.020703252404928207, 0.018635721877217293, 0.021645890548825264, 0.029863663017749786, 0.005451265722513199, 0.06701339781284332, -0.02600749395787716, 0.023417364805936813, 0.0652700737118721, -0.08129692077636719, 0.0256038885563612, 0.004200132563710213, -0.02728135697543621, -0.01769229955971241, 0.02576168067753315, -0.05316835641860962, -0.029177241027355194, 0.08473914116621017, -0.01340106874704361, -0.0036396640352904797, -0.03649537265300751, 0.035634756088256836, -0.0021833244245499372, -0.05689272657036781, 0.008080541156232357, -0.020051442086696625, 0.0021544210612773895, 0.039333272725343704, 0.015593025833368301, -0.0025934751611202955, -0.026490557938814163, -0.04574889317154884, 0.008227257989346981, 0.03340470418334007, -0.02795516513288021, -0.020583925768733025, 0.015072051435709, 0.04200387001037598 ]
devcenter
https://www.mongodb.com/developer/products/atlas/using-confluent-cloud-atlas-stream-processing
created
[4]: https://images.contentstack.io/v3/assets/blt39790b633ee0d5a7/blt3ccf2827c99f1c83/6529951a56a56b7388898ede/image19.png [5]: https://images.contentstack.io/v3/assets/blt39790b633ee0d5a7/bltaea830d5730e5f51/652995402e91e47b2b547e12/image20.png [6]: https://images.contentstack.io/v3/assets/blt39790b633ee0d5a7/blt9c425a65bb77f282/652995c0451768c2b6719c5f/image13.png
md
{ "tags": [ "Atlas" ], "pageDescription": "Learn how to configure network connectivity between Confluent Cloud and MongoDB Atlas Stream Processing.", "contentType": "Tutorial" }
Using the Confluent Cloud with Atlas Stream Processing
2024-05-20T17:32:23.500Z
[ -0.029414478689432144, 0.00812852568924427, 0.02437674254179001, -0.02715199813246727, 0.03516842797398567, 0.012029444798827171, -0.0014935190556570888, 0.007562947925180197, 0.008095341734588146, -0.020646389573812485, 0.018168296664953232, -0.08007343858480453, 0.032375518232584, 0.020978596061468124, 0.03738291934132576, 0.0016632198821753263, 0.038045112043619156, 0.03109901398420334, -0.05976239591836929, 0.02624187059700489, 0.04904412478208542, -0.03312675654888153, 0.017678778618574142, -0.06471792608499527, 0.013465864583849907, 0.014091708697378635, -0.02414102666079998, 0.00761025957763195, -0.044782549142837524, -0.18870529532432556, -0.010126923210918903, -0.07454117387533188, 0.02448372170329094, -0.048303160816431046, 0.0008408275316469371, -0.012388869188725948, -0.050963182002305984, 0.06428424268960953, -0.031076554208993912, 0.04321913793683052, 0.05560888722538948, -0.04132094606757164, -0.05438121035695076, -0.048714399337768555, -0.050993818789720535, -0.03682803362607956, -0.02543691173195839, -0.007922966033220291, 0.03035937435925007, -0.04108145833015442, 0.01834825612604618, -0.019066600129008293, -0.014811725355684757, 0.041896115988492966, 0.029690586030483246, 0.022352023050189018, 0.07814249396324158, 0.036745574325323105, 0.02007388137280941, 0.06410446763038635, 0.056268658488988876, 0.0803045779466629, -0.23054267466068268, 0.07299729436635971, 0.053596317768096924, 0.027802031487226486, -0.03489935025572777, 0.009974605403840542, -0.0035237898118793964, 0.050750620663166046, -0.03096066787838936, 0.02478189766407013, 0.01807195320725441, 0.012348054908216, 0.006014605518430471, -0.03314715251326561, -0.029096253216266632, -0.02369830571115017, -0.04143836721777916, -0.037412989884614944, -0.017770113423466682, -0.005516985896974802, -0.018135404214262962, -0.027314934879541397, 0.018348142504692078, -0.01730642467737198, -0.04474392905831337, -0.08524434268474579, 0.05013882741332054, 0.043352458626031876, -0.01941329799592495, 0.0026730732060968876, -0.021199028939008713, 0.016236677765846252, -0.07863215357065201, -0.019007496535778046, 0.035533446818590164, -0.010217878036201, -0.021278416737914085, 0.18604034185409546, -0.09752308577299118, 0.014418079517781734, 0.05647190660238266, 0.0005080307018943131, 0.026812495663762093, -0.04654152691364288, 0.008405610918998718, -0.031244855374097824, -0.015036339871585369, 0.036767855286598206, 0.0114259859547019, -0.01683489792048931, 0.06630474328994751, -0.03360449895262718, 0.012569663114845753, -0.01793183758854866, 0.020963920280337334, 0.0025165581610053778, -0.04933350533246994, -0.014859511516988277, -0.0013870575930923223, 0.030897174030542374, 0.05135476216673851, -0.0007016917807050049, 0.05225689336657524, -0.018815582618117332, 0.049526724964380264, 0.10910200327634811, 0.06064796447753906, 0.05467033386230469, 0.06087587773799896, 0.015540651977062225, 0.016483260318636894, -0.006081714760512114, -0.023524783551692963, 0.04574619233608246, 0.01293230801820755, -0.03258015587925911, 0.01291032787412405, -0.04091362655162811, -0.03309372439980507, -0.16160985827445984, -0.006223659962415695, -0.081663116812706, 0.007881631143391132, 0.08397775143384933, -0.012132122181355953, 0.013897255063056946, -0.08549425005912781, 0.01760083995759487, 0.012618569657206535, 0.05939536169171333, -0.013357598334550858, 0.01191254798322916, 0.02526075579226017, 0.009360205382108688, 0.03756226226687431, 0.08193381130695343, -0.04148336499929428, -0.009495466016232967, -0.03098304755985737, -0.058053284883499146, -0.037997208535671234, 0.10491552948951721, 0.013553708791732788, -0.08636730909347534, -0.005755596794188023, 0.012221510522067547, -0.0018581545446068048, -0.007495540659874678, -0.040587566792964935, 0.040645062923431396, -0.015388363972306252, 0.014622162096202374, 0.12333204597234726, 0.02413039654493332, -0.04420242831110954, -0.0039059657137840986, -0.016812968999147415, 0.03444560244679451, 0.0036793292965739965, -0.030951617285609245, -0.05526358634233475, 0.07346240431070328, 0.0016850598622113466, -0.054254550486803055, 0.017072642222046852, -0.06725482642650604, 0.06600107997655869, 0.05264117568731308, -0.023831628262996674, 0.012690884992480278, -0.046695299446582794, 0.01425979845225811, -0.03194883465766907, -0.05533459782600403, -0.048613760620355606, -0.06533483415842056, -0.006624119821935892, -0.05404147505760193, 0.07977304607629776, -0.003997368272393942, -0.04231546074151993, 0.011135022155940533, -0.030239535495638847, 0.01876603439450264, 0.008916028775274754, 0.02232196368277073, 0.05279779061675072, 0.03727060556411743, -0.033503156155347824, 0.0373450331389904, 0.0391061045229435, -0.022355373948812485, 0.02169552631676197, -0.01754268817603588, 0.022572461515665054, 0.036220308393239975, 0.020484505221247673, 0.014052651822566986, 0.01195153221487999, -0.11169695854187012, -0.0895618200302124, -0.21969015896320343, 0.00977383740246296, -0.014422155916690826, -0.041393183171749115, 0.02306271530687809, -0.02610757015645504, 0.027530545368790627, -0.0052609811536967754, 0.0072031873278319836, 0.053013045340776443, 0.09762969613075256, -0.004037388134747744, -0.009635167196393013, 0.0005435392376966774, -0.0038528863806277514, 0.02771076187491417, 0.00767444958910346, -0.005532848183065653, -0.03444945067167282, -0.04161643236875534, -0.04132029786705971, 0.01715186797082424, -0.003342683892697096, -0.07177447527647018, 0.02508511021733284, -0.04090007022023201, 0.2423143833875656, 0.08324611186981201, 0.013223348185420036, 0.007874032482504845, 0.04542720690369606, 0.05154666304588318, -0.023966582491993904, -0.07880549132823944, 0.043325070291757584, 0.04728925600647926, 0.01500859297811985, -0.007846323773264885, -0.02654266357421875, -0.03900912404060364, 0.004984974395483732, 0.037630122154951096, -0.037889912724494934, -0.05230970308184624, 0.013303538784384727, -0.013141993433237076, -0.05591548606753349, 0.022277643904089928, -0.0008085650042630732, 0.03054780513048172, 0.004750190768390894, 0.003815003903582692, 0.011241243220865726, -0.00520644336938858, 0.01070659700781107, -0.041008468717336655, -0.06836990267038345, 0.0001884994126157835, 0.011887585744261742, 0.08077608048915863, -0.03717010095715523, -0.04880974069237709, -0.00248718517832458, -0.05781833454966545, 0.042964138090610504, 0.02935105375945568, -0.025666022673249245, -0.01836252398788929, 0.023767167702317238, -0.04137985780835152, -0.029342837631702423, 0.1042046770453453, 0.011795024387538433, -0.020876331254839897, 0.06768283993005753, 0.015013860538601875, 0.012978017330169678, 0.004932412877678871, 0.020686591044068336, -0.04560099542140961, 0.0675651803612709, -0.014062021858990192, 0.0021335522178560495, 0.026589713990688324, 0.026189103722572327, 0.03297779709100723, 0.02020636573433876, -0.04103992134332657, 0.05410914495587349, -0.06243860349059105, -0.0018309217412024736, 0.006263526622205973, -0.0628662034869194, -0.02198319137096405, 0.02863173745572567, 0.015236610546708107, -0.3367270529270172, 0.08729526400566101, 0.03432115912437439, 0.03940073400735855, 0.0007021783385425806, 0.019870247691869736, 0.034530624747276306, 0.013432354666292667, -0.02898086979985237, 0.009431343525648117, -0.0031311919447034597, 0.027804289013147354, 0.04246177896857262, -0.0564851276576519, -0.010595250874757767, 0.04529259353876114, 0.02266635186970234, -0.0366666354238987, 0.04269503802061081, -0.04178415611386299, 0.011736457236111164, 0.01574317365884781, 0.22840476036071777, -0.018510596826672554, -0.03018185868859291, 0.01857222430408001, -0.02064277045428753, 0.0029768729582428932, 0.03419388830661774, 0.015614302828907967, 0.004047384951263666, -0.011344701051712036, 0.04279003664851189, 0.0037745428271591663, 0.020096488296985626, 0.06734117120504379, -0.06946258246898651, 0.008192677982151508, 0.02288532815873623, -0.055135540664196014, -0.031229006126523018, 0.002276401501148939, -0.051492463797330856, -0.028501879423856735, 0.08996038883924484, 0.0013296796241775155, 0.0004176332149654627, -0.045800793915987015, 0.01863357052206993, 0.0012029430363327265, -0.03782081976532936, 0.009241684339940548, -0.026587605476379395, 0.005544908810406923, 0.03550304099917412, 0.024317435920238495, -0.01368682086467743, -0.023027153685688972, -0.03120063804090023, 0.029732469469308853, 0.020375477150082588, -0.04233146458864212, 0.0016435032011941075, 0.016277149319648743, 0.037549737840890884 ]
devcenter
https://www.mongodb.com/developer/products/atlas/using-confluent-cloud-atlas-stream-processing
created
[7]: https://images.contentstack.io/v3/assets/blt39790b633ee0d5a7/blt2748832416fdcf8e/652996cd24aaaa5cb2e56799/image15.png [8]: https://images.contentstack.io/v3/assets/blt39790b633ee0d5a7/blt9010c25a76edb010/652996f401c1899afe4a465b/image7.png [9]: https://images.contentstack.io/v3/assets/blt39790b633ee0d5a7/blt27b3762b12b6b871/652997508adde5d1c8f78a54/image3.png
md
{ "tags": [ "Atlas" ], "pageDescription": "Learn how to configure network connectivity between Confluent Cloud and MongoDB Atlas Stream Processing.", "contentType": "Tutorial" }
Using the Confluent Cloud with Atlas Stream Processing
2024-05-20T17:32:23.500Z
[ -0.05470622703433037, -0.00917544960975647, 0.03394338861107826, -0.02006351761519909, 0.035498231649398804, 0.023062633350491524, -0.004688433837145567, 0.02654476836323738, 0.007589690387248993, -0.039025355130434036, 0.022938014939427376, -0.09056271612644196, 0.04242580756545067, 0.02857508324086666, 0.04918224737048149, -0.011318590492010117, 0.03877490013837814, 0.028884459286928177, -0.06995585560798645, 0.01820516213774681, 0.039496779441833496, 0.0007177158258855343, 0.01048559695482254, -0.0794457197189331, 0.003789035603404045, 0.020416609942913055, -0.02141266129910946, -0.0062936218455433846, -0.04029886797070503, -0.19597753882408142, -0.010274546220898628, -0.04589239880442619, 0.048206914216279984, -0.0471709743142128, 0.008311271667480469, 0.002734633395448327, -0.028868673369288445, 0.0656752735376358, -0.03206891193985939, 0.04270993545651436, 0.06370147317647934, -0.02824043110013008, -0.058442939072847366, -0.025886693969368935, -0.022958610206842422, -0.04820362478494644, -0.010106797330081463, -0.011265714652836323, 0.028229273855686188, -0.04429343715310097, -0.014271141961216927, -0.014962725341320038, 0.0035705906338989735, 0.02810269221663475, -0.0011955302907153964, 0.018546972423791885, 0.0592760294675827, 0.01919499598443508, 0.031187105923891068, 0.055006690323352814, 0.05548335239291191, 0.017892859876155853, -0.23083752393722534, 0.0631227046251297, 0.053808365017175674, 0.01651933789253235, -0.04821213707327843, 0.0038155908696353436, -0.0045826924033463, 0.05051996186375618, -0.0195313710719347, 0.03586597740650177, -0.0053052655421197414, 0.035036541521549225, 0.014584542252123356, -0.04928915575146675, -0.019125571474432945, 0.002457080641761422, -0.05045723170042038, -0.03396240621805191, -0.0013224163558334112, -0.010620662942528725, -0.019962355494499207, -0.009845290333032608, 0.009271475486457348, -0.041986946016550064, -0.03257228806614876, -0.0779946967959404, 0.057324159890413284, 0.013730647973716259, -0.010263965465128422, -0.001128299511037767, 0.0027636135928332806, 0.03452343866229057, -0.07051645219326019, -0.034686826169490814, 0.03181490674614906, -0.019108407199382782, -0.004759885836392641, 0.2139723151922226, -0.09601069986820221, 0.011505857110023499, 0.07371686398983002, 0.0029972419142723083, 0.041734129190444946, -0.058195799589157104, -0.000009740409950609319, -0.049663085490465164, -0.03224649652838707, 0.04953492432832718, 0.0020255453418940306, -0.015300920233130455, 0.06028395891189575, -0.05339585617184639, 0.028286218643188477, -0.006988203153014183, 0.03682747110724449, 0.005646234843879938, -0.03320695832371712, -0.03044012188911438, -0.01157405599951744, 0.04156573861837387, 0.026721948757767677, -0.01457243412733078, 0.04744083806872368, -0.013971053995192051, 0.04790341109037399, 0.09754519164562225, 0.09544283896684647, 0.057964619249105453, 0.05428607016801834, 0.00034333975054323673, 0.000607491354458034, -0.018591172993183136, -0.013772905804216862, 0.04528621584177017, 0.01850925385951996, -0.02629738487303257, 0.013546837493777275, -0.016457416117191315, -0.043581604957580566, -0.15635818243026733, 0.022143470123410225, -0.0888102799654007, -0.017795374616980553, 0.08257883042097092, -0.02144022099673748, 0.020880820229649544, -0.09503407031297684, 0.009890240617096424, 0.011187946423888206, 0.026676028966903687, -0.04637288674712181, 0.00519145280122757, 0.019998367875814438, 0.006410282105207443, 0.05112019553780556, 0.08626317977905273, -0.02428276836872101, -0.01440171618014574, -0.022979991510510445, -0.056326862424612045, -0.05743738263845444, 0.09534724056720734, 0.02431441843509674, -0.09487347304821014, -0.012959052808582783, -0.0022928835824131966, -0.0010756809497252107, -0.009873385541141033, -0.030541101470589638, 0.04538356140255928, -0.022050490602850914, 0.0361766517162323, 0.1282656341791153, 0.007397260516881943, -0.03900067135691643, -0.0077513437718153, -0.0017457158537581563, 0.019626077264547348, 0.0007868569227866828, -0.030555415898561478, -0.03966771438717842, 0.08392388373613358, 0.014353500679135323, -0.05065669119358063, 0.017320381477475166, -0.03665482997894287, 0.06763684004545212, 0.06305306404829025, -0.022912226617336273, 0.013179500587284565, -0.03857619687914848, 0.012087061069905758, -0.022842591628432274, -0.07028911262750626, -0.03894783556461334, -0.03612112998962402, -0.0028768819756805897, -0.05665123835206032, 0.08561309427022934, -0.022244125604629517, -0.04071517288684845, 0.013655433431267738, -0.043571192771196365, 0.018050840124487877, -0.006940322462469339, -0.0008939709514379501, 0.05251345410943031, 0.04133711755275726, -0.037729959934949875, 0.036693256348371506, 0.042098551988601685, -0.0032715420238673687, 0.02307864837348461, -0.03562430292367935, 0.011294826865196228, 0.029885176569223404, 0.004776075482368469, 0.01109367422759533, 0.01803015172481537, -0.10538637638092041, -0.08170386403799057, -0.21653594076633453, -0.01882821135222912, -0.007969728671014309, -0.05190268158912659, 0.009409568272531033, -0.028952624648809433, 0.003042144002392888, -0.016765058040618896, 0.01282206829637289, 0.047352612018585205, 0.07680211216211319, -0.0018885134486481547, -0.04587804526090622, -0.0063749332912266254, -0.03258172795176506, -0.004066417459398508, 0.008692245930433273, -0.008268369361758232, -0.03088323026895523, -0.015116135589778423, -0.0491253063082695, 0.020951470360159874, -0.010731504298746586, -0.08235815912485123, 0.031044306233525276, -0.021952582523226738, 0.23176230490207672, 0.08927172422409058, 0.019377948716282845, 0.008372124284505844, 0.023127024993300438, 0.05349826440215111, -0.026843031868338585, -0.1065954640507698, 0.04393937066197395, 0.03976834937930107, 0.01375576201826334, -0.011334890499711037, -0.0053048087283968925, -0.03476526960730553, -0.007456609047949314, 0.044673942029476166, -0.022127406671643257, -0.0481235571205616, 0.0323239341378212, -0.033073026686906815, -0.03433308005332947, 0.010950409807264805, -0.002192816464230418, 0.031038347631692886, 0.011342398822307587, 0.023204036056995392, 0.013894613832235336, -0.007049873471260071, 0.0016667256131768227, -0.024953456595540047, -0.03671693056821823, -0.010073191486299038, -0.02347206510603428, 0.0948435366153717, -0.0047272732481360435, -0.05442141368985176, -0.014700504019856453, -0.07811053097248077, 0.05873828008770943, 0.021853316575288773, -0.01199513953179121, -0.04489713907241821, 0.036322396248579025, -0.04051295667886734, -0.038716211915016174, 0.11598692834377289, 0.015214469283819199, -0.001750138239003718, 0.058711372315883636, 0.027395570650696754, 0.015545020811259747, -0.0030380235984921455, 0.01884300448000431, -0.022761080414056778, 0.05143224820494652, -0.025986382737755775, 0.006044087931513786, 0.06536715477705002, 0.030468273907899857, 0.039474744349718094, 0.03340473398566246, -0.032264288514852524, 0.07279250770807266, -0.04698381572961807, -0.011208041571080685, -0.019018687307834625, -0.04576503112912178, -0.01625065505504608, 0.024255895987153053, 0.012241382151842117, -0.32585370540618896, 0.08415579050779343, 0.030856767669320107, 0.03295159339904785, 0.014483333565294743, 0.03625330328941345, 0.027560293674468994, 0.02810725010931492, -0.04739007726311684, 0.010098952800035477, 0.005489649251103401, 0.06340596824884415, 0.02049468457698822, -0.022991180419921875, 0.0059045893140137196, 0.011637581512331963, 0.027855245396494865, -0.015884868800640106, 0.03974118083715439, -0.026487089693546295, 0.020656554028391838, 0.007490816526114941, 0.22408324480056763, -0.03009825386106968, -0.03372363746166229, 0.011983375065028667, -0.02615261822938919, 0.007702854927629232, 0.041797202080488205, 0.006521098781377077, 0.028991881757974625, 0.0073860203847289085, 0.054393235594034195, -0.023549312725663185, 0.004493306390941143, 0.048344846814870834, -0.07311279326677322, 0.013614299707114697, 0.0014839223586022854, -0.03877459093928337, -0.030020345002412796, 0.01676993817090988, -0.06243929639458656, -0.03535180538892746, 0.08553121984004974, -0.019055115059018135, -0.0009565467480570078, -0.033241625875234604, 0.037539515644311905, 0.007085240911692381, -0.05391111969947815, 0.005947507917881012, -0.029382063075900078, 0.00632995693013072, 0.032947294414043427, 0.03816774860024452, -0.015176799148321152, -0.011355257593095303, -0.024137677624821663, 0.011346407234668732, 0.03095463290810585, -0.032503001391887665, -0.0055723777040839195, 0.025576269254088402, 0.036756668239831924 ]
devcenter
https://www.mongodb.com/developer/products/atlas/charts-javascript-sdk
created
Refresh Only in USA
md
{ "tags": [ "Atlas", "JavaScript" ], "pageDescription": "Learn how to visualize your data with MongoDB Charts.", "contentType": "Tutorial" }
Working with MongoDB Charts and the New JavaScript SDK
2024-05-20T17:32:23.500Z
[ -0.052861735224723816, -0.017022034153342247, 0.030785616487264633, 0.021469678729772568, 0.046722445636987686, 0.024521060287952423, -0.033396195620298386, 0.05982688069343567, -0.020624719560146332, -0.004901571199297905, 0.00907638855278492, -0.031124966219067574, 0.009232334792613983, 0.03404337540268898, -0.00993562676012516, -0.010065017268061638, 0.03424891084432602, -0.024791885167360306, -0.049552008509635925, -0.025887051597237587, 0.045792557299137115, 0.0003430073556955904, -0.01624436303973198, -0.03878358379006386, 0.01943328231573105, 0.005460482090711594, -0.029856305569410324, 0.00339992786757648, -0.02633764035999775, -0.18855547904968262, -0.03407742828130722, -0.04786171391606331, -0.041053809225559235, -0.023167241364717484, -0.047826509922742844, -0.0845351293683052, -0.017954425886273384, 0.02891651727259159, -0.008143031969666481, 0.049101147800683975, 0.04863898456096649, 0.023405201733112335, -0.008937006816267967, -0.03249761834740639, -0.06908266991376877, -0.024470675736665726, -0.08120301365852356, -0.00825384259223938, 0.07097133249044418, -0.02020055428147316, 0.08356216549873352, -0.016905121505260468, 0.006946537643671036, 0.020980682224035263, 0.028782108798623085, 0.044757306575775146, 0.041816722601652145, 0.037857625633478165, 0.03966810181736946, 0.02489604987204075, 0.016804711893200874, 0.022635024040937424, -0.23379798233509064, 0.022086424753069878, 0.023171190172433853, 0.019044695422053337, -0.042073797434568405, -0.03512720391154289, 0.008040440268814564, -0.021206021308898926, -0.06501679122447968, 0.03730006143450737, -0.012542977929115295, 0.024666044861078262, 0.008420501835644245, -0.019133280962705612, 0.002749304985627532, -0.035061806440353394, -0.02836143784224987, 0.08845040202140808, 0.00773337297141552, -0.0668177679181099, -0.05862932652235031, -0.026351701468229294, 0.011256788857281208, -0.08227046579122543, -0.01601291634142399, -0.032232023775577545, 0.02740372344851494, 0.01793094538152218, -0.04988229274749756, -0.00636145006865263, 0.009713169187307358, 0.016486756503582, -0.09876656532287598, -0.06463552266359329, 0.04723748192191124, 0.06594706326723099, -0.0749545693397522, 0.2165396809577942, -0.01709866151213646, 0.07752470672130585, 0.034358542412519455, -0.006939614191651344, 0.013756437227129936, -0.0006751183536835015, -0.005736660212278366, 0.028448928147554398, -0.028074152767658234, 0.027021411806344986, -0.007281922269612551, -0.028802767395973206, 0.0716850757598877, -0.026168832555413246, 0.045929018408060074, 0.014125160872936249, 0.01573718711733818, 0.005732972640544176, -0.002362934174016118, -0.029258234426379204, -0.0010679723927751184, 0.03464122861623764, 0.03274614363908768, -0.07400847971439362, -0.03227007016539574, -0.0725797563791275, 0.06634078919887543, 0.12181703001260757, 0.020717507228255272, 0.04238893464207649, 0.06152883544564247, -0.027764754369854927, -0.01910456456243992, -0.009586323983967304, 0.05335206910967827, 0.0324268713593483, -0.007592926267534494, -0.02972898632287979, 0.040177684277296066, -0.013930989429354668, -0.019434599205851555, -0.08047139644622803, -0.011282580904662609, -0.08861997723579407, -0.0008294106810353696, 0.08394812792539597, 0.004535354673862457, 0.06356930732727051, -0.07210495322942734, 0.021854134276509285, -0.010388852097094059, -0.011465439572930336, -0.03656869754195213, 0.011467838659882545, -0.011158851906657219, 0.02077079564332962, 0.0525066964328289, 0.023796765133738518, -0.0438687689602375, 0.0012998668244108558, 0.03153658285737038, -0.03814180567860603, -0.05016708746552467, 0.07634816318750381, 0.03715632110834122, -0.07342678308486938, -0.02764497883617878, -0.009488588199019432, 0.010021773166954517, -0.028643816709518433, 0.026182252913713455, 0.046585455536842346, 0.00025513910804875195, 0.015206792391836643, 0.13794884085655212, 0.03965367004275322, -0.027400145307183266, 0.016435327008366585, 0.0032227078918367624, 0.008984167128801346, 0.02630835585296154, -0.06613154709339142, -0.010624449700117111, 0.02906412072479725, 0.034786004573106766, -0.06612703204154968, 0.008586496114730835, -0.0038180958945304155, 0.028435494750738144, 0.04224544018507004, -0.07811945676803589, 0.00908943172544241, -0.07306044548749924, -0.0008368995622731745, -0.012554646469652653, -0.007379821036010981, -0.06362199038267136, 0.0020704863127321005, 0.09596039354801178, -0.03203579783439636, 0.08187415450811386, 0.012179509736597538, -0.025505246594548225, 0.01804007589817047, 0.06684180349111557, 0.06562265753746033, 0.0063239275477826595, -0.05599081516265869, 0.06065108999609947, 0.01088847778737545, -0.020079176872968674, 0.05467618629336357, 0.028602397069334984, -0.030908741056919098, -0.0381004735827446, 0.037299204617738724, -0.00654492387548089, 0.004487902391701937, 0.020995045080780983, 0.06751056760549545, 0.07801064848899841, -0.008180210366845131, -0.01652471348643303, -0.23592142760753632, 0.014084395952522755, 0.017632562667131424, -0.03715052828192711, 0.03385957330465317, -0.057238996028900146, 0.034404948353767395, 0.02065272629261017, 0.05908283591270447, 0.05609583109617233, 0.03466600552201271, 0.04548366367816925, 0.00019495472952257842, 0.05728963389992714, 0.018451664596796036, 0.02089366875588894, 0.04602611064910889, 0.04603400081396103, 0.01493651419878006, -0.05752318724989891, 0.0032374602742493153, -0.018144724890589714, -0.0759982019662857, -0.08080432564020157, 0.10619054734706879, -0.019129224121570587, 0.21632343530654907, -0.024768808856606483, -0.010020247660577297, -0.03422914445400238, 0.03235022351145744, 0.04259086400270462, -0.008809766732156277, -0.11847161501646042, 0.041735995560884476, 0.06307034939527512, 0.023923881351947784, -0.011666645295917988, -0.04570017009973526, -0.0069512720219790936, 0.01773412898182869, 0.04168524220585823, -0.015609060414135456, -0.08188381046056747, -0.017087485641241074, -0.0703485906124115, -0.03226686641573906, 0.024117760360240936, -0.016815578565001488, -0.007597122807055712, 0.014712073840200901, -0.027584927156567574, 0.044487010687589645, 0.028692133724689484, 0.004529397469013929, -0.05026540160179138, -0.034850284457206726, 0.05017074942588806, -0.024152860045433044, 0.023367319256067276, -0.017426999285817146, -0.04262905195355415, -0.004767091479152441, -0.04071309417486191, 0.033267710357904434, 0.015518526546657085, 0.03131932392716408, -0.030753636732697487, 0.0495375320315361, -0.03215087950229645, -0.020471248775720596, 0.07286372780799866, -0.001190203707665205, -0.005668950732797384, 0.026335597038269043, 0.014374472200870514, 0.06492994725704193, -0.03382137417793274, 0.004965969827026129, -0.01321029756218195, 0.012151281349360943, -0.009746573865413666, 0.03902739658951759, 0.04047299921512604, 0.028815902769565582, 0.010230036452412605, 0.03105691447854042, -0.006326840724796057, 0.014537567272782326, -0.010658948682248592, -0.01637094095349312, -0.030525384470820427, -0.03402186185121536, -0.06629929691553116, 0.02047547698020935, 0.003924062941223383, -0.29987478256225586, 0.019206399098038673, -0.03679769113659859, 0.029422778636217117, -0.01605157181620598, 0.015320345759391785, 0.0157966036349535, 0.05287618562579155, -0.09642733633518219, 0.0056568775326013565, -0.0025662470143288374, -0.002438344992697239, -0.012445387430489063, 0.0010365158086642623, 0.01876853220164776, 0.017878154292702675, 0.07502291351556778, -0.003755497746169567, 0.07159965485334396, -0.057458505034446716, 0.0013083189260214567, 0.03053119033575058, 0.21911565959453583, -0.017556387931108475, 0.036296989768743515, 0.04311234503984451, 0.0013920404016971588, 0.026687297970056534, 0.011178982444107533, -0.008132548071444035, 0.005150686018168926, 0.005310202017426491, 0.055148061364889145, -0.02177993766963482, 0.0402623675763607, -0.017836088314652443, -0.06712144613265991, 0.043638426810503006, 0.03943723440170288, -0.05389166250824928, -0.07909181714057922, 0.03819267451763153, -0.07240043580532074, -0.0259575042873621, 0.08137504756450653, -0.05246021971106529, -0.05564206466078758, -0.050436343997716904, -0.005555527284741402, 0.001266053644940257, -0.033473171293735504, -0.04596365615725517, -0.007378553040325642, 0.00669088726863265, 0.013035889714956284, 0.008182313293218613, -0.06112958863377571, -0.03458010032773018, -0.02086813375353813, -0.005163492634892464, 0.03892116621136665, 0.0008011460886336863, -0.03408004716038704, 0.017152130603790283, 0.008382318541407585 ]
devcenter
https://www.mongodb.com/developer/products/atlas/how-send-mongodb-document-changes-slack-channel
created
# How to Send MongoDB Document Changes to a Slack Channel In this tutorial, we will explore a seamless integration of your database with Slack using Atlas Triggers and the Slack API. Discover how to effortlessly send notifications to your desired Slack channels, effectively connecting the operations happening within your collections and relaying them in real-time updates. The overall flow will be: . Once this has been completed, we are ready to start creating our first database trigger that will react every time there is an operation in a certain collection. ## Atlas trigger For this tutorial, we will create a trigger that monitors all changes in a `test` collection for `insert`, `update`, and `delete` operations. To create a new database trigger, you will need to:
md
{ "tags": [ "Atlas", "JavaScript" ], "pageDescription": "Learn how to use triggers in MongoDB Atlas to send information about changes to a document to Slack.", "contentType": "Tutorial" }
How to Send MongoDB Document Changes to a Slack Channel
2024-05-20T17:32:23.500Z
[ -0.04861075058579445, -0.005022979341447353, 0.018411647528409958, -0.025806263089179993, 0.041048526763916016, -0.016023894771933556, -0.008149237371981144, 0.04268723726272583, -0.016180451959371567, -0.02218848466873169, 0.01085320021957159, -0.027191177010536194, 0.006841033231467009, 0.025343457236886024, -0.017464013770222664, -0.006875770632177591, -0.031442850828170776, 0.0042515406385064125, -0.07359888404607773, 0.026614416390657425, 0.0017847726121544838, -0.008626560680568218, -0.018009381368756294, 0.006907359231263399, 0.013849243521690369, 0.07018981873989105, -0.040235962718725204, -0.04802946746349335, -0.05378809943795204, -0.21725454926490784, 0.0024315831251442432, -0.07185438275337219, 0.04047615826129913, -0.04518864303827286, -0.00018283423560205847, -0.02240755222737789, -0.03228582814335823, 0.052802205085754395, -0.061959948390722275, 0.012789144180715084, 0.08350129425525665, 0.04498409479856491, 0.0013485206291079521, -0.08535713702440262, -0.04002295061945915, -0.07155729830265045, 0.009512951597571373, -0.017550816759467125, 0.005458163563162088, -0.03422422334551811, 0.002512156032025814, -0.05672197788953781, -0.022623250260949135, 0.0030984776094555855, 0.016462363302707672, 0.036582235246896744, 0.05037691071629524, 0.05943390354514122, 0.015437798574566841, 0.011194481514394283, 0.06944096088409424, 0.021957630291581154, -0.1764507293701172, 0.10466089099645615, 0.030346445739269257, 0.07484214007854462, -0.02187751606106758, -0.03187742829322815, 0.04303952306509018, 0.03719872981309891, -0.03800838813185692, 0.00890393741428852, -0.02063746191561222, 0.061750590801239014, 0.031465258449316025, -0.027704479172825813, 0.020816881209611893, -0.023268500342965126, 0.009461713023483753, 0.02698417939245701, -0.03240777924656868, 0.007033142261207104, -0.011698831804096699, 0.006480309180915356, -0.02610923908650875, -0.007724670227617025, 0.06695842742919922, -0.06436624377965927, 0.0046165441162884235, 0.0003579303156584501, -0.03765915706753731, -0.0032913642935454845, 0.04813588783144951, 0.018809925764799118, -0.09900683164596558, -0.009305738843977451, 0.014468710869550705, 0.031355272978544235, -0.03417719528079033, 0.23535922169685364, -0.03980184346437454, 0.042477261275053024, -0.004265900235623121, 0.00422730902209878, 0.039448995143175125, -0.04316091910004616, -0.012958857230842113, -0.02278202958405018, -0.026142675429582596, 0.023540262132883072, 0.00918474979698658, -0.042427510023117065, 0.03303118050098419, -0.06186830624938011, 0.04214636981487274, 0.04562993720173836, 0.01615811511874199, 0.0469224639236927, -0.020139437168836594, 0.0037997195031493902, 0.0006863732705824077, 0.03582669794559479, 0.06263090670108795, 0.0020478274673223495, 0.044357240200042725, -0.03559574484825134, 0.07826247066259384, 0.09600082039833069, 0.019985849037766457, 0.05718528851866722, 0.027406984940171242, 0.022258128970861435, -0.10005025565624237, 0.014938369393348694, 0.04010045528411865, -0.012452357448637486, -0.0066574034281075, 0.01985165663063526, 0.029066335409879684, 0.015301077626645565, -0.03960190713405609, -0.052357885986566544, -0.006658721249550581, -0.12221818417310715, -0.03850814327597618, 0.11143839359283447, -0.03522998094558716, 0.07877068966627121, -0.08693069964647293, -0.035733141005039215, -0.0006997166201472282, 0.009568613022565842, -0.046022478491067886, -0.01764794811606407, 0.0024842850398272276, 0.0026828916743397713, 0.03796323761343956, 0.08085550367832184, -0.016209151595830917, -0.0017342320643365383, -0.03970753401517868, -0.02674156427383423, -0.035281576216220856, 0.07268747687339783, 0.006632833741605282, -0.12940914928913116, -0.017160963267087936, 0.017214225605130196, 0.012924227863550186, -0.05673367530107498, -0.0028229658491909504, 0.042379338294267654, -0.023704254999756813, 0.008004640229046345, 0.10463354736566544, -0.0024979268200695515, -0.03837837278842926, -0.010225904174149036, 0.02318495325744152, -0.031291663646698, 0.03335389122366905, -0.04026885703206062, -0.0003859722928609699, 0.04360843449831009, 0.005984290968626738, -0.043108176440000534, -0.015452921390533447, -0.029663851484656334, 0.04622085765004158, 0.04307827726006508, -0.0028069426771253347, 0.017289401963353157, -0.0018342145485803485, -0.014601347036659718, -0.026293670758605003, -0.028165237978100777, -0.013504689559340477, -0.024754317477345467, -0.024210212752223015, -0.04518340155482292, 0.05956454575061798, 0.028121771290898323, -0.027201592922210693, 0.0288204587996006, 0.011853480711579323, -0.010555021464824677, -0.05104980990290642, -0.023301737383008003, 0.04074058309197426, -0.010277338325977325, -0.018921904265880585, 0.017613811418414116, 0.047536030411720276, -0.017268050462007523, -0.014810828492045403, -0.014386891387403011, 0.04213754087686539, 0.07948658615350723, -0.015170777216553688, 0.02664291113615036, 0.02711503580212593, -0.04300082474946976, 0.021093599498271942, -0.26569366455078125, 0.013344923034310341, -0.01694542169570923, 0.005849628243595362, 0.012950330972671509, -0.03862800821661949, 0.010445303283631802, -0.027176374569535255, -0.03205182030797005, 0.04149140045046806, 0.09807766228914261, 0.004213469568639994, 0.008263112977147102, -0.008444101549685001, 0.024612432345747948, 0.10526485741138458, -0.01515111792832613, 0.009204570204019547, -0.02912587672472, -0.027733705937862396, 0.004349675495177507, 0.012506155297160149, -0.025349503383040428, -0.08238044381141663, 0.0027310731820762157, 0.015472299419343472, 0.2108827829360962, 0.031289875507354736, -0.021520497277379036, -0.049171991646289825, 0.03720517084002495, 0.0107143959030509, 0.0012529079103842378, -0.09454480558633804, 0.012038297019898891, 0.033234938979148865, 0.02769036777317524, 0.030578427016735077, 0.002363372128456831, -0.04040096700191498, -0.052404869347810745, 0.018924778327345848, 0.0331914946436882, -0.11750446259975433, 0.0005881525576114655, -0.0353824719786644, -0.015646345913410187, -0.0008917605155147612, -0.050792381167411804, 0.006800760980695486, -0.005191237200051546, -0.00372518552467227, 0.05550546944141388, 0.016830557957291603, -0.0376812145113945, -0.03215962275862694, -0.04855252429842949, 0.02060840092599392, -0.04091426357626915, 0.029588598757982254, -0.0004897164762951434, -0.0029022886883467436, 0.013408000580966473, -0.030714266002178192, 0.05392073094844818, 0.00088486447930336, -0.008946845307946205, -0.019348690286278725, 0.028593363240361214, -0.05285986140370369, -0.009079799056053162, 0.08192961663007736, -0.0474499873816967, 0.026963159441947937, 0.04625220224261284, 0.03191012516617775, -0.014324603602290154, -0.02564626932144165, -0.04359337314963341, -0.06988705694675446, 0.045669879764318466, -0.008479551412165165, 0.02083544060587883, 0.057873066514730453, -0.0011870963498950005, 0.04809368774294853, 0.049629516899585724, -0.014872130937874317, 0.037944864481687546, -0.02326827682554722, -0.011458898894488811, 0.002553535159677267, -0.029762977734208107, -0.03483254462480545, 0.022599080577492714, -0.0019115129252895713, -0.2701573669910431, 0.03452135995030403, -0.0075561655685305595, 0.016164809465408325, 0.0027402001433074474, 0.059022992849349976, 0.04275619238615036, 0.0314091257750988, -0.05165838822722435, 0.022314703091979027, 0.017725756391882896, 0.04395556449890137, -0.007136747241020203, 0.033222928643226624, 0.017904525622725487, 0.06798426806926727, 0.020360223948955536, -0.0604618601500988, 0.009056510403752327, -0.059968482702970505, 0.034907266497612, 0.02732241153717041, 0.23474235832691193, 0.029009100049734116, 0.0531684048473835, 0.05446206033229828, -0.003733457764610648, 0.05845174565911293, 0.09454771131277084, 0.02240459993481636, -0.0050986590795218945, 0.008157371543347836, 0.044360436499118805, -0.017687279731035233, 0.053235914558172226, 0.037710122764110565, -0.037407971918582916, 0.04832164943218231, 0.033697646111249924, -0.039000168442726135, -0.0899447500705719, 0.04520228132605553, -0.03024790808558464, 0.019498033449053764, 0.0976121574640274, -0.024581335484981537, -0.08639732748270035, -0.07324443757534027, 0.005468476098030806, 0.05150170996785164, -0.06802535057067871, -0.03166695311665535, -0.00818893313407898, 0.020218566060066223, 0.004773050080984831, 0.015150535851716995, -0.0612710677087307, -0.05063730105757713, -0.05688538774847984, -0.014289305545389652, 0.036977168172597885, -0.10107886046171188, 0.010622449219226837, 0.010341061279177666, -0.038195617496967316 ]
devcenter
https://www.mongodb.com/developer/products/atlas/how-send-mongodb-document-changes-slack-channel
created
To create a new database trigger, you will need to: 1. Click the **Data Services** tab in the top navigation of your screen if you haven't already navigated to Atlas. 2. Click **Triggers** in the left-hand navigation. 3. On the **Overview** tab of the **Triggers** page, click **Add Trigger** to open the trigger configuration page. 4. Enter the configuration values for the trigger and click **Save** at the bottom of the page. Please note that this trigger will make use of the *event ordering* as we want the operations to be processed according to when they were performed. The trigger configuration values will look like this: using the UI, we need to: 1. Click the **Data Services** tab in the top navigation of your screen if you haven't already navigated to Atlas. 2. Click **Functions** in the left navigation menu.
md
{ "tags": [ "Atlas", "JavaScript" ], "pageDescription": "Learn how to use triggers in MongoDB Atlas to send information about changes to a document to Slack.", "contentType": "Tutorial" }
How to Send MongoDB Document Changes to a Slack Channel
2024-05-20T17:32:23.500Z
[ -0.06363121420145035, -0.011451954022049904, -0.004165022633969784, -0.04976668953895569, -0.020153731107711792, 0.040829598903656006, 0.022447839379310608, 0.023276960477232933, 0.02600770816206932, -0.05873127654194832, 0.0033851326443254948, -0.017807122319936752, 0.031925491988658905, 0.036146972328424454, 0.008659526705741882, 0.003985736519098282, -0.033163536339998245, 0.009837460704147816, -0.04157084971666336, 0.04975997656583786, 0.014914117753505707, -0.04868052154779434, -0.01435988862067461, -0.023582424968481064, 0.00110141234472394, 0.05776244029402733, -0.05501389130949974, -0.046318382024765015, -0.012733749113976955, -0.18881480395793915, 0.012240557931363583, -0.05756239965558052, 0.01631147786974907, -0.08759865164756775, -0.032095424830913544, -0.06152687594294548, -0.05445946380496025, 0.04880065098404884, -0.02399476431310177, 0.000977404066361487, 0.03958790376782417, 0.0328170582652092, -0.003133457386866212, -0.05750449001789093, -0.015561357140541077, -0.07712018489837646, 0.017589518800377846, 0.00221040821634233, 0.044675786048173904, -0.029951130971312523, 0.025235474109649658, -0.05396371707320213, -0.038175150752067566, -0.03276877477765083, 0.027613988146185875, 0.03000779077410698, 0.04678955674171448, 0.03798917680978775, 0.0351240411400795, 0.008363952860236168, 0.07004968076944351, 0.02999679185450077, -0.18780674040317535, 0.10168381035327911, 0.025773439556360245, 0.027942612767219543, -0.008503532037138939, -0.03235458955168724, 0.03959295153617859, 0.04193296283483505, -0.08399686217308044, 0.004928620997816324, 0.010687664151191711, 0.07204791158437729, 0.030520929023623466, -0.050399307161569595, -0.003155661514028907, -0.006580891087651253, -0.003987879492342472, 0.024567177519202232, -0.010064012371003628, -0.0032476764172315598, -0.006719250697642565, 0.0150101687759161, -0.022897938266396523, 0.021197792142629623, 0.038449376821517944, -0.05382801964879036, 0.03437746688723564, 0.019958874210715294, -0.005816652439534664, -0.01912630721926689, 0.00999719649553299, -0.01142281573265791, -0.07807955145835876, -0.010667158290743828, 0.005229146219789982, 0.018166009336709976, -0.061248503625392914, 0.2055002599954605, -0.0460083968937397, 0.03371049463748932, 0.02317800372838974, 0.03753812611103058, 0.005168903153389692, -0.03651328757405281, -0.027693385258316994, -0.025224320590496063, -0.029814019799232483, 0.03524396941065788, 0.006320205517113209, -0.031269896775484085, 0.034446168690919876, -0.08644429594278336, 0.05934663489460945, 0.0484573096036911, -0.010113426484167576, -0.019950438290834427, 0.0037688021548092365, -0.004863128997385502, 0.021686647087335587, -0.020384609699249268, 0.028404666110873222, -0.005906900856643915, 0.04367727413773537, -0.04533138498663902, 0.03401145711541176, 0.10684791952371597, 0.0012247932609170675, 0.05623152107000351, 0.02508559823036194, -0.007617184892296791, -0.09330759942531586, 0.021578941494226456, 0.0017330159898847342, -0.0072528221644461155, 0.03180423751473427, 0.008229480125010014, 0.01879534311592579, -0.0233932938426733, -0.04398355633020401, -0.06649722158908844, -0.004799199756234884, -0.11926557123661041, -0.03801637515425682, 0.1465170979499817, -0.07272805273532867, 0.008023199625313282, -0.08713588118553162, 0.0075315129943192005, 0.001885714358650148, 0.027797022834420204, -0.05358061194419861, 0.0010039194021373987, -0.03220395743846893, 0.047656409442424774, -0.009828124195337296, 0.06023223325610161, -0.020283252000808716, -0.01994040049612522, -0.04048491641879082, -0.04689456522464752, -0.05192440748214722, 0.0923306867480278, 0.0016797358402982354, -0.09324991703033447, -0.01717282086610794, 0.030265407636761665, -0.002263354603201151, -0.007000240962952375, -0.03117222525179386, 0.05483366921544075, -0.04876497760415077, 0.023592529818415642, 0.15974579751491547, -0.013299087062478065, -0.017191994935274124, -0.020099131390452385, 0.010267390869557858, -0.007613455411046743, 0.08001624047756195, -0.06950447708368301, -0.03381970524787903, 0.04997134208679199, -0.022351015359163284, -0.07411833107471466, -0.012219386175274849, -0.04549954831600189, 0.024643808603286743, 0.007592408452183008, -0.019373785704374313, 0.03722222521901131, 0.015420856885612011, -0.027199560776352882, -0.03524608910083771, -0.05821065604686737, 0.02622321993112564, -0.01305271778255701, 0.020145881921052933, -0.03363770619034767, 0.09170620143413544, 0.023636899888515472, -0.04676538333296776, 0.06839689612388611, 0.015214965678751469, 0.015584582462906837, -0.01787170022726059, -0.02300756797194481, 0.06031683087348938, -0.03740263357758522, -0.028957385569810867, 0.05815368518233299, 0.06636560708284378, -0.020579595118761063, -0.013682429678738117, 0.02079947292804718, 0.009501892141997814, 0.0860859677195549, -0.0007097910274751484, 0.04489875212311745, 0.0533156618475914, -0.027320725843310356, -0.014667012728750706, -0.24869965016841888, 0.0021602108608931303, -0.016599852591753006, -0.016560155898332596, -0.04893207922577858, -0.04784252494573593, 0.008893070742487907, 0.02424093708395958, -0.015099908225238323, 0.042322974652051926, 0.11454608291387558, 0.002205482916906476, -0.0037806511390954256, 0.039187729358673096, -0.0032839523628354073, 0.06308799237012863, 0.026770373806357384, -0.0003937255241908133, -0.032112665474414825, -0.007025851868093014, 0.017825866118073463, 0.002990289591252804, -0.003012806409969926, -0.0798710510134697, 0.04773200303316116, -0.013996364548802376, 0.21047809720039368, 0.021790146827697754, 0.014010043814778328, -0.05686620995402336, 0.0786425992846489, 0.01977640390396118, -0.018191834911704063, -0.08115311712026596, 0.04220038279891014, 0.014178628101944923, -0.0074623264372348785, 0.04714101925492287, -0.011381224729120731, -0.03298766911029816, -0.031937919557094574, 0.014699884690344334, -0.0006186843966133893, -0.08184584975242615, 0.010297873988747597, -0.029401272535324097, -0.02347131073474884, 0.022631097584962845, -0.03073316253721714, 0.02372836321592331, 0.015073155984282494, -0.006674772594124079, 0.02268397808074951, 0.03540654107928276, -0.04598856344819069, -0.03773750737309456, -0.057567451149225235, 0.04554227739572525, -0.016163941472768784, 0.010754239745438099, -0.0001260368007933721, 0.007279933895915747, -0.026529822498559952, -0.05294699966907501, 0.07343821972608566, -0.002792876213788986, -0.006012958008795977, -0.04177958145737648, 0.04782545939087868, -0.052532944828271866, -0.04875388741493225, 0.08038533478975296, -0.02229860983788967, 0.006375541444867849, 0.06299057602882385, 0.007824010215699673, -0.024801447987556458, -0.016852013766765594, -0.03213314339518547, -0.05007720738649368, -0.002349755261093378, -0.005882028490304947, 0.028720330446958542, 0.057362522929906845, 0.00018290450680069625, 0.079156294465065, 0.05543309077620506, 0.010764971375465393, 0.012435400858521461, -0.04783809557557106, -0.022684073075652122, -0.01855306327342987, -0.021878667175769806, -0.002778843976557255, 0.04733158275485039, -0.028555212542414665, -0.2816886901855469, 0.05375505983829498, 0.03616074100136757, 0.043593112379312515, -0.01626718044281006, -0.00270654889754951, 0.02906811609864235, 0.007486629765480757, -0.04246305674314499, 0.01994713582098484, 0.011790513060986996, 0.016681194305419922, 0.03226589784026146, 0.02979709953069687, 0.03647604584693909, 0.06974221765995026, 0.030180679634213448, -0.02290772832930088, 0.01117310207337141, -0.060084059834480286, 0.009360119700431824, 0.04173002764582634, 0.219596266746521, 0.04463667422533035, 0.03884412348270416, 0.07394485920667648, 0.014086048118770123, -0.005728821270167828, 0.050728507339954376, 0.044721148908138275, 0.014953500591218472, -0.006523861549794674, 0.06205443665385246, 0.005333622917532921, 0.016956660896539688, 0.034292034804821014, -0.025694195181131363, 0.05041490122675896, 0.05594442039728165, 0.007536690216511488, -0.07757636904716492, 0.028258463367819786, -0.037581540644168854, 0.01388481818139553, 0.10775045305490494, -0.09817573428153992, -0.056662146002054214, -0.05214385315775871, 0.0048725176602602005, 0.03263331204652786, -0.05025917664170265, -0.025481130927801132, -0.01838519237935543, 0.0022073674481362104, -0.01672711968421936, 0.028742080554366112, -0.028497900813817978, -0.027245990931987762, -0.05313508212566376, 0.028393616899847984, 0.03589845821261406, -0.08800239861011505, 0.058178503066301346, 0.008582646027207375, -0.013779419474303722 ]
devcenter
https://www.mongodb.com/developer/products/atlas/how-send-mongodb-document-changes-slack-channel
created
2. Click **Functions** in the left navigation menu. 3. Click **New Function** in the top right of the **Functions** page. 4. Enter a unique, identifying name for the function in the **Name** field. 5. Configure **User Authentication**. Functions in App Services always execute in the context of a specific application user or as a system user that bypasses rules. For this tutorial, we are going to use **System user**. ### "processEvent" function The processEvent function will process the change events every time an operation we are monitoring in the given collection is processed. In this way, we are going to create an object that we will then send to the function in charge of sending this message in Slack. The code of the function is the following: ```javascript exports = function(changeEvent) { const docId = changeEvent.documentKey._id;
md
{ "tags": [ "Atlas", "JavaScript" ], "pageDescription": "Learn how to use triggers in MongoDB Atlas to send information about changes to a document to Slack.", "contentType": "Tutorial" }
How to Send MongoDB Document Changes to a Slack Channel
2024-05-20T17:32:23.500Z
[ -0.04692066088318825, -0.0004975453484803438, 0.03182193636894226, -0.07418668270111084, -0.006427539046853781, 0.007713283412158489, 0.08849595487117767, 0.05095505341887474, 0.014411067590117455, -0.007796722464263439, -0.033935464918613434, -0.011143178679049015, 0.013655604794621468, 0.025667842477560043, 0.002632334129884839, -0.008077342063188553, -0.021785994991660118, 0.04206041991710663, -0.08133624494075775, 0.011543657630681992, 0.047434382140636444, -0.002109662164002657, -0.044261373579502106, -0.06823389232158661, -0.002479793503880501, 0.06811617314815521, -0.057573266327381134, 0.003859151154756546, -0.03285486251115799, -0.1639854609966278, -0.031638287007808685, -0.051024504005908966, 0.0017140979180112481, -0.03139610216021538, 0.009709437377750874, -0.05258387327194214, -0.029726356267929077, 0.053547170013189316, -0.020629148930311203, 0.06849092990159988, 0.06223241984844208, 0.02281877025961876, -0.01851016841828823, -0.04708562791347504, -0.03198744356632233, -0.08162989467382431, -0.02430918999016285, -0.013106200844049454, -0.018795359879732132, -0.01148737408220768, -0.009015130810439587, -0.03215734288096428, -0.009641316719353199, -0.01049137208610773, 0.044488757848739624, 0.04018275812268257, 0.07346925884485245, 0.044006578624248505, 0.05540228262543678, 0.05252788960933685, 0.04504193738102913, 0.007771656382828951, -0.19244985282421112, 0.15471558272838593, 0.046184368431568146, 0.027079936116933823, -0.0443965420126915, -0.04224984347820282, 0.02027946710586548, 0.029732966795563698, -0.06775639951229095, 0.04857529327273369, -0.00485307676717639, 0.033145420253276825, 0.02323465421795845, -0.04974639043211937, -0.03786133602261543, -0.03025868348777294, -0.009587989188730717, 0.010534662753343582, -0.032959599047899246, -0.0178944431245327, -0.014638529159128666, 0.0479159839451313, -0.013227232731878757, -0.030268503352999687, 0.04085686430335045, -0.06811487674713135, 0.023947831243276596, 0.026172740384936333, -0.0353449285030365, -0.022496776655316353, 0.018793828785419464, 0.019822048023343086, -0.096456378698349, 0.0008257338195107877, 0.00993686355650425, 0.032671310007572174, -0.08623538911342621, 0.22039580345153809, -0.05968974903225899, 0.042669136077165604, 0.021306604146957397, -0.027368897572159767, 0.020856475457549095, -0.0334513857960701, -0.050507139414548874, -0.042406320571899414, -0.028563115745782852, 0.015552086755633354, -0.017765039578080177, -0.023911669850349426, 0.029545996338129044, -0.06332587450742722, 0.00919781718403101, 0.050241682678461075, 0.023513786494731903, 0.03267330303788185, -0.0073818638920784, -0.009327695704996586, 0.05099545419216156, 0.059851810336112976, 0.01640835776925087, -0.007342825178056955, 0.05219753459095955, -0.004948717541992664, 0.06579384952783585, 0.077745720744133, 0.011683439835906029, 0.05307044833898544, 0.06059607118368149, 0.025241581723093987, -0.103542260825634, 0.027041349560022354, 0.029753368347883224, -0.005495079327374697, -0.004919942002743483, 0.019281597808003426, 0.038938265293836594, 0.01864956133067608, -0.007536525838077068, -0.021166939288377762, 0.0025367808993905783, -0.10243196040391922, 0.008875907398760319, 0.09925461560487747, -0.011866649612784386, 0.03470957279205322, -0.029961807653307915, -0.03765116631984711, 0.013530428521335125, 0.046144455671310425, -0.06448838114738464, 0.002724545542150736, 0.007125102914869785, 0.03164635971188545, 0.02558753453195095, 0.03706986829638481, -0.046508848667144775, 0.03800010681152344, -0.061493612825870514, 0.004996398463845253, 0.0008620635489933193, 0.08223115652799606, 0.03142334520816803, -0.11310066282749176, 0.005839457269757986, 0.01934678852558136, 0.00041273367241956294, -0.039839357137680054, -0.028904130682349205, 0.029328295961022377, -0.05826074630022049, -0.004761915188282728, 0.08930284529924393, 0.0047190808691084385, 0.004365399479866028, -0.01369299553334713, -0.004097962751984596, -0.007929411716759205, 0.04320911318063736, -0.04918881878256798, -0.045569226145744324, 0.004795579239726067, 0.052121371030807495, -0.04876359924674034, -0.00938460323959589, -0.056311581283807755, 0.030525824055075645, 0.05166437476873398, -0.023566825315356255, 0.020273108035326004, -0.03242472931742668, -0.05766887962818146, -0.016456134617328644, -0.009501222521066666, -0.054718226194381714, -0.062359768897295, 0.006368590984493494, -0.027705011889338493, 0.11078257113695145, 0.054900724440813065, -0.020683525130152702, 0.05083787813782692, -0.0077333287335932255, 0.04186569154262543, -0.05439867451786995, -0.023663578554987907, 0.038004931062459946, 0.013840485364198685, -0.07591968029737473, 0.04536435008049011, 0.0576087161898613, 0.005823576357215643, -0.02169019915163517, -0.027495767921209335, 0.029055099934339523, 0.05780201777815819, 0.028307925909757614, -0.017143625766038895, 0.006700270343571901, 0.00961160846054554, -0.010147138498723507, -0.25967180728912354, 0.005423958878964186, 0.017679184675216675, -0.04362814128398895, -0.011233275756239891, -0.02326105535030365, 0.016209032386541367, -0.03816496208310127, 0.00787538941949606, 0.03492504358291626, 0.12279421836137772, -0.012284662574529648, 0.010215187445282936, 0.03764218091964722, 0.014628861099481583, 0.0636977031826973, -0.0102342264726758, -0.014297005720436573, -0.015189443714916706, -0.006145969498902559, -0.04988939315080643, -0.011158866807818413, 0.03883899003267288, -0.10936641693115234, 0.02742650918662548, 0.016522293910384178, 0.19489355385303497, 0.025081632658839226, 0.013910329900681973, -0.03434711694717407, 0.050113968551158905, 0.0018860712880268693, -0.0037384689785540104, -0.1121579259634018, 0.014529061503708363, 0.05337138846516609, 0.007347702980041504, -0.000009430917089048307, 0.018425092101097107, -0.02202257700264454, -0.021215103566646576, 0.010950948111712933, -0.008855501189827919, -0.05711555480957031, 0.005105189047753811, -0.06573666632175446, -0.025373728945851326, -0.03623208776116371, -0.041595958173274994, -0.021617157384753227, 0.022761041298508644, -0.012816198170185089, 0.06177964061498642, 0.04335658997297287, -0.0096945995464921, -0.03804447129368782, 0.041503310203552246, 0.03267782926559448, -0.044932134449481964, 0.03038094937801361, -0.0038889043498784304, -0.019734691828489304, -0.012031015008687973, -0.05318976566195488, 0.07862206548452377, 0.008010663092136383, 0.00002114988092216663, -0.043291982263326645, 0.04367566853761673, -0.07862768322229385, -0.025781136006116867, 0.05298398807644844, -0.03541313111782074, 0.025078067556023598, 0.05055557191371918, 0.030629996210336685, 0.005995279178023338, -0.046751346439123154, -0.027814872562885284, -0.048384323716163635, 0.025536930188536644, 0.016353674232959747, 0.020387811586260796, 0.010058047249913216, -0.01508006639778614, -0.008429128676652908, 0.023401232436299324, 0.024567119777202606, 0.03870199993252754, -0.05229360982775688, -0.05333296209573746, -0.01057013962417841, 0.00395022239536047, -0.0157818254083395, 0.01494569517672062, -0.0010515284957364202, -0.29397639632225037, 0.023274719715118408, 0.030479351058602333, 0.011370794847607613, -0.03296896815299988, 0.026005076244473457, 0.05188537761569023, -0.008584004826843739, -0.03955310210585594, 0.03742792829871178, 0.0014422377571463585, -0.0011134534142911434, 0.031267255544662476, 0.004632142372429371, 0.04647007957100868, 0.07717081904411316, 0.017848996445536613, -0.02288792096078396, 0.013834139332175255, -0.0681934803724289, 0.05965050682425499, 0.0723332017660141, 0.24757379293441772, -0.02078162506222725, 0.034132301807403564, 0.07680477946996689, -0.012844473123550415, 0.02649407461285591, 0.07567071169614792, -0.003387102857232094, 0.023730365559458733, -0.0055690850131213665, 0.06449011713266373, -0.032765943557024, 0.024338124319911003, -0.01957877352833748, -0.01681431569159031, 0.03291244059801102, 0.030642284080386162, -0.03252551704645157, -0.0751720741391182, -0.0035703107714653015, -0.024643123149871826, -0.01647419109940529, 0.08818895369768143, -0.05085339397192001, -0.0322561040520668, -0.06134987995028496, -0.004607168957591057, 0.03232511505484581, -0.061526183038949966, -0.03879908472299576, -0.007211253046989441, 0.0029909182339906693, 0.006560932379215956, 0.061196595430374146, -0.04361315816640854, -0.02900141291320324, -0.052956122905015945, -0.0028913463465869427, 0.03406389057636261, -0.0527292899787426, 0.027103442698717117, 0.045141976326704025, 0.007255996577441692 ]
devcenter
https://www.mongodb.com/developer/products/atlas/how-send-mongodb-document-changes-slack-channel
created
```javascript exports = function(changeEvent) { const docId = changeEvent.documentKey._id; const { updateDescription, operationType } = changeEvent; var object = { operationType, docId, }; if (updateDescription) { const updatedFields = updateDescription.updatedFields; // A document containing updated fields const removedFields = updateDescription.removedFields; // An array of removed fields object = { ...object, updatedFields, removedFields }; } const result = context.functions.execute("sendToSlack", object); return true; }; ``` In this function, we will create an object that we will then send as a parameter to another function that will be in charge of sending to our Slack channel. Here we will use change event and its properties to capture the:
md
{ "tags": [ "Atlas", "JavaScript" ], "pageDescription": "Learn how to use triggers in MongoDB Atlas to send information about changes to a document to Slack.", "contentType": "Tutorial" }
How to Send MongoDB Document Changes to a Slack Channel
2024-05-20T17:32:23.500Z
[ -0.034497227519750595, -0.013948632404208183, 0.04669148847460747, -0.043825455009937286, 0.03716447949409485, -0.002747032791376114, 0.07384465634822845, 0.0626535639166832, 0.004230445716530085, 0.0033294830936938524, -0.046797655522823334, -0.027347128838300705, 0.0022223719861358404, 0.02311544492840767, -0.007984912022948265, -0.006065954454243183, -0.03895506635308266, 0.041876260191202164, -0.1110982596874237, 0.019256290048360825, 0.034600164741277695, -0.012748697772622108, -0.03425220400094986, -0.03713683784008026, 0.02327672950923443, 0.05511017143726349, -0.03200318291783333, 0.029696250334382057, -0.041367921978235245, -0.16414041817188263, -0.04913540557026863, -0.08710672706365585, -0.014155047945678234, -0.010511248372495174, 0.02745957113802433, -0.012242618016898632, -0.01960214599967003, 0.03691353276371956, -0.034616004675626755, 0.07526867091655731, 0.061506662517786026, 0.005656643770635128, -0.010865999385714531, -0.08934768289327621, -0.054807599633932114, -0.06207862123847008, -0.018915310502052307, -0.033212676644325256, -0.01903591677546501, -0.0063468595035374165, -0.002649882575497031, -0.0471414253115654, 0.006418973207473755, -0.0019517651526257396, 0.05194603279232979, 0.038175951689481735, 0.05186159536242485, 0.039218105375766754, 0.05007729306817055, 0.06386499851942062, 0.054915621876716614, 0.014281616546213627, -0.18218626081943512, 0.10353302210569382, 0.03804834187030792, 0.03298201411962509, -0.0553702749311924, -0.02373417094349861, 0.019157730042934418, 0.03435327485203743, -0.03315764665603638, 0.02348799630999565, -0.003468396607786417, 0.04991752281785011, 0.0272859875112772, -0.057303380221128464, -0.027386926114559174, -0.023792287334799767, 0.008629570715129375, 0.03256100043654442, -0.051444899290800095, -0.050078291445970535, -0.0022999406792223454, 0.012093809433281422, -0.01833249256014824, -0.04342317581176758, 0.025748509913682938, -0.09027933329343796, 0.03125622496008873, 0.018440647050738335, -0.07743962854146957, -0.015653934329748154, 0.04214201867580414, 0.015364300459623337, -0.11013640463352203, 0.02501792274415493, 0.007887459360063076, 0.038787998259067535, -0.04338085651397705, 0.21321268379688263, -0.05799616873264313, 0.003364637726917863, 0.036814894527196884, -0.02932964451611042, 0.012810612097382545, -0.05653516203165054, -0.03595918416976929, -0.05474071204662323, -0.020315511152148247, 0.036403752863407135, -0.026300285011529922, -0.022827589884400368, 0.008150381967425346, -0.027643220499157906, -0.005418684333562851, 0.05611183121800423, 0.02117301896214485, 0.05148746445775032, -0.02634390816092491, -0.028633326292037964, 0.03494419902563095, 0.04596981778740883, 0.03507184609770775, 0.006067952141165733, 0.05150394141674042, -0.014986773952841759, 0.05909641459584236, 0.09422490000724792, -0.005405834876000881, 0.012051164172589779, 0.04349241405725479, 0.04885319247841835, -0.09402109682559967, -0.00541235227137804, 0.029409175738692284, -0.026276970282197, -0.004072390031069517, 0.013771493919193745, 0.002806803211569786, 0.045450277626514435, -0.008456100709736347, -0.07099498808383942, -0.0017302071209996939, -0.07264577597379684, -0.0021790480241179466, 0.098939910531044, -0.012017208151519299, 0.028559932485222816, -0.03714597597718239, -0.020939769223332405, -0.01931554079055786, 0.03647847846150398, -0.06020306050777435, -0.013963795267045498, -0.00036529306089505553, 0.03654677793383598, 0.006923728622496128, 0.067401222884655, -0.03163037821650505, 0.0023461091332137585, -0.04515553265810013, 0.015392592176795006, 0.006906758062541485, 0.08069218695163727, -0.0017974377842620015, -0.11803235858678818, 0.0007211202173493803, 0.009874035604298115, 0.03978779539465904, -0.03511735424399376, -0.020280782133340836, 0.032565101981163025, -0.03451204299926758, -0.04046350717544556, 0.08169576525688171, 0.008009910583496094, -0.021797237917780876, -0.009450414218008518, 0.012459446676075459, -0.0111857820302248, 0.06257985532283783, -0.030919749289751053, -0.02056560292840004, 0.03390362486243248, 0.043106816709041595, -0.06206126511096954, -0.004728089086711407, -0.05851718783378601, 0.028064576908946037, 0.09582451730966568, -0.025595251470804214, 0.006535481661558151, -0.0027197152376174927, -0.016456708312034607, -0.017378542572259903, 0.01600680872797966, -0.09483099728822708, -0.06170614808797836, 0.0033564248587936163, -0.016275785863399506, 0.07017865031957626, 0.04587579146027565, -0.011304100044071674, 0.03213350474834442, -0.02979465015232563, 0.011175574734807014, -0.02526324987411499, -0.01783246174454689, 0.030015768483281136, 0.05490194261074066, -0.0855383574962616, 0.007499408442527056, 0.04224364832043648, 0.0095386803150177, -0.01264395285397768, -0.020219985395669937, 0.01629461906850338, 0.05741850286722183, 0.006250383798032999, 0.014679520390927792, -0.007694985251873732, -0.03724253177642822, 0.03808610886335373, -0.2558525800704956, 0.007940063253045082, 0.022217174991965294, -0.045452527701854706, 0.03793064504861832, -0.0013178061926737428, 0.04340307414531708, 0.007110541220754385, -0.013774051330983639, 0.04167434200644493, 0.12979653477668762, -0.014117703773081303, -0.001253403490409255, 0.01928604207932949, -0.003705274546518922, 0.044401947408914566, -0.008198213763535023, -0.030412713065743446, -0.017370857298374176, -0.02431049384176731, -0.05857614800333977, 0.003450607880949974, -0.0064302412793040276, -0.07199405878782272, 0.011572827585041523, -0.02858840301632881, 0.18382161855697632, 0.0265314020216465, 0.03128447011113167, -0.03424863889813423, 0.05123703181743622, 0.005736310500651598, 0.03348131850361824, -0.11149347573518753, 0.00796743668615818, 0.04781942069530487, 0.005899621639400721, 0.0196937657892704, -0.007838464342057705, 0.007890974171459675, -0.03970421105623245, 0.013049759902060032, -0.004338663537055254, -0.07351021468639374, 0.009995048865675926, -0.0675337016582489, -0.019129076972603798, -0.00905594415962696, -0.04567893221974373, 0.03603861480951309, 0.014483679085969925, -0.027783842757344246, 0.05902356654405594, 0.0477263480424881, -0.011498114094138145, 0.00041226253961212933, 0.006108161062002182, 0.01563284732401371, -0.021389231085777283, 0.022784318774938583, -0.003013721201568842, -0.017156993970274925, -0.0013596010394394398, -0.028037769719958305, 0.08209934830665588, 0.024510735645890236, 0.010845746845006943, -0.07128597050905228, 0.04018896818161011, -0.05395276099443436, -0.03211791068315506, 0.09466614574193954, -0.011540226638317108, 0.04813849553465843, 0.04401183873414993, 0.027841631323099136, -0.006118989549577236, -0.03673865646123886, -0.02007361501455307, -0.0005297491443343461, 0.047089822590351105, 0.004552839789539576, 0.034209221601486206, 0.031006667762994766, 0.004219751339405775, -0.010556422173976898, 0.029491087421774864, 0.021619632840156555, 0.017897620797157288, -0.0535762794315815, -0.050673115998506546, -0.017498383298516273, -0.026127934455871582, -0.021496649831533432, 0.02860192395746708, -0.023996369913220406, -0.2830372750759125, 0.007288291584700346, 0.05900993570685387, -0.022010590881109238, -0.03415410965681076, 0.06329178065061569, 0.04225487634539604, 0.03952014073729515, -0.06920294463634491, 0.028447454795241356, -0.012892784550786018, 0.017735181376338005, 0.008051703684031963, 0.03522702306509018, 0.03267478570342064, 0.07437580823898315, 0.021802036091685295, -0.03139394894242287, 0.005694902967661619, -0.060725968331098557, 0.05839897319674492, 0.04791051894426346, 0.2569564878940582, -0.003614726010710001, 0.057547714561223984, 0.043534040451049805, -0.015558874234557152, 0.04544815421104431, 0.10208249092102051, -0.01550405751913786, 0.007848309352993965, 0.00584136787801981, 0.08612239360809326, -0.057653725147247314, 0.03403498977422714, -0.018206113949418068, -0.043589357286691666, 0.04347124695777893, -0.010641089640557766, -0.04944644123315811, -0.023592017590999603, -0.0012148618698120117, -0.02225002460181713, -0.02963913604617119, 0.11434103548526764, -0.001187753863632679, -0.050981272011995316, -0.07947112619876862, -0.030512379482388496, 0.026504795998334885, -0.09165648370981216, -0.006290264427661896, 0.010690335184335709, -0.002771498868241906, 0.02793341688811779, 0.027889151126146317, -0.040091462433338165, -0.04592236876487732, -0.07056832313537598, 0.003957394510507584, 0.05553951486945152, -0.07768114656209946, -0.005007099360227585, 0.04920274391770363, -0.0007510721334256232 ]
devcenter
https://www.mongodb.com/developer/products/atlas/how-send-mongodb-document-changes-slack-channel
created
Here we will use change event and its properties to capture the: 1. `_id` of the object that has been modified/inserted. 2. Operation that has been performed. 3. Fields of the object that have been modified or deleted when the operation has been an `update`. With all this, we create an object and make use of the internal function calls to execute our `sendToSlack` function. ### "sendToSlack" function This function will make use of the "chat.postMessage" method of the Slack API to send a message to a specific channel. To use the Slack library, you must add it as a dependency in your Atlas function. Therefore, in the **Functions** section, we must go to the **Dependencies** tab and install `@slack/web-api`. You will need to have a Slack token that will be used for creating the `WebClient` object as well as a Slack application. Therefore:
md
{ "tags": [ "Atlas", "JavaScript" ], "pageDescription": "Learn how to use triggers in MongoDB Atlas to send information about changes to a document to Slack.", "contentType": "Tutorial" }
How to Send MongoDB Document Changes to a Slack Channel
2024-05-20T17:32:23.500Z
[ -0.05097302049398422, 0.0019437941955402493, 0.03132161125540733, -0.040236834436655045, 0.01810695044696331, -0.002948417793959379, 0.038074202835559845, 0.04767387732863426, -0.014090952463448048, 0.001797234290279448, 0.010150925256311893, -0.0475931279361248, 0.002250481629744172, -0.004234065301716328, -0.012923148460686207, 0.0026206800248473883, -0.023749537765979767, 0.015202711336314678, -0.10027981549501419, 0.00514796981588006, -0.0023260037414729595, -0.009678584523499012, -0.009784797206521034, -0.011381808668375015, 0.016925323754549026, 0.04441208764910698, -0.051233869045972824, 0.003105215262621641, -0.060901496559381485, -0.17653648555278778, 0.009776202961802483, -0.04467777907848358, 0.011459330096840858, -0.02994621731340885, 0.004619590938091278, -0.020132187753915787, -0.03162975609302521, 0.03486742824316025, -0.04960229620337486, 0.053721025586128235, 0.07765502482652664, 0.010613302700221539, -0.026790138334035873, -0.06655614078044891, -0.043055061250925064, -0.07003936916589737, 0.009778068400919437, -0.018445631489157677, 0.0009252878371626139, -0.008804240263998508, 0.004541609436273575, -0.06937535852193832, 0.027470652014017105, -0.0027740206569433212, 0.03645395487546921, 0.03392762690782547, 0.06776437908411026, 0.08168444782495499, 0.03345254436135292, 0.04213801026344299, 0.06812486797571182, 0.02839926816523075, -0.1782292276620865, 0.12235721200704575, 0.013275367207825184, 0.06267119944095612, -0.013635856099426746, -0.04478058964014053, 0.05928470939397812, 0.056222230195999146, -0.057719890028238297, 0.034021925181150436, -0.008407603949308395, 0.053594619035720825, 0.032894279807806015, -0.02418358251452446, 0.012579438276588917, 0.012002973817288876, 0.018846992403268814, 0.026656759902834892, -0.02644050307571888, 0.011927993968129158, -0.010147622786462307, 0.0184398852288723, -0.014360256493091583, -0.04584226384758949, 0.06498293578624725, -0.07262963801622391, 0.05368667468428612, 0.016463035717606544, -0.06591038405895233, -0.004387788008898497, 0.04384850710630417, 0.03381030261516571, -0.09838127344846725, 0.002414545975625515, -0.019573157653212547, 0.025147337466478348, -0.05371265485882759, 0.22536234557628632, -0.07376568019390106, 0.03877649083733559, 0.00419845525175333, -0.005832477938383818, 0.027662422508001328, -0.061931561678647995, -0.026577547192573547, -0.0600227527320385, -0.03303316980600357, 0.0404355563223362, -0.024641120806336403, -0.005799046251922846, 0.038521360605955124, -0.024097684770822525, 0.015969766303896904, 0.046630676835775375, 0.02051990106701851, 0.06446997076272964, -0.022947121411561966, -0.014558936469256878, 0.004364180378615856, 0.05100536718964577, 0.05442355200648308, -0.020193299278616905, 0.059108491986989975, -0.018810998648405075, 0.0938001275062561, 0.10282956063747406, 0.001404903014190495, 0.038797855377197266, 0.05242588371038437, 0.02916019596159458, -0.09393756836652756, 0.016963470727205276, 0.02763679251074791, -0.011594897136092186, -0.008239149115979671, -0.002491731895133853, 0.005175889935344458, 0.007172656245529652, -0.021731214597821236, -0.055932652205228806, 0.030773844569921494, -0.08587358891963959, -0.023781906813383102, 0.11495073139667511, -0.03746937960386276, 0.045261211693286896, -0.04291863739490509, -0.03241319954395294, -0.03313898295164108, 0.0381145216524601, -0.06241854280233383, 0.011677642352879047, 0.00043865558109246194, 0.031849317252635956, 0.014885444194078445, 0.08792731165885925, -0.022063300013542175, 0.02301219291985035, -0.03879750892519951, -0.05175765976309776, -0.012175258249044418, 0.0897592157125473, 0.017719127237796783, -0.12581795454025269, -0.0337904691696167, -0.010073800571262836, 0.03689204901456833, -0.044067077338695526, 0.005658177193254232, 0.06513355672359467, -0.022605247795581818, -0.027150286361575127, 0.0740145891904831, 0.012222501449286938, -0.028947962448000908, -0.009759445674717426, 0.027087455615401268, -0.02035573311150074, 0.04999293386936188, -0.004204136319458485, -0.03496208414435387, 0.03042205050587654, 0.008061886765062809, -0.06117093563079834, 0.0036025485023856163, -0.026918573305010796, 0.03668314963579178, 0.048077262938022614, -0.023323046043515205, 0.04282276704907417, 0.010868830606341362, -0.03435232490301132, -0.02874247170984745, 0.025162097066640854, -0.061500098556280136, -0.03438825160264969, 0.0002527226461097598, -0.02627583034336567, 0.06270819157361984, 0.03381618857383728, -0.05288054049015045, 0.033273544162511826, -0.03345375880599022, -0.0027575180865824223, -0.039224736392498016, -0.030086304992437363, 0.04746350273489952, 0.028566373512148857, -0.0480629988014698, -0.0034265946596860886, 0.04546299949288368, 0.00010919778287643567, -0.02316112257540226, 0.0018565892241895199, 0.026600660756230354, 0.0491214357316494, 0.00505495723336935, 0.001158898463472724, 0.004514271393418312, -0.01983131282031536, 0.03455214574933052, -0.2882450520992279, -0.007745260372757912, 0.022165188565850258, -0.02668171189725399, -0.011151953600347042, -0.02474416047334671, 0.03739934042096138, -0.03112885169684887, 0.015359746292233467, 0.049094852060079575, 0.12749674916267395, 0.004254651255905628, -0.011393772438168526, 0.0035330764949321747, 0.039815504103899, 0.0810471624135971, -0.03596269339323044, -0.02921164780855179, -0.03082011453807354, -0.03190986439585686, -0.048789702355861664, 0.011310301721096039, -0.009859100915491581, -0.07312935590744019, 0.024743758141994476, -0.016461895778775215, 0.19051840901374817, 0.045999228954315186, 0.009977375157177448, -0.030405715107917786, 0.03513297811150551, 0.03838318958878517, 0.019132554531097412, -0.138414666056633, 0.02952439896762371, 0.06368529796600342, 0.007814375683665276, 0.03618497774004936, 0.0033949045464396477, -0.03618859127163887, -0.02842639945447445, 0.026498869061470032, -0.000969124143011868, -0.11507733166217804, 0.027171656489372253, -0.02825472317636013, -0.023502975702285767, -0.05531411990523338, -0.038966622203588486, 0.022530537098646164, -0.011420032009482384, 0.011427339166402817, 0.027984214946627617, 0.049802251160144806, -0.002163780154660344, -0.05263126268982887, 0.019638489931821823, 0.009931482374668121, -0.026129869744181633, 0.0145645746961236, -0.015371696092188358, -0.01839473843574524, 0.013244434259831905, -0.025503048673272133, 0.05088287591934204, 0.009700380265712738, 0.006326490081846714, -0.07000559568405151, 0.04591360315680504, -0.06460662186145782, -0.025458604097366333, 0.08239175379276276, -0.02430560812354088, 0.02059212140738964, 0.03414556384086609, 0.003063957206904888, -0.015544976107776165, -0.02850489318370819, -0.030538229271769524, -0.020127322524785995, 0.02973291277885437, 0.004310985095798969, 0.012643332593142986, 0.02740674838423729, 0.009918647818267345, 0.012368586845695972, 0.014441896229982376, 0.009099198505282402, 0.0336117185652256, -0.051342424005270004, -0.016622258350253105, -0.011143065989017487, -0.027493411675095558, -0.03268145024776459, 0.051215529441833496, -0.04893402010202408, -0.26788201928138733, 0.03212827816605568, 0.0335901714861393, -0.02189447358250618, -0.007251899689435959, 0.06044936180114746, 0.03657272085547447, 0.04004954546689987, -0.08681974560022354, 0.0035757971927523613, 0.025884779170155525, 0.03048149310052395, 0.020715462043881416, 0.025163747370243073, 0.004802196752279997, 0.05446801707148552, 0.003931910265237093, -0.04686373472213745, -0.011072865687310696, -0.07421795278787613, 0.023431137204170227, 0.03270088508725166, 0.20472706854343414, 0.008904744870960712, 0.07650044560432434, 0.04616953805088997, -0.0138301532715559, 0.07300285995006561, 0.09193048626184464, -0.0063039446249604225, 0.0017721287440508604, 0.01931423880159855, 0.04985588788986206, -0.03516732156276703, 0.040421511977910995, -0.01476810872554779, -0.039780694991350174, 0.023733852431178093, -0.01043727621436119, -0.04746660962700844, -0.051534779369831085, 0.03408890590071678, -0.0377960130572319, -0.0020372190047055483, 0.10702695697546005, 0.0012560333125293255, -0.06519275903701782, -0.061022285372018814, -0.010249355807900429, 0.02694789506494999, -0.06160525605082512, -0.045838676393032074, -0.025892140343785286, 0.014687100425362587, 0.019041728228330612, 0.027239851653575897, -0.0570712573826313, -0.07671719789505005, -0.05076947435736656, 0.00716583663597703, 0.05384356155991554, -0.0919855535030365, 0.040343884378671646, 0.0030115365516394377, -0.021213598549365997 ]
devcenter
https://www.mongodb.com/developer/products/atlas/how-send-mongodb-document-changes-slack-channel
created
1. Create or use an existing Slack app: This is necessary as the subsequent token we will need will be linked to a Slack App. For this step, you can navigate to the Slack application and use your credentials to authenticate and create or use an existing app you are a member of. 2. Within this app, we will need to create a bot token that will hold the authentication API key to send messages to the corresponding channel in the Slack app created. Please note that you will need to add as many authorization scopes on your token as you need, but the bare minimum is to add the `chat:write` scope to allow your app to post messages. A full guide on how to get these two can be found in the Slack official documentation. First, we will perform the logic with the received object to create a message adapted to the event that occurred.
md
{ "tags": [ "Atlas", "JavaScript" ], "pageDescription": "Learn how to use triggers in MongoDB Atlas to send information about changes to a document to Slack.", "contentType": "Tutorial" }
How to Send MongoDB Document Changes to a Slack Channel
2024-05-20T17:32:23.500Z
[ -0.05435250699520111, -0.036910705268383026, -0.0005872239707969129, -0.0655151978135109, -0.009174820967018604, 0.013583007268607616, 0.028298940509557724, 0.04419535771012306, -0.030170777812600136, 0.017300833016633987, -0.01671484299004078, -0.06589360535144806, 0.01871643215417862, -0.005302099976688623, 0.04500916972756386, -0.018359698355197906, -0.01658715307712555, -0.01441408321261406, -0.09204016625881195, 0.039326153695583344, -0.0010947580449283123, -0.016382358968257904, -0.014774761162698269, 0.0041167414747178555, 0.007372449617832899, 0.04360009729862213, -0.06956832855939865, -0.005382264032959938, -0.02081519551575184, -0.14326418936252594, -0.03078233264386654, -0.04515302926301956, 0.04254150390625, -0.009909162297844887, -0.028788333758711815, -0.03690260648727417, -0.006121681071817875, 0.047808241099119186, -0.05544404685497284, 0.06170506775379181, 0.0722641870379448, 0.002629124326631427, 0.0015762776602059603, -0.04175234213471413, -0.007801683619618416, -0.05223016068339348, -0.012824928387999535, 0.029127517715096474, 0.026420921087265015, -0.026176225394010544, 0.06339295953512192, -0.028420893475413322, -0.010303812101483345, -0.0068243215791881084, 0.0030901117715984583, 0.04717675969004631, 0.05235942080616951, 0.08111929148435593, 0.011085396632552147, 0.06729942560195923, 0.050761666148900986, 0.009538313373923302, -0.18036971986293793, 0.13151831924915314, 0.0053565893322229385, 0.06778578460216522, -0.05175672844052315, -0.006604630965739489, 0.04785401374101639, 0.04556507244706154, -0.012477005831897259, 0.007898131385445595, 0.00554303964599967, 0.06006611883640289, 0.002923248102888465, 0.0017018322832882404, 0.025508327409625053, -0.0047375853173434734, 0.03245029225945473, 0.025629669427871704, -0.043859027326107025, 0.06554562598466873, 0.005005772225558758, 0.05469518527388573, -0.028441503643989563, -0.04414661228656769, 0.07628472149372101, -0.05165557190775871, 0.005400313530117273, 0.04211368039250374, -0.04654087498784065, -0.028316890820860863, 0.026651276275515556, 0.014595424756407738, -0.08739577233791351, -0.012081584893167019, 0.0004573286569211632, 0.03343935310840607, -0.07350089401006699, 0.2334277331829071, -0.05042179673910141, 0.03004046529531479, -0.012507468461990356, -0.013598885387182236, 0.05618228390812874, -0.038161780685186386, -0.0422055646777153, -0.04326255992054939, -0.020689716562628746, 0.0412786528468132, -0.0030955609399825335, 0.009836900047957897, 0.015930654481053352, -0.04225877299904823, 0.022130098193883896, 0.03210414573550224, 0.018842604011297226, 0.06332506239414215, -0.021000387147068977, 0.01398299541324377, 0.013812567107379436, 0.03777879849076271, 0.028891464695334435, -0.047085776925086975, 0.04061809927225113, -0.041866663843393326, 0.06071615219116211, 0.08592699468135834, 0.026962831616401672, 0.04843509942293167, 0.06393729895353317, 0.02329307608306408, -0.07483226805925369, 0.009752611629664898, 0.027505362406373024, -0.027888836339116096, -0.021528923884034157, -0.005098595283925533, 0.04466443881392479, -0.004550978075712919, 0.00234777620062232, -0.04662218317389488, 0.03730582445859909, -0.09406755864620209, -0.011545981280505657, 0.0737934559583664, -0.006929262075573206, 0.03862932324409485, -0.05887209624052048, -0.03336040675640106, -0.03422188013792038, 0.009435340762138367, -0.0387776643037796, -0.01318163052201271, 0.05422841012477875, -0.0025000497698783875, 0.007512968964874744, 0.07341709733009338, -0.031552985310554504, 0.035282574594020844, -0.027944844216108322, -0.07448673993349075, -0.018765361979603767, 0.07838389277458191, 0.031181950122117996, -0.11583780497312546, 0.009452671743929386, 0.008958607912063599, 0.010708934627473354, -0.0475664958357811, 0.02977379411458969, 0.026194162666797638, -0.042433831840753555, 0.025303814560174942, 0.04760630056262016, -0.0019847217481583357, -0.04924987629055977, 0.0033965986222028732, 0.026519984006881714, 0.044128719717264175, 0.030544912442564964, -0.0551324263215065, -0.00501628452911973, -0.0034072152338922024, 0.030490687116980553, -0.03740547597408295, 0.0007773635443300009, -0.05331924557685852, 0.012981060892343521, 0.018628373742103577, -0.029488885775208473, 0.057069744914770126, -0.06478867679834366, -0.03390295058488846, -0.027234425768256187, 0.02692415751516819, -0.03498322516679764, -0.034007951617240906, -0.01709671877324581, -0.06223420053720474, 0.040503229945898056, 0.006442730315029621, -0.05880529433488846, 0.03838261216878891, -0.04362653195858002, 0.030946725979447365, -0.00044818694004788995, -0.003968771547079086, 0.09544891864061356, -0.008204278536140919, -0.03624001517891884, 0.0010147843277081847, 0.07336787134408951, -0.027664626017212868, -0.04525885358452797, -0.017105652019381523, 0.037060968577861786, 0.05447590723633766, 0.009453708305954933, 0.014349589124321938, 0.00045703214709647, -0.004422803875058889, -0.007918567396700382, -0.2762891352176666, -0.009039227850735188, 0.035305436700582504, -0.011655731126666069, 0.032559774816036224, -0.05813215300440788, 0.024938739836215973, -0.042122919112443924, 0.029808539897203445, 0.06320642679929733, 0.16399233043193817, -0.013054006733000278, 0.0019507877295836806, 0.029812630265951157, 0.012140425853431225, 0.11000706255435944, -0.04132857546210289, 0.013052288442850113, 0.01569366827607155, -0.009419283829629421, -0.05308540165424347, -0.004677012097090483, 0.02940608747303486, -0.07005438953638077, 0.010856308043003082, 0.013244430534541607, 0.18288883566856384, 0.04872403293848038, -0.0036979415453970432, -0.03845783323049545, 0.01284307986497879, 0.03915073722600937, -0.019949063658714294, -0.1654004603624344, 0.019340800121426582, 0.05284656584262848, 0.014311706647276878, 0.061259675770998, 0.009550921618938446, -0.05228028446435928, -0.04085037112236023, 0.0432012677192688, -0.027621719986200333, -0.08337322622537613, 0.01803620532155037, -0.04543296992778778, -0.05072856694459915, 0.007337881717830896, -0.010699320584535599, 0.005759940017014742, 0.009861810132861137, -0.010815190151333809, 0.049916040152311325, 0.03652434051036835, -0.011570784263312817, -0.06165317818522453, -0.013128727674484253, 0.01905836910009384, -0.03424489498138428, 0.035276129841804504, -0.004609394818544388, 0.005115186329931021, -0.021750392392277718, -0.05023721605539322, 0.05551315099000931, 0.037584152072668076, -0.01836910843849182, -0.01889381743967533, 0.03868995979428291, -0.05659765750169754, 0.017569569870829582, 0.08419031649827957, -0.05417567491531372, 0.05372685566544533, 0.06917263567447662, -0.0198898334056139, -0.006232076790183783, -0.03712032735347748, 0.004632045514881611, -0.03534417226910591, 0.021211490035057068, -0.05110437050461769, 0.013410473242402077, 0.03591395542025566, -0.004192091058939695, 0.030192477628588676, 0.05345124006271362, -0.007142525166273117, 0.06491656601428986, -0.07688518613576889, -0.037684597074985504, 0.004978611133992672, -0.010868164710700512, -0.005664312280714512, -0.019607219845056534, -0.03752699866890907, -0.26327165961265564, 0.036556243896484375, 0.00197313679382205, -0.01275994349271059, -0.0017561776330694556, 0.010010949335992336, 0.07692605257034302, 0.003107615513727069, -0.11263495683670044, 0.02002033218741417, 0.026621244847774506, 0.045517854392528534, 0.007908022962510586, -0.0057642487809062, 0.04709567502140999, 0.03326649218797684, 0.012803355231881142, -0.035856544971466064, -0.03337477892637253, -0.09634625166654587, 0.014801652170717716, -0.0014393437886610627, 0.20497244596481323, -0.027186764404177666, 0.03802154213190079, 0.0657726600766182, -0.031052306294441223, 0.07125435024499893, 0.07673175632953644, 0.009138388559222221, 0.02973823994398117, -0.01991599053144455, 0.09157973527908325, -0.023629577830433846, 0.0412604995071888, -0.03316489979624748, -0.033942870795726776, -0.005135932471603155, -0.007398377172648907, -0.04821912199258804, -0.06554802507162094, 0.033811748027801514, -0.02943325787782669, 0.009848639369010925, 0.06180461868643761, -0.009994992054998875, -0.07391247898340225, -0.05659583956003189, 0.010970313102006912, 0.03578285127878189, -0.05216076225042343, -0.037382617592811584, -0.02761903405189514, 0.038360804319381714, 0.03464465215802193, -0.0074042812921106815, -0.03079463355243206, -0.056367624551057816, -0.058150582015514374, -0.006135611329227686, 0.0011554125230759382, -0.0706140398979187, 0.01686936989426613, 0.017274606972932816, -0.00836122315376997 ]
devcenter
https://www.mongodb.com/developer/products/atlas/how-send-mongodb-document-changes-slack-channel
created
First, we will perform the logic with the received object to create a message adapted to the event that occurred. ```javascript var message = ""; if (arg.operationType == 'insert') { message += `A new document with id \`${arg.docId}\` has been inserted`; } else if (arg.operationType == 'update') { message += `The document \`${arg.docId}\` has been updated.`; if (arg.updatedFields && Object.keys(arg.updatedFields).length > 0) { message += ` The fileds ${JSON.stringify(arg.updatedFields)} has been modified.`; } if (arg.removedFields && arg.removedFields.length > 0) { message += ` The fileds ${JSON.stringify(arg.removedFields)} has been removed.`; } } else { message += `An unexpected operation affecting document \`${arg.docId}\` ocurred`; } ```
md
{ "tags": [ "Atlas", "JavaScript" ], "pageDescription": "Learn how to use triggers in MongoDB Atlas to send information about changes to a document to Slack.", "contentType": "Tutorial" }
How to Send MongoDB Document Changes to a Slack Channel
2024-05-20T17:32:23.500Z
[ -0.08079223334789276, 0.0107524199411273, 0.02410375513136387, -0.038039304316043854, 0.024088529869914055, -0.01552523672580719, 0.059473130851984024, 0.047304026782512665, 0.005416723433881998, 0.010476653464138508, -0.02539830096065998, -0.0082736536860466, -0.02138364501297474, 0.0015987413935363293, 0.015565197914838791, -0.00010951335571007803, -0.03417541831731796, -0.00031203898834064603, -0.09651162475347519, 0.03719598054885864, 0.044112060219049454, 0.004461726173758507, -0.04416145756840706, -0.03530881926417351, 0.01918262615799904, 0.08142565935850143, -0.03930440917611122, 0.03800971060991287, -0.03243314102292061, -0.15785259008407593, -0.033929985016584396, -0.11281678825616837, 0.005070718936622143, -0.028533421456813812, 0.004476342815905809, -0.037186022847890854, -0.04239129275083542, 0.0709490031003952, -0.016047464683651924, 0.07265979796648026, 0.048198334872722626, -0.021161509677767754, -0.017782779410481453, -0.09711147099733353, -0.03875558078289032, -0.07343876361846924, -0.044780436903238297, -0.021239344030618668, 0.0036290583666414022, -0.03128518909215927, -0.030744880437850952, -0.04737392067909241, 0.01962675340473652, -0.03381406143307686, 0.0548766553401947, 0.04517866671085358, 0.03957006335258484, 0.04621541500091553, 0.041580680757761, 0.023615917190909386, 0.03652834892272949, 0.05584050714969635, -0.14909952878952026, 0.1135036051273346, 0.04346507787704468, 0.02214449644088745, -0.04640509933233261, -0.03713321313261986, 0.047570984810590744, 0.079033762216568, -0.0027262235525995493, 0.029332654550671577, 0.024826128035783768, 0.06994730234146118, 0.015227108262479305, -0.008428291417658329, -0.006206981837749481, -0.02261650376021862, 0.015417743474245071, 0.06604205071926117, -0.05223483592271805, -0.03953293338418007, -0.01798856444656849, -0.011425934731960297, -0.04132349416613579, -0.059673383831977844, 0.03863228112459183, -0.05539786070585251, 0.03632936626672745, 0.005506974644958973, -0.04076109081506729, 0.01181840430945158, 0.019038785248994827, 0.023239905014634132, -0.0523870475590229, 0.008525725454092026, 0.013862373307347298, 0.0012732536997646093, -0.03418116644024849, 0.2193155437707901, -0.048512015491724014, -0.0032035266049206257, 0.056737955659627914, -0.04141121730208397, 0.00516836391761899, -0.05124841257929802, -0.037736695259809494, -0.06387107074260712, 0.007907752878963947, -0.004783484153449535, -0.021902116015553474, -0.002009557792916894, 0.029643379151821136, -0.009572425857186317, 0.01568523235619068, 0.07206980139017105, 0.04973085597157478, 0.0224930327385664, -0.016319623216986656, -0.00872099306434393, 0.04788893833756447, 0.0006144947255961597, 0.004960846155881882, -0.016585083678364754, 0.02222396247088909, -0.03588994964957237, 0.0969163104891777, 0.11862397938966751, -0.012466450221836567, 0.038922637701034546, 0.04802854731678963, -0.008793339133262634, -0.07831856608390808, -0.0027913847006857395, 0.025008127093315125, -0.01331225037574768, -0.013028512708842754, 0.013541742227971554, 0.01406803634017706, 0.004461782984435558, 0.006012242287397385, -0.1226188987493515, -0.036396052688360214, -0.09022651612758636, -0.027474816888570786, 0.11818036437034607, -0.02796132117509842, 0.03165541589260101, -0.0004001745255663991, -0.025138461962342262, -0.02813616394996643, 0.06510916352272034, -0.08364225178956985, -0.004170795902609825, -0.032239146530628204, 0.03903420642018318, -0.0026196676772087812, 0.05791379138827324, -0.00616641528904438, -0.007543382700532675, -0.02317388541996479, -0.00226346286945045, -0.015005331486463547, 0.12629027664661407, -0.0022959946654736996, -0.08039448410272598, -0.0035118302330374718, -0.028688382357358932, 0.04616789147257805, -0.03291568532586098, -0.017737383022904396, 0.03369511291384697, -0.02800930105149746, -0.02523438259959221, 0.05322102829813957, 0.026039989665150642, 0.005926819518208504, -0.0012057434068992734, 0.004451391752809286, -0.009027461521327496, 0.05477787181735039, -0.017123807221651077, -0.04169771075248718, 0.04641466587781906, 0.03688667714595795, -0.06556541472673416, 0.0024718386121094227, -0.031713712960481644, 0.03436879813671112, 0.08072619140148163, -0.005993021186441183, 0.001710162265226245, -0.0032816927414387465, -0.013241243548691273, -0.036310825496912, -0.02797216922044754, -0.06549475342035294, -0.06980161368846893, 0.01954023167490959, -0.04001184180378914, 0.08059309422969818, 0.012085368856787682, -0.01267113909125328, 0.038746245205402374, -0.02737708017230034, 0.001085445168428123, 0.014440655708312988, -0.005071048624813557, 0.02931138500571251, 0.011391650885343552, -0.05403377115726471, 0.01967368647456169, 0.039247602224349976, -0.020443888381123543, -0.00714255403727293, -0.00006467965431511402, 0.016791794449090958, 0.042601440101861954, 0.015004987828433514, -0.0021466000471264124, -0.006770084612071514, -0.033819783478975296, 0.02217874303460121, -0.25502362847328186, 0.00186342210508883, 0.019492225721478462, -0.031229864805936813, 0.024654965847730637, -0.042442310601472855, 0.016877388581633568, -0.027643315494060516, -0.014157410711050034, 0.019733889028429985, 0.07632699608802795, -0.013831177726387978, -0.014730001799762249, 0.0020945947617292404, 0.01793808862566948, 0.016833428293466568, -0.003921664319932461, -0.036782097071409225, -0.015267004258930683, 0.017881564795970917, -0.056069131940603256, 0.04186392202973366, -0.0015146484365686774, -0.09173282980918884, 0.030641857534646988, -0.014276854693889618, 0.17733336985111237, 0.0660896748304367, 0.018328793346881866, -0.04277155175805092, 0.053913362324237823, 0.0039305067621171474, -0.010823925025761127, -0.11006022989749908, 0.03542998805642128, 0.030052242800593376, -0.035360340029001236, 0.031651321798563004, -0.005203605629503727, 0.0139785036444664, -0.020417729392647743, 0.011981496587395668, 0.0027054229285568, -0.10298533737659454, 0.014796441420912743, -0.0490848608314991, -0.014185353182256222, -0.016643019393086433, -0.02931816130876541, 0.02685730718076229, 0.029559530317783356, -0.023953689262270927, 0.04498312622308731, 0.11035291105508804, -0.019093863666057587, -0.029857967048883438, -0.0411740280687809, 0.03928808495402336, -0.02914111129939556, 0.010901259258389473, 0.005309736356139183, -0.043314818292856216, 0.01111734751611948, -0.01593051478266716, 0.060378335416316986, 0.029489776119589806, 0.00016863984637893736, -0.03133370727300644, 0.027073662728071213, -0.056884072721004486, -0.029368720948696136, 0.09942170977592468, -0.0046583558432757854, 0.004195712506771088, 0.04534114524722099, 0.05498519167304039, 0.013409221544861794, -0.052870433777570724, -0.03994874656200409, -0.005402890965342522, 0.041174907237291336, 0.007101350463926792, 0.052295614033937454, 0.03312811255455017, 0.0018259515054523945, 0.006410656031221151, 0.019274860620498657, 0.021938683465123177, -0.0204764474183321, -0.0568108931183815, -0.020182447507977486, -0.00832768902182579, -0.018407030031085014, -0.03952046483755112, 0.0006418934208340943, -0.03280765935778618, -0.3057256042957306, -0.014434278942644596, 0.03254438564181328, 0.0347135029733181, -0.03344467654824257, 0.06430698186159134, -0.0028819788713008165, 0.05577867850661278, -0.04667474329471588, 0.01727922633290291, -0.03795695677399635, 0.019801463931798935, 0.00994510855525732, 0.014455076307058334, -0.031381215900182724, 0.04900041222572327, 0.018128620460629463, -0.026610007509589195, 0.03176368400454521, -0.07451795041561127, 0.04826541617512703, 0.06916272640228271, 0.2654513418674469, 0.01742086187005043, 0.036242470145225525, 0.04589636251330376, 0.04474771395325661, 0.04724571853876114, 0.07846137136220932, -0.009386931546032429, 0.05606037750840187, 0.016124410554766655, 0.07960208505392075, -0.03287400305271149, 0.044126518070697784, -0.028276365250349045, -0.06141369417309761, 0.09340563416481018, 0.00836328137665987, -0.036949533969163895, -0.06535011529922485, -0.005727649666368961, 0.002355045871809125, -0.03196907788515091, 0.09012476354837418, -0.030513519421219826, -0.05745677649974823, -0.05896734818816185, 0.023588215932250023, 0.02450115792453289, -0.06924290955066681, -0.005129748489707708, -0.011416488327085972, 0.011587120592594147, 0.020152365788817406, 0.022441105917096138, -0.03752448409795761, -0.028508858755230904, -0.04190531000494957, -0.013689699582755566, 0.03468252718448639, -0.049646563827991486, 0.023456217721104622, 0.05145557224750519, -0.018462901934981346 ]
devcenter
https://www.mongodb.com/developer/products/atlas/how-send-mongodb-document-changes-slack-channel
created
Once we have the library, we must use it to create a `WebClient` client that we will use later to make use of the methods we need. ```javascript const { WebClient } = require('@slack/web-api'); // Read a token from the environment variables const token = context.values.get('SLACK_TOKEN'); // Initialize const app = new WebClient(token); ``` Finally, we can send our message with: ```javascript try { // Call the chat.postMessage method using the WebClient const result = await app.chat.postMessage({ channel: channelId, text: `New Event: ${message}` }); console.log(result); } catch (error) { console.error(error); } ``` The full function code will be as: ```javascript exports = async function(arg){
md
{ "tags": [ "Atlas", "JavaScript" ], "pageDescription": "Learn how to use triggers in MongoDB Atlas to send information about changes to a document to Slack.", "contentType": "Tutorial" }
How to Send MongoDB Document Changes to a Slack Channel
2024-05-20T17:32:23.500Z
[ -0.05858749896287918, -0.023548534139990807, 0.005902126897126436, -0.03897954151034355, 0.01843082718551159, -0.004298172425478697, 0.018582908436655998, 0.05807711184024811, -0.00891279336065054, -0.029665406793355942, -0.01096434984356165, -0.05169147625565529, -0.007530245464295149, 0.04209229350090027, 0.01749289594590664, 0.028766844421625137, -0.0009512617834843695, 0.03014320135116577, -0.09882891178131104, 0.03674248233437538, 0.01165170967578888, -0.016411790624260902, -0.0037825435865670443, -0.04024696722626686, -0.011346773244440556, 0.03311605751514435, -0.050377439707517624, -0.011716838926076889, -0.01114716287702322, -0.12874850630760193, -0.04507680609822273, -0.058758996427059174, 0.02313341572880745, -0.025531550869345665, -0.0035295195411890745, -0.0518823117017746, -0.002175627974793315, 0.060564834624528885, -0.071026511490345, 0.05729628726840019, 0.05005326867103577, 0.013927546329796314, -0.023360582068562508, -0.04345186799764633, -0.021781351417303085, -0.07145021855831146, -0.039409078657627106, -0.023387933149933815, -0.01756991446018219, -0.036023128777742386, 0.005052194464951754, -0.047544997185468674, 0.00903148204088211, -0.023379044607281685, 0.01191058848053217, 0.041334040462970734, 0.02720821648836136, 0.10076196491718292, 0.020172683522105217, 0.05899687856435776, 0.04605543613433838, 0.010480997152626514, -0.17901983857154846, 0.12699531018733978, 0.036526571959257126, 0.0662062019109726, -0.054577603936195374, 0.012178263626992702, 0.0461076982319355, 0.03928801417350769, -0.03349631279706955, 0.04160043224692345, 0.014362309128046036, 0.05628962069749832, 0.01515781320631504, -0.04880177602171898, 0.0013331223744899035, 0.0014535619411617517, 0.06281407177448273, 0.014017281122505665, -0.032904572784900665, -0.018817251548171043, 0.03098861500620842, 0.017926255241036415, 0.008968617767095566, -0.04315638169646263, 0.04084968566894531, -0.030992990359663963, 0.022916827350854874, 0.03468744084239006, -0.09283462166786194, -0.032875895500183105, 0.0006427833577618003, 0.034619204699993134, -0.10306516289710999, 0.014990015886723995, 0.004276529420167208, 0.036069370806217194, -0.06444495916366577, 0.2201744019985199, -0.08366326987743378, 0.039107635617256165, 0.019610432907938957, -0.04625596106052399, 0.0020289081148803234, -0.05587596818804741, -0.024544745683670044, -0.06413165479898453, -0.01275416649878025, 0.02206498011946678, -0.03780096769332886, -0.010455976240336895, 0.013751644641160965, -0.05002296343445778, 0.019184045493602753, 0.043180424720048904, -0.008458905853331089, 0.026120904833078384, -0.013478853739798069, 0.002200573915615678, 0.022761434316635132, 0.06258682161569595, 0.03513181582093239, 0.0057888454757630825, 0.05797440558671951, -0.024538738653063774, 0.058207616209983826, 0.09550202637910843, -0.005636409856379032, 0.05208958685398102, 0.055719856172800064, 0.03313218429684639, -0.06526245921850204, 0.011336040683090687, 0.019641611725091934, 0.017664620652794838, 0.00852151308208704, 0.00992383249104023, 0.01689128577709198, 0.015481113456189632, 0.01944633014500141, -0.06896255910396576, -0.01621696725487709, -0.07859514653682709, -0.01638093777000904, 0.06597041338682175, -0.0022839223966002464, 0.0740756094455719, -0.06232018768787384, -0.025998873636126518, 0.0016366151394322515, 0.05419936031103134, -0.059339575469493866, -0.007525105029344559, 0.03289718180894852, 0.029998676851391792, 0.0036223134957253933, 0.07251853495836258, -0.025844790041446686, 0.02455652318894863, -0.03970601409673691, -0.001428659656085074, -0.0019223690032958984, 0.049659404903650284, 0.003690039273351431, -0.10395920276641846, -0.012028378434479237, 0.02914571389555931, 0.023165974766016006, -0.049727752804756165, -0.006642727181315422, 0.05974266678094864, -0.011500599794089794, 0.005994067527353764, 0.0675760880112648, -0.0016575774643570185, -0.050579823553562164, 0.004549227189272642, 0.003437595907598734, -0.006094844080507755, 0.03420848026871681, -0.005861375946551561, -0.028242064639925957, 0.04463675990700722, 0.047121353447437286, -0.039954617619514465, 0.024574505165219307, -0.059013593941926956, 0.023454349488019943, 0.03959885239601135, -0.028859954327344894, 0.01678028330206871, -0.007580594625324011, -0.06138153001666069, -0.008518554270267487, 0.034190915524959564, -0.04829999431967735, -0.0576041080057621, -0.0035781837068498135, -0.01697610132396221, 0.08562890440225601, 0.017773956060409546, -0.01604561321437359, 0.0541098453104496, -0.01969548687338829, 0.04350005090236664, -0.004966570995748043, -0.02866656705737114, 0.06326146423816681, 0.01026205625385046, -0.07908356189727783, 0.00032672641100361943, 0.05263194441795349, 0.018687654286623, -0.03285544365644455, -0.015449786558747292, 0.061861004680395126, 0.05409425124526024, 0.032076042145490646, 0.04009484127163887, -0.004032311961054802, -0.03452979773283005, -0.0441131591796875, -0.2466644048690796, 0.018840843811631203, 0.005283833481371403, -0.030048677697777748, 0.013923898339271545, -0.01612035557627678, 0.03774992749094963, -0.026922181248664856, -0.008541758172214031, 0.03782413899898529, 0.15812145173549652, 0.014062619768083096, -0.02332673966884613, 0.03480396047234535, 0.00873618759214878, 0.0595305860042572, -0.031804393976926804, -0.015637608245015144, -0.04804367572069168, -0.028188038617372513, -0.056954868137836456, -0.005590924993157387, -0.01786796562373638, -0.07471363991498947, 0.02049320936203003, -0.011814995668828487, 0.19199238717556, 0.04963026940822601, -0.0020576680544763803, -0.031094029545783997, 0.04013940319418907, 0.016842957586050034, 0.0029628106858581305, -0.1285550594329834, -0.025162236765027046, 0.03339601308107376, 0.04230920225381851, 0.03493354842066765, 0.016066020354628563, -0.025388533249497414, -0.033615510910749435, 0.006977621000260115, 0.00620254734531045, -0.08144616335630417, -0.017903469502925873, -0.0589868426322937, -0.05324309691786766, -0.016488654538989067, -0.022032085806131363, 0.01627941243350506, 0.00424316106364131, -0.0004061968647874892, 0.05830585956573486, 0.062276341021060944, -0.02977241948246956, -0.03286091238260269, 0.0019694773945957422, -0.009558165445923805, -0.004429646767675877, 0.02999725751578808, -0.0012108746450394392, -0.02624491974711418, -0.005131854675710201, -0.0010059761116281152, 0.050953663885593414, 0.024556564167141914, 0.015622109174728394, -0.024420326575636864, 0.06232716888189316, -0.07507583498954773, -0.04481491073966026, 0.12085282802581787, -0.022468645125627518, 0.049705080687999725, 0.04649800434708595, 0.02505536749958992, 0.0094961728900671, -0.050175756216049194, -0.016620246693491936, 0.0026891871821135283, 0.019608216360211372, 0.007800998166203499, 0.025661807507276535, 0.015981683507561684, 0.0038953395560383797, -0.026044920086860657, -0.0035214354284107685, 0.02607337012887001, 0.034944843500852585, -0.04051259532570839, -0.052482519298791885, 0.011867268942296505, -0.033440861850976944, -0.029258109629154205, 0.03306789696216583, -0.027972232550382614, -0.28474390506744385, 0.0053026252426207066, 0.008486590348184109, -0.02414597012102604, -0.034213583916425705, 0.016156461089849472, 0.050983279943466187, 0.024669326841831207, -0.08508730679750443, 0.0371294803917408, 0.03321758285164833, 0.030583810061216354, 0.021824458613991737, 0.017105264589190483, 0.042948536574840546, 0.05076640471816063, 0.061252545565366745, -0.0388118214905262, 0.01901739276945591, -0.07391437143087387, 0.0195305272936821, 0.030223576352000237, 0.23594443500041962, -0.0386711023747921, 0.05209331959486008, 0.08998002111911774, -0.033231768757104874, 0.07281382381916046, 0.10615687817335129, 0.004342739470303059, -0.003222440602257848, 0.00030424821306951344, 0.09018675982952118, -0.04621389880776405, 0.02505219727754593, -0.041243355721235275, -0.040919702500104904, 0.01111283153295517, 0.01222950778901577, -0.05374089255928993, -0.01760190725326538, 0.020925099030137062, -0.008225985802710056, -0.027121108025312424, 0.07946513593196869, -0.0002770507999230176, -0.06738545000553131, -0.0961277186870575, -0.01872839406132698, 0.005918429233133793, -0.08955499529838562, -0.04804154485464096, 0.014699212275445461, 0.0006282425601966679, 0.01931418478488922, 0.004485943354666233, -0.022423116490244865, -0.06518495827913284, -0.0956321656703949, -0.022397300228476524, 0.02669275552034378, -0.10355792939662933, 0.013584180735051632, 0.05034854635596275, 0.018677115440368652 ]
devcenter
https://www.mongodb.com/developer/products/atlas/how-send-mongodb-document-changes-slack-channel
created
The full function code will be as: ```javascript exports = async function(arg){ const { WebClient } = require('@slack/web-api'); // Read a token from the environment variables const token = context.values.get('SLACK_TOKEN'); const channelId = context.values.get('CHANNEL_ID'); // Initialize const app = new WebClient(token);
md
{ "tags": [ "Atlas", "JavaScript" ], "pageDescription": "Learn how to use triggers in MongoDB Atlas to send information about changes to a document to Slack.", "contentType": "Tutorial" }
How to Send MongoDB Document Changes to a Slack Channel
2024-05-20T17:32:23.500Z
[ -0.06603668630123138, -0.03279050067067146, 0.012644114904105663, -0.0491916760802269, 0.04329785332083702, 0.0019121739314869046, 0.03035837598145008, 0.056558966636657715, 0.004621004220098257, -0.024650365114212036, -0.0052359928376972675, -0.05651203542947769, 0.01625181920826435, 0.04316787049174309, 0.00094823376275599, 0.012626059353351593, -0.017761537805199623, 0.03466571122407913, -0.10351962596178055, 0.015201514586806297, 0.030506635084748268, -0.01969967596232891, -0.01903671771287918, -0.04999777674674988, 0.00070179597241804, 0.046722590923309326, -0.024325260892510414, 0.001729627139866352, -0.004901881329715252, -0.13873502612113953, -0.053839437663555145, -0.07217451184988022, 0.0053399791941046715, -0.018932657316327095, 0.013379048556089401, -0.045452553778886795, 0.0017758877947926521, 0.04354220628738403, -0.05064196512103081, 0.07181244343519211, 0.043198712170124054, 0.003702407004311681, -0.012597216293215752, -0.05902998149394989, -0.02549700438976288, -0.06511455774307251, -0.0305184219032526, -0.013048470951616764, 0.0031932785641402006, -0.0043359179981052876, -0.002389883156865835, -0.04602384567260742, -0.013321906328201294, -0.03163515403866768, 0.023056156933307648, 0.03938787803053856, 0.02422183007001877, 0.09579753875732422, 0.03862294182181358, 0.0855315625667572, 0.048518385738134384, 0.02287522703409195, -0.20755743980407715, 0.1224028468132019, 0.04828377068042755, 0.03887000307440758, -0.058027300983667374, -0.007125447504222393, 0.03231162950396538, 0.025936894118785858, -0.03949480503797531, 0.04349444806575775, 0.01989307440817356, 0.06592071801424026, 0.007039404474198818, -0.06398788839578629, -0.004823816940188408, 0.004500675480812788, 0.024908460676670074, 0.006077664904296398, -0.017528394237160683, -0.01744636334478855, 0.004551889840513468, 0.024367906153202057, 0.0029005329124629498, -0.041526101529598236, 0.02905079908668995, -0.04367786645889282, 0.037721898406744, 0.03593982756137848, -0.07496646791696548, -0.04329811409115791, -0.007693561725318432, 0.028195390477776527, -0.10427847504615784, 0.03817792981863022, 0.01859472692012787, 0.035816263407468796, -0.05821516364812851, 0.21003639698028564, -0.06726181507110596, 0.026082640513777733, 0.02449338138103485, -0.04133836179971695, 0.01122466940432787, -0.04404917359352112, -0.02814512699842453, -0.03565182164311409, -0.021767938509583473, 0.009357428178191185, -0.051942311227321625, -0.006258278153836727, 0.023888302966952324, -0.04214097559452057, 0.013958094641566277, 0.042316291481256485, 0.006256058346480131, 0.017687661573290825, -0.007001855876296759, 0.0022608430590480566, 0.047190241515636444, 0.05017099529504776, 0.02291870303452015, 0.018355771899223328, 0.037532657384872437, -0.014020501635968685, 0.054268162697553635, 0.11100859194993973, -0.000004289759090170264, 0.05978119373321533, 0.07118510454893112, 0.03069738857448101, -0.05350067466497421, 0.02163085527718067, 0.01517555769532919, 0.0032385452650487423, 0.0066980523988604546, 0.013448826037347317, 0.004117493983358145, 0.02577643282711506, -0.009670973755419254, -0.06838499754667282, -0.011317193508148193, -0.07972002774477005, 0.008062856271862984, 0.06978917121887207, -0.007036081049591303, 0.05684371665120125, -0.07376973330974579, -0.01941480115056038, -0.006044479552656412, 0.051486361771821976, -0.03075774945318699, -0.02591017819941044, 0.03502248227596283, 0.05825621262192726, -0.0034886114299297333, 0.06000795587897301, -0.03552648797631264, 0.011759408749639988, -0.047002702951431274, 0.010692287236452103, -0.024016164243221283, 0.053339406847953796, 0.006056598387658596, -0.07635307312011719, -0.007128134369850159, 0.023675210773944855, 0.02623860538005829, -0.05695922300219536, -0.0012536142021417618, 0.045344188809394836, -0.04441697150468826, 0.0015010564820840955, 0.07219354063272476, 0.01063986774533987, -0.031397346407175064, 0.006088725291192532, 0.0029926493298262358, 0.005368726793676615, 0.029929161071777344, -0.037437476217746735, -0.03347086161375046, 0.023469096049666405, 0.04887993261218071, -0.033852335065603256, -0.013673977926373482, -0.0599907711148262, 0.013753002509474754, 0.039445459842681885, -0.022234268486499786, 0.014015899039804935, -0.03357900679111481, -0.06504999101161957, -0.01473633199930191, 0.0037981390487402678, -0.04607386514544487, -0.04803558811545372, 0.00004148815787630156, -0.019683832302689552, 0.1060759425163269, 0.026545196771621704, -0.013580739498138428, 0.046142760664224625, -0.016722675412893295, 0.04048200324177742, -0.025199856609106064, -0.008503798395395279, 0.03007185459136963, 0.017925690859556198, -0.07707788050174713, 0.006585764233022928, 0.059525441378355026, 0.02530827559530735, -0.023396221920847893, -0.021231191232800484, 0.05263710021972656, 0.044971566647291183, 0.039169177412986755, 0.04099680110812187, -0.004265206400305033, -0.052402373403310776, -0.03668023273348808, -0.23717813193798065, 0.018772440031170845, 0.018059808760881424, -0.03262702003121376, 0.013586219400167465, -0.023462573066353798, 0.02771354839205742, -0.007934130728244781, 0.001780340913683176, 0.03178511932492256, 0.13965748250484467, 0.021892616525292397, -0.0044294302351772785, 0.035756248980760574, -0.01282750628888607, 0.05704519897699356, -0.01661653257906437, 0.0017128397012129426, -0.02285783737897873, -0.03145295009016991, -0.036864615976810455, -0.0141880102455616, -0.034003399312496185, -0.07427512854337692, 0.02448195219039917, -0.020312614738941193, 0.1949332356452942, 0.043422162532806396, 0.015894990414381027, -0.04272223636507988, 0.0523420087993145, 0.014939841814339161, 0.015072696842253208, -0.12195446342229843, -0.002771932864561677, 0.029199698939919472, 0.023174384608864784, 0.028723713010549545, 0.0024529574438929558, -0.0026782904751598835, -0.021586598828434944, 0.006020769942551851, -0.007236154284328222, -0.057108450680971146, 0.0009247621055692434, -0.07541012763977051, -0.06238293647766113, -0.018212012946605682, -0.02972312644124031, 0.02018979750573635, 0.029964841902256012, -0.012820699252188206, 0.06417063623666763, 0.038089245557785034, -0.008689510636031628, 0.007943619973957539, 0.021815145388245583, -0.01273458544164896, 0.0007567561115138233, 0.042454708367586136, -0.0016424410277977586, -0.03073539212346077, -0.0014061250258237123, -0.007217159494757652, 0.05811268091201782, 0.02280924841761589, 0.025358622893691063, -0.038294486701488495, 0.06919015944004059, -0.0702686682343483, -0.04188569635152817, 0.07819210737943649, -0.027754245325922966, 0.03598513826727867, 0.037696484476327896, 0.005643833894282579, -0.003432162571698427, -0.02420199289917946, 0.014679694548249245, -0.01210541557520628, 0.04053114727139473, 0.004416948184370995, 0.02272210456430912, -0.0027375018689781427, -0.004116243217140436, -0.02498357556760311, -0.002649118658155203, 0.006919234991073608, 0.03524741157889366, -0.04611552134156227, -0.04572298005223274, 0.004619002807885408, -0.026161564514040947, -0.02725212089717388, 0.030116919428110123, -0.02130952849984169, -0.3052317202091217, 0.019214743748307228, 0.00867100153118372, -0.01609128527343273, -0.029732687398791313, 0.020668042823672295, 0.062369272112846375, 0.01751624047756195, -0.09817399829626083, 0.03789591044187546, -0.01124019268900156, 0.027273254469037056, 0.021222982555627823, 0.0008133681840263307, 0.036192525178194046, 0.04471762850880623, 0.05462174490094185, -0.029369425028562546, 0.032544929534196854, -0.06356759369373322, 0.04490439221262932, 0.0536821074783802, 0.24539291858673096, -0.07406091690063477, 0.05080555006861687, 0.10340188443660736, -0.04401658475399017, 0.05507991090416908, 0.12105683982372284, 0.009019844233989716, 0.013224383816123009, 0.009909560903906822, 0.0955289751291275, -0.050912510603666306, 0.02146562747657299, -0.02165801450610161, -0.033396780490875244, 0.03192136436700821, 0.024704447016119957, -0.0453668013215065, -0.008820455521345139, 0.02561224065721035, 0.001759687322191894, -0.019332166761159897, 0.06558413058519363, -0.021310970187187195, -0.06424742192029953, -0.11961217224597931, -0.028934117406606674, 0.01116914488375187, -0.1102847158908844, -0.0329768992960453, 0.016146063804626465, -0.01128529105335474, 0.021030200645327568, 0.0058829342015087605, -0.023087769746780396, -0.06280716508626938, -0.08956798911094666, -0.02204553782939911, 0.01459547784179449, -0.1168028712272644, -0.0004912440781481564, 0.043936654925346375, 0.00446137273684144 ]
devcenter
https://www.mongodb.com/developer/products/atlas/how-send-mongodb-document-changes-slack-channel
created
var message = ""; if (arg.operationType == 'insert') { message += `A new document with id \`${arg.docId}\` has been inserted`; } else if (arg.operationType == 'update') { message += `The document \`${arg.docId}\` has been updated.`; if (arg.updatedFields && Object.keys(arg.updatedFields).length > 0) { message += ` The fileds ${JSON.stringify(arg.updatedFields)} has been modified.`; } if (arg.removedFields && arg.removedFields.length > 0) { message += ` The fileds ${JSON.stringify(arg.removedFields)} has been removed.`; } } else { message += `An unexpected operation affecting document \`${arg.docId}\` ocurred`; }
md
{ "tags": [ "Atlas", "JavaScript" ], "pageDescription": "Learn how to use triggers in MongoDB Atlas to send information about changes to a document to Slack.", "contentType": "Tutorial" }
How to Send MongoDB Document Changes to a Slack Channel
2024-05-20T17:32:23.500Z
[ -0.08266864717006683, -0.019241712987422943, 0.02353842556476593, -0.02521379105746746, 0.027662349864840508, -0.026150666177272797, 0.03329278901219368, 0.03873886168003082, -0.00866732094436884, -0.017852121964097023, -0.015996860340237617, -0.008567520417273045, -0.009459811262786388, 0.008727648295462132, -0.002101360121741891, -0.0025883610360324383, -0.03882452845573425, -0.015273385681211948, -0.09161218255758286, 0.047304365783929825, 0.056767698377370834, 0.009678095579147339, -0.02725823223590851, -0.03570607304573059, 0.05395283177495003, 0.09361094981431961, -0.03232287988066673, 0.010774262249469757, -0.039299823343753815, -0.17918796837329865, -0.037065595388412476, -0.095580093562603, 0.0066931964829564095, -0.022320350632071495, 0.013036470860242844, -0.009949274361133575, -0.050592683255672455, 0.07909926772117615, 0.0017080771503970027, 0.08069454878568649, 0.019918998703360558, -0.022796789184212685, -0.023571258410811424, -0.08378870785236359, -0.041555989533662796, -0.08282696455717087, -0.05919690057635307, -0.016004662960767746, 0.03336799517273903, -0.030624261125922203, -0.012887769378721714, -0.0635346993803978, 0.014182830229401588, -0.01554775983095169, 0.04342188313603401, 0.02605407126247883, 0.03458252549171448, 0.05037689581513405, 0.013234554789960384, 0.03683072328567505, 0.04941020533442497, 0.070432648062706, -0.18495236337184906, 0.12126176059246063, 0.04362202063202858, 0.008818726986646652, -0.023790476843714714, -0.044446125626564026, 0.032930366694927216, 0.06937500834465027, 0.0030002593994140625, 0.03253556042909622, 0.012913340702652931, 0.06651104986667633, 0.01177392527461052, -0.01472619641572237, -0.004968942608684301, -0.029297001659870148, 0.020974047482013702, 0.05725453048944473, -0.03577600046992302, -0.06306484341621399, -0.021197505295276642, -0.00934216845780611, -0.048698652535676956, -0.0616525374352932, 0.029940325766801834, -0.05821608006954193, 0.05250296741724014, 0.0013980745570734143, -0.0352000966668129, -0.004706502892076969, 0.03547564148902893, 0.015977581962943077, -0.0583452470600605, 0.006042699795216322, 0.009089614264667034, 0.018592366948723793, -0.06162377446889877, 0.2367682158946991, -0.06127571314573288, -0.012693115510046482, 0.050979629158973694, -0.035240624099969864, -0.0013930730056017637, -0.034867193549871445, -0.02548629604279995, -0.03197934478521347, 0.007390152662992477, -0.015126912854611874, -0.01725699193775654, 0.023066198453307152, 0.053250301629304886, -0.005927662830799818, 0.015844447538256645, 0.0629689171910286, 0.05619228258728981, 0.010486388579010963, -0.021396424621343613, 0.004645456559956074, 0.016106529161334038, -0.0015963295008987188, 0.008401205763220787, -0.010571718215942383, 0.02700834348797798, -0.03499585762619972, 0.08187583088874817, 0.11395274102687836, 0.01671079359948635, 0.034088533371686935, 0.07398004829883575, 0.0016998075880110264, -0.08023267239332199, -0.0033256812021136284, 0.008692980743944645, -0.013251896016299725, -0.008009904995560646, 0.018853217363357544, 0.011123458854854107, -0.0028342599980533123, -0.0007455147569999099, -0.15328601002693176, -0.05479830875992775, -0.08186516910791397, -0.02432187832891941, 0.1217992901802063, -0.0382542759180069, 0.03338765725493431, -0.015567643567919731, -0.009480150416493416, -0.027712294831871986, 0.08535388112068176, -0.08616717904806137, 0.027170652523636818, -0.011636919341981411, 0.01935562863945961, 0.009236117824912071, 0.042093463242053986, -0.0061703328974545, -0.016921838745474815, -0.008125720545649529, -0.022004496306180954, -0.05368964746594429, 0.11884097754955292, 0.016203459352254868, -0.062247760593891144, -0.024516621604561806, -0.046118371188640594, 0.009400708600878716, -0.019547568634152412, -0.005258102435618639, 0.03457484021782875, -0.04794100299477577, -0.004496748559176922, 0.03872349113225937, 0.014257832430303097, 0.015172076411545277, -0.0011326813837513328, -0.005457060411572456, 0.010991781949996948, 0.040166642516851425, 0.0011762127978727221, -0.02725117839872837, 0.047088075429201126, 0.04828137531876564, -0.060428351163864136, 0.004598400089889765, -0.038998331874608994, 0.04457122087478638, 0.06141640990972519, -0.001253271009773016, -0.01681242510676384, 0.013495356775820255, -0.02114124596118927, -0.038416069000959396, -0.0192567091435194, -0.03679486736655235, -0.05259665101766586, 0.030936094000935555, -0.053616590797901154, 0.1149463877081871, 0.03758608177304268, -0.00069456547498703, 0.027999844402074814, -0.039187654852867126, -0.003501151455566287, 0.012848981656134129, -0.010709510184824467, 0.02124105766415596, -0.002640876919031143, -0.051412709057331085, 0.02161693386733532, 0.049569956958293915, -0.020308829843997955, -0.007822827436029911, -0.006989257410168648, 0.01425402332097292, 0.018117384985089302, 0.0488041490316391, 0.03210202604532242, -0.010684276930987835, -0.032180674374103546, 0.0006628430564887822, -0.2457282543182373, 0.017224883660674095, 0.021791229024529457, -0.025533588603138924, 0.017913565039634705, -0.04651782661676407, 0.0015002033906057477, -0.015239590778946877, 0.0027060944121330976, 0.023396052420139313, 0.03338933736085892, -0.009064949117600918, -0.014671421609818935, -0.016106853261590004, 0.017818069085478783, 0.02510235272347927, 0.0049818577244877815, -0.04906666278839111, -0.006938474252820015, 0.00642376160249114, -0.026622435078024864, 0.03037938103079796, -0.014630400575697422, -0.07033761590719223, 0.047701526433229446, -0.007300569675862789, 0.18599726259708405, 0.0590154193341732, 0.017306603491306305, -0.04178951680660248, 0.04896758869290352, 0.029958480969071388, -0.006721794605255127, -0.1310466080904007, 0.05304442718625069, 0.027081076055765152, -0.03397911414504051, 0.010533432476222515, -0.02766856551170349, 0.011345027945935726, -0.024628840386867523, 0.014714909717440605, -0.015234232880175114, -0.0939251109957695, 0.037502676248550415, -0.058955591171979904, -0.02033807523548603, -0.009604541584849358, -0.03187672421336174, 0.05244547873735428, 0.04256436228752136, -0.007083130534738302, 0.04417981207370758, 0.08784694969654083, -0.0031903053168207407, -0.01490434817969799, -0.05860508605837822, 0.026205996051430702, -0.01606539450585842, 0.018425391986966133, -0.0028460111934691668, -0.0549914576113224, 0.02584093064069748, -0.009163931012153625, 0.05648216977715492, 0.005349953193217516, 0.005075936671346426, -0.033720508217811584, 0.03769303858280182, -0.03898654878139496, -0.05274917930364609, 0.08049441874027252, 0.007965401746332645, 0.0005091804196126759, 0.030474472790956497, 0.042187195271253586, -0.006294816266745329, -0.013175318017601967, -0.03938295319676399, -0.024929150938987732, 0.05077211186289787, 0.0030629043467342854, 0.0636778175830841, 0.03765425458550453, 0.001230970025062561, 0.01319717988371849, 0.001695040031336248, 0.038133732974529266, -0.0007576060015708208, -0.06609529256820679, -0.01689191721379757, -0.013536596670746803, -0.006720670033246279, -0.047518808394670486, 0.02500799112021923, -0.03163396567106247, -0.28615128993988037, -0.0010552433086559176, 0.030091119930148125, 0.016373859718441963, -0.04491520673036575, 0.06330148875713348, 0.012913214974105358, 0.02804642729461193, -0.047398775815963745, 0.026539752259850502, -0.037085842341184616, 0.017709538340568542, 0.00633262237533927, -0.0016542969970032573, -0.05802283063530922, 0.031553830951452255, 0.013447265140712261, -0.028821386396884918, 0.04356859624385834, -0.05600098520517349, 0.06524434685707092, 0.06194745749235153, 0.244728684425354, 0.012527583166956902, 0.035151008516550064, 0.05026543512940407, 0.04157251492142677, 0.04901044815778732, 0.07821640372276306, -0.007333444431424141, 0.04305393621325493, -0.001302126212976873, 0.11672430485486984, -0.02879202924668789, 0.046903207898139954, -0.020743152126669884, -0.05107401683926582, 0.0846734344959259, 0.00309599656611681, -0.0304082203656435, -0.05672779679298401, 0.006183985620737076, -0.022524284198880196, -0.014362391084432602, 0.0924549475312233, -0.04919910430908203, -0.028869803994894028, -0.043373674154281616, 0.01790720410645008, 0.005922147538512945, -0.09680062532424927, 0.004746770486235619, -0.01137102022767067, 0.016499530524015427, 0.03274967521429062, 0.014864540658891201, -0.03255396708846092, -0.04183780774474144, -0.03320888429880142, -0.024751661345362663, 0.007605403196066618, -0.048161160200834274, -0.001109411008656025, 0.04405897483229637, -0.0141184376552701 ]
devcenter
https://www.mongodb.com/developer/products/atlas/how-send-mongodb-document-changes-slack-channel
created
try { // Call the chat.postMessage method using the WebClient const result = await app.chat.postMessage({ channel: channelId, text: `New Event: ${message}` }); console.log(result); } catch (error) { console.error(error); } }; ``` Note: The bot token we use must have the minimum permissions to send messages to a certain channel. We must also have the application created in Slack added to the channel where we want to receive the messages. If everything is properly configured, every change in the collection and monitored operations will be received in the Slack channel: to only detect certain changes and then adapt the change event to only receive certain fields with a "$project". ## Conclusion
md
{ "tags": [ "Atlas", "JavaScript" ], "pageDescription": "Learn how to use triggers in MongoDB Atlas to send information about changes to a document to Slack.", "contentType": "Tutorial" }
How to Send MongoDB Document Changes to a Slack Channel
2024-05-20T17:32:23.500Z
[ -0.038253337144851685, 0.00445207953453064, 0.008817768655717373, -0.06323850154876709, 0.024260761216282845, -0.004889675881713629, 0.02167149819433689, 0.04973961040377617, -0.040696412324905396, -0.0053010256960988045, -0.01145285926759243, -0.04720069468021393, -0.0007305164472199976, 0.0380631722509861, 0.020370768383145332, 0.030270053073763847, -0.01671566441655159, -0.00875694677233696, -0.08590472489595413, 0.04715065658092499, 0.021067103371024132, 0.004905285779386759, -0.009077614173293114, -0.022708460688591003, 0.018112683668732643, 0.04173059016466141, -0.06161211431026459, -0.0201952513307333, -0.03293872997164726, -0.15167111158370972, -0.04799261689186096, -0.07684972137212753, 0.03870326653122902, -0.0246251430362463, 0.016610801219940186, -0.05662909895181656, -0.028580645099282265, 0.02435619942843914, -0.05881843715906143, 0.0498230904340744, 0.04964074864983559, 0.0165377389639616, -0.008962074294686317, -0.07064156979322433, -0.032708995044231415, -0.09388409554958344, -0.031101692467927933, 0.004051746800541878, -0.005951937288045883, -0.02661069668829441, 0.02436838299036026, -0.048747554421424866, 0.031004704535007477, -0.0137942461296916, 0.01827261969447136, 0.0489049032330513, 0.02717447094619274, 0.08371207863092422, 0.04224780574440956, 0.04855513945221901, 0.04465355724096298, 0.023121846839785576, -0.18833036720752716, 0.1113736480474472, 0.042808499187231064, 0.07807330787181854, -0.04302843660116196, 0.0038598901592195034, 0.03608360141515732, 0.03430497273802757, 0.007670528255403042, 0.04973631724715233, -0.0007640946423634887, 0.06317336857318878, 0.0403069332242012, 0.0020743142813444138, 0.011850920505821705, -0.025888962671160698, 0.05912533029913902, 0.04987943544983864, -0.024026842787861824, -0.011865505017340183, 0.0023490998428314924, 0.0021730458829551935, -0.011191110126674175, -0.05023690685629845, 0.05748477205634117, -0.02895132265985012, 0.013743584044277668, 0.054808542132377625, -0.08396048843860626, 0.0017076500225812197, 0.01743369735777378, 0.03057212382555008, -0.10688791424036026, 0.005742146633565426, 0.0034389521460980177, 0.02139803022146225, -0.0736030712723732, 0.22329053282737732, -0.06292165070772171, 0.03578988090157509, -0.004674756899476051, -0.026870062574744225, 0.032310355454683304, -0.03031976707279682, -0.050478462129831314, -0.04683597385883331, -0.007643676828593016, 0.03357401862740517, -0.013855716213583946, -0.0004664646403398365, 0.03895663097500801, -0.03950238600373268, -0.006573761347681284, 0.047942012548446655, 0.02488606609404087, 0.044526614248752594, -0.04226814955472946, -0.011203119531273842, 0.03529971465468407, 0.06375022977590561, 0.03524591028690338, -0.03821166232228279, 0.03234874829649925, -0.03563689813017845, 0.07626692950725555, 0.10863682627677917, 0.016613392159342766, 0.03603513911366463, 0.046641018241643906, 0.0132807157933712, -0.07574571669101715, -0.03509342297911644, 0.017811262980103493, 0.011406700126826763, -0.013104822486639023, -0.006089129019528627, 0.026248646900057793, -0.01385318860411644, 0.015972446650266647, -0.10119156539440155, 0.01634899526834488, -0.0943429246544838, -0.04656560719013214, 0.07321945577859879, -0.0044430457055568695, 0.04859419912099838, -0.06350389868021011, -0.03962302953004837, -0.00024883513106033206, 0.04302382096648216, -0.0590147040784359, -0.0020115275401622057, 0.0020978099200874567, 0.00534571148455143, 0.007620509713888168, 0.09961903095245361, -0.01547059416770935, 0.05442681536078453, -0.025859802961349487, 0.004509756341576576, 0.010980171151459217, 0.07841859012842178, 0.04096398502588272, -0.08310139179229736, -0.029113098978996277, -0.011814995668828487, 0.016753505915403366, -0.055874187499284744, -0.021029990166425705, 0.05035308003425598, -0.056512996554374695, -0.008802059106528759, 0.031848374754190445, 0.0071591478772461414, -0.053121477365493774, 0.012567919678986073, -0.000097477255621925, 0.021627305075526237, 0.027227969840168953, -0.003930012229830027, 0.024193735793232918, 0.03434164822101593, 0.04617585614323616, -0.05038127675652504, 0.031545910984277725, -0.042602866888046265, 0.06585202366113663, 0.023325292393565178, -0.02382664568722248, -0.005967877339571714, -0.015174297615885735, -0.024303369224071503, -0.03237128257751465, 0.02373981848359108, -0.03737099468708038, -0.07356302440166473, -0.02046925388276577, -0.05035868659615517, 0.07307092100381851, 0.03318791463971138, -0.04378173127770424, 0.04225701466202736, -0.020027466118335724, 0.028810450807213783, -0.0005877852672711015, -0.038361240178346634, 0.060863856226205826, -0.0073290858417749405, -0.061711572110652924, 0.011161502450704575, 0.06574858725070953, -0.019919659942388535, -0.036531124264001846, -0.0022368242498487234, 0.043826423585414886, 0.06815146654844284, 0.03331303969025612, 0.04089690372347832, -0.006334235891699791, 0.023607874289155006, -0.020075500011444092, -0.2789755165576935, -0.010444661602377892, 0.006654113065451384, -0.032206177711486816, -0.004382400307804346, -0.025790175423026085, 0.012040562927722931, -0.0546848401427269, 0.045772042125463486, 0.060752805322408676, 0.13615252077579498, 0.0031494665890932083, -0.02277630940079689, 0.00698342127725482, 0.03401347994804382, 0.0537281259894371, -0.05077184736728668, -0.015594086609780788, -0.023321887478232384, -0.028882576152682304, -0.05505117401480675, -0.005225877743214369, 0.01099326927214861, -0.08190104365348816, 0.01677551493048668, 0.007962510921061039, 0.18250621855258942, 0.06091426685452461, -0.006720141973346472, -0.01387034635990858, 0.03128611668944359, 0.012209996581077576, 0.015651706606149673, -0.14884886145591736, 0.007614463567733765, 0.05765834078192711, 0.02227887324988842, 0.05342140048742294, 0.009647847153246403, -0.035133715718984604, -0.040620360523462296, 0.019237887114286423, 0.0013089471030980349, -0.12008142471313477, -0.005251780152320862, -0.05991819128394127, -0.038151465356349945, 0.0004830170946661383, -0.038812849670648575, -0.0029077257495373487, 0.011677305214107037, -0.001753632677718997, 0.05478506162762642, 0.054271191358566284, 0.004970460664480925, -0.029841743409633636, -0.007169775664806366, -0.012389502488076687, -0.013318593613803387, 0.02754465490579605, 0.008269187062978745, 0.00015993746637832373, 0.01853383332490921, -0.0030901748687028885, 0.05045498162508011, 0.036708682775497437, 0.01733415015041828, -0.035255949944257736, 0.0613374263048172, -0.031479187309741974, -0.006286113988608122, 0.10149335116147995, -0.01030142605304718, 0.052076518535614014, 0.03747544437646866, 0.018488170579075813, -0.018734004348516464, -0.06400628387928009, -0.00441050436347723, 0.007482453715056181, 0.03968450427055359, -0.01959454081952572, 0.016293058171868324, 0.02803109586238861, -0.0011407878482714295, 0.003260641125962138, 0.005900860298424959, 0.011814377270638943, 0.06075582280755043, -0.05191817879676819, -0.019740240648388863, 0.004518322180956602, -0.03938808664679527, -0.03131917119026184, 0.020559055730700493, -0.0513753667473793, -0.25292930006980896, 0.0245315283536911, 0.02944566123187542, -0.03278464451432228, -0.04565524682402611, 0.02457304671406746, 0.035053499042987823, 0.029592949897050858, -0.07344726473093033, 0.005724831484258175, 0.023069793358445168, 0.06582481414079666, 0.001396026462316513, 0.009099896997213364, 0.013793683610856533, 0.06729427725076675, -0.007945113815367222, -0.02246244251728058, -0.004849416669458151, -0.09557750076055527, 0.03910326212644577, 0.02567930892109871, 0.22317340970039368, -0.02324535883963108, 0.04509901627898216, 0.040603164583444595, -0.02733522467315197, 0.05168695002794266, 0.07806925475597382, 0.009012164548039436, -0.00252727628685534, 0.030961140990257263, 0.07336143404245377, -0.05915635824203491, 0.046597789973020554, -0.01530179101973772, -0.015253555029630661, 0.011405610479414463, -0.005554565228521824, -0.05458467826247215, -0.07812398672103882, 0.01137042697519064, -0.023682164028286934, -0.017543528228998184, 0.09677250683307648, -0.019109157845377922, -0.08577298372983932, -0.052213285118341446, -0.0009014113456942141, 0.036623515188694, -0.07756027579307556, -0.06403075903654099, -0.009104068391025066, 0.004197774920612574, 0.03825034201145172, 0.017853153869509697, -0.03372964635491371, -0.06015836074948311, -0.07002342492341995, -0.0169802475720644, 0.03450455144047737, -0.06843191385269165, 0.007937672547996044, 0.02196137048304081, 0.007687309291213751 ]
devcenter
https://www.mongodb.com/developer/products/atlas/how-send-mongodb-document-changes-slack-channel
created
to only detect certain changes and then adapt the change event to only receive certain fields with a "$project". ## Conclusion In this tutorial, we've learned how to seamlessly integrate your database with Slack using Atlas Triggers and the Slack API. This integration allows you to send real-time notifications to your Slack channels, keeping your team informed about important operations within your database collections. We started by creating a new application in Atlas and then set up a database trigger that reacts to specific collection operations. We explored the `processEvent` function, which processes change events and prepares the data for Slack notifications. Through a step-by-step process, we demonstrated how to create a message and use the Slack API to post it to a specific channel. Now that you've grasped the basics, it's time to take your integration skills to the next level. Here are some steps you can follow:
md
{ "tags": [ "Atlas", "JavaScript" ], "pageDescription": "Learn how to use triggers in MongoDB Atlas to send information about changes to a document to Slack.", "contentType": "Tutorial" }
How to Send MongoDB Document Changes to a Slack Channel
2024-05-20T17:32:23.500Z
[ -0.04670480266213417, -0.008130618371069431, 0.02248843014240265, -0.03379162400960922, 0.04564126580953598, -0.024753117933869362, 0.017661316320300102, 0.028665034100413322, -0.005296927411109209, -0.022395316511392593, 0.018970653414726257, 0.014520364813506603, -0.001965910429134965, 0.019226333126425743, -0.010632704943418503, -0.012642518617212772, -0.018924547359347343, 0.029404710978269577, -0.08787618577480316, -0.006237317807972431, 0.0014935373328626156, 0.013637294061481953, 0.005585606209933758, 0.002943699713796377, -0.0014394638128578663, 0.08201222866773605, -0.05658303573727608, -0.03440228849649429, -0.06257732957601547, -0.19735760986804962, 0.009481899440288544, -0.06718529760837555, 0.041413430124521255, -0.04316171631217003, 0.025741226971149445, -0.043035849928855896, -0.059720054268836975, 0.042306527495384216, -0.055103834718465805, 0.026382513344287872, 0.07455544918775558, 0.036899223923683167, 0.002707498846575618, -0.08684071898460388, -0.05235147103667259, -0.09279986470937729, -0.003402874106541276, -0.013647971674799919, -0.017234018072485924, -0.013191570527851582, 0.025936942547559738, -0.0538807176053524, 0.0006901725428178906, -0.009702058508992195, 0.017469024285674095, 0.047779157757759094, 0.05192948132753372, 0.0989995226264, 0.03098566085100174, 0.027912916615605354, 0.06063409149646759, 0.030229726806282997, -0.15836116671562195, 0.09260333329439163, 0.024842996150255203, 0.05657945200800896, -0.004970051813870668, -0.04462229460477829, 0.04860588163137436, 0.03384760394692421, -0.04277680069208145, 0.03582601621747017, -0.02779664285480976, 0.07402153313159943, 0.0372501015663147, -0.02864987403154373, 0.0153505839407444, 0.003423296380788088, 0.008218917064368725, 0.03484485298395157, -0.012678440660238266, 0.020365161821246147, -0.02043941430747509, 0.004716468509286642, -0.021993204951286316, -0.005247407592833042, 0.049175262451171875, -0.046822648495435715, 0.03520581126213074, 0.004849312361329794, -0.07100449502468109, -0.027175741270184517, 0.0017034172778949142, 0.02166290022432804, -0.06414575129747391, -0.0030245999805629253, 0.01064529363065958, 0.020192062482237816, -0.05564381927251816, 0.22301067411899567, -0.05125046521425247, 0.04797711595892906, -0.0001502377272117883, -0.0067249080166220665, 0.030678242444992065, -0.04705778509378433, -0.0273921899497509, -0.030214810743927956, -0.018021615222096443, 0.03289429470896721, 0.003956933040171862, -0.0390123650431633, 0.03668010234832764, -0.06959095597267151, 0.02150488644838333, 0.03451119363307953, -0.0010787775972858071, 0.05172710120677948, -0.01656224951148033, -0.007248526904731989, 0.012867113575339317, 0.050587285310029984, 0.04786911606788635, -0.005238370969891548, 0.04149828106164932, -0.0442228689789772, 0.05763816460967064, 0.10881107300519943, 0.023249225690960884, 0.06390032917261124, 0.04617462307214737, 0.01994420774281025, -0.09588152915239334, 0.006789057981222868, 0.01815682463347912, -0.02861412800848484, -0.0009113494888879359, 0.02886543981730938, 0.03523906320333481, 0.015074348077178001, -0.040979333221912384, -0.040622174739837646, 0.01213027536869049, -0.10776770859956741, -0.059371400624513626, 0.12329619377851486, -0.01902884617447853, 0.06436782330274582, -0.07582299411296844, -0.03980030119419098, -0.02582472935318947, 0.019760848954319954, -0.03654877096414566, -0.0017186385812237859, 0.018747687339782715, 0.01828727498650551, 0.03005916066467762, 0.05472879111766815, -0.04087746515870094, 0.02149955742061138, -0.05106925591826439, -0.03746948763728142, -0.017765173688530922, 0.08759667724370956, 0.008759901858866215, -0.12856705486774445, -0.019005704671144485, -0.0030248973052948713, 0.014913261868059635, -0.04559599608182907, -0.0026926209684461355, 0.047385651618242264, -0.018663644790649414, -0.008085742592811584, 0.09557683765888214, 0.0028137837070971727, -0.025954289361834526, -0.009003722108900547, 0.026179272681474686, -0.023038329556584358, 0.06329413503408432, -0.03101612627506256, 0.009751144796609879, 0.03470567241311073, 0.01601017639040947, -0.05895192176103592, -0.01621224172413349, -0.016378693282604218, 0.035420335829257965, 0.041476260870695114, -0.026986584067344666, 0.033344391733407974, -0.015210534445941448, -0.03141257166862488, -0.014363044872879982, -0.006797970738261938, 0.007071264088153839, -0.0166074950248003, -0.013659466058015823, -0.03862479701638222, 0.04960010200738907, 0.02746773511171341, -0.042383648455142975, 0.05073660612106323, -0.004493564832955599, 0.009925734251737595, -0.052330389618873596, -0.02404380775988102, 0.039091531187295914, 0.0212983600795269, -0.00933849811553955, 0.012057933956384659, 0.04673203080892563, -0.020395688712596893, -0.04215533658862114, 0.01778377592563629, 0.03909007087349892, 0.09156356006860733, -0.012656226754188538, 0.04237455129623413, 0.014203592203557491, -0.021588314324617386, 0.01660565659403801, -0.27744391560554504, -0.0018546622013673186, 0.0063562276773154736, -0.006658934056758881, -0.008035642094910145, -0.03253749758005142, 0.00562119809910655, -0.06327269226312637, -0.027489840984344482, 0.05305587500333786, 0.11840883642435074, -0.0031292662024497986, -0.0013334205141291022, -0.01622813008725643, 0.010437467135488987, 0.09749997407197952, -0.03323463350534439, 0.006392811890691519, -0.03938301280140877, -0.036903973668813705, -0.005783631466329098, 0.0012055689003318548, -0.011849616654217243, -0.09958428889513016, 0.017983905971050262, 0.01030678115785122, 0.20650088787078857, 0.03189978003501892, -0.011892039328813553, -0.03351077809929848, 0.04102865979075432, -0.002247824799269438, -0.007653283886611462, -0.12002956867218018, 0.02734360098838806, 0.04332907497882843, 0.013716966845095158, 0.011756554245948792, -0.01646251231431961, -0.02935653179883957, -0.049114394932985306, 0.004446364939212799, 0.012431520037353039, -0.12955620884895325, 0.0091346250846982, -0.048983603715896606, -0.0054110269993543625, -0.019474955275654793, -0.05162965506315231, 0.00795687735080719, 0.011145330034196377, -0.014339138753712177, 0.0625644400715828, 0.03757784143090248, -0.009637589566409588, -0.028315121307969093, -0.02187039516866207, 0.03715455159544945, -0.03597361221909523, 0.02194836549460888, 0.0005647516227327287, -0.0014257561415433884, -0.0001293700624955818, -0.0215701125562191, 0.05542489141225815, 0.005252379458397627, -0.022455770522356033, -0.03963898494839668, 0.02675231359899044, -0.05671374499797821, -0.022522978484630585, 0.06833995133638382, -0.047773782163858414, 0.024839170277118683, 0.06095493957400322, 0.01770457997918129, -0.022446585819125175, -0.038926415145397186, -0.026149529963731766, -0.044296856969594955, 0.05188235267996788, -0.01085380557924509, 0.010748837143182755, 0.04735323041677475, -0.00482285488396883, 0.031936321407556534, 0.05049600452184677, -0.02505328692495823, 0.0465133860707283, -0.027076339349150658, 0.00443312618881464, 0.0026629995554685593, -0.021834105253219604, -0.022138562053442, 0.03351438790559769, -0.018974218517541885, -0.27891600131988525, 0.045433804392814636, 0.008677052333950996, -0.015710962936282158, -0.032757069915533066, 0.04485028609633446, 0.027186697348952293, 0.029908979311585426, -0.03897044062614441, 0.007579347584396601, 0.03208078444004059, 0.03548061475157738, 0.0076367855072021484, 0.025322560220956802, 0.009560619480907917, 0.07173720747232437, 0.023885998874902725, -0.03359280154109001, 0.005593183916062117, -0.060032330453395844, 0.041811905801296234, 0.019879508763551712, 0.2294137328863144, 0.01755610853433609, 0.04469701275229454, 0.0504055880010128, -0.02879493311047554, 0.036040570586919785, 0.09003807604312897, 0.026201289147138596, -0.015663975849747658, 0.0137014864012599, 0.06252970546483994, -0.027477754279971123, 0.038799185305833817, 0.022685663774609566, -0.015275008045136929, 0.07060244679450989, 0.0072933379560709, -0.047088585793972015, -0.08287094533443451, 0.04754367098212242, -0.04246027022600174, 0.014020143076777458, 0.09771144390106201, -0.020253490656614304, -0.08344898372888565, -0.07440301775932312, -0.000018623401047079824, 0.04245747998356819, -0.07032753527164459, -0.03648243844509125, -0.02018607221543789, 0.01832105964422226, 0.001664267387241125, 0.03532639145851135, -0.06039805710315704, -0.050404347479343414, -0.02606995776295662, 0.01837211661040783, 0.03602367639541626, -0.07694319635629654, 0.028029216453433037, 0.007706758100539446, -0.04701908305287361 ]
devcenter
https://www.mongodb.com/developer/products/atlas/how-send-mongodb-document-changes-slack-channel
created
- **Explore advanced use cases**: Consider how you can adapt the principles you've learned to more complex scenarios within your organization. Whether it's custom notifications or handling specific database events, there are countless possibilities. - **Dive into the Slack API documentation**: For a deeper understanding of what's possible with Slack's API, explore their official documentation. This will help you harness the full potential of Slack's features. By taking these steps, you'll be well on your way to creating powerful, customized integrations that can streamline your workflow and keep your team in the loop with real-time updates. Good luck with your integration journey!
md
{ "tags": [ "Atlas", "JavaScript" ], "pageDescription": "Learn how to use triggers in MongoDB Atlas to send information about changes to a document to Slack.", "contentType": "Tutorial" }
How to Send MongoDB Document Changes to a Slack Channel
2024-05-20T17:32:23.500Z
[ -0.06648917496204376, -0.03259650990366936, 0.04062449932098389, -0.032923996448516846, 0.04692851006984711, -0.013970009982585907, 0.04763020947575569, 0.015161968767642975, -0.017257830128073692, -0.0023698739241808653, 0.01546394545584917, 0.0043011815287172794, 0.006748454179614782, -0.007997393608093262, 0.021818049252033234, -0.01197674311697483, 0.01562045980244875, 0.023345958441495895, -0.10882646590471268, -0.02107604406774044, -0.004928265698254108, -0.006501466501504183, -0.009019279852509499, 0.01906806230545044, -0.02809542417526245, 0.07636311650276184, -0.05299493670463562, -0.01635485328733921, -0.05767019838094711, -0.18824230134487152, -0.002361664082854986, -0.04810436815023422, 0.05069103464484215, -0.023514578118920326, -0.004808604251593351, -0.05369974672794342, -0.036447618156671524, 0.06336184591054916, -0.017067590728402138, 0.06566951423883438, 0.044279567897319794, -0.005533982068300247, -0.017331982031464577, -0.06408567726612091, -0.07103589177131653, -0.08495479822158813, -0.026578251272439957, 0.0066194599494338036, -0.021507831290364265, -0.0103165777400136, 0.030587267130613327, -0.05120839923620224, 0.015797609463334084, 0.006834295578300953, 0.008822336792945862, 0.03764280676841736, 0.09059013426303864, 0.07564102858304977, 0.04017573967576027, 0.0411948598921299, 0.06964301317930222, 0.023375554010272026, -0.14974182844161987, 0.12358593940734863, 0.011756987310945988, 0.027287621051073074, -0.03927575796842575, -0.027473868802189827, 0.05140260234475136, 0.028065990656614304, -0.05831509828567505, -0.00825181882828474, 0.0032779304310679436, 0.09379421919584274, 0.016528548672795296, -0.031466275453567505, 0.02643861062824726, -0.01603798381984234, 0.032715875655412674, 0.012562474235892296, -0.006501517724245787, 0.038753412663936615, -0.0173252671957016, 0.004655820317566395, -0.02208121493458748, -0.008002669550478458, 0.028286674991250038, -0.059348687529563904, 0.04108525440096855, 0.007872723042964935, -0.054749876260757446, -0.04512212425470352, -0.015587609261274338, 0.014516051858663559, -0.05142836645245552, 0.01031374279409647, 0.022811025381088257, 0.006074562203139067, -0.06032673269510269, 0.22863027453422546, -0.05565847083926201, 0.020778747275471687, 0.01918768882751465, -0.017822494730353355, 0.02124975062906742, -0.03886714577674866, 0.005593470297753811, -0.022978998720645905, 0.01023431122303009, 0.03327128663659096, -0.004316314123570919, 0.0006168920081108809, 0.018074924126267433, -0.050421278923749924, 0.029863059520721436, 0.0316765159368515, -0.0006487983628176153, 0.0074576688930392265, -0.038665879517793655, 0.015446703881025314, -0.011760585941374302, 0.026683732867240906, 0.026323510333895683, 0.0013052200665697455, 0.030962275341153145, -0.07743197679519653, 0.04863973334431648, 0.0618414469063282, 0.03309283033013344, 0.04840247705578804, 0.05284939706325531, 0.034957315772771835, -0.07537639141082764, 0.027285387739539146, 0.0241684652864933, -0.031696341931819916, 0.022320905700325966, 0.013970606960356236, 0.030103720724582672, 0.028014520183205605, -0.021722309291362762, -0.02325550839304924, 0.030641375109553337, -0.13698896765708923, -0.033684078603982925, 0.13516166806221008, -0.017542241141200066, 0.05157914385199547, -0.044336289167404175, -0.04654114320874214, -0.04365872964262962, 0.03816870227456093, -0.01543653104454279, -0.011885378509759903, 0.01773860491812229, 0.026958491653203964, 0.06592097878456116, 0.03716076537966728, -0.033185191452503204, 0.06667815893888474, -0.04275273159146309, -0.057091664522886276, -0.04807662591338158, 0.09650030732154846, 0.01899227686226368, -0.15455526113510132, -0.009131922386586666, 0.022018691524863243, -0.004605320747941732, -0.03765781968832016, 0.016572600230574608, 0.014880644157528877, -0.011779194697737694, 0.021312329918146133, 0.09207545220851898, -0.016335127875208855, -0.049590736627578735, -0.002570956014096737, 0.02366717718541622, 0.019557829946279526, 0.060574859380722046, -0.04459905996918678, -0.01429006177932024, 0.015528376214206219, 0.06562934815883636, -0.05928601324558258, 0.01752628944814205, -0.01869259774684906, 0.02586173638701439, 0.04183465614914894, -0.01104350108653307, 0.017348023131489754, -0.05289169028401375, -0.01008609775453806, -0.009470254182815552, -0.007653350010514259, -0.03256484866142273, -0.0165171530097723, -0.01119902078062296, -0.04159766435623169, 0.028211330994963646, -0.009539850056171417, -0.07128661870956421, 0.023524658754467964, -0.01680948957800865, 0.01438489556312561, 0.00867384858429432, -0.026078054681420326, 0.0805964469909668, 0.0016757199773564935, -0.012317178770899773, 0.009251256473362446, 0.06369408965110779, -0.0029301843605935574, -0.013833734206855297, -0.0055395024828612804, 0.03846443071961403, 0.07482185959815979, -0.02694876119494438, 0.04684186726808548, 0.022877482697367668, 0.018539533019065857, -0.015788676217198372, -0.25522857904434204, 0.009530807845294476, -0.006096396595239639, -0.014830346219241619, -0.0012594204163178802, -0.03278760984539986, 0.03352076932787895, -0.0450977087020874, -0.01773468591272831, 0.054919227957725525, 0.132254958152771, -0.021732859313488007, -0.003724014386534691, 0.0011156594846397638, 0.017355073243379593, 0.05701077729463577, -0.037925511598587036, 0.006450296845287085, -0.030847590416669846, -0.005406275857239962, -0.038036927580833435, 0.009560448117554188, 0.01881970651447773, -0.10416717082262039, 0.025245828554034233, 0.004623452667146921, 0.20371857285499573, -0.0034689297899603844, -0.010597282089293003, -0.031557247042655945, 0.031240249052643776, -0.009178108535706997, -0.01595727540552616, -0.1484876424074173, 0.04362161085009575, 0.017073336988687515, 0.04122980684041977, -0.03389844670891762, -0.015121293254196644, -0.024088965728878975, -0.04786660894751549, 0.026345500722527504, -0.016965609043836594, -0.09258928894996643, 0.00552870100364089, -0.034289516508579254, -0.04693033918738365, -0.02306532673537731, -0.032410476356744766, 0.014383206143975258, 0.023972822353243828, 0.0030976736452430487, 0.03276282176375389, 0.028901580721139908, -0.021479427814483643, -0.043455664068460464, -0.06078247353434563, 0.06907590478658676, -0.036765553057193756, 0.012554877437651157, -0.015561776235699654, -0.009132152423262596, -0.006730237044394016, -0.028094111010432243, 0.050001755356788635, 0.010355456732213497, -0.031235577538609505, -0.0019489041296765208, 0.010641808621585369, -0.07493852823972702, -0.009448479861021042, 0.07657144218683243, -0.039805419743061066, 0.013032170943915844, 0.06021438539028168, 0.023217089474201202, 0.0031721331179142, -0.02517257258296013, 0.02065085992217064, -0.07195283472537994, 0.060009170323610306, -0.03566480800509453, 0.007419280242174864, 0.011448287405073643, -0.0015219851629808545, 0.028409751132130623, 0.06579926609992981, -0.04295865446329117, 0.058228615671396255, -0.04497341066598892, -0.028192130848765373, -0.030211033299565315, -0.02370082587003708, -0.03287705406546593, 0.024381646886467934, -0.015176060609519482, -0.2654649317264557, 0.05915408954024315, 0.020960049703717232, -0.03147657960653305, -0.04168613255023956, 0.043077580630779266, 0.021616164594888687, -0.03569576516747475, -0.04842272400856018, 0.02157703973352909, 0.0286922175437212, 0.008521505631506443, 0.014339000917971134, -0.017524873837828636, 0.03508216142654419, 0.03661447390913963, 0.05954408645629883, -0.02176337130367756, 0.03394544869661331, -0.07877206802368164, 0.030442502349615097, 0.04435452073812485, 0.23116494715213776, -0.04053622856736183, 0.03014247678220272, 0.0795605331659317, -0.025240646675229073, 0.07475470006465912, 0.0622158944606781, 0.009054441004991531, 0.013010745868086815, -0.026196284219622612, 0.0721760094165802, -0.02922581508755684, 0.06828492134809494, -0.002038718666881323, -0.007406090386211872, 0.03505060821771622, 0.009870155714452267, -0.04456479474902153, -0.011210210621356964, 0.03327231481671333, -0.04764924943447113, -0.014997308142483234, 0.09402988851070404, -0.002462864387780428, -0.0817040354013443, -0.0660945475101471, 0.03256019577383995, 0.025670187547802925, -0.04159429669380188, -0.05691146105527878, -0.022793222218751907, 0.041595734655857086, 0.041943177580833435, 0.010545220226049423, -0.03288877010345459, -0.018251387402415276, -0.03898097574710846, -0.015187435783445835, 0.07649814337491989, -0.07987260818481445, 0.011748957447707653, 0.018967702984809875, -0.001646718243137002 ]
devcenter
https://www.mongodb.com/developer/products/atlas/how-send-mongodb-document-changes-slack-channel
created
[1]: https://images.contentstack.io/v3/assets/blt39790b633ee0d5a7/blt8fcfb82094f04d75/653816cde299fbd2960a4695/image2.png [2]: https://images.contentstack.io/v3/assets/blt39790b633ee0d5a7/bltc7874f54dc0cd8be/653816e70d850608a2f05bb9/image3.png [3]: https://images.contentstack.io/v3/assets/blt39790b633ee0d5a7/blt99aaf337d37c41ae/653816fd2c35813636b3a54d/image1.png
md
{ "tags": [ "Atlas", "JavaScript" ], "pageDescription": "Learn how to use triggers in MongoDB Atlas to send information about changes to a document to Slack.", "contentType": "Tutorial" }
How to Send MongoDB Document Changes to a Slack Channel
2024-05-20T17:32:23.500Z
[ -0.04119512438774109, -0.01053551584482193, 0.03624974191188812, -0.006374048534780741, 0.03306173160672188, 0.02235942706465721, -0.006340079940855503, 0.020511558279395103, -0.0024089061189442873, -0.02352253533899784, 0.014978361316025257, -0.09041383862495422, 0.03291108459234238, 0.018875176087021828, 0.06457117199897766, -0.015775959938764572, 0.020271798595786095, 0.0273238904774189, -0.08543141931295395, 0.035658638924360275, 0.03588499501347542, -0.018637927249073982, 0.012694421224296093, -0.04493597894906998, 0.0007099516806192696, 0.02202598750591278, -0.030633579939603806, 0.00044162021367810667, -0.038184359669685364, -0.19555877149105072, 0.0034605737309902906, -0.07349377125501633, 0.022442243993282318, -0.05910855904221535, -0.007714513689279556, -0.03192352503538132, -0.006669646129012108, 0.07421458512544632, -0.044295184314250946, -0.00046334389480762184, 0.055519651621580124, -0.03994687274098396, -0.042288295924663544, -0.06000573933124542, -0.018844114616513252, -0.0613752156496048, -0.022735239937901497, -0.0315798781812191, 0.021644942462444305, -0.03690526634454727, 0.0013801754685118794, -0.025801749899983406, 0.006286881864070892, 0.03257802873849869, 0.03833577781915665, 0.03160235658288002, 0.0469905324280262, 0.05010030046105385, 0.027196357026696205, 0.07235836982727051, 0.011423790827393532, 0.06886625289916992, -0.22584053874015808, 0.09750185161828995, 0.05728496238589287, 0.026064449921250343, -0.025825096294283867, 0.006405253428965807, 0.016972577199339867, 0.04869650676846504, -0.012948142364621162, 0.02630050852894783, 0.01737643964588642, 0.024219153448939323, 0.011135018430650234, -0.055701784789562225, -0.03717153146862984, -0.020843632519245148, -0.0422951877117157, -0.06334709376096725, -0.024033555760979652, 0.00436925794929266, -0.009627286344766617, -0.01708379201591015, 0.013578309677541256, -0.018818432465195656, -0.03931030258536339, -0.06761731207370758, 0.03111789934337139, 0.015466533601284027, 0.002915844088420272, -0.012398963794112206, 0.01562902331352234, 0.03230194002389908, -0.06817251443862915, -0.013278193771839142, 0.029696281999349594, 0.016134830191731453, 0.005784659180790186, 0.18573997914791107, -0.07320111989974976, 0.0016036017332226038, 0.06701653450727463, -0.00874704122543335, 0.05757565796375275, -0.03938991576433182, -0.005185382440686226, -0.054353587329387665, -0.01506978739053011, 0.04210081323981285, 0.011455560103058815, 0.001718677580356598, 0.041617732495069504, -0.04719608277082443, 0.03161357343196869, 0.00577783677726984, 0.013176161795854568, 0.021404245868325233, -0.018240489065647125, -0.047209274023771286, -0.01416510995477438, 0.008768419735133648, 0.055490054190158844, -0.011215903796255589, 0.03184112161397934, -0.04412276670336723, 0.05428384244441986, 0.07517440617084503, 0.05865363031625748, 0.05047754943370819, 0.04930322244763374, 0.011053251102566719, -0.005054468754678965, -0.012170055881142616, -0.029992634430527687, 0.036861006170511246, 0.010685431770980358, -0.0125508364289999, 0.009868052788078785, -0.024938078597187996, -0.02512660063803196, -0.15934786200523376, 0.003457502694800496, -0.10599929839372635, 0.00876738503575325, 0.09209861606359482, -0.008932608179748058, 0.018220657482743263, -0.07874293625354767, -0.0028181117959320545, 0.00021219931659288704, 0.04329618066549301, -0.00851654913276434, -0.0012285546399652958, 0.04466700926423073, 0.015621921978890896, 0.044065073132514954, 0.08586523681879044, -0.01824430748820305, -0.0328863300383091, 0.007652975618839264, -0.06547100096940994, -0.04399159550666809, 0.09985768795013428, 0.02476847544312477, -0.12293513864278793, -0.0011654531117528677, -0.012160293757915497, 0.0041979411616921425, -0.0014657045248895884, -0.020278258249163628, 0.0410919263958931, -0.03118351846933365, -0.029114551842212677, 0.1056436151266098, 0.03810994699597359, -0.04789358004927635, -0.0006089124944992363, 0.024764137342572212, 0.0347936749458313, 0.002471578074619174, -0.030906759202480316, -0.03131074085831642, 0.07957589626312256, 0.003430587239563465, -0.08094742894172668, 0.020769856870174408, -0.041293054819107056, 0.042547691613435745, 0.08447582274675369, 0.0014226397033780813, -0.005330832675099373, -0.032953694462776184, 0.019757024943828583, -0.021269064396619797, -0.04477623850107193, -0.041232239454984665, -0.020015759393572807, -0.032039541751146317, -0.06378965824842453, 0.09821156412363052, -0.01767091266810894, -0.03610628470778465, 0.009647523052990437, -0.05516159534454346, 0.021510671824216843, 0.0028802917804569006, -0.0012197160394862294, 0.058890946209430695, 0.042765527963638306, -0.033944759517908096, 0.02268224209547043, -0.0012116899015381932, -0.013945168815553188, 0.03493236005306244, -0.03336124122142792, 0.03317294642329216, 0.03137189522385597, -0.0015492313541471958, 0.044342879205942154, 0.035730842500925064, -0.09324285387992859, -0.07857508957386017, -0.2196493148803711, 0.00026612303918227553, -0.00564100407063961, -0.03079749457538128, 0.012276538647711277, -0.02513550966978073, 0.02185622788965702, -0.012852243147790432, 0.0044495826587080956, 0.057305093854665756, 0.08601763099431992, -0.01573031023144722, -0.021095681935548782, 0.020346811041235924, -0.016093451529741287, 0.012535247951745987, -0.013647424057126045, 0.012704937718808651, -0.020934000611305237, -0.04180270805954933, -0.05587391182780266, 0.015649214386940002, 0.013345569372177124, -0.08385170251131058, 0.04369974881410599, -0.04075247421860695, 0.22860212624073029, 0.07656049728393555, -0.0045509617775678635, -0.01258738711476326, 0.03041694685816765, 0.03697393834590912, -0.025687094777822495, -0.09958210587501526, 0.042311590164899826, 0.04465130344033241, 0.013624045066535473, -0.0205528624355793, -0.010491607710719109, -0.02707323431968689, -0.012711326591670513, 0.046275544911623, -0.01340579055249691, -0.05400708317756653, 0.018999598920345306, -0.021517649292945862, -0.03743870183825493, 0.007263789884746075, -0.008350890129804611, 0.021056383848190308, 0.005365546327084303, 0.022142164409160614, 0.012459976598620415, -0.00010036562889581546, -0.010539477691054344, -0.02939477190375328, -0.08217358589172363, 0.01015621516853571, -0.008772222325205803, 0.05870911106467247, -0.03620290383696556, -0.06538792699575424, 0.012137603014707565, -0.0751560777425766, 0.06443419307470322, 0.03682512417435646, -0.01557451207190752, -0.03784196451306343, 0.02024742029607296, -0.02485169842839241, -0.023489156737923622, 0.08875732868909836, 0.018410058692097664, -0.03257373720407486, 0.06579673290252686, 0.03238461911678314, 0.02618652582168579, 0.00858486071228981, 0.032130878418684006, -0.02620064653456211, 0.044575035572052, -0.010025965981185436, 0.015166818164288998, 0.05285155773162842, 0.04099251329898834, 0.008934147655963898, 0.047224074602127075, -0.04172896221280098, 0.05148368328809738, -0.06424983590841293, -0.036540139466524124, -0.011257125996053219, -0.046341586858034134, -0.00739328982308507, 0.010840804316103458, 0.01841357909142971, -0.34748977422714233, 0.0641055628657341, 0.03880691900849342, 0.025012051686644554, 0.007123129442334175, 0.018903784453868866, 0.042661990970373154, 0.013236445374786854, -0.04012394696474075, -0.006862571928650141, 0.018328571692109108, 0.03328249603509903, 0.03592894226312637, -0.015597674064338207, -0.008803156204521656, 0.042734332382678986, 0.048225630074739456, -0.039739836007356644, 0.04251166805624962, -0.046686045825481415, 0.0014420750085264444, 0.011078895069658756, 0.22394581139087677, -0.005733089055866003, -0.0360531210899353, 0.006532610859721899, 0.00026639027055352926, 0.021267039701342583, 0.02060716040432453, 0.022295990958809853, 0.03762207552790642, 0.015792977064847946, 0.0627041682600975, -0.030924249440431595, 0.026996424421668053, 0.0684988722205162, -0.08962275087833405, 0.027603259310126305, 0.001852485933341086, -0.01744365505874157, -0.020987732335925102, 0.02238869108259678, -0.058994635939598083, -0.02449658513069153, 0.08695582300424576, -0.01564626395702362, -0.001328598940744996, -0.035589057952165604, 0.029572023078799248, 0.003669810015708208, -0.061452466994524, 0.003054351080209017, -0.02036074735224247, 0.007880115881562233, 0.04160559922456741, 0.015559586696326733, -0.0015476924600079656, -0.02718479186296463, -0.0427076518535614, 0.006984132807701826, 0.03638837859034538, -0.028612272813916206, -0.020472092553973198, 0.02009710483253002, 0.04357736557722092 ]
devcenter
https://www.mongodb.com/developer/products/mongodb/doc-modeling-vector-search
created
# How to Model Your Documents for Vector Search Atlas Vector Search was recently released, so let’s dive into a tutorial on how to properly model your documents when utilizing vector search to revolutionize your querying capabilities! ## Data modeling normally in MongoDB Vector search is new, so let’s first go over the basic ways of modeling your data in a MongoDB document before continuing on into how to incorporate vector embeddings. Data modeling in MongoDB revolves around organizing your data into documents within various collections. Varied projects or organizations will require different ways of structuring data models due to the fact that successful data modeling depends on the specific requirements of each application, and for the most part, no one document design can be applied for every situation. There are some commonalities, though, that can guide the user. These are:
md
{ "tags": [ "MongoDB", "AI" ], "pageDescription": "Follow along with this comprehensive tutorial on how to properly model your documents for MongoDB Vector Search.", "contentType": "Tutorial" }
How to Model Your Documents for Vector Search
2024-05-20T17:32:23.500Z
[ -0.05040832981467247, 0.0035094867926090956, 0.02393709309399128, -0.029764365404844284, 0.05191889777779579, -0.006890544667840004, -0.004012200981378555, 0.045998383313417435, -0.021268324926495552, -0.007306348532438278, 0.019453100860118866, -0.03377308323979378, 0.010670991614460945, 0.030146095901727676, 0.03869108110666275, -0.014482393860816956, -0.008190643042325974, 0.04822875186800957, -0.00908602960407734, 0.014945761300623417, 0.02855316549539566, -0.024538356810808182, -0.04720211401581764, -0.06446068733930588, 0.027065172791481018, 0.07646237313747406, -0.05196554213762283, -0.034105416387319565, -0.02715664729475975, -0.2558634877204895, -0.003388909623026848, -0.03831792622804642, 0.08492966741323471, -0.018301067873835564, -0.002634146250784397, 0.0027406320441514254, -0.029332784935832024, 0.08397489041090012, -0.03385711461305618, 0.013733195140957832, 0.050851766020059586, 0.003801510436460376, -0.031814057379961014, -0.08964104950428009, -0.03513435646891594, -0.057597141712903976, -0.024001983925700188, -0.018943624570965767, -0.0070410012267529964, -0.027196398004889488, -0.0069756838493049145, -0.05963946506381035, -0.026339810341596603, 0.041664183139801025, 0.04422113671898842, 0.06684581935405731, 0.05347612872719765, 0.009946588426828384, -0.0020894587505608797, 0.010683628730475903, 0.0419839546084404, 0.041933752596378326, -0.1426846832036972, 0.09718111902475357, 0.04367611184716225, 0.04558851197361946, -0.03304044157266617, -0.03473619744181633, 0.01764129102230072, 0.050699345767498016, 0.0012669654097408056, 0.016400976106524467, -0.03745211288332939, 0.050497300922870636, -0.0230572447180748, 0.008602016605436802, 0.007381698582321405, -0.027114277705550194, 0.020475268363952637, -0.0015349277528002858, -0.03428368270397186, -0.027677025645971298, -0.017554309219121933, 0.018402837216854095, -0.02209385298192501, -0.03653617948293686, 0.012307590804994106, -0.05384378135204315, 0.019022321328520775, -0.0230694729834795, 0.02562512271106243, -0.0007937253685668111, -0.001270004198886454, 0.03462587669491768, -0.08206893503665924, -0.014805971644818783, 0.039517614990472794, 0.048945534974336624, -0.002123733749613166, 0.26345181465148926, -0.02135763317346573, 0.05713365972042084, 0.054582253098487854, -0.04543242231011391, -0.015070370398461819, 0.0003630735445767641, -0.017585553228855133, -0.03131764382123947, -0.011345037259161472, 0.0056870318949222565, -0.002119804732501507, -0.013705950230360031, 0.022666366770863533, -0.05125945433974266, 0.022416625171899796, 0.019734907895326614, 0.054038986563682556, 0.03695528209209442, -0.02921987697482109, -0.005512273404747248, -0.053170859813690186, 0.010197123512625694, 0.04997313395142555, 0.005596032831817865, 0.007486027665436268, -0.0386970192193985, 0.0516541413962841, 0.09129209071397781, 0.026218736544251442, 0.017675964161753654, 0.04589484632015228, 0.0020479655358940363, -0.12009275704622269, -0.017648575827479362, 0.026675602421164513, 0.02980712056159973, -0.008181937038898468, 0.008617375046014786, -0.013457841239869595, 0.008187826722860336, -0.030109886080026627, -0.024022100493311882, -0.0018197003519162536, -0.09507209807634354, -0.06329710781574249, 0.16783657670021057, -0.0674448013305664, 0.007898212410509586, -0.07851659506559372, -0.03051943890750408, 0.012824024073779583, 0.029713520780205727, -0.010063770227134228, 0.012622182257473469, -0.0031180691439658403, 0.02558932825922966, 0.04297509416937828, 0.05227847769856453, -0.05932240933179855, -0.02432830072939396, -0.009145136922597885, -0.008931891992688179, -0.047106992453336716, 0.11690401285886765, -0.005684445612132549, -0.11248406767845154, -0.026046616956591606, 0.015925362706184387, -0.0016129921423271298, -0.031449802219867706, 0.01988821290433407, 0.034984394907951355, -0.05315322056412697, 0.04933136701583862, 0.0978303775191307, 0.04606642574071884, -0.0807485282421112, -0.0030280612409114838, 0.0052242702804505825, -0.002174744848161936, 0.003305373014882207, -0.04133687540888786, -0.03859930858016014, 0.03943370282649994, -0.0025026644580066204, -0.05084036663174629, -0.005150410812348127, -0.018505943939089775, 0.03189237788319588, 0.04174157232046127, 0.005638349335640669, -0.01300570834428072, 0.01553934346884489, 0.010195653885602951, -0.05592191219329834, -0.051817964762449265, 0.0045927963219583035, -0.035449735820293427, 0.05646673962473869, -0.03670712560415268, 0.051216933876276016, 0.033161189407110214, -0.024792402982711792, 0.042302995920181274, -0.012886835262179375, 0.0153067447245121, -0.02619042620062828, -0.021700121462345123, 0.0017564024310559034, -0.023764291778206825, -0.0437898226082325, -0.006509911268949509, 0.01880711317062378, -0.04963541030883789, -0.006511219311505556, 0.01360876765102148, 0.014468466863036156, 0.05837525427341461, -0.020441625267267227, 0.07628045231103897, 0.005281968507915735, -0.11347787082195282, -0.0077202580869197845, -0.2334517389535904, -0.01689552143216133, -0.049922969192266464, 0.0314752496778965, 0.04704788327217102, -0.05613594502210617, 0.010973311960697174, -0.016737360507249832, -0.0009270518203265965, 0.07221934199333191, 0.04488014057278633, 0.011844655498862267, -0.03598489612340927, 0.006186564452946186, -0.015602520667016506, 0.06265033781528473, 0.040139492601156235, 0.024274492636322975, -0.03692016378045082, -0.02700584940612316, 0.02484833635389805, 0.007628439925611019, 0.003988610114902258, -0.08206649869680405, 0.03947184979915619, 0.0012845982564613223, 0.18240731954574585, 0.05364967882633209, -0.007060883101075888, -0.05445002764463425, 0.05988939478993416, -0.02196369506418705, -0.05035478249192238, -0.0747990682721138, 0.03899388760328293, 0.0030913185328245163, -0.00048643004265613854, 0.03868863731622696, -0.01593702659010887, -0.024230845272541046, -0.03960864990949631, 0.0338137149810791, 0.03591029718518257, -0.08589034527540207, -0.03298216685652733, -0.027409199625253677, -0.04706055670976639, 0.024534309282898903, -0.034148357808589935, 0.051365505903959274, -0.0022694719955325127, 0.032657038420438766, 0.06412874907255173, 0.011968941427767277, -0.04659004136919975, -0.03918552026152611, -0.08925798535346985, -0.019825374707579613, -0.04470633715391159, 0.03701067343354225, -0.016299676150083542, -0.054790325462818146, 0.0371878556907177, -0.04590359330177307, 0.04640122503042221, -0.00425569387152791, -0.020539281889796257, -0.03224464878439903, 0.01478486880660057, -0.036783475428819656, -0.01752294972538948, 0.08746719360351562, -0.030730968341231346, 0.031083932146430016, 0.032502882182598114, 0.04366271570324898, 0.02602616511285305, -0.013102768920361996, -0.055130280554294586, -0.05082092806696892, 0.006970285903662443, -0.012958063744008541, 0.05718230456113815, 0.020302070304751396, 0.05291459709405899, 0.028336776420474052, 0.05475430190563202, -0.0028024830389767885, 0.032949138432741165, -0.007373816799372435, -0.01876503974199295, -0.0517304427921772, -0.01970740780234337, -0.039935171604156494, 0.016640856862068176, -0.01674608886241913, -0.28222304582595825, 0.05403650552034378, 0.010376415215432644, 0.05622730031609535, -0.01875453069806099, 0.015981357544660568, 0.054582465440034866, -0.002761473646387458, -0.01686534844338894, 0.032953448593616486, 0.019583290442824364, 0.04993503913283348, 0.051438696682453156, -0.003647659672424197, 0.00020894620683975518, 0.04037771373987198, 0.03313273563981056, -0.04659608006477356, 0.03282653167843819, -0.044800400733947754, 0.019121259450912476, 0.050156302750110626, 0.2636111080646515, -0.03742581605911255, 0.041292157024145126, 0.02251054346561432, 0.002135665388777852, 0.008399417623877525, 0.037890106439590454, 0.014145576395094395, 0.008513830602169037, -0.020128397271037102, 0.10573077201843262, 0.008078757673501968, 0.04200536012649536, 0.07648555189371109, -0.04374237358570099, 0.022283026948571205, 0.04570768028497696, -0.057132408022880554, -0.0212625190615654, 0.009442823007702827, -0.020368680357933044, 0.012976625002920628, 0.07012397795915604, -0.010399118065834045, -0.008746879175305367, -0.030583856627345085, -0.02629707008600235, 0.020329462364315987, -0.04071629047393799, -0.03434958681464195, -0.02657306380569935, -0.012400799430906773, 0.027084363624453545, 0.04972826689481735, -0.037880007177591324, -0.023193001747131348, 0.001307238475419581, -0.028799772262573242, 0.055536311119794846, -0.07556972652673721, -0.024698451161384583, 0.010436473414301872, -0.0026937599759548903 ]
devcenter
https://www.mongodb.com/developer/products/mongodb/doc-modeling-vector-search
created
1. Choosing whether to embed or reference your related data. 2. Using arrays in a document. 3. Indexing your documents (finding fields that are frequently used and applying the appropriate indexing, etc.). For a more in-depth explanation and a comprehensive guide of data modeling with MongoDB, please check out our data modeling article. ## Setting up an example data model We are going to be building our vector embedding example using a MongoDB document for our MongoDB TV series. Here, we have a single MongoDB document representing our MongoDB TV show, without any embeddings in place. We have a nested array featuring our array of seasons, and within that, our array of different episodes. This way, in our document, we are capable of seeing exactly which season each episode is a part of, along with the episode number, the title, the description, and the date:
md
{ "tags": [ "MongoDB", "AI" ], "pageDescription": "Follow along with this comprehensive tutorial on how to properly model your documents for MongoDB Vector Search.", "contentType": "Tutorial" }
How to Model Your Documents for Vector Search
2024-05-20T17:32:23.500Z
[ -0.02317127026617527, -0.0021741336677223444, 0.029314830899238586, -0.05016374960541725, 0.07130555808544159, -0.008104021660983562, 0.003823608625680208, 0.044665563851594925, 0.0007575505296699703, 0.010353545658290386, 0.0147004509344697, -0.0447501540184021, 0.01832723245024681, 0.01814274862408638, 0.00821580458432436, -0.00586828263476491, -0.03840725123882294, 0.05477845296263695, -0.029100781306624413, 0.016857480630278587, 0.0500655397772789, -0.014249741099774837, -0.050758928060531616, -0.04254726693034172, 0.028757158666849136, 0.11321466416120529, -0.01483662985265255, -0.012665526941418648, -0.03604346513748169, -0.23317129909992218, -0.03540916368365288, -0.07547368854284286, 0.08875498175621033, -0.0018874953966587782, -0.0037796213291585445, -0.04731006547808647, -0.020354976877570152, 0.07594788074493408, -0.0554862804710865, 0.04344479739665985, 0.04223277419805527, 0.0013202206464484334, -0.015811599791049957, -0.10238716751337051, -0.05328083038330078, -0.06836745142936707, -0.019131338223814964, 0.010020802728831768, 0.020678110420703888, -0.0040321312844753265, -0.0023659709841012955, -0.04886618256568909, -0.05471412092447281, 0.0426802858710289, 0.03705088049173355, 0.0689394399523735, 0.04306356981396675, 0.0012837634421885014, -0.010811371728777885, 0.033535435795784, 0.055662550032138824, 0.028616873547434807, -0.1411879062652588, 0.09887455403804779, 0.033006101846694946, 0.0769929513335228, -0.03664718195796013, -0.003275064518675208, 0.03106427937746048, 0.03839695826172829, -0.043146032840013504, -0.00019795978732872754, -0.010584916919469833, 0.051834411919116974, -0.009753458201885223, -0.005227678455412388, 0.005902498960494995, -0.037513285875320435, -0.0021709271240979433, 0.015701254829764366, -0.08045482635498047, -0.04628002643585205, -0.004489692393690348, -0.002752169966697693, 0.0008127665496431291, -0.04538803547620773, 0.04140068590641022, -0.08495952188968658, -0.021533584222197533, 0.01522951852530241, 0.0048768953420221806, 0.0038428837433457375, -0.006445275153964758, 0.029501615092158318, -0.07951170951128006, -0.011095342226326466, 0.07430536299943924, 0.007624579127877951, -0.029013294726610184, 0.2188950926065445, -0.024687761440873146, 0.001539485645480454, 0.04126410186290741, -0.04040306434035301, -0.027778996154665947, -0.04260687157511711, 0.010815899819135666, -0.03214210644364357, -0.009309425950050354, 0.008802495896816254, -0.019474919885396957, -0.006144104525446892, -0.003557597054168582, -0.06327352672815323, 0.040982335805892944, 0.040240734815597534, -0.012315045110881329, 0.04325202479958534, -0.03295574337244034, -0.013271748088300228, -0.008374448865652084, 0.03313782438635826, 0.06532315164804459, -0.0014824708923697472, 0.02809663489460945, -0.042156465351581573, 0.07974851131439209, 0.08232478052377701, 0.04379410296678543, 0.04261636361479759, 0.047208644449710846, -0.0007329206564463675, -0.12019310146570206, 0.004072630312293768, 0.021874012425541878, 0.01854155771434307, -0.0011134332744404674, 0.00550557766109705, 0.027355803176760674, -0.0022984857205301523, 0.005048877559602261, -0.05962596833705902, -0.0019644121639430523, -0.10037830471992493, -0.06714577972888947, 0.14998629689216614, -0.05473221838474274, 0.025503074750304222, -0.09108812361955643, -0.03468277305364609, 0.013371514156460762, 0.021205920726060867, -0.025858933106064796, -0.007996869273483753, 0.014180641621351242, 0.027868133038282394, 0.04440857097506523, 0.019878629595041275, -0.05708026513457298, -0.0020654345862567425, -0.04688388481736183, -0.0007348723593167961, -0.04329763725399971, 0.08110754936933517, 0.021488819271326065, -0.0969843864440918, 0.0008131959475576878, 0.035689469426870346, 0.03901965171098709, -0.04885261878371239, 0.029459824785590172, 0.043242767453193665, -0.06432925909757614, 0.04050277918577194, 0.10408277064561844, 0.042680367827415466, -0.0583711676299572, 0.0023257636930793524, 0.04923231527209282, -0.016926635056734085, 0.01058886293321848, -0.05425729602575302, -0.03593996539711952, 0.05815400555729866, -0.007883459329605103, -0.054488226771354675, -0.015110067091882229, -0.022242091596126556, 0.03548850491642952, 0.027539275586605072, 0.012860098853707314, -0.05123846232891083, -0.005835129879415035, 0.020989347249269485, -0.04526947811245918, -0.0634065493941307, -0.009527694433927536, -0.03615690767765045, 0.025782734155654907, -0.0500861257314682, 0.051695384085178375, 0.033739879727363586, -0.014602912589907646, 0.03234821930527687, -0.02864806540310383, 0.003534288378432393, -0.015916602686047554, -0.03411311283707619, 0.01314307190477848, -0.008681382052600384, -0.07075853645801544, 0.011082916520535946, 0.003623595694079995, -0.053117964416742325, -0.010207128711044788, 0.010145277716219425, 0.04967520385980606, 0.029271362349390984, 0.04491759464144707, 0.06350439041852951, 0.025695104151964188, -0.10203108191490173, -0.018554460257291794, -0.24470198154449463, -0.005518920253962278, -0.00005413300823420286, 0.004656712990254164, 0.0024041382130235434, -0.05136185884475708, 0.04598551616072655, -0.04331634193658829, -0.04645315557718277, 0.078582763671875, 0.031186668202280998, -0.033400874584913254, -0.003179166465997696, -0.01840917207300663, -0.031104207038879395, 0.03754853829741478, 0.003915172535926104, 0.012989778071641922, -0.03232971951365471, 0.020543495193123817, 0.010368931107223034, 0.008831169456243515, 0.007483665365725756, -0.09225519746541977, 0.03878236934542656, -0.0008759639458730817, 0.17946265637874603, 0.04327843710780144, -0.011686568148434162, -0.0743623897433281, 0.05546778440475464, -0.04355521872639656, -0.05828461796045303, -0.09387852996587753, 0.0163958091288805, -0.01518952939659357, 0.011055005714297295, 0.041011322289705276, -0.018535885959863663, -0.02552373893558979, -0.04244963824748993, 0.053347740322351456, 0.04022684320807457, -0.05501146242022514, -0.01524389535188675, -0.03568306565284729, -0.03612988442182541, -0.007906894199550152, -0.040214184671640396, 0.030786968767642975, 0.013890666887164116, 0.009593154303729534, 0.03655671700835228, 0.020160848274827003, -0.051414068788290024, -0.020300043746829033, -0.07033298909664154, 0.02253646031022072, -0.026794295758008957, 0.04961436614394188, 0.01246615219861269, -0.06217799708247185, 0.01511823944747448, -0.033198609948158264, 0.04235304892063141, 0.007577858399599791, -0.018426479771733284, -0.01617114618420601, -0.01883063279092312, -0.015298199839890003, -0.01008940301835537, 0.056357115507125854, -0.025654003024101257, 0.016385767608880997, 0.0715693011879921, 0.04349687322974205, 0.009123613126575947, -0.02280731312930584, -0.03234122321009636, -0.027537506073713303, 0.019733047112822533, -0.024408120661973953, 0.04606011137366295, 0.04323851317167282, 0.08338239043951035, 0.028882302343845367, 0.09100192785263062, -0.01383050438016653, 0.029755590483546257, -0.02341199293732643, -0.02367611974477768, -0.03314678743481636, -0.035576071590185165, -0.040916286408901215, -0.010940675623714924, -0.006449020933359861, -0.28003355860710144, 0.02536909468472004, -0.020953316241502762, 0.08060169219970703, 0.009840392507612705, 0.010292436927556992, 0.02609686553478241, 0.012629793025553226, -0.007376482244580984, 0.011369257234036922, 0.03225460276007652, 0.02886129543185234, 0.04778316617012024, -0.007733187638223171, 0.0020244738552719355, 0.06568561494350433, 0.055180374532938004, -0.04679715633392334, 0.04563954100012779, -0.041586220264434814, 0.04312041401863098, 0.05103307217359543, 0.24394141137599945, -0.000753806612920016, 0.02102508954703808, 0.03729291260242462, -0.0026944270357489586, 0.01999759115278721, 0.06520728021860123, 0.02919953502714634, 0.004403932485729456, -0.004862131085246801, 0.12587669491767883, 0.0030814320780336857, 0.05010121315717697, 0.06936199218034744, -0.019835401326417923, 0.04462766647338867, 0.03622376173734665, -0.03906232863664627, -0.036170776933431625, -0.0003417503321543336, -0.052798278629779816, 0.012000561691820621, 0.0756278857588768, -0.02654729038476944, 0.002144391182810068, -0.033321984112262726, -0.018523648381233215, 0.023426612839102745, -0.06946228444576263, -0.020630192011594772, -0.02886912226676941, -0.006547512486577034, 0.04031588137149811, 0.04510087892413139, -0.022385895252227783, 0.02669893205165863, -0.014631099067628384, -0.02077615074813366, 0.0011825573164969683, -0.06707125157117844, -0.02317771129310131, 0.01828589290380478, 0.009622534736990929 ]
devcenter
https://www.mongodb.com/developer/products/mongodb/doc-modeling-vector-search
created
``` { "_id": ObjectId("238478293"), "title": "MongoDB TV", "description": "All your MongoDB updates, news, videos, and podcast episodes, straight to you!", "genre": "Programming", "Database", "MongoDB"], "seasons": [ { "seasonNumber": 1, "episodes": [ { "episodeNumber": 1, "title": "EASY: Build Generative AI Applications", "description": "Join Jesse Hall….", "date": ISODate("Oct52023") }, { "episodeNumber": 2, "title": "RAG Architecture & MongoDB: The Future of Generative AI Apps", "description": "Join Prakul Agarwal…",
md
{ "tags": [ "MongoDB", "AI" ], "pageDescription": "Follow along with this comprehensive tutorial on how to properly model your documents for MongoDB Vector Search.", "contentType": "Tutorial" }
How to Model Your Documents for Vector Search
2024-05-20T17:32:23.500Z
[ -0.02710265852510929, -0.011942173354327679, 0.03338083624839783, -0.08127890527248383, 0.07385067641735077, -0.009587489068508148, 0.004387813154608011, 0.01023946888744831, -0.00046368289622478187, 0.031469572335481644, -0.016225295141339302, -0.0647592544555664, 0.03261403739452362, 0.034690141677856445, 0.005603570956736803, -0.021877136081457138, -0.020833376795053482, 0.023456208407878876, -0.05947495996952057, 0.02772299200296402, 0.05066042020916939, -0.011268621310591698, -0.022385261952877045, -0.07108607888221741, 0.03413992375135422, 0.06180543452501297, 0.010650722309947014, -0.013350475579500198, -0.05754261463880539, -0.21845053136348724, -0.03417021036148071, -0.051279548555612564, 0.07131647318601608, -0.01793834939599037, 0.031290218234062195, -0.01780608668923378, -0.019301239401102066, 0.0713840052485466, -0.05421929061412811, 0.07090076059103012, 0.06497666984796524, -0.003557843156158924, -0.027770861983299255, -0.06582740694284439, -0.04866134747862816, -0.05066023766994476, -0.03144184872508049, 0.002082730643451214, 0.008623088710010052, 0.011383146047592163, -0.003161669708788395, -0.05436430498957634, -0.036533206701278687, 0.03539370745420456, 0.030387982726097107, 0.04494478181004524, 0.020684948191046715, 0.03682117909193039, 0.007983180694282055, 0.02189054898917675, 0.06082091107964516, 0.006757550872862339, -0.1789233535528183, 0.10502178221940994, 0.05557137355208397, 0.05238086357712746, -0.03156224638223648, -0.04025956988334656, 0.010899157263338566, 0.013845155015587807, -0.027651211246848106, 0.018869293853640556, 0.04938017576932907, 0.032599493861198425, 0.0350724495947361, -0.026702910661697388, -0.018633656203746796, -0.05233515426516533, 0.0038805503863841295, 0.01299202535301447, -0.07944728434085846, -0.05066799744963646, -0.04368838295340538, -0.015413220971822739, -0.01465577445924282, -0.03744583576917648, 0.016501018777489662, -0.07487551122903824, 0.017554819583892822, 0.03620508685708046, -0.023307036608457565, -0.005716719198971987, 0.04594627022743225, 0.029587017372250557, -0.07611102610826492, 0.011530942283570766, 0.008850506506860256, -0.00793878361582756, -0.049323827028274536, 0.2476135939359665, -0.06188752129673958, 0.004352203570306301, 0.046548016369342804, -0.02207709103822708, 0.000018855154849006794, -0.03835945576429367, -0.004875964019447565, -0.049672748893499374, -0.012081419117748737, 0.006523548625409603, -0.009313278831541538, -0.013635541312396526, 0.030708907172083855, -0.05220970883965492, 0.03936183452606201, 0.013837967999279499, 0.004071982577443123, 0.07814083993434906, -0.043967172503471375, 0.002066266955807805, 0.04069174453616142, 0.03847150132060051, 0.05827457830309868, -0.007552115712314844, -0.01162727177143097, -0.018093811348080635, 0.06745461374521255, 0.11136511713266373, 0.029714733362197876, 0.04793574661016464, 0.042280618101358414, 0.014970856718719006, -0.07593615353107452, -0.006271806545555592, 0.05873856320977211, -0.012408306822180748, -0.020415939390659332, 0.0025029093958437443, 0.024644071236252785, 0.030289357528090477, -0.021274199709296227, -0.08438771963119507, -0.043037544935941696, -0.06132170930504799, -0.022065406665205956, 0.11526469141244888, -0.010312034748494625, 0.07005608081817627, -0.06165628880262375, -0.024562999606132507, -0.005416440777480602, 0.029741138219833374, -0.02265339344739914, -0.017783109098672867, -0.0079339062795043, 0.017676478251814842, 0.05856075510382652, 0.03933858126401901, -0.039935946464538574, -0.016532428562641144, -0.03868463262915611, -0.0260721817612648, -0.029286596924066544, 0.07951585203409195, 0.01763927936553955, -0.12513898313045502, -0.01361828576773405, 0.008970114402472973, 0.031094148755073547, -0.018068214878439903, 0.005809868685901165, 0.007852642796933651, -0.05153790861368179, 0.030408261343836784, 0.10851605236530304, 0.028645696118474007, -0.018563902005553246, -0.002672339789569378, 0.011637214571237564, 0.0013809885131195188, -0.0011571947252377868, -0.07084979861974716, -0.04555818438529968, 0.049529287964105606, -0.0067414892837405205, -0.05655035749077797, -0.0003409476194065064, -0.012843682430684566, 0.023128388449549675, 0.025462036952376366, 0.01434718444943428, 0.015384419821202755, -0.03234018757939339, 0.02519039995968342, -0.005419721361249685, -0.0547824390232563, 0.02279004268348217, -0.024617856368422508, 0.03198739513754845, -0.03576938435435295, 0.05657775700092316, 0.0007432483253069222, -0.03061659075319767, 0.013566955924034119, -0.005489968694746494, -0.008007817901670933, -0.05412748456001282, -0.020973801612854004, 0.0306211169809103, 0.007713005878031254, -0.04179275408387184, 0.007642381824553013, 0.032175399363040924, -0.0024696015752851963, -0.038176123052835464, -0.01918191835284233, 0.005840964149683714, -0.004256458021700382, 0.06498675048351288, 0.03656519949436188, -0.007057626266032457, -0.07145517319440842, -0.05981574207544327, -0.25682708621025085, 0.02827201783657074, 0.020389746874570847, -0.010404737666249275, -0.011334767565131187, -0.02929975651204586, 0.026583844795823097, -0.037426967173814774, -0.01824340410530567, 0.07036817818880081, 0.03051440604031086, -0.03172320872545242, 0.007277029100805521, -0.005000644829124212, -0.04363293573260307, 0.06683928519487381, 0.0282336063683033, 0.006632641889154911, -0.003779407823458314, 0.037481941282749176, 0.010614643804728985, -0.004881115630269051, 0.008617769926786423, -0.11479657888412476, -0.0016337297856807709, -0.001963943475857377, 0.20336543023586273, 0.06819643080234528, -0.028893351554870605, -0.06511549651622772, 0.06570147722959518, 0.02486775442957878, -0.0008454485796391964, -0.12076298892498016, 0.05848734453320503, 0.0009001366561278701, 0.04197133332490921, 0.005529297981411219, -0.0225622970610857, -0.04080502688884735, -0.054617930203676224, 0.05448954924941063, 0.015661951154470444, -0.06593605875968933, 0.01641673780977726, -0.06745559722185135, -0.0461360439658165, -0.009225274436175823, -0.02572983130812645, 0.013188859447836876, 0.025568347424268723, 0.013090508989989758, 0.07779281586408615, 0.013913066126406193, -0.014433158561587334, -0.027665739879012108, -0.033382728695869446, 0.016178004443645477, -0.019163968041539192, 0.06151449307799339, -0.0017044978449121118, -0.05041685700416565, 0.02341627888381481, -0.02114744856953621, 0.024309465661644936, -0.01858416758477688, 0.004654875490814447, -0.011856330558657646, -0.014193800278007984, -0.03193087503314018, -0.04247209057211876, 0.04471533000469208, -0.00315070990473032, 0.03324750438332558, 0.06327997148036957, 0.017226219177246094, 0.007565347943454981, -0.004360266961157322, 0.010441029444336891, -0.01383774820715189, 0.031236940994858742, -0.02713475376367569, 0.04981337487697601, -0.0043758247047662735, 0.07601328939199448, 0.06111126020550728, 0.043611086905002594, 0.0013188989832997322, 0.030178701505064964, -0.04164949804544449, -0.002520585199818015, -0.019692379981279373, -0.08068325370550156, -0.06123056262731552, 0.03403743728995323, 0.007143138907849789, -0.29135197401046753, 0.05464234948158264, 0.007002334576100111, 0.03688565641641617, 0.01723526231944561, 0.05937132239341736, 0.044649653136730194, 0.00979797262698412, -0.013099068775773048, -0.004541347268968821, 0.02053499035537243, 0.006161380559206009, 0.012448510155081749, 0.007131921127438545, -0.022277135401964188, 0.07526460289955139, 0.017231129109859467, -0.05947527661919594, 0.05065341666340828, -0.03531347215175629, 0.00576242757961154, 0.08046372979879379, 0.22788231074810028, 0.023203223943710327, 0.008164878934621811, 0.030965043231844902, -0.020251445472240448, 0.024519726634025574, 0.08126578480005264, 0.022967973724007607, -0.02579142525792122, 0.000802932190708816, 0.10532453656196594, 0.0027500996366143227, 0.03387029841542244, 0.042978473007678986, -0.044751543551683426, 0.0516783632338047, 0.03810206055641174, -0.02511448971927166, -0.054285187274217606, 0.009395995177328587, -0.01595446653664112, 0.03773484751582146, 0.08005925267934799, -0.07735380530357361, -0.0282283965498209, -0.05880570411682129, -0.01264125481247902, -0.002036268822848797, -0.053264375776052475, -0.04851195961236954, -0.02745845727622509, 0.002513121347874403, 0.01339742448180914, 0.022753190249204636, 0.018782805651426315, 0.019972780719399452, -0.04273693263530731, -0.03502637520432472, -0.025796575471758842, -0.05650687962770462, -0.01965554989874363, 0.055153049528598785, -0.002781382529065013 ]
devcenter
https://www.mongodb.com/developer/products/mongodb/doc-modeling-vector-search
created
"description": "Join Prakul Agarwal…", "date": ISODate("Oct42023") } ] }, { "seasonNumber": 2, "episodes": [ { "episodeNumber": 1, "title": "Cloud Connect - Harness the Power of AI/ML and Generative AI on AWS with MongoDB Atlas", "description": "Join Igor Alekseev….", "date": ISODate("Oct32023") }, { "episodeNumber": 2, "title": "The Index: Here’s what you missed last week…", "description": "Join Megan Grant…", "date": ISODate("Oct22023") } ] } ] } ```
md
{ "tags": [ "MongoDB", "AI" ], "pageDescription": "Follow along with this comprehensive tutorial on how to properly model your documents for MongoDB Vector Search.", "contentType": "Tutorial" }
How to Model Your Documents for Vector Search
2024-05-20T17:32:23.500Z
[ -0.06628566235303879, -0.03930354490876198, 0.011942955665290356, -0.043195690959692, 0.07272123545408249, 0.02715747244656086, -0.004824345000088215, 0.02833166904747486, 0.0046721044927835464, 0.006590971257537603, 0.03282574191689491, -0.04673938825726509, 0.04389127716422081, 0.01945575699210167, 0.010178612545132637, -0.033768121153116226, -0.008913011290133, 0.007656503468751907, -0.07847905904054642, 0.0342864915728569, 0.034073591232299805, -0.04545041546225548, -0.020666223019361496, -0.062292516231536865, 0.03272651880979538, 0.04849653318524361, -0.0013335582334548235, -0.06601908802986145, -0.05077024921774864, -0.22199520468711853, -0.04276220127940178, -0.06040295213460922, 0.07544712722301483, 0.03834895044565201, 0.021938186138868332, -0.037180911749601364, -0.022723069414496422, 0.05625731498003006, -0.061415255069732666, 0.022160694003105164, 0.043851375579833984, -0.003517215372994542, -0.021839287132024765, -0.06133224070072174, -0.06535572558641434, -0.06844007968902588, -0.017167605459690094, 0.02281932532787323, 0.0003485943016130477, -0.010986578650772572, 0.017675092443823814, -0.056432586163282394, -0.017396001145243645, 0.025617482140660286, 0.03287939727306366, 0.019367201253771782, 0.03566968813538551, 0.01919676549732685, 0.025657374411821365, 0.04766363278031349, 0.05435946583747864, 0.03209845349192619, -0.20017963647842407, 0.09756225347518921, 0.031228329986333847, 0.01575447991490364, -0.017926372587680817, -0.03371249884366989, 0.016267849132418633, -0.0036030751653015614, -0.04407736659049988, 0.027873411774635315, 0.01705094985663891, 0.048984650522470474, 0.018163258209824562, -0.00009794560901354998, -0.029265128076076508, -0.031529929488897324, -0.02909013070166111, -0.0007251926581375301, -0.042099729180336, -0.005483894608914852, -0.03267573192715645, -0.0026683341711759567, -0.006158365868031979, -0.029420970007777214, 0.03029661625623703, -0.04154534265398979, -0.01177626196295023, 0.0035442039370536804, -0.01981275901198387, -0.009096173569560051, 0.010500682517886162, 0.046915438026189804, -0.05846837908029556, -0.022563163191080093, 0.03293674811720848, -0.010472506284713745, -0.03209635615348816, 0.24161215126514435, -0.07736796885728836, 0.04408198222517967, 0.03357423096895218, 0.0026896176859736443, 0.005452847573906183, -0.04216228425502777, 0.027777349576354027, -0.07131853699684143, -0.01778128556907177, 0.009441702626645565, -0.000030158862500684336, -0.008973759599030018, 0.03896455094218254, -0.06146658957004547, 0.03487628698348999, 0.05462140217423439, 0.05443018674850464, 0.08454064279794693, -0.010479439049959183, 0.009668998420238495, 0.0121630122885108, 0.039517842233181, 0.11530012637376785, -0.03005976974964142, 0.01601497456431389, -0.025751763954758644, 0.07268522679805756, 0.10084390640258789, 0.022184042260050774, 0.016509605571627617, 0.035253334790468216, -0.01328971702605486, -0.04902553930878639, -0.0018892537336796522, 0.0632374957203865, -0.01496853120625019, -0.0054022567346692085, -0.02771810255944729, 0.02379181794822216, -0.007265046238899231, -0.009445244446396828, -0.10629456490278244, -0.03126085177063942, -0.08336317539215088, -0.01574738882482052, 0.1296752542257309, 0.008945062756538391, 0.07403375208377838, -0.05468907952308655, 0.0054259090684354305, -0.04018518328666687, 0.031888727098703384, -0.016619445756077766, -0.022633230313658714, 0.007692966144531965, 0.029692618176341057, 0.08346044272184372, 0.06746871769428253, -0.06339496374130249, -0.0007637822418473661, -0.029510365799069405, -0.02461179904639721, -0.05339142307639122, 0.09729403257369995, 0.051769793033599854, -0.12014245986938477, 0.012653001584112644, 0.01548757217824459, -0.00070117914583534, -0.0017562642460688949, 0.027488799765706062, -0.003984184004366398, -0.04281733185052872, 0.02186564728617668, 0.09211966395378113, 0.012945914641022682, -0.031493235379457474, -0.0031795452814549208, -0.007379371207207441, 0.025084462016820908, 0.019401170313358307, -0.054232753813266754, -0.015717733651399612, 0.07043923437595367, 0.0013131991727277637, -0.04822336509823799, -0.022535013034939766, -0.02487063780426979, 0.03732546791434288, 0.011524228379130363, 0.0010665562003850937, -0.00401683896780014, -0.023412682116031647, 0.023727620020508766, 0.010404251515865326, -0.060475852340459824, 0.014860863797366619, -0.020188817754387856, 0.010239994153380394, -0.05720924213528633, 0.043842583894729614, -0.012254269793629646, -0.03667105734348297, 0.01137913390994072, -0.010276461951434612, -0.0048281364142894745, -0.038584109395742416, -0.024389920756220818, 0.05793176218867302, 0.005596353206783533, -0.035108815878629684, 0.03249673545360565, -0.0026451414451003075, -0.007670230232179165, -0.04969406872987747, -0.04128730669617653, 0.014004732482135296, 0.005059964023530483, 0.006149559747427702, 0.027414148673415184, 0.04484587162733078, -0.046511489897966385, -0.05055205523967743, -0.2547217905521393, 0.0015505023766309023, 0.020871205255389214, -0.049812961369752884, -0.012243027798831463, -0.03505650535225868, 0.050869617611169815, -0.015698926523327827, 0.05309155583381653, 0.09508616477251053, 0.062171030789613724, -0.01475535612553358, -0.0031753904186189175, -0.047788944095373154, -0.0041335891000926495, 0.034015409648418427, 0.016766609624028206, 0.021935660392045975, -0.017609456554055214, 0.03281918913125992, 0.030409956350922585, 0.020785605534911156, 0.019411932677030563, -0.09791615605354309, 0.026305604726076126, -0.012686350382864475, 0.19498655200004578, 0.06799378246068954, -0.005204332992434502, -0.08044201880693436, 0.021337296813726425, 0.04458358883857727, -0.008935063146054745, -0.11530879884958267, 0.03755538538098335, 0.0027750374283641577, 0.055049508810043335, -0.009188620373606682, -0.043243587017059326, -0.037169232964515686, -0.09748581796884537, 0.061147067695856094, -0.010823308490216732, -0.06443777680397034, -0.009720495902001858, -0.04082313925027847, -0.03731716796755791, -0.00033858080860227346, -0.0486423559486866, 0.012062403373420238, -0.011876669712364674, -0.002288427669554949, 0.039454393088817596, -0.00015503245231229812, -0.0005798534257337451, -0.042193666100502014, -0.056876905262470245, -0.002130878623574972, -0.04643493518233299, 0.06707823276519775, 0.00801994651556015, -0.03538736701011658, -0.006799840368330479, -0.03801247850060463, 0.028863288462162018, -0.04702869430184364, -0.018312441185116768, -0.002644856460392475, -0.038132037967443466, -0.00733220623806119, -0.05458575114607811, 0.03717232868075371, -0.0034720664843916893, 0.006504414137452841, 0.05371364206075668, -0.0036968605127185583, 0.05497109517455101, -0.012305130250751972, 0.011056981980800629, -0.03965800628066063, 0.04136059060692787, -0.05331828445196152, 0.05945180729031563, -0.018696369603276253, 0.0997600182890892, 0.06809570640325546, 0.05296827107667923, -0.0031637426000088453, 0.06668390333652496, -0.011043824255466461, -0.004376684781163931, 0.00264444830827415, -0.05931030213832855, -0.04512841999530792, 0.05690879002213478, 0.007032786495983601, -0.2795381546020508, 0.07376571744680405, 0.022499961778521538, -0.0069212159141898155, -0.007796398364007473, 0.038908299058675766, 0.01997325010597706, 0.025424567982554436, -0.018763959407806396, -0.008607113733887672, 0.04108256474137306, 0.004229442216455936, -0.016159163787961006, -0.001474920311011374, 0.0020838077180087566, 0.08303315937519073, 0.06490566581487656, -0.0051713003776967525, 0.05428848788142204, -0.01815417967736721, -0.026037229225039482, 0.024960266426205635, 0.21456141769886017, 0.03154171258211136, -0.006113450042903423, 0.015507163479924202, -0.025337280705571175, -0.006285215262323618, 0.04298730567097664, 0.020243683829903603, -0.004042739514261484, 0.008089780807495117, 0.060438480228185654, -0.030612453818321228, 0.016908159479498863, 0.05970359221100807, -0.018385563045740128, 0.09590677917003632, 0.03741619363427162, -0.009885651990771294, -0.04933446645736694, 0.03156844154000282, -0.028854886069893837, 0.021100029349327087, 0.055953603237867355, -0.04370535537600517, -0.03605809435248375, -0.050336986780166626, 0.004827918950468302, 0.040968701243400574, -0.06419134885072708, -0.022092347964644432, -0.0033811633475124836, 0.016809139400720596, 0.013617794029414654, 0.056409113109111786, -0.019109677523374557, 0.007138955406844616, -0.02846955507993698, -0.04333677142858505, -0.02708572708070278, -0.06276223063468933, 0.0022608055733144283, 0.01068431232124567, 0.02298278547823429 ]
devcenter
https://www.mongodb.com/developer/products/mongodb/doc-modeling-vector-search
created
Now that we have our example set up, let’s incorporate vector embeddings and discuss the proper techniques to set you up for success. ## Integrating vector embeddings for vector search in our data model Let’s first understand exactly what vector search is: Vector search is the way to search based on *meaning* rather than specific words. This comes in handy when querying using similarities rather than searching based on keywords. When using vector search, you can query using a question or a phrase rather than just a word. In a nutshell, vector search is great for when you can’t think of *exactly* that book or movie, but you remember the plot or the climax.
md
{ "tags": [ "MongoDB", "AI" ], "pageDescription": "Follow along with this comprehensive tutorial on how to properly model your documents for MongoDB Vector Search.", "contentType": "Tutorial" }
How to Model Your Documents for Vector Search
2024-05-20T17:32:23.500Z
[ -0.06387308239936829, -0.01285748090595007, 0.00989945326000452, -0.011655112728476524, 0.04453819990158081, -0.0001472049771109596, 0.014776562340557575, 0.038629353046417236, 0.012935629114508629, -0.0017955395160242915, 0.035523075610399246, -0.031217288225889206, 0.04906724765896797, 0.03525857627391815, 0.06443703174591064, -0.028667692095041275, 0.013120077550411224, 0.07429749518632889, -0.026599129661917686, -0.02110394649207592, 0.03420095145702362, -0.020224833860993385, -0.00966064352542162, -0.07169605046510696, 0.026405924931168556, 0.05862874910235405, -0.02937592752277851, -0.030393147841095924, -0.021625354886054993, -0.23036018013954163, 0.0014933996135368943, -0.07194151729345322, 0.08340364694595337, 0.0030417386442422867, -0.02949259802699089, 0.0013199150562286377, -0.027459856122732162, 0.05818512290716171, -0.03528900071978569, 0.041473571211099625, 0.026867730543017387, -0.019484158605337143, -0.02918037585914135, -0.0780017226934433, -0.044656410813331604, -0.02406596951186657, -0.04638274759054184, -0.0018767343135550618, 0.012630066834390163, -0.02330942638218403, 0.011536061763763428, -0.03193701431155205, 0.0013827320653945208, 0.046285223215818405, 0.017876451835036278, 0.08043929934501648, 0.06292197853326797, 0.04569544270634651, -0.0064772660844028, 0.029533253982663155, 0.035128023475408554, 0.013665994629263878, -0.1403893381357193, 0.09650013595819473, 0.027210740372538567, 0.019147219136357307, -0.029749946668744087, -0.009959075599908829, 0.03951740264892578, 0.10202299058437347, -0.01680944673717022, 0.02699117548763752, -0.033239156007766724, 0.07042373716831207, -0.04272198677062988, 0.030408846214413643, 0.013246655464172363, -0.028567736968398094, 0.029207400977611542, -0.027914877980947495, 0.02411789633333683, -0.013837102800607681, 0.010486223734915257, 0.03407995030283928, -0.011884063482284546, -0.02419826202094555, 0.01750912144780159, -0.03932086378335953, 0.04639032855629921, -0.006998856086283922, 0.005157375242561102, 0.005646228324621916, -0.07587407529354095, 0.017142292112112045, -0.06351115554571152, -0.010713642463088036, 0.08431854099035263, 0.014520859345793724, -0.008967677131295204, 0.21710900962352753, -0.008354658260941505, 0.02774147316813469, 0.045546263456344604, -0.065100759267807, -0.016446782276034355, -0.02162814699113369, -0.031448766589164734, -0.019394250586628914, -0.016334591433405876, -0.002651949878782034, -0.012092342600226402, -0.02675381861627102, 0.01664147339761257, -0.026661591604351997, 0.049040764570236206, -0.012867283076047897, 0.03638290613889694, 0.006763092707842588, -0.016092931851744652, -0.019609754905104637, -0.07034505158662796, -0.01073500420898199, 0.016878509894013405, 0.010051046498119831, 0.01957697980105877, -0.07130950689315796, 0.05754654109477997, 0.111994668841362, 0.03185512125492096, 0.010902723297476768, 0.06674373149871826, 0.006058315746486187, -0.11484932899475098, 0.0063206227496266365, -0.02589062601327896, 0.07266417890787125, 0.0059106978587806225, 0.015529822558164597, -0.020062262192368507, -0.027402708306908607, -0.021662939339876175, -0.02369633875787258, 0.01701650395989418, -0.10732109099626541, -0.07516487687826157, 0.14492785930633545, -0.05589457228779793, -0.02598397620022297, -0.04773193225264549, -0.007038171403110027, 0.006978142540901899, 0.018900202587246895, -0.023249158635735512, -0.018044382333755493, 0.004455224610865116, 0.05581895262002945, 0.044400572776794434, 0.024452531710267067, -0.04951455816626549, 0.002170732943341136, -0.016175808385014534, -0.00818061176687479, -0.04272742196917534, 0.10040624439716339, 0.0029660833533853292, -0.11811915785074234, -0.044447045773267746, -0.0027389260940253735, -0.0034711670596152544, -0.04536699131131172, 0.04932454228401184, 0.014096812345087528, -0.053266603499650955, 0.04463031888008118, 0.05532607063651085, 0.026322459802031517, -0.09906148910522461, 0.01390922348946333, 0.005022338125854731, 0.019730664789676666, 0.016295749694108963, -0.04774138331413269, -0.05202094092965126, 0.06212767958641052, 0.024659259244799614, -0.05236717686057091, -0.004783086944371462, -0.04611775651574135, 0.024552494287490845, 0.03978176787495613, -0.004051860887557268, -0.023457802832126617, -0.0013014399446547031, -0.0182966161519289, -0.05643881857395172, -0.04559275135397911, 0.015970604494214058, -0.014280004426836967, 0.037924785166978836, -0.05228627100586891, 0.02014213800430298, 0.022216828539967537, -0.025188971310853958, 0.06412951648235321, -0.04946845769882202, 0.042845819145441055, -0.014318843372166157, -0.02657918632030487, 0.023590633645653725, 0.022115496918559074, -0.02871491201221943, -0.002762909745797515, 0.020514430478215218, -0.05874231085181236, -0.04751400277018547, -0.004326355177909136, -0.013607267290353775, 0.06736844778060913, 0.0079391710460186, 0.07496228814125061, -0.007115975022315979, -0.10483520478010178, -0.017010897397994995, -0.2309321016073227, -0.05222344025969505, -0.02657867595553398, -0.020783301442861557, 0.05209294334053993, -0.07036805152893066, -0.005625119898468256, -0.0044877598993480206, -0.011640961281955242, 0.06967301666736603, 0.03094072826206684, -0.03802866116166115, -0.033859897404909134, 0.0027707000263035297, 0.024932369589805603, 0.029996031895279884, 0.03695718199014664, 0.030442994087934494, -0.02094011940062046, -0.006595997139811516, 0.011205811984837055, 0.017837775871157646, 0.011688711121678352, -0.060064006596803665, 0.05429910868406296, -0.00476984353736043, 0.22974494099617004, 0.09075792878866196, 0.019152840599417686, -0.04089837521314621, 0.02351008914411068, -0.004042852204293013, -0.05741538852453232, -0.12620824575424194, 0.04314727336168289, -0.014054715633392334, -0.0012573940912261605, 0.028908442705869675, -0.015350480563938618, -0.013505931943655014, -0.04918565973639488, 0.021782677620649338, -0.006386415101587772, -0.07681544125080109, -0.024883989244699478, -0.04131370782852173, -0.030689634382724762, 0.004746611695736647, -0.03466031700372696, 0.031649813055992126, 0.03853718191385269, -0.01880982518196106, 0.051628228276968, 0.024677321314811707, -0.04526684805750847, -0.03205953538417816, -0.07126045972108841, -0.01785993203520775, -0.03863372281193733, 0.04186149686574936, 0.004949644207954407, -0.04078999161720276, 0.036961879581213, -0.07685410976409912, 0.0682474672794342, 0.008138762786984444, 0.0053942385129630566, -0.021501237526535988, 0.02076459862291813, -0.026179205626249313, -0.041339777410030365, 0.08953957259654999, -0.04072465002536774, 0.02096824161708355, 0.03361913189291954, 0.03229247406125069, 0.022410795092582703, -0.018588952720165253, -0.05869638919830322, -0.03441458195447922, 0.029149847105145454, 0.0013569665607064962, 0.05768537148833275, -0.013860843144357204, 0.08734475821256638, 0.0067473649978637695, 0.07523263245820999, -0.015910416841506958, 0.04355188086628914, 0.00783008337020874, -0.010776140727102757, -0.022313743829727173, 0.012845830991864204, -0.02697640471160412, 0.01693171076476574, -0.024225585162639618, -0.26642507314682007, 0.06217079609632492, 0.01766594499349594, 0.03996584564447403, -0.06777279824018478, -0.017208237200975418, 0.02120746113359928, -0.03370160236954689, -0.024308305233716965, 0.031726282089948654, 0.01996149681508541, 0.036474622786045074, 0.07454303652048111, -0.009442920796573162, -0.009053734131157398, 0.04679092764854431, 0.07194187492132187, -0.04770193248987198, 0.05200733616948128, -0.03391534462571144, 0.016880745068192482, 0.03861256688833237, 0.23404747247695923, -0.05505380779504776, 0.04402920976281166, -0.015290346927940845, -0.0009494942496530712, -0.030577324330806732, 0.02278398722410202, 0.02315226010978222, 0.02352997288107872, -0.014292248524725437, 0.10721369087696075, 0.001836620387621224, 0.05345141142606735, 0.056883152574300766, -0.02989918552339077, 0.032212939113378525, 0.038599658757448196, -0.03657260909676552, 0.003316292306408286, 0.026104673743247986, -0.05057699605822563, 0.018460743129253387, 0.059644196182489395, 0.02652217447757721, 0.027961065992712975, -0.021764438599348068, -0.0242060124874115, 0.010969698429107666, -0.04551722854375839, -0.010767974890768528, -0.01285646203905344, -0.0007998320506885648, 0.02742401883006096, 0.040019355714321136, -0.08955255150794983, -0.032476890832185745, -0.007710108999162912, -0.005663168150931597, 0.04252108931541443, -0.08133400976657867, -0.009866438806056976, 0.014222586527466774, 0.0032183353323489428 ]
devcenter
https://www.mongodb.com/developer/products/mongodb/doc-modeling-vector-search
created
This process happens when text, video, or audio is transformed via an encoder into vectors. With MongoDB, we can do this using OpenAI, Hugging Face, or other natural language processing models. Once we have our vectors, we can upload them in the base of our document and conduct vector search using them. Please keep in mind the [current limitations of vector search and how to properly embed your vectors. You can store your vector embeddings alongside other data in your document, or you can store them in a new collection. It is really up to the user and the project goals. Let’s go over what a document with vector embeddings can look like when you incorporate them into your data model, using the same example from above:
md
{ "tags": [ "MongoDB", "AI" ], "pageDescription": "Follow along with this comprehensive tutorial on how to properly model your documents for MongoDB Vector Search.", "contentType": "Tutorial" }
How to Model Your Documents for Vector Search
2024-05-20T17:32:23.500Z
[ -0.048436153680086136, -0.021079035475850105, 0.003924472723156214, -0.022311773151159286, 0.05012430250644684, -0.004514416214078665, -0.003736359067261219, 0.021510127931833267, -0.0028633545152843, 0.014669610187411308, 0.014674393460154533, -0.034258510917425156, 0.029364895075559616, 0.030789274722337723, 0.04357849061489105, 0.008410358801484108, -0.011204810813069344, 0.027950134128332138, -0.03945349529385567, 0.0016620258102193475, 0.025633104145526886, -0.0361076258122921, -0.011544735170900822, -0.052376341074705124, 0.012186084873974323, 0.06780610978603363, -0.053937170654535294, -0.029012776911258698, -0.007575388066470623, -0.22874592244625092, 0.008281094953417778, -0.0645071342587471, 0.07979578524827957, -0.022920239716768265, 0.008200048469007015, -0.0025035107973963022, -0.0371394082903862, 0.0797046646475792, -0.03593115136027336, 0.02002197876572609, 0.028306806460022926, -0.031071458011865616, -0.03341520205140114, -0.1200215220451355, -0.010001334361732006, -0.039348285645246506, -0.033149126917123795, -0.023542704060673714, -0.0009529376984573901, -0.03040926158428192, -0.00223923590965569, -0.05164719745516777, -0.006238912232220173, 0.050204284489154816, 0.008500052616000175, 0.0809255912899971, 0.042337529361248016, 0.023926224559545517, -0.01919105090200901, 0.011168164201080799, 0.035832006484270096, 0.015732837840914726, -0.15286500751972198, 0.09944166243076324, -0.000076363816333469, 0.05221259221434593, -0.04655296355485916, 0.0010025260271504521, 0.027013462036848068, 0.06054858863353729, -0.009722818620502949, -0.0055418056435883045, 0.004150378052145243, 0.037433210760354996, -0.013206401839852333, 0.007856092415750027, 0.020767908543348312, -0.043204620480537415, -0.009513312950730324, 0.013979773968458176, -0.013129187747836113, -0.03206441178917885, 0.0048521701246500015, 0.020575739443302155, -0.012770489789545536, -0.042096953839063644, 0.0429084412753582, -0.07483234256505966, -0.0143437460064888, -0.012356632389128208, -0.03395848721265793, -0.009923742152750492, 0.005675865802913904, 0.03314732760190964, -0.08641190826892853, -0.023306669667363167, 0.058163248002529144, 0.03342042118310928, 0.021939359605312347, 0.26557379961013794, -0.015856275334954262, 0.025642188265919685, 0.034276191145181656, -0.05591771751642227, 0.0170681644231081, -0.020089419558644295, -0.014926998876035213, -0.010212333872914314, -0.019065359607338905, 0.0032702593598514795, -0.023247182369232178, -0.03139524906873703, 0.004847799427807331, -0.0216271560639143, 0.04566677287220955, 0.005636311136186123, -0.01688886433839798, 0.03443412482738495, -0.05384479835629463, -0.012701165862381458, -0.029376665130257607, 0.02926306053996086, 0.030290815979242325, -0.020050670951604843, 0.03891323506832123, -0.04678426310420036, 0.08002827316522598, 0.08155195415019989, 0.04276667907834053, -0.0021011324133723974, 0.05548437684774399, -0.0001387157099088654, -0.11139257252216339, -0.010536087676882744, 0.010728329420089722, 0.04959871992468834, -0.001174506382085383, -0.0021871179342269897, -0.01631050556898117, 0.005460044834762812, 0.004669888876378536, -0.008116782642900944, -0.00042074406519532204, -0.08841384202241898, -0.049690812826156616, 0.15315048396587372, -0.04387247934937477, 0.022144166752696037, -0.05892796069383621, -0.044335901737213135, 0.01738027296960354, 0.05981092154979706, -0.025823859497904778, 0.01620909757912159, 0.006047261878848076, -0.00974198617041111, 0.031900160014629364, 0.00858243927359581, -0.03488791733980179, 0.00884541217237711, -0.011505478993058205, 0.018083486706018448, -0.026455959305167198, 0.09267932176589966, 0.021422987803816795, -0.08982714265584946, -0.024640757590532303, -0.006154199596494436, 0.02074323035776615, -0.03176851198077202, 0.019945858046412468, 0.01775139942765236, -0.05512433499097824, 0.021834349259734154, 0.08914058655500412, 0.033694472163915634, -0.10964945703744888, 0.01350038405507803, -0.004271732177585363, -0.02152579464018345, -0.011039342731237411, -0.054182425141334534, -0.03378835320472717, 0.03472481667995453, 0.004440367687493563, -0.0569559745490551, -0.011007195338606834, -0.03682953864336014, 0.04132504016160965, 0.032091036438941956, 0.006228655576705933, -0.004057519603520632, 0.011673117987811565, -0.01398315280675888, -0.04982825741171837, -0.050909217447042465, 0.00797042716294527, -0.02031635493040085, 0.025921350345015526, -0.021915843710303307, 0.030533967539668083, 0.03806566819548607, -0.024609427899122238, 0.06640579551458359, 0.003873316803947091, 0.008266270160675049, -0.03620890900492668, 0.0031624450348317623, 0.009990768507122993, -0.01044856384396553, -0.05415301397442818, 0.0053674872033298016, 0.042440157383680344, -0.03921155631542206, -0.027948368340730667, 0.0034218186046928167, -0.003951305523514748, 0.061718281358480453, 0.005133397877216339, 0.04154425486922264, -0.023965423926711082, -0.11644680052995682, -0.005148566327989101, -0.24598756432533264, -0.024516496807336807, -0.0330001600086689, 0.008117473684251308, 0.020855892449617386, -0.06603473424911499, 0.007800286170095205, -0.012462399899959564, 0.014830431900918484, 0.05182987079024315, 0.036785826086997986, -0.009721856564283371, -0.019335107877850533, 0.010153466835618019, 0.008071739226579666, 0.04312509670853615, 0.04788394272327423, 0.04704170301556587, -0.0069091347977519035, 0.012278597801923752, 0.012909762561321259, 0.0034007863141596317, -0.006160699296742678, -0.05964433401823044, 0.06057148799300194, 0.0023449573200196028, 0.22139671444892883, 0.05085945501923561, 0.002435879549011588, -0.04898902773857117, 0.04645799100399017, -0.003245564177632332, -0.043415702879428864, -0.1383388340473175, 0.042726799845695496, -0.01479202788323164, 0.006207739934325218, 0.03850136324763298, 0.015169290825724602, -0.021501079201698303, -0.059339530766010284, 0.031242817640304565, 0.05320848897099495, -0.09595894813537598, -0.014009907841682434, -0.02220558188855648, -0.04289761930704117, 0.0026402948424220085, -0.05269983038306236, 0.02264375425875187, 0.011434718035161495, 0.022451935335993767, 0.048636794090270996, 0.04600827395915985, -0.06812060624361038, -0.06818528473377228, -0.0560075044631958, 0.0021284371614456177, -0.02598472870886326, 0.052653826773166656, 0.006720503326505423, -0.028456738218665123, 0.03563863784074783, -0.0538518913090229, 0.06087180972099304, 0.010163752362132072, 0.008574635721743107, -0.012314945459365845, 0.014950782991945744, -0.006265711504966021, -0.0014414278557524085, 0.12019568681716919, -0.018155839294195175, 0.03501002863049507, 0.048443857580423355, 0.0471545048058033, 0.015347156673669815, -0.039151888340711594, -0.06372766941785812, -0.03397485613822937, 0.021767141297459602, -0.003025861456990242, 0.038349222391843796, 0.03566012158989906, 0.055094536393880844, 0.030329853296279907, 0.04040123522281647, -0.015069128945469856, 0.03007938712835312, 0.0170090701431036, 0.006484605837613344, -0.012506157159805298, -0.03755093365907669, -0.04627840965986252, -0.009292914532124996, -0.014557761140167713, -0.2801460027694702, 0.04237863048911095, 0.008029899559915066, 0.040535423904657364, -0.01631995663046837, 0.017444370314478874, 0.04483155906200409, 0.026189282536506653, -0.024718202650547028, 0.06089834123849869, -0.03464190661907196, 0.03199341893196106, 0.02612287551164627, -0.014713353477418423, -0.0001717567938612774, 0.06653435528278351, 0.07128547877073288, -0.06734678894281387, 0.04394005239009857, -0.06017317622900009, 0.00653610797598958, 0.05597210302948952, 0.28315305709838867, -0.0288582444190979, 0.03259167820215225, -0.0234024990350008, -0.009129942394793034, 0.0047771078534424305, 0.056245628744363785, -0.0009390849736519158, 0.04879503697156906, 0.009740060195326805, 0.09762880206108093, -0.0014228206127882004, 0.020690616220235825, 0.050818879157304764, -0.041156090795993805, 0.019566752016544342, 0.02655121125280857, -0.018858950585126877, -0.02250937558710575, -0.01590239629149437, -0.05373130738735199, -0.00538462633267045, 0.06603111326694489, 0.009100154973566532, 0.00737564405426383, -0.006352562457323074, -0.031871896237134933, 0.016871316358447075, -0.04126380383968353, -0.02179219201207161, -0.005512088071554899, -0.0181038249284029, 0.011105889454483986, 0.044162388890981674, -0.06445316970348358, 0.010617772117257118, -0.016521381214261055, -0.018181748688220978, 0.047610580921173096, -0.07566279917955399, -0.03179223835468292, 0.033744536340236664, -0.012864546850323677 ]
devcenter
https://www.mongodb.com/developer/products/mongodb/doc-modeling-vector-search
created
``` { "_id": ObjectId("238478293"), "title": "MongoDB TV", "description": "All your MongoDB updates, news, videos, and podcast episodes, straight to you!", "genre": "Programming", "Database", "MongoDB"], “vectorEmbeddings”: [ 0.25, 0.5, 0.75, 0.1, 0.1, 0.8, 0.2, 0.6, 0.6, 0.4, 0.9, 0.3, 0.2, 0.7, 0.5, 0.8, 0.1, 0.8, 0.2, 0.6 ], "seasons": [ { "seasonNumber": 1, "episodes": [
md
{ "tags": [ "MongoDB", "AI" ], "pageDescription": "Follow along with this comprehensive tutorial on how to properly model your documents for MongoDB Vector Search.", "contentType": "Tutorial" }
How to Model Your Documents for Vector Search
2024-05-20T17:32:23.500Z
[ -0.03143370524048805, -0.01130755990743637, 0.03120499663054943, -0.053648293018341064, 0.08467394858598709, -0.0117659792304039, 0.008281460031867027, 0.03438279405236244, -0.0023252954706549644, 0.03939914330840111, -0.01041195634752512, -0.06258431077003479, 0.034844547510147095, 0.033611033111810684, -0.017187802121043205, -0.020076287910342216, -0.008715188130736351, 0.027688348665833473, -0.057741690427064896, 0.022635990753769875, 0.042600736021995544, -0.009961975738406181, -0.02426653914153576, -0.056051094084978104, 0.05999727547168732, 0.08170245587825775, -0.01055797841399908, -0.0028688618913292885, -0.05963128060102463, -0.24096740782260895, -0.04111693426966667, -0.0547705739736557, 0.06730800122022629, -0.033404551446437836, 0.013941533863544464, -0.029786372557282448, -0.015799252316355705, 0.06235942244529724, -0.04405718296766281, 0.07212959975004196, 0.07268762588500977, -0.00913573894649744, -0.04680787771940231, -0.06197291240096092, -0.06312843412160873, -0.053593236953020096, -0.03219829499721527, -0.007158051710575819, 0.01057717390358448, 0.013531706295907497, -0.014859535731375217, -0.04863555729389191, -0.029154103249311447, 0.05142224580049515, 0.03336923569440842, 0.04556124284863472, 0.012245606631040573, 0.030076568946242332, 0.007407620549201965, 0.02717745490372181, 0.060155656188726425, -0.005125682335346937, -0.18455469608306885, 0.09309869259595871, 0.041160136461257935, 0.05521003156900406, -0.029542673379182816, -0.038661178201436996, 0.023848187178373337, 0.006989413406699896, -0.04364252835512161, 0.008096093311905861, 0.04171113297343254, 0.03298663720488548, 0.01858804188668728, -0.02553875744342804, -0.012593819759786129, -0.05365711823105812, 0.0030734979081898928, 0.017881326377391815, -0.06160471588373184, -0.05898970365524292, -0.026619460433721542, -0.018200708553195, -0.010134555399417877, -0.0421501062810421, 0.020171422511339188, -0.08370578289031982, 0.03910075128078461, 0.0186028853058815, -0.026372946798801422, -0.00821097381412983, 0.06081900745630264, 0.04086342826485634, -0.08520355820655823, 0.007531175389885902, 0.03843921795487404, 0.00622674822807312, -0.047856319695711136, 0.23373211920261383, -0.042092885822057724, 0.008269080892205238, 0.03161067143082619, -0.03154880180954933, 0.005293786525726318, -0.038542963564395905, -0.0048902444541454315, -0.04227304831147194, -0.0018442573491483927, 0.020289957523345947, -0.022311551496386528, -0.023393670096993446, 0.026708977296948433, -0.04746100679039955, 0.05116920545697212, 0.024976354092359543, -0.005274663679301739, 0.07942638546228409, -0.03874624893069267, -0.003698658663779497, 0.03798184543848038, 0.036480553448200226, 0.06872804462909698, -0.001347036799415946, 0.0018463527085259557, -0.000699452415574342, 0.07606960833072662, 0.1157514750957489, 0.023114610463380814, 0.04098786041140556, 0.040079694241285324, 0.02636086195707321, -0.08254087716341019, 0.01194765605032444, 0.041109856218099594, 0.00208524102345109, -0.022334417328238487, 0.004239766858518124, 0.02656148187816143, 0.030862510204315186, -0.02947998233139515, -0.08675513416528702, -0.05839037522673607, -0.06705152243375778, -0.026689089834690094, 0.1205659881234169, -0.03166401386260986, 0.062294796109199524, -0.05286106467247009, -0.011655790731310844, 0.000602905114647001, 0.030131030827760696, -0.019886093214154243, -0.01471942663192749, -0.020140158012509346, -0.0034623993560671806, 0.05276481807231903, 0.03608536347746849, -0.029610799625515938, -0.030731117352843285, -0.024595636874437332, -0.014769220724701881, -0.028414646163582802, 0.08162514865398407, 0.01974400132894516, -0.09244478493928909, -0.027689943090081215, 0.006735880393534899, 0.030595021322369576, -0.032280366867780685, 0.011900302954018116, 0.005329139064997435, -0.07264034450054169, 0.024991799145936966, 0.11311259865760803, 0.025419341400265694, -0.04121755436062813, -0.013865809887647629, 0.02940666861832142, -0.020544594153761864, 0.008660534396767616, -0.04762406647205353, -0.037304412573575974, 0.05757366493344307, -0.01663871482014656, -0.06159410625696182, -0.02625606395304203, -0.0030132061801850796, 0.03303201124072075, 0.006056087091565132, 0.01961871236562729, -0.01740233227610588, -0.015994109213352203, 0.010499567724764347, -0.015877731144428253, -0.04484499990940094, 0.016180871054530144, -0.015798384323716164, 0.03500703349709511, -0.013732782565057278, 0.07667479664087296, 0.004740623757243156, -0.019540958106517792, 0.021761763840913773, -0.009136253036558628, -0.014249950647354126, -0.06056246533989906, -0.022048469632864, 0.012989492155611515, -0.008659538812935352, -0.051401518285274506, -0.004049287177622318, 0.015119078569114208, -0.017176976427435875, -0.032903045415878296, -0.010040153749287128, 0.009662320837378502, -0.007307799998670816, 0.060295213013887405, 0.02295149303972721, -0.006036791950464249, -0.09383243322372437, -0.06351755559444427, -0.2665172219276428, 0.013874705880880356, 0.02758440189063549, -0.016157761216163635, -0.014536909759044647, -0.031586654484272, 0.02588638849556446, -0.004325737711042166, -0.008535193279385567, 0.08498025685548782, 0.020667456090450287, -0.01362049113959074, -0.012659089639782906, -0.005321909673511982, -0.034067973494529724, 0.057651206851005554, 0.03732213005423546, -0.010098416358232498, 0.004005624447017908, 0.034118153154850006, 0.001795897725969553, 0.013578406535089016, -0.005310754291713238, -0.0891302078962326, 0.01745232567191124, -0.0071110897697508335, 0.21203574538230896, 0.08153685182332993, -0.018518727272748947, -0.06520448625087738, 0.06605065613985062, 0.005848345812410116, 0.010197507217526436, -0.09842034429311752, 0.05552434176206589, 0.008336340077221394, 0.018346961587667465, 0.01767369732260704, -0.01904478296637535, -0.045199546962976456, -0.042058415710926056, 0.04305863380432129, 0.018133962526917458, -0.06383176892995834, 0.004500915762037039, -0.06274532526731491, -0.02890048921108246, -0.005703632719814777, -0.040985770523548126, 0.026276055723428726, 0.030823681503534317, 0.021660197526216507, 0.07562483847141266, 0.009766126982867718, -0.0164023544639349, -0.015459636226296425, -0.035708002746105194, 0.011582178995013237, -0.02503672055900097, 0.059401340782642365, -0.009956940077245235, -0.06944172829389572, 0.03519829735159874, -0.02264459617435932, 0.03339296579360962, -0.008537162095308304, 0.006885504350066185, -0.009064015932381153, 0.0033402149565517902, -0.02262932062149048, -0.035508133471012115, 0.047643713653087616, 0.00037942882045172155, 0.04935336112976074, 0.05197317898273468, 0.03790890425443649, 0.004329538904130459, 0.007703372277319431, 0.00017490833124611527, -0.017308587208390236, 0.03137395903468132, -0.027399737387895584, 0.043308861553668976, 0.008212936110794544, 0.08387253433465958, 0.05574621632695198, 0.04137164354324341, 0.012788857333362103, 0.02401627041399479, -0.02971850521862507, -0.00871302466839552, -0.03372259438037872, -0.08294543623924255, -0.07211469113826752, 0.02093959040939808, -0.0004972504684701562, -0.29228001832962036, 0.046587228775024414, 0.009761111810803413, 0.03102945350110531, 0.014077125117182732, 0.05389486625790596, 0.035801634192466736, -0.000935352232772857, -0.026144756004214287, -0.00793803296983242, 0.010833289474248886, 0.015653522685170174, 0.014060658402740955, 0.018333416432142258, -0.013062877580523491, 0.06448239833116531, 0.0159212127327919, -0.06662160903215408, 0.0654156357049942, -0.025065623223781586, 0.020592154935002327, 0.07229618728160858, 0.20514027774333954, 0.029423722997307777, 0.0010784644400700927, 0.03279248625040054, -0.011015594005584717, 0.038924966007471085, 0.08118876814842224, 0.022402849048376083, -0.030516237020492554, -0.002271947218105197, 0.09632135182619095, 0.0046572815626859665, 0.01702815294265747, 0.05272465944290161, -0.03823477029800415, 0.058682724833488464, 0.030569180846214294, -0.03720388188958168, -0.048848655074834824, 0.0011847512796521187, -0.025133274495601654, 0.04482713341712952, 0.08925570547580719, -0.07158197462558746, -0.019176101312041283, -0.05888867750763893, -0.00522964121773839, -0.013097558170557022, -0.05830726772546768, -0.04059094563126564, -0.015672771260142326, 0.007571679074317217, 0.025967322289943695, 0.012082783505320549, 0.008217833936214447, 0.028046706691384315, -0.04136030748486519, -0.03983024135231972, -0.0197110828012228, -0.06962616741657257, -0.034928251057863235, 0.04676131159067154, -0.004166422877460718 ]
devcenter
https://www.mongodb.com/developer/products/mongodb/doc-modeling-vector-search
created
"seasons": [ { "seasonNumber": 1, "episodes": [ { "episodeNumber": 1, "title": "EASY: Build Generative AI Applications", "description": "Join Jesse Hall….", "date": ISODate("Oct 5, 2023") }, { "episodeNumber": 2, "title": "RAG Architecture & MongoDB: The Future of Generative AI Apps", "description": "Join Prakul Agarwal…", "date": ISODate("Oct 4, 2023") } ] }, { "seasonNumber": 2, "episodes": [ { "episodeNumber": 1,
md
{ "tags": [ "MongoDB", "AI" ], "pageDescription": "Follow along with this comprehensive tutorial on how to properly model your documents for MongoDB Vector Search.", "contentType": "Tutorial" }
How to Model Your Documents for Vector Search
2024-05-20T17:32:23.500Z
[ -0.05439312011003494, -0.005806506611406803, 0.05345169082283974, -0.08027718961238861, 0.05994939059019089, 0.033025771379470825, -0.0029064291156828403, -0.0010950734140351415, 0.013906036503612995, 0.017406273633241653, 0.011048182845115662, -0.05471319332718849, 0.04402558505535126, 0.027332862839102745, 0.01738670840859413, -0.03048020973801613, -0.02318692021071911, 0.037640515714883804, -0.03905492648482323, 0.018580233678221703, 0.062209900468587875, -0.012146612629294395, -0.02091885730624199, -0.06880010664463043, 0.03987596556544304, 0.04861288145184517, -0.00043238807120360434, -0.04131266474723816, -0.06358001381158829, -0.19510698318481445, -0.026837941259145737, -0.0507989265024662, 0.0749947726726532, -0.001375124673359096, 0.018730835989117622, -0.025587089359760284, -0.04245348647236824, 0.065033458173275, -0.07385341823101044, 0.053028952330350876, 0.051069457083940506, 0.011510989628732204, -0.01963668502867222, -0.0757773295044899, -0.05474605783820152, -0.049001023173332214, -0.04373084753751755, 0.009342187084257603, 0.008266417309641838, 0.004801311530172825, 0.024715235456824303, -0.06851974129676819, -0.016187334433197975, 0.032223016023635864, 0.025400731712579727, 0.01432214304804802, 0.03952421247959137, 0.04997754469513893, 0.02222045511007309, 0.04037599265575409, 0.039733611047267914, 0.01379050500690937, -0.20383761823177338, 0.10351134091615677, 0.04497835040092468, 0.02728545293211937, -0.0319327749311924, -0.024373797699809074, 0.017590245231986046, 0.03036089800298214, -0.053103454411029816, 0.03374292328953743, 0.03917326405644417, 0.02706102654337883, 0.04327411949634552, -0.006229399237781763, -0.04081639274954796, -0.03219369426369667, -0.008706594817340374, -0.003715583821758628, -0.0662294551730156, -0.027241108939051628, -0.029445836320519447, -0.007547506596893072, -0.013907655142247677, -0.022815266624093056, 0.003845047205686569, -0.05429321527481079, 0.014451034367084503, 0.029023127630352974, -0.028210846707224846, -0.010990628972649574, 0.01794609986245632, 0.0320182703435421, -0.08264542371034622, -0.0076951016671955585, 0.01420533750206232, -0.02749660238623619, -0.039694126695394516, 0.23732739686965942, -0.07249055057764053, -0.006221733521670103, 0.04447895660996437, -0.00993372406810522, -0.018758177757263184, -0.03624631091952324, 0.0026361150667071342, -0.05690779909491539, -0.025995081290602684, -0.0067133973352611065, -0.011939739808440208, -0.0058731925673782825, 0.03363659605383873, -0.05382133275270462, 0.0377458781003952, 0.015640422701835632, 0.024361401796340942, 0.05944058671593666, -0.029609978199005127, 0.01167942676693201, 0.04478392004966736, 0.028331156820058823, 0.06527150422334671, -0.03566663712263107, -0.01785973273217678, -0.02885814942419529, 0.07300160080194473, 0.1066925972700119, 0.041023653000593185, 0.03634941577911377, 0.048312414437532425, 0.006534836255013943, -0.06854826956987381, 0.00032479315996170044, 0.04409179463982582, -0.01465058047324419, 0.0030772355385124683, -0.026305846869945526, 0.0207096915692091, -0.011205699294805527, -0.013270091265439987, -0.0798993930220604, -0.009347440674901009, -0.08209943771362305, -0.03816331923007965, 0.11750729382038116, -0.004621113650500774, 0.055015306919813156, -0.0559481680393219, -0.0033122736494988203, -0.020875338464975357, 0.030279574915766716, 0.003514997661113739, -0.024212244898080826, 0.01531117781996727, 0.025106946006417274, 0.07697353512048721, 0.03132609650492668, -0.06241341680288315, 0.01292809285223484, -0.04079946130514145, -0.03790714219212532, -0.034052684903144836, 0.10837896913290024, 0.04517166689038277, -0.11312680691480637, -0.006306360475718975, 0.01952945999801159, 0.0387362577021122, 0.011377861723303795, 0.027130262926220894, 0.024632630869746208, -0.04105531796813011, 0.043387528508901596, 0.09419938176870346, 0.02812720090150833, -0.0246291346848011, -0.0010859667090699077, 0.006361308973282576, 0.025536732748150826, 0.004243776202201843, -0.07470209896564484, -0.025745267048478127, 0.057923682034015656, 0.0162383783608675, -0.061688996851444244, 0.005444408394396305, -0.03248123079538345, 0.023487985134124756, 0.021505558863282204, 0.01821807585656643, -0.008918065577745438, -0.0314132459461689, 0.038949042558670044, 0.011598910205066204, -0.036247968673706055, 0.014576581306755543, -0.018503790721297264, 0.021051205694675446, -0.05818628892302513, 0.026157449930906296, -0.021566567942500114, -0.0466303750872612, 0.003060588613152504, -0.01794876530766487, -0.002562890527769923, -0.039049189537763596, -0.010389058850705624, 0.051930349320173264, -0.004977046977728605, -0.05511646717786789, 0.004918306600302458, 0.03632897138595581, -0.013388211838901043, -0.04469694942235947, -0.012312667444348335, 0.011002079583704472, -0.00950981117784977, 0.043932944536209106, 0.032829031348228455, 0.024281024932861328, -0.060420602560043335, -0.06712143123149872, -0.2597835958003998, 0.012283479794859886, 0.035916298627853394, -0.02699235826730728, -0.0024268501438200474, -0.04917677491903305, 0.01930917799472809, -0.057254061102867126, 0.017146462574601173, 0.06980007886886597, 0.04803071171045303, -0.04346176236867905, 0.004418631084263325, -0.0187090951949358, -0.014447505585849285, 0.055046021938323975, 0.02171122096478939, 0.01749347895383835, 0.0030488416086882353, 0.039765771478414536, 0.008108794689178467, 0.009084147401154041, 0.03283866494894028, -0.11801468580961227, 0.011749238707125187, -0.00003578401083359495, 0.19672563672065735, 0.05850854516029358, -0.013213064521551132, -0.052825137972831726, 0.04808729141950607, 0.022852376103401184, -0.019002806395292282, -0.10100524872541428, 0.06625226885080338, 0.007037369534373283, 0.035980500280857086, -0.016158433631062508, -0.012732794508337975, -0.04510153830051422, -0.05443289875984192, 0.07135802507400513, -0.014095020480453968, -0.06650165468454361, 0.012824778445065022, -0.06751225143671036, -0.03735954314470291, -0.005452841520309448, -0.01687498763203621, 0.0017530479235574603, 0.01981567032635212, -0.007833432406187057, 0.06747131049633026, 0.000988309970125556, -0.013158395886421204, -0.05381345748901367, -0.06377559155225754, 0.034891948103904724, -0.013165684416890144, 0.05132044106721878, 0.010822568088769913, -0.03836752101778984, 0.020064275711774826, -0.036123842000961304, 0.03061644919216633, -0.00993213802576065, 0.0010009866673499346, -0.013299988582730293, -0.021402863785624504, -0.017433812841773033, -0.061383094638586044, 0.05375848710536957, -0.010059716179966927, 0.022773731499910355, 0.07195805013179779, -0.008481208235025406, 0.0047859447076916695, -0.000584045541472733, 0.004498463589698076, -0.0339139886200428, 0.0243703480809927, -0.04221092164516449, 0.05702109634876251, -0.005438005086034536, 0.07474681735038757, 0.05537451058626175, 0.04401823878288269, -0.011635790579020977, 0.05483565106987953, -0.036254916340112686, 0.006763458717614412, 0.014851960353553295, -0.073274627327919, -0.03183789551258087, 0.03689362481236458, 0.005204140208661556, -0.29274246096611023, 0.05317637324333191, 0.02047373726963997, 0.03950111195445061, -0.012033777311444283, 0.034875478595495224, 0.030544288456439972, -0.0022707562893629074, -0.02136310189962387, 0.016524847596883774, 0.02360517717897892, -0.00805461872369051, 0.013605320826172829, -0.014425444416701794, -0.004962244536727667, 0.05127473175525665, 0.07635322958230972, -0.05427509546279907, 0.05995607376098633, -0.04069769009947777, -0.010244164615869522, 0.05368862673640251, 0.2618504464626312, 0.005777170415967703, 0.0017983063589781523, 0.017333244904875755, -0.025833532214164734, -0.0031780193094164133, 0.04624050110578537, 0.03019467182457447, -0.012570823542773724, -0.017200065776705742, 0.10027230530977249, 0.0011993892258033156, 0.04131118208169937, 0.05237564444541931, -0.04504883289337158, 0.06002805009484291, 0.023212412372231483, -0.00935490895062685, -0.05590870603919029, 0.02408539690077305, -0.030355941504240036, 0.022284239530563354, 0.08568506687879562, -0.043672095984220505, -0.029893137514591217, -0.03807269409298897, -0.023281097412109375, 0.03272433206439018, -0.05950299650430679, -0.035977911204099655, -0.03339400514960289, 0.007074856199324131, 0.020642941817641258, 0.036790311336517334, 0.013029355555772781, 0.005075761582702398, -0.0388881117105484, -0.03573527932167053, -0.013806547969579697, -0.06257975101470947, 0.004701205063611269, 0.03691959008574486, 0.007708286866545677 ]
devcenter
https://www.mongodb.com/developer/products/mongodb/doc-modeling-vector-search
created
"seasonNumber": 2, "episodes": [ { "episodeNumber": 1, "title": "Cloud Connect - Harness the Power of AI/ML and Generative AI on AWS with MongoDB Atlas", "description": "Join Igor Alekseev….", "date": ISODate("Oct 3, 2023") }, { "episodeNumber": 2, "title": "The Index: Here’s what you missed last week…", "description": "Join Megan Grant…", "date": ISODate("Oct 2, 2023") } ] } ] } ```
md
{ "tags": [ "MongoDB", "AI" ], "pageDescription": "Follow along with this comprehensive tutorial on how to properly model your documents for MongoDB Vector Search.", "contentType": "Tutorial" }
How to Model Your Documents for Vector Search
2024-05-20T17:32:23.500Z
[ -0.05909251049160957, -0.03766361251473427, 0.015219616703689098, -0.043514326214790344, 0.07963179051876068, 0.022256160154938698, 0.001884619938209653, 0.019050676375627518, 0.009522159583866596, 0.016378147527575493, 0.028501447290182114, -0.04457075148820877, 0.03775762766599655, 0.012650388292968273, 0.007274458184838295, -0.023180099204182625, -0.012320579029619694, 0.012610451318323612, -0.07512274384498596, 0.02423280104994774, 0.04663749039173126, -0.03132019191980362, -0.026567639783024788, -0.06228385865688324, 0.02317090332508087, 0.05629383400082588, -0.002001919550821185, -0.05551343783736229, -0.06169453635811806, -0.20646435022354126, -0.0495619922876358, -0.07278058677911758, 0.08199071139097214, 0.023058617487549782, 0.024050496518611908, -0.03692460432648659, -0.026175977662205696, 0.06325860321521759, -0.07046060264110565, 0.02842804417014122, 0.053046733140945435, 0.008419474586844444, -0.021253950893878937, -0.07056020945310593, -0.06084364280104637, -0.07309698313474655, -0.020018603652715683, 0.0243793036788702, 0.016233664005994797, -0.007509808987379074, 0.016057809814810753, -0.06312381476163864, -0.026544814929366112, 0.025731146335601807, 0.032751452177762985, 0.03793982043862343, 0.028469184413552284, 0.026319442316889763, 0.02403694950044155, 0.04105941578745842, 0.053324200212955475, 0.018961219117045403, -0.2028835266828537, 0.10323880612850189, 0.032443828880786896, 0.02368520013988018, -0.024433275684714317, -0.031609877943992615, 0.007168957963585854, 0.0074713160283863544, -0.04021519795060158, 0.017828483134508133, 0.015576397068798542, 0.05753202363848686, 0.025106022134423256, -0.004035050980746746, -0.03587276116013527, -0.02908623404800892, -0.020317530259490013, -0.009704495780169964, -0.0400068499147892, -0.012842406518757343, -0.04379180446267128, -0.00737902894616127, -0.0013785810442641377, -0.03482640162110329, 0.029587462544441223, -0.034278009086847305, 0.004422696772962809, 0.013588294386863708, -0.02112794853746891, -0.010352020151913166, 0.0016254381043836474, 0.051646891981363297, -0.05934259667992592, -0.007959961891174316, 0.032941825687885284, -0.01960732787847519, -0.03265942633152008, 0.2247338593006134, -0.07234511524438858, 0.032359860837459564, 0.028391312807798386, -0.004102103412151337, 0.006296445149928331, -0.04248369112610817, 0.02163894660770893, -0.06008078157901764, -0.024184279143810272, 0.0031264382414519787, 0.005053837317973375, -0.006515131797641516, 0.03138796612620354, -0.055607471615076065, 0.03640862926840782, 0.05499196797609329, 0.04476373270153999, 0.09298786520957947, 0.0010204088175669312, 0.011142647825181484, 0.024129798635840416, 0.04209467023611069, 0.11066638678312302, -0.03472118079662323, 0.0010049601551145315, -0.014916450716555119, 0.074907086789608, 0.09149780124425888, 0.024169521406292915, 0.024559251964092255, 0.029939325526356697, -0.008253968320786953, -0.05667620524764061, 0.003161822445690632, 0.059766802936792374, -0.01771603338420391, -0.0019219615496695042, -0.02123282663524151, 0.02704315260052681, 0.004521328955888748, -0.0034127847757190466, -0.10151269286870956, -0.028645643964409828, -0.07598321884870529, -0.018368998542428017, 0.1481284350156784, 0.0035377666354179382, 0.06993386149406433, -0.05449701473116875, -0.004450207110494375, -0.02441590651869774, 0.030337674543261528, -0.018333621323108673, -0.02839074470102787, 0.018037885427474976, 0.024265604093670845, 0.08549586683511734, 0.058411192148923874, -0.06294701248407364, 0.008210663683712482, -0.03932119160890579, -0.02808845043182373, -0.04574081301689148, 0.092388816177845, 0.047045543789863586, -0.11804728955030441, 0.011674007400870323, 0.017408495768904686, 0.018779493868350983, -0.015550769865512848, 0.036110904067754745, 0.013165422715246677, -0.03836330771446228, 0.020293429493904114, 0.10362239927053452, 0.012621775269508362, -0.03638863191008568, -0.0035012364387512207, -0.00583238760009408, 0.027992822229862213, 0.01468620728701353, -0.05036206543445587, -0.02203693985939026, 0.05960164964199066, 0.007363175041973591, -0.05105377361178398, -0.010620909743010998, -0.019399724900722504, 0.03335249796509743, 0.01048794575035572, 0.0029916800558567047, -0.007622114382684231, -0.017362812533974648, 0.02718566171824932, 0.008326736278831959, -0.05183279514312744, 0.011776227504014969, -0.011559913866221905, 0.020710395649075508, -0.055499788373708725, 0.042720746248960495, -0.025682058185338974, -0.03290442004799843, 0.00415121391415596, -0.011872430332005024, -0.009298896417021751, -0.042058587074279785, -0.02720867283642292, 0.05525930970907211, -0.0032095073256641626, -0.04288799688220024, 0.03162866830825806, 0.001128062722273171, -0.011567451991140842, -0.02902601659297943, -0.02741536684334278, 0.010112453252077103, -0.004714841488748789, 0.004652627278119326, 0.023769935593008995, 0.04478804022073746, -0.06094877049326897, -0.0597674734890461, -0.26444149017333984, 0.0014999154955148697, 0.021554453298449516, -0.03127576783299446, -0.008082464337348938, -0.03990241140127182, 0.041102517396211624, -0.025898229330778122, 0.0349445678293705, 0.09347496926784515, 0.05117225646972656, -0.02416900172829628, -0.009870029985904694, -0.0488472655415535, -0.019489556550979614, 0.04233523830771446, 0.012295269407331944, 0.005486499518156052, -0.008508912287652493, 0.04137611761689186, 0.028833426535129547, 0.020694315433502197, 0.011882136575877666, -0.10459859669208527, 0.028889596462249756, -0.019674044102430344, 0.2068658173084259, 0.07136441022157669, -0.0060486202128231525, -0.06992635130882263, 0.03362201526761055, 0.01781276799738407, -0.008026265539228916, -0.11060135066509247, 0.042062874883413315, -0.012296758592128754, 0.05809088423848152, -0.009027219377458096, -0.032534752041101456, -0.03946089744567871, -0.09501880407333374, 0.06790868937969208, -0.009968001395463943, -0.06799234449863434, -0.00869576632976532, -0.03936609998345375, -0.028819333761930466, -0.011483202688395977, -0.03820602968335152, 0.009392008185386658, 0.0026276935823261738, -0.000878579739946872, 0.03491087257862091, -0.00903418380767107, -0.003797259647399187, -0.04591578617691994, -0.061719246208667755, 0.0069866175763309, -0.03125284984707832, 0.05879303067922592, 0.00441820127889514, -0.04272763431072235, 0.0011451721657067537, -0.038539182394742966, 0.025041593238711357, -0.03690112382173538, -0.00998657662421465, -0.007680527865886688, -0.039072874933481216, -0.01863713003695011, -0.05290184170007706, 0.05844588205218315, -0.013272954151034355, 0.013468224555253983, 0.06353660672903061, -0.010996582917869091, 0.04249244183301926, -0.01598001830279827, 0.005673800595104694, -0.047130193561315536, 0.042407482862472534, -0.06418696790933609, 0.06122094765305519, -0.00291654490865767, 0.09969563037157059, 0.062486398965120316, 0.05012262985110283, 0.003905471647158265, 0.06333843618631363, -0.013612628914415836, 0.011604249477386475, -0.0053939735516905785, -0.07650558650493622, -0.054737482219934464, 0.04530602693557739, 0.007813646458089352, -0.27224546670913696, 0.070572629570961, 0.023826684802770615, 0.010014704428613186, -0.005360930692404509, 0.04749106243252754, 0.017423177137970924, 0.023578299209475517, -0.01108348835259676, -0.004428460728377104, 0.03501397371292114, 0.012452633120119572, -0.018496016040444374, -0.0057299318723380566, -0.0027612478006631136, 0.08405507355928421, 0.055933136492967606, -0.017232857644557953, 0.04969547688961029, -0.02115154080092907, -0.015417881309986115, 0.03605974093079567, 0.22734084725379944, 0.03594575822353363, -0.010195807553827763, 0.019239136949181557, -0.029228338971734047, 0.005599070806056261, 0.044840771704912186, 0.022943342104554176, -0.01994979754090309, 0.012026654556393623, 0.07294637709856033, -0.030088920146226883, 0.029362211003899574, 0.051062170416116714, -0.012114182114601135, 0.08604347705841064, 0.03914342820644379, -0.015249929390847683, -0.054883163422346115, 0.02074512653052807, -0.023197557777166367, 0.01767953485250473, 0.07547923922538757, -0.04504500329494476, -0.02868892438709736, -0.05132057145237923, 0.0033772303722798824, 0.042780596762895584, -0.06235947459936142, -0.02920396253466606, -0.005075477994978428, 0.018871242180466652, 0.01681477762758732, 0.04722638055682182, -0.020048433914780617, 0.013212770223617554, -0.036988515406847, -0.046795234084129333, -0.027241144329309464, -0.07099448889493942, -0.0019460683688521385, 0.01528814248740673, 0.010141676291823387 ]
devcenter
https://www.mongodb.com/developer/products/mongodb/doc-modeling-vector-search
created
} ] } ] } ``` Here, you have your vector embeddings classified at the base in your document. Currently, there is a limitation where vector embeddings cannot be nested in an array in your document. Please ensure your document has your embeddings at the base. There are various tutorials on our [Developer Center, alongside our YouTube account and our documentation, that can help you figure out how to embed these vectors into your document and how to acquire the necessary vectors in the first place.
md
{ "tags": [ "MongoDB", "AI" ], "pageDescription": "Follow along with this comprehensive tutorial on how to properly model your documents for MongoDB Vector Search.", "contentType": "Tutorial" }
How to Model Your Documents for Vector Search
2024-05-20T17:32:23.500Z
[ -0.020648935809731483, -0.049511369317770004, 0.012658742256462574, -0.04835701361298561, 0.04308772832155228, 0.023603098466992378, -0.007924037985503674, 0.06322376430034637, -0.007988965138792992, -0.02596079558134079, 0.019380705431103706, -0.051357775926589966, 0.031482573598623276, 0.03253173828125, 0.04449724406003952, -0.007148863282054663, -0.01585005410015583, 0.06746862083673477, -0.08552459627389908, 0.01024261862039566, 0.051477041095495224, -0.055124808102846146, -0.0035572347696870565, -0.06977900117635727, 0.0162119772285223, 0.07643219828605652, -0.04831326752901077, -0.004878711886703968, -0.024233238771557808, -0.22592683136463165, -0.016012612730264664, -0.0686287060379982, 0.08005903661251068, 0.02304227277636528, -0.008264784701168537, -0.0061396267265081406, -0.050279002636671066, 0.08142032474279404, -0.02999662607908249, 0.018701154738664627, 0.0401555560529232, -0.052250176668167114, -0.047109492123126984, -0.10049842298030853, -0.02689834125339985, -0.0425330251455307, -0.05082595720887184, -0.02230626903474331, 0.01603403501212597, -0.007978206500411034, 0.01395389437675476, -0.023466570302844048, -0.0052850618958473206, 0.05099422112107277, 0.007386666722595692, 0.05761392042040825, 0.04094342142343521, -0.01625763438642025, 0.0028383941389620304, 0.058982037007808685, 0.05396385118365288, 0.03947257250547409, -0.16523216664791107, 0.050675004720687866, 0.015575691126286983, 0.022163959220051765, -0.04018649831414223, 0.007301297038793564, 0.03579515218734741, 0.07037648558616638, -0.008159616030752659, -0.0031230319291353226, 0.005211581941694021, 0.03082152083516121, 0.00140648172236979, 0.00008903112757252529, 0.014261329546570778, -0.023835735395550728, 0.029625819995999336, -0.004599497187882662, 0.0009385477751493454, -0.07056254893541336, -0.011944951489567757, 0.02808784879744053, -0.012990006245672703, -0.012442692182958126, 0.018008172512054443, -0.08518975973129272, 0.03457767143845558, 0.03287224471569061, -0.02366737648844719, -0.02563345618546009, -0.017602277919650078, 0.029243985190987587, -0.07308720052242279, -0.03992832824587822, 0.09393313527107239, 0.0007243216969072819, -0.01858196035027504, 0.20783843100070953, -0.07061847299337387, 0.02224389649927616, 0.0630100890994072, -0.04848361015319824, 0.010756687261164188, -0.03356609120965004, -0.022633500397205353, -0.021414125338196754, -0.033052220940589905, 0.01786932721734047, -0.03799179196357727, -0.0324038602411747, 0.029442915692925453, -0.03781776502728462, 0.013800221495330334, -0.05517987906932831, 0.05676070600748062, 0.0033781961537897587, -0.023681608960032463, -0.03733189404010773, -0.0015824964502826333, 0.00322562362998724, 0.03484346345067024, -0.001225705025717616, 0.02763151191174984, -0.06352510303258896, 0.04103659465909004, 0.11571493744850159, 0.07330922782421112, 0.06501930207014084, 0.0616171658039093, 0.026897815987467766, -0.06511960178613663, -0.0058662318624556065, -0.01942833885550499, 0.06271618604660034, -0.041571587324142456, -0.01734592579305172, -0.01079015526920557, -0.01554084476083517, -0.011586355045437813, -0.05459070950746536, 0.019871780648827553, -0.0746481865644455, -0.03876572102308273, 0.10270252823829651, -0.07766932249069214, -0.00021143071353435516, -0.0188283771276474, -0.002056166995316744, -0.007173996884375811, 0.03549418970942497, -0.023142144083976746, 0.022106392309069633, -0.0044835833832621574, 0.027070727199316025, 0.0308440700173378, 0.05748554691672325, -0.050502728670835495, 0.0034621849190443754, -0.022835206240415573, -0.010927463881671429, -0.00719344150274992, 0.09995017200708389, 0.019415635615587234, -0.08313705027103424, -0.031093748286366463, 0.008006609044969082, 0.02598961628973484, -0.03748214617371559, 0.025687290355563164, 0.012469806708395481, -0.03678033873438835, 0.042533643543720245, 0.12598074972629547, 0.017232351005077362, -0.08754745125770569, 0.013092239387333393, 0.03962205350399017, 0.014726677909493446, 0.009733871556818485, -0.044435955584049225, -0.04932529479265213, 0.0694105327129364, 0.02875618264079094, -0.06753227859735489, 0.004185222089290619, -0.052968718111515045, 0.04572390019893646, 0.032817941159009933, -0.03367107734084129, 0.017776263877749443, -0.0352402999997139, -0.042971160262823105, -0.04774696007370949, -0.03459129109978676, 0.003202319610863924, -0.054334856569767, 0.05040626600384712, -0.07014112174510956, 0.09243657439947128, 0.021584708243608475, -0.0038962990511208773, 0.05369089916348457, -0.05133800581097603, 0.021053941920399666, 0.0002622215251903981, -0.0049883234314620495, 0.011335950344800949, 0.023361869156360626, -0.058397263288497925, 0.005723066162317991, 0.05280555784702301, -0.032724276185035706, -0.022584479302167892, 0.014561780728399754, -0.0013166225980967283, 0.06679283827543259, 0.04886660352349281, 0.0389125756919384, -0.041984762996435165, -0.08966303616762161, -0.03854097053408623, -0.19865038990974426, -0.026358718052506447, -0.02004130557179451, -0.05820092186331749, -0.020496221259236336, -0.03727239370346069, 0.02752634510397911, 0.010234175249934196, 0.04100045561790466, 0.046049442142248154, 0.05984840169548988, 0.02393144927918911, -0.05685553327202797, -0.016720352694392204, -0.004782836884260178, 0.04270452633500099, 0.028238510712981224, 0.04061933234333992, 0.002233443083241582, 0.0038959807716310024, -0.011904400773346424, 0.019882017746567726, 0.014627175405621529, -0.02318136766552925, 0.07972678542137146, -0.00061187450774014, 0.20546549558639526, 0.09273253381252289, 0.032906487584114075, -0.015227983705699444, 0.07279139757156372, 0.00966085959225893, -0.018714405596256256, -0.12201056629419327, 0.034098755568265915, 0.02861371822655201, -0.0377863384783268, -0.0016880662878975272, 0.016971955075860023, -0.0232414361089468, -0.028899773955345154, 0.024420103058218956, 0.0035534645430743694, -0.10841765254735947, 0.02433944121003151, -0.06974540650844574, -0.06868480890989304, 0.013261807151138783, -0.03668759763240814, 0.02718316949903965, 0.030582299456000328, -0.016746705397963524, 0.05951621010899544, 0.027463877573609352, -0.015536239370703697, -0.014022324234247208, -0.03234388306736946, 0.03482692688703537, -0.01536411140114069, 0.05905960872769356, -0.02330694906413555, -0.068434938788414, 0.03397224098443985, -0.08467256277799606, 0.05075231194496155, -0.0013573190663009882, -0.00849066860973835, -0.02430313266813755, 0.014731594361364841, -0.012150135822594166, 0.003309473628178239, 0.08687181025743484, 0.006003704387694597, 0.008098913356661797, 0.07657449692487717, 0.01639704778790474, 0.008294808678328991, -0.038374487310647964, -0.01186259277164936, -0.03251272439956665, 0.005252248607575893, -0.002046766225248575, 0.042920470237731934, 0.026425331830978394, 0.03243056312203407, 0.03696000203490257, 0.03820503503084183, 0.01445062831044197, 0.022324562072753906, -0.0022558425553143024, -0.014268123544752598, 0.007488270290195942, -0.0184478797018528, -0.011306775733828545, 0.026465650647878647, 0.0019056062446907163, -0.3210914433002472, 0.031090423464775085, 0.040899813175201416, 0.019906148314476013, -0.014896049164235592, 0.0005257901502773166, 0.030418258160352707, -0.037314772605895996, -0.04499329626560211, 0.04417808726429939, 0.025816403329372406, 0.04643717035651207, 0.04315168783068657, -0.016695767641067505, 0.013361318968236446, 0.019426461309194565, 0.04590883105993271, -0.03842255100607872, 0.06494727730751038, -0.08828553557395935, 0.023436374962329865, 0.02067948877811432, 0.2308497130870819, -0.05314197018742561, 0.000016827945728437044, -0.014198609627783298, -0.030506497249007225, 0.022046035155653954, 0.05334322899580002, 0.0172102227807045, -0.007648341357707977, 0.03188200667500496, 0.09495750814676285, -0.0108944121748209, 0.002508637961000204, 0.037864044308662415, -0.07537528872489929, 0.007576598785817623, 0.014245962724089622, -0.015475256368517876, 0.009508777409791946, -0.0232615415006876, -0.07773075997829437, 0.03657635301351547, 0.030919555574655533, -0.0065606278367340565, 0.010691153816878796, -0.0260726660490036, -0.024920042604207993, 0.018722718581557274, -0.050477638840675354, -0.0011253653792664409, -0.00494449632242322, -0.01704295165836811, 0.022778430953621864, 0.0331592820584774, -0.038896918296813965, -0.03433257341384888, -0.04672093316912651, -0.010126481764018536, 0.048393506556749344, -0.07194895297288895, -0.028271509334445, 0.04701267182826996, -0.006151944398880005 ]
devcenter
https://www.mongodb.com/developer/products/mongodb/doc-modeling-vector-search
created
## Extras: Indexing with vector search When you’re using vector search, it is necessary to create a search index so you’re able to be successful with your semantic search. To do this, please view our Vector Search documentation. Here is the skeleton code provided by our documentation: ``` { "fields": { "type": "vector", "path": "", "numDimensions": , "similarity": "euclidean | cosine | dotProduct" }, { "type": "filter", "path": "" }, ... ] } ```
md
{ "tags": [ "MongoDB", "AI" ], "pageDescription": "Follow along with this comprehensive tutorial on how to properly model your documents for MongoDB Vector Search.", "contentType": "Tutorial" }
How to Model Your Documents for Vector Search
2024-05-20T17:32:23.500Z
[ -0.07858610898256302, -0.03655095398426056, 0.024139143526554108, -0.011957501992583275, 0.05302802473306656, -0.026552822440862656, 0.011656902730464935, 0.04356744512915611, -0.0245579332113266, 0.012442640028893948, 0.04635108634829521, -0.04989326745271683, 0.008488439954817295, 0.016740603372454643, 0.0406145416200161, -0.012993239797651768, 0.008054032921791077, 0.05515563115477562, -0.04178549721837044, -0.005933322012424469, 0.03562699630856514, -0.021717756986618042, -0.005306146573275328, -0.07792964577674866, 0.01868935115635395, 0.08850164711475372, -0.026195084676146507, -0.020172854885458946, -0.009306324645876884, -0.22099155187606812, 0.000301250081975013, -0.03534834086894989, 0.06833837926387787, 0.009521343745291233, -0.01665562018752098, -0.01811574399471283, -0.0453604981303215, 0.07809507101774216, -0.03523196280002594, 0.0160684734582901, 0.007302517537027597, -0.03819939121603966, -0.008615907281637192, -0.08182629197835922, -0.04936492070555687, -0.03361603990197182, -0.03760584443807602, 0.011521388776600361, 0.01242895144969225, -0.006135200150310993, -0.02947159670293331, -0.05205175280570984, 0.009349499829113483, 0.030572880059480667, 0.031423792243003845, 0.06440810114145279, 0.04655146226286888, 0.010945322923362255, 0.015820816159248352, 0.018332287669181824, 0.08337469398975372, 0.008074957877397537, -0.18695181608200073, 0.10562124103307724, 0.031022123992443085, 0.0016237435629591346, -0.030001990497112274, -0.047160256654024124, 0.0169246643781662, 0.05380381643772125, 0.0038589746691286564, 0.08345992118120193, 0.031659699976444244, 0.0960516482591629, -0.006224156357347965, -0.011748476885259151, -0.039369817823171616, -0.05785204470157623, -0.025237442925572395, 0.022500624880194664, -0.017034020274877548, -0.015778131783008575, -0.02806445211172104, -0.0016388536896556616, -0.001387178897857666, -0.011110568419098854, 0.00140645622741431, -0.022717636078596115, 0.05431118980050087, -0.023126110434532166, -0.032269060611724854, -0.03182924538850784, -0.027534445747733116, 0.05293526500463486, -0.06692078709602356, 0.00847634393721819, 0.055834684520959854, 0.030799735337495804, -0.023228490725159645, 0.22291474044322968, -0.019696950912475586, 0.04214697331190109, 0.04819485545158386, -0.06372932344675064, 0.004748249892145395, 0.0017351090209558606, -0.019786624237895012, -0.023178555071353912, -0.003299774369224906, 0.012467402033507824, 0.01325767021626234, 0.01862640492618084, 0.022830549627542496, -0.04264038801193237, 0.024963226169347763, -0.009813368320465088, 0.0575571171939373, 0.014287237077951431, -0.00146862817928195, 0.0008628072682768106, -0.066120944917202, 0.027389045804739, 0.036460086703300476, -0.03984072059392929, 0.0008636608836241066, -0.04188094288110733, 0.005241477862000465, 0.06708700954914093, 0.013058921322226524, 0.0468081571161747, 0.07968944311141968, -0.023527609184384346, -0.08943799883127213, -0.0012673144228756428, 0.030976276844739914, 0.029403826221823692, -0.01583871990442276, -0.029085299000144005, -0.007195121143013239, 0.01945025660097599, -0.03724808618426323, -0.05627497658133507, 0.003441233653575182, -0.08987874537706375, -0.010320880450308323, 0.13940423727035522, -0.040630877017974854, -0.0010586415883153677, -0.04108511656522751, -0.015874674543738365, -0.022182349115610123, 0.0521874874830246, -0.04465344175696373, -0.020781496539711952, -0.011784352362155914, 0.05453931912779808, 0.057923994958400726, 0.042900215834379196, -0.051897499710321426, 0.009068842977285385, -0.024925867095589638, 0.006430365145206451, -0.05706565082073212, 0.14322234690189362, -0.005097412969917059, -0.08777449280023575, -0.0376836434006691, 0.03704426437616348, -0.028555389493703842, -0.030604857951402664, 0.025665339082479477, -0.011056910268962383, -0.04757712036371231, 0.03581806272268295, 0.07700852304697037, 0.022396812215447426, -0.07852877676486969, 0.038792841136455536, -0.009695656597614288, 0.039362404495477676, 0.0279956366866827, -0.05113471299409866, -0.010897986590862274, 0.019493097439408302, 0.00767820980399847, -0.03880314901471138, 0.0065038129687309265, -0.029456358402967453, 0.028667617589235306, 0.046149928122758865, -0.004485833924263716, 0.00018756849749479443, -0.01752912625670433, -0.017582984641194344, -0.049194902181625366, -0.03214201703667641, 0.005425944458693266, -0.03547567129135132, 0.047248125076293945, -0.02745836414396763, 0.08194883167743683, 0.021037323400378227, -0.017493348568677902, 0.07187160104513168, 0.003917137626558542, 0.022001875564455986, -0.03305969014763832, -0.026689307764172554, 0.017951514571905136, -0.015330332331359386, -0.03995766490697861, -0.00974107813090086, 0.023060325533151627, -0.04496427997946739, -0.02756389044225216, -0.013003598898649216, 0.026411375030875206, 0.04027805104851723, -0.0019982752855867147, 0.06712319701910019, -0.0005455354694277048, -0.10156209021806717, -0.06938230991363525, -0.25276637077331543, -0.019224295392632484, -0.042941026389598846, -0.008093963377177715, 0.008867889642715454, -0.08561817556619644, -0.004189612343907356, 0.004491441883146763, -0.014335491694509983, 0.06954456865787506, 0.04389140382409096, 0.000370247958926484, -0.05089382082223892, 0.012440022081136703, -0.010396168567240238, 0.06025958061218262, 0.04315348342061043, 0.036316558718681335, -0.008123465813696384, -0.01438883226364851, 0.012384334579110146, 0.060343943536281586, 0.004151871427893639, -0.05010419711470604, 0.031260184943675995, -0.04600021243095398, 0.20601987838745117, 0.06319812685251236, 0.020490866154432297, -0.047376517206430435, 0.04341593757271767, -0.002037807833403349, -0.014775535091757774, -0.11284531652927399, 0.051426708698272705, 0.0198442991822958, -0.006612198427319527, 0.04547605291008949, -0.007465660572052002, -0.04536062851548195, -0.07004044204950333, 0.036146171391010284, -0.014969641342759132, -0.03936580941081047, -0.03349313884973526, -0.011115159839391708, -0.030603421851992607, 0.013474877923727036, -0.023995069786906242, 0.06490371376276016, 0.016205456107854843, 0.006016099825501442, 0.04313628375530243, 0.009171556681394577, -0.03042032942175865, -0.06589251011610031, -0.05999555438756943, -0.024693680927157402, -0.02224532514810562, 0.055448874831199646, -0.004568757954984903, -0.04071955010294914, 0.005465082824230194, -0.04590291529893875, 0.04623560979962349, -0.0030963143799453974, 0.012895122170448303, -0.027128618210554123, 0.019669752568006516, -0.017978623509407043, -0.031277913600206375, 0.045934922993183136, -0.04450862854719162, 0.0024240899365395308, 0.022393086925148964, 0.010985259898006916, 0.01983937993645668, 0.02043496072292328, -0.013230088166892529, -0.0344511903822422, 0.057084646075963974, -0.039335474371910095, 0.018258532509207726, 0.02534366026520729, 0.05887778475880623, -0.00548811350017786, 0.04660701006650925, -0.0008550536003895104, 0.04308665171265602, -0.024393217638134956, 0.018204057589173317, -0.021353643387556076, -0.02770315296947956, -0.03733154013752937, 0.045923057943582535, -0.0028139122296124697, -0.3073437809944153, 0.07602956146001816, 0.05584587901830673, 0.015261579304933548, -0.044627949595451355, 0.022626416757702827, 0.05334664136171341, -0.017545735463500023, 0.007097638212144375, 0.0012325563002377748, 0.0008284926880151033, 0.017842842265963554, 0.04072026535868645, -0.01676834374666214, -0.002061656676232815, 0.04025571420788765, 0.03762511536478996, -0.03840218484401703, 0.04953579232096672, -0.0374097004532814, 0.018512623384594917, 0.027242109179496765, 0.27665725350379944, -0.053103841841220856, 0.012360547669231892, -0.008022583089768887, -0.026296960189938545, -0.003967150114476681, 0.016223177313804626, 0.012329836376011372, 0.03581271320581436, 0.011710286140441895, 0.11085532605648041, -0.04272475466132164, 0.045154862105846405, 0.07111425697803497, -0.010218576528131962, 0.04264853894710541, 0.011840029619634151, -0.006543356459587812, -0.01381501741707325, 0.0037966000381857157, -0.052179258316755295, 0.04332101717591286, 0.06730584055185318, 0.013436002656817436, -0.030047142878174782, -0.02054567076265812, -0.013112661428749561, -0.03291628137230873, -0.046207644045352936, -0.012349759228527546, -0.025682516396045685, 0.0002648553636390716, 0.014013981446623802, 0.0382307730615139, -0.04392904043197632, -0.04475775361061096, -0.0006100806058384478, -0.0003142326313536614, 0.03327484056353569, -0.07078862190246582, -0.016194062307476997, 0.004234391264617443, 0.027087489143013954 ]
devcenter
https://www.mongodb.com/developer/products/mongodb/doc-modeling-vector-search
created
When setting up your search index, you want to change the “” to be your vector path. In our case, it would be “vectorEmbeddings”. “type” can stay the way it is. For “numDimensions”, please match the dimensions of the model you’ve chosen. This is just the number of vector dimensions, and the value cannot be greater than 4096. This limitation comes from the base embedding model that is being used, so please ensure you’re using a supported LLM (large language model) such as OpenAI or Hugging Face. When using one of these, there won’t be any issues running into vector dimensions. For “similarity”, please pick which vector function you want to use to search for the top K-nearest neighbors. ## Extras: Querying with vector search
md
{ "tags": [ "MongoDB", "AI" ], "pageDescription": "Follow along with this comprehensive tutorial on how to properly model your documents for MongoDB Vector Search.", "contentType": "Tutorial" }
How to Model Your Documents for Vector Search
2024-05-20T17:32:23.500Z
[ -0.05278448015451431, -0.04473148658871651, 0.03215004503726959, 0.016879158094525337, 0.06253910064697266, 0.006722410675138235, 0.003707692725583911, 0.007163537200540304, -0.008732017129659653, -0.010686831548810005, 0.048368312418460846, -0.05051687732338905, 0.03182551637291908, 0.043730687350034714, 0.05084003135561943, 0.004824239294975996, 0.002103665377944708, 0.04966598004102707, -0.00526935700327158, 0.020030058920383453, 0.05499477684497833, -0.0318509042263031, 0.032291483134031296, -0.07004059106111526, 0.03061346709728241, 0.044091880321502686, -0.0008287730161100626, 0.006601091008633375, -0.013286780565977097, -0.21458929777145386, 0.00611030962318182, -0.03952911123633385, 0.07990790158510208, 0.04039527848362923, -0.011365680955350399, 0.014997095800936222, -0.05361463502049446, 0.04203484207391739, -0.03276888281106949, 0.025455210357904434, 0.029552865773439407, -0.007720703259110451, -0.0009608728578314185, -0.054000288248062134, -0.01571287401020527, -0.02045333757996559, -0.05472658574581146, -0.011905894614756107, 0.01777682639658451, -0.025398025289177895, -0.013022065162658691, -0.06816137582063675, -0.00027960535953752697, 0.041734106838703156, 0.05402952432632446, 0.05081699416041374, 0.06088659167289734, 0.018334340304136276, 0.01288639660924673, 0.030260445550084114, 0.06637967377901077, 0.02520228922367096, -0.1527715027332306, 0.08576344698667526, 0.029660098254680634, -0.0230853334069252, -0.007060860749334097, -0.038216155022382736, 0.014422416687011719, 0.03291591629385948, -0.035503506660461426, 0.05449690669775009, -0.012716301716864109, 0.04172053188085556, 0.002804319141432643, -0.009514697827398777, -0.04724015295505524, -0.03082588128745556, 0.02620195783674717, 0.0002529493358451873, -0.007370843086391687, -0.034471191465854645, -0.0530170276761055, -0.03270268812775612, -0.013410823419690132, -0.03834834694862366, 0.02787596918642521, -0.05620759725570679, 0.04884067922830582, -0.02573912963271141, -0.017265120521187782, -0.03942272439599037, -0.02327723614871502, 0.02148277498781681, -0.0659470185637474, -0.039222352206707, 0.05965786427259445, 0.02489599771797657, -0.04517592117190361, 0.18970046937465668, 0.011339404620230198, 0.06967707723379135, 0.012419789098203182, -0.05289480835199356, 0.014565179124474525, -0.036153048276901245, -0.034656278789043427, 0.012958277948200703, -0.024243799969553947, 0.0018885490717366338, -0.007032608613371849, -0.011400524526834488, 0.018428467214107513, -0.019846443086862564, 0.00343877961859107, 0.007018192671239376, 0.033238403499126434, 0.05854194611310959, -0.024730678647756577, 0.004443931393325329, -0.07721318304538727, 0.00461514201015234, 0.04877515882253647, -0.03613085299730301, 0.017669882625341415, -0.03165225684642792, 0.016184015199542046, 0.09210917353630066, -0.003938476555049419, 0.0021259344648569822, 0.051476430147886276, -0.006355256773531437, -0.10812824964523315, -0.02106401138007641, -0.014557728543877602, 0.0383848138153553, 0.0020759988110512495, 0.002542380942031741, -0.051186319440603256, -0.025489414110779762, -0.040362678468227386, -0.059241268783807755, 0.03896453604102135, -0.06703706830739975, -0.029294049367308617, 0.1521158069372177, -0.08620841056108475, -0.024792557582259178, -0.04451404884457588, -0.03165026754140854, -0.026797005906701088, 0.03347977623343468, -0.05905408412218094, -0.02634093351662159, 0.00722380168735981, 0.028668688610196114, 0.039831891655921936, 0.025918038561940193, -0.061923034489154816, 0.0035838261246681213, -0.02108759433031082, -0.011138943955302238, -0.024740422144532204, 0.14690829813480377, 0.014091620221734047, -0.08585650473833084, -0.0469336211681366, 0.022200752049684525, -0.0071518514305353165, -0.030409693717956543, 0.01965872012078762, 0.005916544236242771, -0.07652141898870468, 0.052443407475948334, 0.10874983668327332, 0.01737234741449356, -0.08402044326066971, 0.01962871104478836, -0.0030049290508031845, 0.008715399540960789, 0.03237907588481903, -0.019799835979938507, -0.029832659289240837, 0.022413982078433037, 0.017537366598844528, -0.03097524307668209, 0.0002112319489242509, -0.02693038620054722, 0.08552134782075882, 0.026024695485830307, -0.018671764060854912, 0.006023644469678402, -0.007210730109363794, -0.03447410464286804, -0.038964804261922836, -0.03501151129603386, 0.01226221863180399, -0.006446122191846371, 0.086164191365242, -0.013955443166196346, 0.0676557645201683, 0.06765436381101608, -0.0611843541264534, 0.0595683678984642, -0.041637688875198364, 0.03957905247807503, -0.01910504326224327, -0.047783222049474716, 0.02102055959403515, 0.014735037460923195, -0.0373452752828598, 0.00093031459255144, 0.020583931356668472, -0.045974887907505035, -0.027064872905611992, -0.004223913419991732, 0.01955319195985794, 0.034905947744846344, 0.026175200939178467, 0.07265713065862656, 0.016716383397579193, -0.08084260672330856, -0.0723029151558876, -0.2531205415725708, -0.03754013404250145, -0.03195967152714729, -0.01995108462870121, 0.014272707514464855, -0.08887108415365219, 0.014413549564778805, 0.01629791595041752, 0.012843331322073936, 0.06767832487821579, 0.0400574617087841, -0.004967215470969677, -0.022694552317261696, 0.026981862261891365, -0.0045672450214624405, 0.03501332551240921, 0.07377758622169495, 0.04186532273888588, -0.008756797760725021, -0.02640826255083084, 0.03732335567474365, 0.04209669679403305, -0.013719025999307632, -0.05984247103333473, 0.04806249588727951, 0.009917788207530975, 0.22561953961849213, 0.08676890283823013, 0.02139814756810665, -0.049141254276037216, 0.025471240282058716, -0.00246417336165905, -0.049862686544656754, -0.13869692385196686, 0.05410124734044075, 0.01334541104733944, -0.0005066108424216509, 0.016990313306450844, -0.027165744453668594, -0.021065901964902878, -0.05771498382091522, 0.0013356150593608618, -0.008363723754882812, -0.06277763098478317, -0.053868550807237625, -0.007420746143907309, -0.0002030569885391742, 0.03900296613574028, -0.03408106416463852, 0.04712161794304848, 0.004540344700217247, 0.004750097636133432, 0.026511957868933678, 0.015729745849967003, -0.023203136399388313, -0.059476327151060104, -0.07266745716333389, -0.03269394114613533, -0.022764284163713455, 0.03060740791261196, -0.011616526171565056, -0.05798182263970375, 0.019927147775888443, -0.07957722246646881, 0.025716044008731842, -0.04319458082318306, -0.0006423056474886835, -0.0253842044621706, 0.02992914617061615, -0.009855274111032486, -0.04201585426926613, 0.031217092648148537, -0.049853213131427765, 0.03570275008678436, 0.05642323195934296, 0.008844394236803055, -0.007547228597104549, 0.013470779173076153, -0.036178816109895706, -0.02349691279232502, 0.024671101942658424, -0.014874212443828583, 0.02743704989552498, 0.014521472156047821, 0.07072427868843079, -0.015982644632458687, 0.04980996996164322, -0.01094800978899002, 0.04888264089822769, 0.00048440060345456004, 0.02836558409035206, -0.05467649921774864, -0.021229492500424385, -0.01998131163418293, 0.06172521784901619, -0.01908477395772934, -0.2715405821800232, 0.07602636516094208, 0.05273658037185669, 0.01921253651380539, -0.0733501985669136, 0.0015706015983596444, 0.04971736669540405, -0.022529812529683113, -0.014635917730629444, -0.00045191956451162696, 0.0346173532307148, 0.041072260588407516, 0.04882245510816574, 0.00044551046448759735, 0.021734245121479034, 0.007384933065623045, 0.03617408871650696, -0.03139796108007431, 0.050607312470674515, -0.04001758247613907, 0.04948741942644119, 0.03176530823111534, 0.2648491859436035, -0.05269410461187363, 0.022136304527521133, -0.01532918494194746, -0.02056131511926651, -0.011250976473093033, 0.019461793825030327, 0.017211411148309708, 0.023115869611501694, 0.015937386080622673, 0.12454778701066971, -0.031201457604765892, 0.05774005874991417, 0.06639066338539124, 0.006743887905031443, 0.008910967037081718, 0.01472287904471159, -0.04295564070343971, -0.0011536837555468082, 0.020859410986304283, -0.07344338297843933, 0.021694181486964226, 0.09901706874370575, 0.023881234228610992, -0.006453527137637138, 0.008030608296394348, -0.010343533009290695, 0.02212473750114441, -0.04170624166727066, -0.013823302462697029, -0.012256566435098648, 0.020197266712784767, 0.015936775133013725, 0.06915419548749924, -0.04545590654015541, -0.016713205724954605, -0.04089711979031563, -0.03468992933630943, 0.020183417946100235, -0.06131432577967644, -0.013520685955882072, -0.01174258254468441, 0.01711348257958889 ]
devcenter
https://www.mongodb.com/developer/products/mongodb/doc-modeling-vector-search
created
## Extras: Querying with vector search When you’re ready to query and find results from your embedded documents, it’s time to create an aggregation pipeline on your embedded vector data. To do this, you can use the“$vectorSearch” operator, which is a new aggregation stage in Atlas. It helps execute an Approximate Nearest Neighbor query. For more information on this step, please check out the tutorial on Developer Center about [building generative AI applications, and our YouTube video on vector search.
md
{ "tags": [ "MongoDB", "AI" ], "pageDescription": "Follow along with this comprehensive tutorial on how to properly model your documents for MongoDB Vector Search.", "contentType": "Tutorial" }
How to Model Your Documents for Vector Search
2024-05-20T17:32:23.500Z
[ -0.08270145207643509, -0.02409922517836094, 0.04185096547007561, -0.0005988531047478318, 0.011469149962067604, -0.005833218805491924, 0.017487570643424988, 0.027966871857643127, -0.01327602006494999, 0.0018545862985774875, 0.040629949420690536, -0.01056613028049469, 0.02905406802892685, -0.027371421456336975, 0.018223697319626808, 0.005903297103941441, -0.006655000150203705, 0.07579542696475983, -0.04551229625940323, -0.018633604049682617, 0.004538137931376696, -0.03448057919740677, -0.03167198970913887, -0.09172268211841583, -0.009783913381397724, 0.04678507149219513, -0.05108315497636795, -0.053283728659152985, -0.03432575985789299, -0.23783306777477264, 0.022334199398756027, -0.06417111307382584, 0.08990506082773209, -0.007403552066534758, -0.012350279837846756, 0.015007991343736649, -0.01656409353017807, 0.0919487476348877, -0.04423389583826065, 0.019256161525845528, 0.014684217050671577, 0.0004633548087440431, -0.039935771375894547, -0.06931593269109726, -0.05700996145606041, -0.042875997722148895, 0.002697496674954891, -0.019565163180232048, 0.024498293176293373, -0.01422643382102251, 0.016874542459845543, -0.05697762221097946, 0.005998176988214254, 0.03459090739488602, 0.030431104823946953, 0.054394014179706573, 0.014276237227022648, 0.025741349905729294, 0.004748685285449028, 0.016819629818201065, 0.0447990857064724, 0.01084948144853115, -0.15212298929691315, 0.12242281436920166, 0.027301009744405746, 0.028074821457266808, -0.01969316229224205, -0.041767701506614685, 0.028614187613129616, 0.0527624748647213, -0.003956184256821871, 0.03739441558718681, -0.007881914265453815, 0.06954632699489594, 0.003965487238019705, -0.006432158872485161, 0.0013391473330557346, -0.04350946098566055, 0.013965222053229809, 0.02129209041595459, -0.02661762200295925, -0.023725470528006554, -0.0351790115237236, 0.02584369108080864, -0.03662492707371712, -0.031985629349946976, 0.025560341775417328, -0.03368571400642395, 0.08132355660200119, 0.0010358336148783565, -0.02642507292330265, -0.004640962928533554, -0.025802433490753174, 0.024953046813607216, -0.054669931530952454, -0.051869481801986694, 0.07357792556285858, 0.01839384436607361, 0.025978973135352135, 0.23904401063919067, -0.012461691163480282, 0.04354861006140709, 0.045355793088674545, -0.050211530178785324, -0.0012000218266621232, -0.03707081452012062, -0.05081002786755562, -0.012024274095892906, -0.047479283064603806, 0.015442310832440853, 0.0016404613852500916, -0.0017889575101435184, 0.028257206082344055, -0.031053612008690834, 0.03769179433584213, -0.012859468348324299, 0.04109012335538864, 0.014021802693605423, -0.044216182082891464, -0.0071577769704163074, -0.05159519985318184, 0.011585692875087261, 0.042965471744537354, 0.005977848544716835, 0.0368112251162529, -0.06290898472070694, 0.06086453050374985, 0.09694256633520126, 0.01970718428492546, 0.03442002087831497, 0.06453320384025574, -0.0282975435256958, -0.07695823907852173, 0.009309043176472187, -0.0015183236682787538, 0.020728550851345062, -0.02394896186888218, -0.0016216360963881016, -0.02307678945362568, 0.015287159010767937, -0.06809832900762558, -0.026545602828264236, 0.03451744094491005, -0.1060778945684433, -0.055248040705919266, 0.14618317782878876, -0.04668682441115379, 0.0025752924848347902, -0.056909359991550446, -0.05811653658747673, 0.012754478491842747, 0.01394143607467413, -0.024572530761361122, 0.022565646097064018, -0.005105240270495415, 0.0345129631459713, 0.05425906926393509, 0.05067100003361702, -0.06977569311857224, 0.004770589992403984, -0.03767358139157295, -0.027518467977643013, -0.04665558785200119, 0.12401685863733292, 0.008637904189527035, -0.09755942970514297, -0.04601769149303436, 0.019051240757107735, -0.008351734839379787, -0.033636223524808884, 0.015275096520781517, 0.012946957722306252, -0.028394225984811783, 0.03412735462188721, 0.09217670559883118, 0.014216933399438858, -0.05244436115026474, 0.039978962391614914, -0.0017908633453771472, 0.016778819262981415, -0.008683058433234692, -0.042057037353515625, -0.022290294989943504, 0.056193914264440536, -0.003966833930462599, -0.04622192308306694, -0.015234549529850483, -0.011901356279850006, 0.016285523772239685, 0.04793434217572212, -0.01316225528717041, 0.021212268620729446, 0.008519066497683525, -0.009853770956397057, -0.02661009132862091, -0.058122098445892334, 0.010170446708798409, -0.025692274793982506, 0.05781177803874016, -0.020215149968862534, 0.05151908099651337, 0.005186169873923063, -0.01419519167393446, 0.0689840316772461, 0.0006664438988082111, 0.003852913621813059, -0.025754380971193314, -0.0379326231777668, 0.03609663248062134, 0.008437336422502995, -0.018078118562698364, -0.011896563693881035, 0.02182137593626976, -0.05142076686024666, -0.03545107692480087, 0.013131874613463879, -0.01928642950952053, 0.046868063509464264, -0.01835004612803459, 0.0690234899520874, -0.012078707106411457, -0.09975261241197586, -0.02024122141301632, -0.25421223044395447, -0.01186321396380663, -0.032199908047914505, 0.01618153415620327, 0.019175482913851738, -0.07871224731206894, 0.020479030907154083, -0.011359441094100475, -0.02532287687063217, 0.06569810956716537, 0.019248617812991142, 0.029217753559350967, -0.02824271284043789, 0.02550498954951763, 0.0011219608131796122, 0.09293679893016815, 0.05354877933859825, 0.01787675730884075, -0.020319784060120583, -0.014799569733440876, 0.03582707792520523, 0.0156918503344059, -0.0033047660253942013, -0.07199982553720474, 0.06193931773304939, -0.02296193689107895, 0.18578927218914032, 0.05805724114179611, 0.008099189959466457, -0.06325455754995346, 0.057801466435194016, 0.01816786453127861, -0.031027888879179955, -0.09701588749885559, 0.04122820496559143, 0.024878591299057007, 0.009613798931241035, 0.024981431663036346, -0.00438906904309988, -0.02058454044163227, -0.05394097790122032, 0.049273766577243805, -0.006954079959541559, -0.08219338208436966, -0.00027861102716997266, -0.05086568370461464, -0.006848691962659359, 0.0299291480332613, -0.05170360952615738, 0.03698616474866867, 0.01872917264699936, 0.024379059672355652, 0.06336505711078644, 0.005529089830815792, -0.04001879692077637, -0.043213266879320145, -0.06815816462039948, -0.004527812823653221, -0.04548671096563339, 0.03273584321141243, 0.006494997534900904, -0.045851901173591614, 0.024191148579120636, -0.04263516888022423, 0.06815909594297409, -0.013529441319406033, -0.008236574940383434, -0.044253189116716385, 0.029529467225074768, -0.02100898139178753, -0.010345863178372383, 0.0607377290725708, -0.041029345244169235, 0.0346863828599453, 0.00780470808967948, 0.01930133067071438, 0.043134648352861404, -0.002455199835821986, -0.029323214665055275, -0.047074440866708755, 0.016259629279375076, -0.010671158321201801, 0.06713185459375381, 0.014510158449411392, 0.022578194737434387, 0.012681644409894943, 0.037464674562215805, -0.0025990766007453203, 0.038480520248413086, -0.04232226312160492, -0.007089880760759115, -0.017710627987980843, -0.01702999882400036, -0.05607307329773903, 0.013172512874007225, -0.0035259162541478872, -0.28689053654670715, 0.04250664636492729, 0.03346266224980354, 0.00834548007696867, -0.028973789885640144, 0.003761956701055169, 0.04604478180408478, 0.00639627268537879, -0.01771058700978756, 0.029132120311260223, 0.025947434827685356, 0.061757586896419525, 0.043484438210725784, -0.010886325500905514, 0.009527112357318401, 0.04106403514742851, 0.0476054847240448, -0.018216930329799652, 0.039422739297151566, -0.0499863401055336, 0.032265082001686096, 0.01589561067521572, 0.2803122401237488, -0.0396941676735878, 0.01405446045100689, 0.009024620056152344, -0.01340459194034338, -0.012169880792498589, 0.011715180240571499, 0.008692227303981781, 0.014793841168284416, -0.026681356132030487, 0.11003929376602173, -0.030530035495758057, 0.06160922348499298, 0.054022274911403656, -0.030091382563114166, 0.013233908452093601, 0.0281569492071867, -0.037661515176296234, -0.009851096197962761, 0.01751507632434368, -0.029105523601174355, 0.032646313309669495, 0.07594211399555206, 0.01957038603723049, -0.016136061400175095, -0.049407314509153366, -0.026866111904382706, 0.04717222601175308, -0.03371640294790268, -0.02358822152018547, -0.03808458894491196, 0.007505360525101423, 0.020490117371082306, 0.05312018468976021, -0.06345745921134949, -0.011193263344466686, -0.01283352356404066, 0.0019039638573303819, 0.04737077280879021, -0.09721288830041885, -0.01943480223417282, 0.015104372054338455, 0.031247898936271667 ]
devcenter
https://www.mongodb.com/developer/code-examples/python/dog-care-example-app
created
# Example Application for Dog Care Providers (DCP) ## Creator Radvile Razmute contributed this project. ## About the project My project explores how to use MongoDB Shell, MongoDB Atlas, and MongoDB Compass. This project aimed to develop a database for dog care providers and demonstrate how this data can be manipulated in MongoDB. The Dog Welfare Federation (DWF) is concerned that some providers who provide short/medium term care for dogs when the owner is unable to – e.g., when away on holidays, may not be delivering the service they promise. Up to now, the DWF has managed the data using a SQL database. As the scale of its operations expanded, the organization needed to invest in a cloud database application. As an alternative to the relational SQL database, the Dog Welfare Federation decided to look at the database development using MongoDB services.
md
{ "tags": [ "Python", "MongoDB" ], "pageDescription": " Learn MongoDB by creating a database for dog care providers!", "contentType": "Code Example" }
Example Application for Dog Care Providers (DCP)
2024-05-20T17:32:23.500Z
[ -0.0673043504357338, -0.024489762261509895, 0.021226804703474045, -0.056178152561187744, 0.014945073053240776, -0.022923143580555916, 0.007646982558071613, 0.01873447746038437, -0.015842663124203682, -0.03195275366306305, 0.012720059603452682, -0.045217279344797134, 0.03697912022471428, 0.01763303205370903, -0.020710797980427742, -0.0026506097055971622, 0.006373800802975893, 0.02810048498213291, -0.04309139400720596, 0.048842038959264755, 0.003943501506000757, -0.03134962171316147, -0.060697343200445175, -0.04667700082063675, -0.004658414516597986, 0.0969560295343399, 0.0010657362872734666, -0.06669320166110992, -0.014795240946114063, -0.18150988221168518, 0.014651892706751823, -0.045424506068229675, 0.038887038826942444, -0.0468047596514225, 0.007288346067070961, -0.018322473391890526, 0.02551942691206932, 0.06866522133350372, -0.0428859107196331, 0.04185503348708153, 0.05024106428027153, -0.0029777553863823414, -0.009775401093065739, -0.02479010447859764, -0.021490763872861862, -0.08594062924385071, -0.05662301182746887, -0.045752305537462234, -0.03218577802181244, -0.033963415771722794, -0.01374469418078661, -0.028681401163339615, -0.03347528353333473, 0.015704557299613953, 0.036883577704429626, 0.05756165087223053, 0.06926407665014267, 0.043315425515174866, -0.009726126678287983, -0.005089431069791317, 0.046407300978899, 0.05522465705871582, -0.16790150105953217, 0.10296883434057236, 0.05449735373258591, 0.08221226185560226, -0.035178348422050476, -0.05290134996175766, 0.01639012061059475, 0.011183638125658035, -0.02684011310338974, 0.007484345696866512, 0.027467649430036545, 0.02633395791053772, 0.03590312972664833, -0.018159210681915283, -0.0044990647584199905, -0.02207334153354168, -0.02191290631890297, -0.0259526576846838, -0.05012041702866554, -0.007835062220692635, -0.02379092201590538, -0.003745771711692214, -0.017003782093524933, -0.014155276119709015, 0.042418498545885086, -0.08348333835601807, 0.0252708587795496, -0.003663379931822419, -0.004413003567606211, -0.017592770978808403, 0.0496646873652935, 0.003043004311621189, -0.0785822719335556, -0.029772670939564705, 0.06863828003406525, 0.034068457782268524, -0.016523262485861778, 0.23230528831481934, -0.05100790038704872, 0.025500968098640442, 0.028437606990337372, -0.053866662085056305, 0.02230716496706009, -0.03151795268058777, 0.004702370148152113, -0.036762841045856476, 0.010051924735307693, 0.03395393490791321, 0.004233851097524166, -0.019839292392134666, -0.00035411547287367284, -0.09637342393398285, 0.034261927008628845, 0.006380112841725349, -0.018375692889094353, 0.07692260295152664, -0.017578303813934326, 0.02490254119038582, 0.008461500518023968, 0.038128484040498734, 0.04487418755888939, -0.005197673104703426, 0.044725995510816574, -0.038692399859428406, 0.02315440960228443, 0.10498538613319397, -0.005136502906680107, 0.03773912414908409, 0.03408089652657509, -0.026712706312537193, -0.07250141352415085, -0.013403489254415035, 0.04042542725801468, -0.005398026201874018, -0.0015058767748996615, 0.007948191836476326, 0.03037402592599392, 0.012679550796747208, -0.014088325202465057, -0.0717693343758583, -0.02744411677122116, -0.06082221120595932, -0.04159163311123848, 0.12089228630065918, -0.024485642090439796, 0.06112433969974518, -0.09040682762861252, -0.019604526460170746, -0.003202814841642976, 0.0145956976339221, -0.026121310889720917, 0.012430727481842041, -0.02667706087231636, 0.005488057620823383, 0.029820643365383148, 0.06903353333473206, -0.02115578204393387, -0.009821976535022259, -0.016211895272135735, -0.04808700084686279, -0.026524588465690613, 0.12746447324752808, -0.02121557667851448, -0.13952778279781342, -0.015885431319475174, 0.030297985300421715, 0.012500175274908543, -0.034735359251499176, 0.00515397684648633, 0.030313825234770775, -0.033002495765686035, 0.02784537710249424, 0.0493796169757843, 0.02373182587325573, -0.05667063966393471, -0.013273337855935097, 0.013146551325917244, -0.00064392841886729, 0.05380207300186157, -0.04939596354961395, -0.05898197367787361, 0.027116384357213974, -0.02351452223956585, -0.016599832102656364, -0.007510567083954811, -0.00014060302055440843, 0.03461578115820885, 0.01664387807250023, -0.03988388925790787, 0.018098827451467514, -0.011370684951543808, -0.05941213667392731, -0.0417020246386528, -0.03355826810002327, -0.046943988651037216, -0.00532688619568944, 0.027831973508000374, -0.036502256989479065, 0.04747551307082176, 0.01236793678253889, -0.008762027136981487, 0.04721735045313835, 0.042338985949754715, 0.0122509291395545, -0.023096963763237, -0.02854420430958271, 0.03228830546140671, 0.019728142768144608, -0.0029313769191503525, 0.04938337206840515, 0.024311820045113564, -0.011319502256810665, -0.03888542950153351, 0.04609811305999756, -0.015606122091412544, 0.048636894673109055, 0.028562651947140694, 0.049752380698919296, 0.0056548332795500755, -0.05892622843384743, -0.02277085930109024, -0.2621030807495117, 0.015006715431809425, -0.00535488361492753, -0.0029983629938215017, 0.005355789791792631, -0.024964043870568275, 0.030102599412202835, -0.04676129296422005, -0.04904362931847572, 0.06509712338447571, 0.08255995064973831, -0.02058766782283783, -0.016134120523929596, 0.021887999027967453, -0.011233043856918812, 0.06829604506492615, 0.04178128018975258, -0.014882305637001991, -0.047680892050266266, -0.017404763028025627, 0.020795688033103943, -0.017991777509450912, -0.005026167258620262, -0.08372648060321808, 0.04944925382733345, 0.017375724390149117, 0.21838420629501343, 0.008595670573413372, -0.0036324956454336643, -0.06085207313299179, 0.06463462114334106, -0.013510101474821568, -0.006887780036777258, -0.1270681917667389, 0.06593861430883408, 0.008017968386411667, 0.012726408429443836, 0.010465116240084171, -0.014879214577376842, -0.05442124232649803, -0.03929273784160614, 0.07786483317613602, 0.02032102458178997, -0.08568139374256134, -0.02120099402964115, -0.0006353491335175931, -0.005086863413453102, 0.008240725845098495, -0.04228613153100014, 0.05097398906946182, -0.01838604547083378, 0.006261276081204414, 0.0034508402459323406, 0.019731124863028526, -0.043493371456861496, -0.015061579644680023, -0.054318033158779144, 0.015694523230195045, -0.032747965306043625, 0.07003616541624069, 0.013925665989518166, -0.04241207242012024, 0.04541675001382828, -0.024033639580011368, 0.045399487018585205, -0.042263977229595184, -0.030033743008971214, -0.0031468479428440332, 0.025773484259843826, -0.04957006499171257, -0.033385563641786575, 0.07884301245212555, -0.015001919120550156, -0.0028619435615837574, 0.0628378763794899, 0.00810892041772604, 0.009383300319314003, -0.020919090136885643, -0.007757815066725016, -0.03986942768096924, 0.05718414857983589, -0.02002255618572235, 0.03146810829639435, 0.004071594215929508, 0.055098120123147964, 0.054835036396980286, 0.08384714275598526, -0.02498113550245762, 0.029305817559361458, -0.04958523064851761, 0.0011294109281152487, -0.03834560513496399, -0.020377352833747864, -0.06125669926404953, 0.0063467612490057945, 0.033897627145051956, -0.2857024371623993, 0.05743687227368355, -0.0009979205206036568, 0.02343909442424774, -0.008998125791549683, 0.04321189597249031, 0.022455541417002678, 0.05586738884449005, -0.025715181604027748, -0.05615944042801857, 0.04076049476861954, 0.04026113450527191, 0.011870192363858223, 0.0064061591401696205, 0.026954732835292816, 0.03932120278477669, 0.017270667478442192, -0.036021601408720016, 0.024716708809137344, -0.04042992740869522, 0.040408845990896225, 0.018408723175525665, 0.235518217086792, -0.0024435529485344887, 0.061380550265312195, 0.05568113923072815, -0.017055323347449303, 0.0224063191562891, 0.056446321308612823, 0.016255220398306847, 0.009635466150939465, -0.004798718262463808, 0.0855591744184494, -0.014291772618889809, 0.020213499665260315, 0.06892891973257065, -0.021982736885547638, 0.0755336582660675, 0.025295279920101166, -0.03493434935808182, -0.03818507865071297, 0.029563937336206436, 0.008614074438810349, -0.019723253324627876, 0.11210235208272934, -0.04011150822043419, -0.040115874260663986, -0.07307007163763046, 0.04722975194454193, 0.02565063163638115, -0.054403580725193024, -0.07186005264520645, -0.015318257734179497, 0.015391419641673565, 0.03371567651629448, 0.01723102293908596, 0.0018464489839971066, -0.006342469714581966, -0.04892059788107872, -0.07564619928598404, 0.03724856302142143, -0.07792243361473083, 0.01239771768450737, 0.03206489235162735, 0.027009382843971252 ]
devcenter
https://www.mongodb.com/developer/code-examples/python/dog-care-example-app
created
The Dog database uses fictitious data that I have created myself. The different practical stages of the project have been documented in my project report and may guide the beginners taking their first steps into MongoDB. ## Inspiration The assignment was given to me by my lecturer. And when he was deciding on the topics for the project, he knew that I love dogs. And that's why my project was all about the dogs. Even though the lecturer gave me the assignment, it was my idea to prepare this project in a way that does not only benefit me.
md
{ "tags": [ "Python", "MongoDB" ], "pageDescription": " Learn MongoDB by creating a database for dog care providers!", "contentType": "Code Example" }
Example Application for Dog Care Providers (DCP)
2024-05-20T17:32:23.500Z
[ -0.03518880531191826, -0.0029791968408972025, 0.028004679828882217, -0.05337212234735489, 0.03973725810647011, -0.026476705446839333, 0.04751341789960861, 0.039526376873254776, 0.017678383737802505, -0.0029798562172800303, 0.010395782999694347, -0.08637396991252899, 0.04233550280332565, 0.0473819226026535, -0.0393768772482872, 0.014566276222467422, -0.0065844436176121235, 0.011716443113982677, -0.061024826020002365, 0.033376723527908325, 0.016004586592316628, -0.03840858116745949, -0.03887207806110382, -0.06202035769820213, 0.02885352447628975, 0.10035798698663712, 0.008665892295539379, -0.027429722249507904, -0.01747518964111805, -0.17650768160820007, 0.0021251412108540535, -0.05334768071770668, 0.08373015373945236, -0.02900012582540512, 0.02050638012588024, -0.010402735322713852, 0.007991449907422066, 0.07458308339118958, -0.03417966887354851, 0.04617471247911453, 0.056432273238897324, -0.023871593177318573, -0.006598935928195715, -0.05513430014252663, 0.0020724490750581026, -0.055410534143447876, -0.043625734746456146, -0.02419886738061905, 0.011069509200751781, -0.0389099158346653, -0.016964446753263474, -0.042631037533283234, -0.031501565128564835, 0.0208950974047184, 0.02336117811501026, 0.044526517391204834, 0.06512844562530518, 0.03751258924603462, 0.012597871012985706, 0.005531583912670612, 0.044543761759996414, 0.07102670520544052, -0.18529437482357025, 0.11336381733417511, 0.012685396708548069, 0.077726349234581, -0.06989113241434097, -0.021062185987830162, 0.012043205089867115, 0.02351210080087185, -0.017917189747095108, 0.020764924585819244, 0.02401020936667919, 0.058422766625881195, 0.04335953667759895, -0.04002326354384422, 0.0035750609822571278, -0.00899265706539154, -0.008353897370398045, -0.03311317786574364, -0.03503119945526123, -0.01151125505566597, -0.021679863333702087, -0.003703007474541664, -0.02282699942588806, -0.013600817881524563, 0.033782411366701126, -0.05338402837514877, 0.023884383961558342, 0.03820015862584114, -0.016992662101984024, -0.049812670797109604, 0.008144468069076538, 0.005173129960894585, -0.06026347354054451, -0.03370504081249237, 0.03331366181373596, 0.017237268388271332, -0.013736427761614323, 0.2051306962966919, -0.06490716338157654, 0.0025684575084596872, 0.04502680525183678, -0.013610807247459888, 0.0019451417028903961, 0.007667400408536196, -0.003167974529787898, -0.04777003824710846, -0.009278406389057636, 0.019848478958010674, 0.0076940227299928665, -0.01521276868879795, -0.011519871652126312, -0.08174622058868408, 0.04030338302254677, 0.031945228576660156, -0.020822886377573013, 0.054828789085149765, -0.022853661328554153, -0.007193943485617638, -0.0035254277754575014, 0.03332110494375229, 0.01711186021566391, -0.012848915532231331, 0.00913944747298956, -0.07347941398620605, 0.04182489216327667, 0.08571290224790573, 0.018389228731393814, 0.03296121954917908, 0.017947254702448845, -0.009572170674800873, -0.08695387840270996, -0.01214562077075243, 0.005236403085291386, -0.0006943059852346778, 0.027682755142450333, 0.004147159866988659, 0.03471623733639717, 0.0235050730407238, 0.00026062328834086657, -0.06465379893779755, -0.05356695130467415, -0.05918474495410919, -0.0653051808476448, 0.11868666857481003, 0.008776393719017506, 0.04849844053387642, -0.06253208220005035, 0.006838848814368248, -0.022352909669280052, 0.025084007531404495, -0.020999262109398842, 0.009673777036368847, 0.007378219161182642, 0.016477348282933235, 0.030890047550201416, 0.05640270560979843, -0.03074708580970764, -0.01256195642054081, -0.023921409621834755, -0.026341961696743965, -0.023584220558404922, 0.06655935943126678, -0.0032877775374799967, -0.12561164796352386, -0.020904110744595528, 0.022222941741347313, 0.07503906637430191, -0.051448386162519455, 0.02538995072245598, 0.03195220232009888, -0.06380265951156616, 0.026317691430449486, 0.04453371465206146, 0.0397123321890831, -0.03980507329106331, 0.00405694218352437, 0.007977881468832493, 0.0014566279714927077, 0.06477822363376617, -0.047938115894794464, -0.07223958522081375, 0.047259408980607986, -0.017514189705252647, -0.04673090577125549, -0.02900555357336998, -0.005415978841483593, 0.008550978265702724, 0.07640253752470016, -0.022507615387439728, 0.03999774158000946, -0.043919820338487625, -0.010700885206460953, -0.04899941757321358, -0.047193966805934906, 0.002761407755315304, -0.015902675688266754, -0.01655246876180172, -0.0390821136534214, 0.03162574768066406, 0.007482670247554779, 0.011534996330738068, 0.049247536808252335, 0.03243966028094292, 0.026455072686076164, -0.003176376922056079, -0.012752395123243332, 0.06978816539049149, 0.02350747026503086, -0.03388238325715065, 0.046249717473983765, 0.01909673400223255, -0.012695154175162315, -0.030884286388754845, 0.002602697117254138, -0.019296817481517792, 0.04030085727572441, 0.04330781102180481, 0.05222128704190254, -0.0005139353452250361, -0.09773476421833038, -0.05622336268424988, -0.2471344918012619, 0.007872359827160835, -0.0035319002345204353, -0.024664539843797684, 0.014623846858739853, -0.01878737099468708, 0.04935157299041748, -0.05158960074186325, -0.024827392771840096, 0.07025766372680664, 0.08245778828859329, -0.04111660271883011, -0.018145987764000893, -0.011573798023164272, -0.019304370507597923, 0.045894425362348557, 0.014437693171203136, -0.03602371737360954, -0.03503686934709549, 0.007270813453942537, -0.0176679864525795, -0.016084300354123116, 0.0035943046677857637, -0.08146761357784271, 0.007085459306836128, -0.006999473087489605, 0.25335997343063354, 0.06691651791334152, 0.004589559976011515, -0.0060439761728048325, 0.08218449354171753, -0.027296630665659904, -0.05242796614766121, -0.1711641103029251, 0.06235290318727493, 0.008806075900793076, 0.02681787684559822, -0.017641333863139153, -0.027119098231196404, -0.062048569321632385, -0.030226685106754303, 0.07340141385793686, 0.006356674246490002, -0.08338633179664612, -0.05531466752290726, -0.004176436457782984, -0.05811380594968796, -0.012054952792823315, -0.05902906879782677, 0.05793972685933113, -0.009147750213742256, 0.01430722139775753, 0.048410460352897644, 0.02186296321451664, -0.06050557270646095, -0.02532937563955784, -0.10253695398569107, 0.036363981664180756, 0.0018207347020506859, 0.059664059430360794, 0.013440769165754318, -0.05825468897819519, 0.05044187977910042, -0.04032491520047188, 0.05780387297272682, -0.01109789777547121, -0.057370852679014206, -0.010162814520299435, 0.02147979848086834, -0.03518209233880043, -0.0222320519387722, 0.06524845957756042, 0.03571315109729767, -0.030969586223363876, 0.06826186925172806, -0.019909266382455826, -0.00003161679342156276, -0.03779077157378197, 0.011966614052653313, -0.016475161537528038, 0.0019741705618798733, -0.05982712656259537, 0.01805305853486061, 0.006455183029174805, 0.06155344843864441, 0.03371528908610344, 0.07007787376642227, -0.02279001846909523, 0.06508905440568924, -0.03433714807033539, -0.008044076152145863, 0.011321618221700191, 0.008136395364999771, -0.04736829549074173, 0.0017096912488341331, 0.010558543726801872, -0.2523024380207062, 0.030606087297201157, 0.00040596575126983225, 0.05212951824069023, 0.0024660280905663967, 0.04998320713639259, 0.04031333327293396, 0.01900423690676689, -0.03347165882587433, -0.01725943386554718, 0.033526986837387085, 0.018860377371311188, 0.010581061244010925, -0.004548320546746254, 0.015609902329742908, 0.026765786111354828, 0.01111307367682457, -0.015388724394142628, 0.04461260139942169, -0.0281964261084795, 0.038661204278469086, 0.01097446121275425, 0.23268721997737885, -0.039621055126190186, 0.05183872580528259, 0.03716876730322838, -0.02116432785987854, 0.05210461840033531, 0.05579176917672157, -0.000013031377420702484, 0.04391719400882721, -0.020221685990691185, 0.0899769738316536, -0.008024966344237328, 0.019356325268745422, 0.05160827189683914, -0.05170533061027527, 0.07110211998224258, 0.005063945893198252, -0.04632880538702011, -0.06428645551204681, 0.040590450167655945, -0.016080528497695923, -0.03961315378546715, 0.13073261082172394, -0.016294917091727257, -0.03699014335870743, -0.05951230973005295, 0.014273468405008316, -0.001364092924632132, -0.03004334308207035, -0.0673799142241478, -0.034660376608371735, -0.016356008127331734, 0.013123207725584507, 0.04921397939324379, 0.004391754046082497, 0.01891879364848137, -0.04473830759525299, -0.04089473932981491, 0.02251400053501129, -0.03550507128238678, 0.01146162673830986, 0.026960385963320732, 0.039275120943784714 ]
devcenter
https://www.mongodb.com/developer/code-examples/python/dog-care-example-app
created
When I followed courses via MongoDB University, I noticed that these courses gave me a flavor of MongoDB, but not the basic concepts. I wanted to turn a database development project into a kind of a guide for somebody who never used MongoDB and who actually can take the project say: "Okay, these are the basic concepts, this is what happens when you run the query, this is the result of what you get, and this is how you can validate that your result and your query is correct." So that's how the whole MongoDB project for beginners was born. My guide tells you how to use MongoDB, what steps you need to follow to create an application, upload data, use the data, etc. It's one thing to know what those operators are doing, but it's an entirely different thing to understand how they connect and what impact they make.
md
{ "tags": [ "Python", "MongoDB" ], "pageDescription": " Learn MongoDB by creating a database for dog care providers!", "contentType": "Code Example" }
Example Application for Dog Care Providers (DCP)
2024-05-20T17:32:23.500Z
[ -0.034124553203582764, 0.015286148525774479, 0.012402825057506561, -0.04913154989480972, 0.01951519399881363, -0.03151549771428108, 0.02665543183684349, 0.02972453460097313, -0.044772278517484665, 0.009785681031644344, -0.003913190681487322, -0.027158258482813835, 0.05063997209072113, 0.030979234725236893, -0.03793109208345413, 0.025425605475902557, -0.020351126790046692, -0.0029723229818046093, -0.0431443490087986, 0.02154514007270336, 0.02604050002992153, 0.013290817849338055, -0.05458003655076027, -0.04363735020160675, 0.03350484371185303, 0.10636600852012634, 0.010779366828501225, -0.037633560597896576, -0.011152259074151516, -0.20331256091594696, -0.028986118733882904, -0.06909868866205215, 0.06031537428498268, -0.03216344118118286, 0.03349132835865021, -0.026660164818167686, 0.026849133893847466, 0.034540753811597824, -0.028569569811224937, 0.02332000620663166, 0.08896111696958542, -0.004988617729395628, 0.009610658511519432, -0.04539274796843529, -0.014622443355619907, -0.0644276812672615, -0.03274834528565407, -0.034335989505052567, 0.0045279632322490215, -0.06457757204771042, -0.0005170133663341403, -0.041616737842559814, -0.05322819575667381, 0.0058458345010876656, 0.02007276937365532, 0.0771583616733551, 0.05553834140300751, 0.0343354232609272, 0.01407890859991312, 0.006760066375136375, 0.04046638682484627, 0.025276709347963333, -0.13675636053085327, 0.11044108122587204, 0.0433376170694828, 0.059620823711156845, -0.03413902595639229, -0.015205638483166695, 0.026891136541962624, 0.025562044233083725, -0.017761141061782837, 0.010332043282687664, 0.006831222213804722, 0.06047067418694496, 0.025316724553704262, -0.04278047755360603, -0.013735990971326828, -0.027010828256607056, 0.013949702493846416, 0.03365630656480789, -0.07263697683811188, -0.03745424374938011, 0.00573494378477335, -0.018862323835492134, -0.007165921851992607, -0.021179789677262306, 0.019537463784217834, -0.05025839805603027, 0.008301729336380959, 0.007425370160490274, 0.006715305149555206, -0.033539459109306335, -0.026722179725766182, 0.01666247472167015, -0.05290108546614647, -0.021949656307697296, 0.02957870066165924, 0.015633778646588326, 0.004693619906902313, 0.19157740473747253, -0.03621570020914078, 0.0246516652405262, 0.029536042362451553, -0.018830468878149986, -0.011132020503282547, -0.03896663337945938, 0.005165173672139645, -0.04861127585172653, 0.029653064906597137, -0.02307276986539364, -0.0013108165003359318, -0.02863437868654728, 0.002936027944087982, -0.07977378368377686, 0.035211943089962006, -0.005118665285408497, -0.03602864220738411, 0.03507087007164955, -0.004205695353448391, 0.03264265134930611, -0.002214267151430249, 0.0008145288447849452, 0.002806643955409527, 0.014771929942071438, 0.031578030437231064, -0.0760095939040184, 0.04280368983745575, 0.06398144364356995, 0.028830276802182198, 0.059870246797800064, 0.053399309515953064, -0.00749873137101531, -0.13365937769412994, 0.0015894508687779307, 0.010816946625709534, 0.011271057650446892, 0.002641061320900917, 0.0461328886449337, 0.01800755225121975, 0.04463648423552513, -0.02992345578968525, -0.06023722514510155, -0.04309502989053726, -0.0629560723900795, -0.07226935029029846, 0.11658914387226105, -0.034689370542764664, 0.07324700802564621, -0.06276107579469681, -0.019593412056565285, -0.004596451297402382, 0.01928757131099701, -0.05455365777015686, -0.024158312007784843, 0.007949323393404484, 0.0034104108344763517, 0.07040156424045563, 0.012952981516718864, -0.0575525127351284, -0.03976958617568016, -0.05362756550312042, -0.03859582915902138, -0.04949701577425003, 0.07253213226795197, 0.00026451359735801816, -0.1155521422624588, 0.015370582230389118, 0.01527452189475298, 0.03164801001548767, -0.04619321972131729, 0.006219025701284409, 0.0328553169965744, -0.048491060733795166, 0.001742526888847351, 0.1036577969789505, 0.018318818882107735, -0.04653128981590271, -0.0023911858443170786, -0.026761271059513092, -0.03833126649260521, 0.054215651005506516, -0.050622884184122086, -0.025942908599972725, 0.05245460942387581, -0.012346516363322735, -0.042546361684799194, -0.03951612487435341, -0.00953068770468235, 0.03399048373103142, 0.04888429492712021, -0.032351404428482056, 0.0034887390211224556, -0.026874078437685966, -0.005754704121500254, -0.04360348358750343, -0.06410716474056244, 0.0019205858698114753, -0.047418687492609024, 0.0015572721604257822, -0.05598381906747818, 0.013146943412721157, 0.054557424038648605, -0.007972264662384987, 0.06617460399866104, -0.03413330391049385, 0.021031972020864487, -0.008020673878490925, -0.015718717128038406, 0.07079672813415527, 0.01905387081205845, -0.05245158076286316, 0.02133920229971409, 0.014931625686585903, -0.015958763659000397, -0.014883087016642094, -0.006444220431149006, 0.014956697821617126, 0.0481957346200943, -0.017173781991004944, 0.05170440301299095, 0.014065666124224663, -0.06818781793117523, -0.021978085860610008, -0.24561123549938202, -0.00572380842640996, -0.016009507700800896, -0.01129042636603117, 0.013556555844843388, -0.04654045030474663, 0.03480154275894165, -0.05529530718922615, -0.05255310237407684, 0.06501033902168274, 0.09705708175897598, -0.044203020632267, 0.03875686973333359, -0.0017265592468902469, -0.03282218053936958, 0.07123836129903793, 0.011931873857975006, 0.0015894736861810088, -0.05913609638810158, 0.007015779614448547, -0.0008663710905238986, -0.0034301141276955605, 0.007076325360685587, -0.107220359146595, 0.024578796699643135, 0.0006704375264234841, 0.2151760458946228, 0.023148050531744957, 0.020555924624204636, -0.06939712166786194, 0.06258496642112732, -0.01570095308125019, -0.02889244444668293, -0.1353340446949005, 0.040563106536865234, -0.002465055324137211, 0.04056022688746452, 0.008040493354201317, -0.010081922635436058, -0.04811658337712288, -0.021736744791269302, 0.02716301754117012, 0.012220027856528759, -0.0795828253030777, -0.027213599532842636, -0.03245539218187332, -0.04000071808695793, 0.00905030220746994, -0.05142170563340187, 0.014625702053308487, -0.011221268214285374, 0.0517367348074913, 0.036458153277635574, 0.061786893755197525, -0.04459057003259659, -0.02363060787320137, -0.10412236303091049, 0.05701812356710434, -0.014740370213985443, 0.046312592923641205, -0.0121188098564744, -0.025069085881114006, 0.050872623920440674, -0.023248709738254547, 0.03436893969774246, 0.0013016846496611834, -0.02659793011844158, -0.04172402620315552, 0.054818518459796906, -0.09087686240673065, -0.011815613135695457, 0.07536157220602036, -0.02605641633272171, 0.010019456036388874, 0.05285204201936722, 0.025444451719522476, 0.02046610228717327, -0.06897949427366257, -0.011306741274893284, -0.0001584819401614368, 0.017947515472769737, -0.03124568983912468, 0.03332455828785896, 0.019294386729598045, 0.05034961551427841, 0.0414438471198082, 0.09777664393186569, -0.046386171132326126, 0.03907886892557144, -0.0056882016360759735, 0.004407169762998819, -0.004981647245585918, -0.04858734458684921, -0.03455473855137825, 0.033355969935655594, -0.0099762799218297, -0.2706906199455261, 0.04288146644830704, -0.00006812340870965272, 0.05478578805923462, 0.008013787679374218, 0.004076236393302679, 0.07479546964168549, 0.0015088828513398767, -0.013751382008194923, 0.004671785980463028, 0.0729193165898323, -0.016327397897839546, 0.013292140327394009, -0.019988903775811195, 0.01772376149892807, 0.08022718876600266, 0.03172096982598305, -0.0624929741024971, 0.039252012968063354, -0.004161338787525892, 0.05032194405794144, 0.06811034679412842, 0.21663445234298706, 0.01957091875374317, 0.026083899661898613, 0.04472830519080162, 0.010772877372801304, 0.019671790301799774, 0.07031649351119995, 0.042393241077661514, 0.025629673153162003, 0.01614583469927311, 0.12640424072742462, -0.014751074835658073, 0.04103165864944458, 0.07131022959947586, -0.025539927184581757, 0.05333051085472107, 0.007046787533909082, -0.07137271016836166, -0.0669030025601387, 0.015618602745234966, 0.0015644379891455173, 0.016516458243131638, 0.13419784605503082, -0.039299577474594116, -0.006502524018287659, -0.07384510338306427, -0.014847786165773869, 0.01870553009212017, -0.05745260789990425, -0.03004181571304798, 0.017527975142002106, -0.004371714312583208, 0.021527966484427452, 0.04335274174809456, -0.039155833423137665, 0.0180601067841053, -0.03675689175724983, -0.02065492980182171, 0.04635540395975113, -0.03237273544073105, 0.024520082399249077, 0.06162242963910103, 0.025520000606775284 ]
devcenter
https://www.mongodb.com/developer/code-examples/python/dog-care-example-app
created
## Why MongoDB? My lecturer Noel Tierney, a lecturer in Computer Applications in Athlone Institute of Technology, Ireland, gave me the assignment to use MongoDB. He gave them instructions on the project and what kind of outcome he would like to see. I was asked to use MongoDB, and I decided to dive deeper into everything the platform offers. Besides that, as I mentioned briefly in the introduction: the organization DWF was planning on scaling and expanding their business, and they wanted to look into database development with MongoDB. This was a good chance for me to learn everything about NoSQL.
md
{ "tags": [ "Python", "MongoDB" ], "pageDescription": " Learn MongoDB by creating a database for dog care providers!", "contentType": "Code Example" }
Example Application for Dog Care Providers (DCP)
2024-05-20T17:32:23.500Z
[ -0.06260152906179428, -0.0006223433883860707, 0.0036406510043889284, -0.04687513783574104, 0.045890241861343384, -0.01253566425293684, 0.0499887578189373, 0.033365845680236816, -0.021059362217783928, -0.023712217807769775, -0.026301216334104538, -0.048075538128614426, 0.016038881614804268, 0.05390596389770508, 0.011864579282701015, 0.002829626901075244, -0.02733536995947361, -0.021936984732747078, -0.029860688373446465, 0.016739869490265846, 0.02649511583149433, -0.01900225132703781, -0.059155456721782684, -0.05935574322938919, 0.010922449640929699, 0.07352419942617416, -0.02676556631922722, -0.05719360336661339, -0.02195855602622032, -0.22408835589885712, -0.009564564563333988, -0.04276413843035698, 0.09105373919010162, -0.0332140289247036, 0.01824270188808441, -0.03491239994764328, 0.040511518716812134, 0.05537428706884384, -0.01489694882184267, 0.024621348828077316, 0.037327807396650314, -0.013869130983948708, -0.012779796496033669, -0.049128953367471695, 0.027151266112923622, -0.07214070856571198, -0.026355037465691566, -0.03617687523365021, -0.005049432627856731, -0.04528290033340454, -0.04006187617778778, -0.04460100084543228, -0.054796840995550156, 0.015105042606592178, 0.03806987777352333, 0.06683150678873062, 0.042829692363739014, 0.043742433190345764, 0.0038691482041031122, 0.03704948350787163, 0.05846569314599037, 0.05775895342230797, -0.19642141461372375, 0.11738555878400803, 0.04070977494120598, 0.06884519755840302, -0.03533443808555603, -0.020623618736863136, 0.05005233734846115, 0.052879635244607925, -0.04266473650932312, 0.0005198156577534974, 0.01942560076713562, 0.04555649310350418, 0.03614940494298935, -0.022680850699543953, 0.004958722274750471, -0.024804450571537018, 0.013862555846571922, 0.002539040520787239, 0.007045825012028217, -0.019451379776000977, -0.018765229731798172, -0.02531018666923046, -0.03365587815642357, -0.04116139933466911, 0.0064570484682917595, -0.030785145238041878, 0.018402820453047752, -0.006197778973728418, 0.013552779331803322, -0.026153212413191795, -0.029659453779459, -0.0004929593414999545, -0.055105358362197876, -0.007272400893270969, 0.020714033395051956, 0.044371046125888824, -0.03373153135180473, 0.22485694289207458, -0.034115780144929886, 0.01806172914803028, 0.045815207064151764, -0.009795201942324638, -0.031934868544340134, 0.003564028302207589, 0.004406918305903673, -0.05616774410009384, 0.021146340295672417, -0.016011523082852364, -0.009001875296235085, -0.02047812007367611, -0.0028452053666114807, -0.06927503645420074, 0.04923483356833458, 0.0036312357988208532, 0.014818739145994186, 0.005264770705252886, -0.05261094123125076, 0.005120622459799051, -0.014173684641718864, 0.049488238990306854, 0.024238234385848045, 0.0319591723382473, 0.025421511381864548, -0.04679935425519943, 0.0418349914252758, 0.11940204352140427, 0.0008680874016135931, 0.032228387892246246, 0.022117843851447105, -0.02563767321407795, -0.0943886861205101, -0.03746720775961876, 0.027730491012334824, 0.011289829388260841, 0.004097957629710436, 0.008042622357606888, 0.03647701069712639, 0.012635047547519207, -0.02847358025610447, -0.06997314840555191, -0.03696814179420471, -0.03336210548877716, -0.045235104858875275, 0.09841703623533249, -0.01709320954978466, 0.09070240706205368, -0.0745348185300827, -0.02420775219798088, 0.04939674213528633, 0.03969234600663185, -0.04460470378398895, -0.019788339734077454, 0.006244090385735035, 0.022484030574560165, 0.039109427481889725, 0.04714837297797203, -0.0342329666018486, 0.0007013605209067464, -0.055808957666158676, -0.03661280870437622, 0.007125524338334799, 0.08151348680257797, 0.006460952572524548, -0.1463192105293274, -0.027886509895324707, 0.010528068989515305, 0.007193947676569223, -0.03069661185145378, 0.03808901831507683, 0.02399630658328533, -0.03337929770350456, 0.003115795087069273, 0.10421614348888397, 0.014571389183402061, -0.04154976084828377, -0.022600913420319557, 0.01092455256730318, -0.010658813640475273, -0.007103955838829279, -0.050596095621585846, -0.04009588435292244, 0.029764199629426003, 0.008182581514120102, -0.03096838854253292, -0.0018000939162448049, -0.022249896079301834, 0.01585342548787594, 0.047298528254032135, -0.002900967840105295, 0.0349307507276535, -0.021505028009414673, 0.01068064570426941, -0.03630291298031807, -0.04814070835709572, 0.008646906353533268, -0.017272215336561203, 0.015247706323862076, -0.01673254929482937, 0.04440762475132942, 0.03772285208106041, -0.002557072089985013, 0.04054642841219902, -0.01830095238983631, 0.029478544369339943, -0.012185957282781601, -0.020685715600848198, 0.051434822380542755, 0.012066987343132496, -0.028795700520277023, 0.031970761716365814, -0.003729904070496559, -0.0072306860238313675, -0.04095538333058357, -0.03321384638547897, 0.03912921994924545, 0.03712518885731697, 0.03276166319847107, 0.04904380440711975, 0.01901612989604473, -0.05130217224359512, -0.07454200088977814, -0.25893378257751465, 0.011269472539424896, -0.0010194906499236822, -0.023533940315246582, 0.022086050361394882, -0.04184579476714134, 0.035786066204309464, -0.01188797876238823, -0.03910347446799278, 0.07878103852272034, 0.049596983939409256, -0.023962412029504776, 0.009379439055919647, -0.01647132635116577, -0.044382210820913315, 0.044546306133270264, 0.032836318016052246, -0.012163660489022732, -0.040571827441453934, -0.01166064478456974, 0.038668837398290634, 0.022718040272593498, -0.0026490255258977413, -0.09410073608160019, 0.000498677312862128, -0.017149023711681366, 0.21729712188243866, 0.030604658648371696, 0.009688330814242363, -0.030085057020187378, 0.060010991990566254, -0.03154152259230614, -0.04087887331843376, -0.1749330759048462, 0.029335718601942062, -0.007249780930578709, 0.06333129107952118, 0.014417731203138828, -0.0018963170005008578, -0.01849183440208435, -0.012433789670467377, 0.030155768617987633, 0.03919632360339165, -0.07825231552124023, -0.0530611090362072, -0.03166664019227028, -0.05428457632660866, 0.0031565933022648096, -0.026629049330949783, 0.051734983921051025, -0.02158690057694912, 0.04009164869785309, 0.04785832390189171, 0.04499969631433487, -0.044491205364465714, -0.04192213714122772, -0.09346676617860794, -0.004978174343705177, -0.019982630386948586, 0.09189339727163315, -0.016329502686858177, -0.03938798978924751, -0.011253492906689644, -0.04489438608288765, 0.05224006995558739, -0.017410440370440483, -0.034011855721473694, -0.024205157533288002, 0.031077854335308075, -0.050823308527469635, -0.02818235382437706, 0.06662438064813614, -0.0001546578569104895, 0.001937312539666891, 0.05062657594680786, 0.016516108065843582, 0.013420411385595798, -0.023935237899422646, 0.022809501737356186, -0.038658592849969864, 0.05193217471241951, -0.03816482797265053, 0.04835385084152222, 0.03916575759649277, 0.045367587357759476, 0.04046459496021271, 0.1047254428267479, -0.02307479828596115, 0.011383971199393272, 0.0006030494114384055, -0.011285193264484406, 0.005188850685954094, -0.03408413007855415, -0.050117749720811844, 0.011614996939897537, -0.008078313432633877, -0.285366415977478, 0.03601721674203873, 0.0019366801716387272, 0.04552069678902626, 0.027612118050456047, 0.0378524586558342, 0.02679658867418766, 0.03560607135295868, -0.005797098856419325, -0.002803491661325097, 0.03514786437153816, 0.019185595214366913, 0.03519495576620102, -0.006730703171342611, 0.01010766439139843, 0.051945749670267105, 0.03687413036823273, -0.02994268760085106, 0.030994733795523643, -0.018434563651680946, 0.03868558257818222, 0.061472147703170776, 0.21090814471244812, -0.023889608681201935, 0.04635870084166527, 0.03780287876725197, -0.02639184705913067, 0.03880833461880684, 0.05209829658269882, -0.01801626943051815, -0.011294451542198658, -0.026654358953237534, 0.06873360276222229, -0.04800286516547203, 0.026537317782640457, 0.07320256531238556, -0.052447907626628876, 0.06432954221963882, 0.019580917432904243, -0.006483927369117737, -0.07631158828735352, 0.01132242102175951, -0.03816893696784973, 0.0163657795637846, 0.11984825134277344, -0.003994568716734648, -0.046702757477760315, -0.08683677017688751, 0.0217073243111372, 0.001987701514735818, -0.024983879178762436, -0.02851729653775692, 0.009739784523844719, 0.010381369851529598, 0.010768824256956577, 0.021753689274191856, -0.02569677121937275, 0.01694689504802227, -0.04508666694164276, -0.04915667697787285, 0.04772212728857994, -0.046267732977867126, -0.0056199682876467705, 0.04249038174748421, 0.04137571528553963 ]
devcenter
https://www.mongodb.com/developer/code-examples/python/dog-care-example-app
created
## How it works The project teaches you how to set up a MongoDB database for dog care providers. It includes three main sections, including MongoDB Shell, MongoDB Atlas, and MongoDB Compass. The MongoDB Shell section demonstrates how the data can be manipulated using simple queries and the aggregation method. I'm discussing how to import data into a local cluster, create queries, and retrieve & update queries. The other two areas include an overview of MongoDB Atlas and MongoDB Compass; I also discuss querying and the aggregation framework per topic. Each section shows step-by-step instructions on how to set up the application and how also to include some data manipulation examples. As mentioned above, I created all the sample data myself, which was a ton of work! I made a spreadsheet with 2000 different lines of sample data. To do that, I had to Google dog breeds, dog names, and their temperaments. I wanted it to be close to reality.
md
{ "tags": [ "Python", "MongoDB" ], "pageDescription": " Learn MongoDB by creating a database for dog care providers!", "contentType": "Code Example" }
Example Application for Dog Care Providers (DCP)
2024-05-20T17:32:23.500Z
[ -0.03803024813532829, -0.002202673116698861, 0.027613164857029915, -0.03669954091310501, 0.021218925714492798, -0.026672158390283585, 0.003918041475117207, 0.016388019546866417, -0.008963847532868385, 0.009202348068356514, 0.021327244117856026, -0.0764559730887413, 0.047654666006565094, 0.019952287897467613, -0.01432684063911438, 0.02531006559729576, 0.003862708806991577, -0.0041437107138335705, -0.04307540878653526, 0.050186462700366974, -0.006087084766477346, -0.028818611055612564, -0.05423814803361893, -0.04030546173453331, 0.025685366243124008, 0.11380332708358765, -0.013313807547092438, -0.04668610170483589, -0.015548297204077244, -0.22259730100631714, 0.008880739100277424, -0.03951092064380646, 0.06787794828414917, -0.017772892490029335, 0.008062032982707024, 0.012281316332519054, 0.033817585557699203, 0.056561682373285294, -0.03428808972239494, 0.035132985562086105, 0.07869314402341843, -0.012193500064313412, -0.01126027386635542, -0.05733034014701843, -0.0065331109799444675, -0.06533320993185043, -0.04017157107591629, -0.03575216978788376, -0.012276176363229752, -0.05278148129582405, -0.024787137284874916, -0.06779477000236511, -0.033355388790369034, 0.004884032532572746, 0.03653765469789505, 0.060449033975601196, 0.062474776059389114, 0.03967663645744324, -0.007109937723726034, 0.0035381244961172342, 0.049036625772714615, 0.057143229991197586, -0.16873958706855774, 0.13351447880268097, 0.04481619596481323, 0.06293461471796036, -0.04895419999957085, -0.027469618245959282, 0.03774126246571541, 0.0062261964194476604, -0.028034036979079247, 0.020529180765151978, 0.028136901557445526, 0.029888316988945007, 0.03804180398583412, -0.02703547105193138, -0.005205391440540552, -0.028701310977339745, -0.0034673043992370367, -0.00971220713108778, -0.06967700272798538, -0.027630191296339035, -0.013774598948657513, 0.016996530815958977, 0.00197399384342134, -0.03677787259221077, 0.03739609196782112, -0.06831531226634979, -0.0019098600605502725, 0.01646452583372593, -0.00009063472680281848, -0.028372811153531075, 0.0074792299419641495, 0.007651449181139469, -0.06521308422088623, -0.023551153019070625, 0.02732534520328045, 0.016747385263442993, 0.0008738671313039958, 0.20902714133262634, -0.033397212624549866, 0.008071087300777435, 0.03492762893438339, -0.0479871928691864, 0.0036324358079582453, -0.03859860077500343, -0.013374768197536469, -0.04996681213378906, -0.002271245466545224, 0.030895330011844635, 0.008345764130353928, -0.020106753334403038, -0.009067200124263763, -0.10373467952013016, 0.009777383878827095, 0.02360374666750431, -0.016962461173534393, 0.0490502305328846, -0.005158861633390188, 0.0009272823226638138, 0.011394760571420193, 0.012507789768278599, 0.02474771998822689, 0.0007390880491584539, 0.05834684520959854, -0.039335090667009354, 0.04085450991988182, 0.08987941592931747, 0.007041510194540024, 0.02539660409092903, 0.05031748116016388, 0.017149150371551514, -0.09332899749279022, -0.024773163720965385, 0.018007416278123856, 0.0080964220687747, 0.005622895900160074, -0.001928882673382759, 0.04381750151515007, 0.034153833985328674, -0.00730849290266633, -0.059546031057834625, -0.022036418318748474, -0.09069959074258804, -0.048102401196956635, 0.13388092815876007, -0.021306587383151054, 0.05670047551393509, -0.08430876582860947, -0.04248987138271332, -0.006674894597381353, 0.011533471755683422, -0.022399170324206352, -0.006231747567653656, -0.030370086431503296, 0.008485694415867329, 0.048683516681194305, 0.06338748335838318, -0.04934599995613098, -0.019008932635188103, -0.04323659837245941, -0.04625190421938896, -0.02577192895114422, 0.09650151431560516, 0.009022769518196583, -0.14556893706321716, -0.0333271250128746, 0.030188309028744698, 0.03157534450292587, -0.04855850338935852, 0.011583520099520683, 0.04336851090192795, -0.05230776220560074, 0.022549565881490707, 0.05680873245000839, 0.018904849886894226, -0.03733055666089058, 0.02026021108031273, 0.010766384191811085, -0.011599566787481308, 0.06254494935274124, -0.03791617602109909, -0.06301072239875793, 0.0392555333673954, -0.03737853467464447, -0.03149956092238426, -0.019033174961805344, 0.0024542163591831923, 0.001816156436689198, 0.035882409662008286, -0.03899906575679779, 0.00916283205151558, -0.01712963730096817, -0.04237248748540878, -0.03933955356478691, -0.044951897114515305, -0.017078571021556854, -0.021255522966384888, 0.0158065278083086, -0.028342360630631447, 0.06669841706752777, 0.023126326501369476, 0.006924681831151247, 0.04429725185036659, 0.043615180999040604, 0.03892061114311218, -0.011743633076548576, -0.021330976858735085, 0.050256796181201935, 0.012367450632154942, -0.012594648636877537, 0.032527945935726166, 0.018388070166110992, -0.019409893080592155, -0.021928712725639343, 0.02981077879667282, -0.011230037547647953, 0.029431356117129326, 0.04136962071061134, 0.06385984271764755, 0.005118685774505138, -0.08334831893444061, -0.045327942818403244, -0.24325647950172424, 0.018054934218525887, 0.0021338786464184523, 0.00020086491713300347, -0.0042092204093933105, -0.030198605731129646, 0.0456366166472435, -0.0403112918138504, -0.013903269544243813, 0.08989520370960236, 0.10272461175918579, -0.015268618240952492, 0.016161547973752022, 0.0015220502391457558, -0.02078353986144066, 0.08292581140995026, 0.03052511438727379, -0.01363287027925253, -0.034567784518003464, 0.008897135965526104, 0.014989125542342663, -0.03171633929014206, -0.01118400041013956, -0.07406680285930634, 0.02735174633562565, 0.005981010850518942, 0.21148619055747986, 0.005130000878125429, -0.00796865951269865, -0.04065549001097679, 0.08542491495609283, -0.01912735588848591, -0.04446440562605858, -0.1291351020336151, 0.08364661782979965, 0.028049103915691376, 0.021799106150865555, 0.013348855078220367, -0.032285336405038834, -0.035438161343336105, -0.05252080410718918, 0.07215030491352081, 0.0009274619515053928, -0.08351937681436539, -0.04737723246216774, 0.011095667257905006, -0.025278165936470032, 0.008622684516012669, -0.057994548231363297, 0.021080438047647476, -0.012867758050560951, 0.011603089049458504, 0.018881095573306084, 0.02741917595267296, -0.056355979293584824, -0.026447277516126633, -0.059026312083005905, 0.03304775431752205, -0.03045962192118168, 0.0710669606924057, 0.004503517411649227, -0.04893213510513306, 0.04800780490040779, -0.037539951503276825, 0.06073163077235222, -0.030962178483605385, -0.03919416666030884, 0.0002809365978464484, 0.028765300288796425, -0.0644361674785614, -0.014083522371947765, 0.044576194137334824, 0.004892222583293915, 0.013800586573779583, 0.037771813571453094, 0.03358101844787598, 0.020975157618522644, -0.0446881428360939, -0.03146200627088547, -0.018824828788638115, 0.03176204115152359, -0.04222172498703003, 0.019388021901249886, 0.008695801720023155, 0.06514149159193039, 0.04043235257267952, 0.0777462050318718, -0.027950182557106018, 0.04595687985420227, -0.038642518222332, 0.01942180097103119, -0.025136146694421768, -0.021407898515462875, -0.05739612877368927, -0.004874433856457472, 0.03518184646964073, -0.27428364753723145, 0.03830551728606224, -0.010177922435104847, 0.030925540253520012, -0.0008212511311285198, 0.022638097405433655, 0.05213196948170662, 0.025571882724761963, 0.005741582252085209, -0.01387106068432331, 0.047085877507925034, 0.032828014343976974, 0.024682974442839622, -0.01108470093458891, 0.009031804278492928, 0.039943594485521317, 0.006616201717406511, -0.0253781508654356, 0.049351319670677185, -0.04724249243736267, 0.049503643065690994, 0.02363700419664383, 0.22195325791835785, -0.008176811039447784, 0.045232728123664856, 0.059312883764505386, -0.011032174341380596, 0.012982532382011414, 0.07006096094846725, 0.004443239886313677, 0.03271430358290672, -0.03570695221424103, 0.09595022350549698, -0.018649913370609283, 0.03862559795379639, 0.06069551780819893, -0.059589285403490067, 0.062858447432518, 0.025277029722929, -0.023562923073768616, -0.04403705149888992, 0.01710658334195614, 0.01783629320561886, -0.0055426000617444515, 0.090800940990448, -0.040256112813949585, -0.06161098927259445, -0.07361888885498047, 0.024127984419465065, 0.01933027058839798, -0.05703718215227127, -0.07205206900835037, -0.02109978161752224, -0.009383171796798706, 0.007351784035563469, 0.03610077500343323, 0.001675217179581523, 0.0015643836231902242, -0.046032585203647614, -0.060107287019491196, 0.035290807485580444, -0.08094341307878494, 0.012939106673002243, 0.05029749497771263, 0.029897157102823257 ]
devcenter
https://www.mongodb.com/developer/code-examples/python/dog-care-example-app
created
## Challenges and learning When I started working with MongoDB, the first big thing that I had to get over was the braces everywhere. So it was quite challenging for me to understand where the query finishes. But I’ve been reading a lot of documentation, and creating this guide gave me quite a good understanding of the basics of MongoDB. I learned a lot about the technical side of databases because I was never familiar with them; I even had no idea how it works. Using MongoDB and learning about MongoDB, and using MongoDB was a great experience. When I had everything set up: the MongoDB shell, Compass, and Atlas, I could see how that information is moving between all these different environments, and that was awesome. I think it worked quite well. I hope that my guide will be valuable for new learners. It demonstrates that users like me, who had no prior skills in using MongoDB, can quickly become MongoDB developers.
md
{ "tags": [ "Python", "MongoDB" ], "pageDescription": " Learn MongoDB by creating a database for dog care providers!", "contentType": "Code Example" }
Example Application for Dog Care Providers (DCP)
2024-05-20T17:32:23.500Z
[ -0.08073952794075012, 0.016111226752400398, 0.022742534056305885, -0.02772919088602066, 0.031608451157808304, -0.007856469601392746, 0.018731724470853806, 0.02807675674557686, -0.024212004616856575, -0.018364524468779564, -0.0006483024917542934, -0.03308921679854393, 0.033242009580135345, 0.03138059005141258, 0.0013567273272201419, 0.02243141643702984, -0.029374361038208008, 0.013754121959209442, -0.04989510402083397, 0.01278665754944086, 0.018881838768720627, -0.004133838228881359, -0.03910408914089203, -0.06363652646541595, 0.017894301563501358, 0.09859832376241684, -0.004605279769748449, -0.039208557456731796, -0.019549855962395668, -0.2690281271934509, 0.007454549428075552, -0.034266285598278046, 0.06685643643140793, -0.03566012531518936, -0.013691302388906479, -0.0052222697995603085, 0.012595722451806068, 0.05154665559530258, -0.017532888799905777, 0.048269134014844894, 0.052564915269613266, -0.007420285604894161, 0.006161706056445837, -0.07451455295085907, -0.03022683598101139, -0.06994356960058212, -0.03348949924111366, -0.024890240281820297, -0.0006758536910638213, -0.059062935411930084, -0.05779750645160675, -0.04595210403203964, -0.034217990934848785, 0.02193429321050644, 0.009544954635202885, 0.04713238775730133, 0.07471722364425659, 0.06882836669683456, 0.003795007476583123, 0.002800960326567292, 0.046027567237615585, 0.012267479673027992, -0.16751763224601746, 0.10828357189893723, 0.048076048493385315, 0.0547056719660759, -0.045060109347105026, 0.0011413992615416646, 0.01777251437306404, 0.012818851508200169, -0.03032500483095646, 0.010329541750252247, 0.01590871252119541, 0.046786919236183167, 0.013960522599518299, -0.00482944305986166, 0.004204501397907734, -0.04404987767338753, 0.004978837911039591, 0.001146555645391345, -0.04179021716117859, -0.016444014385342598, -0.008538070134818554, -0.014873194508254528, -0.013329543173313141, -0.04428394138813019, 0.02957218885421753, -0.05452057719230652, 0.01770622469484806, 0.015927527099847794, 0.02884272299706936, -0.0179868433624506, 0.01179515477269888, 0.01244416180998087, -0.07278960198163986, -0.04492810368537903, 0.028232527896761894, 0.028261374682188034, -0.015365478582680225, 0.1997353434562683, -0.01944076083600521, 0.007210810203105211, 0.015783803537487984, -0.016144296154379845, 0.01152784563601017, -0.03791224956512451, 0.01329239271581173, -0.0532422699034214, 0.01178194023668766, 0.011620095930993557, -0.010322272777557373, -0.034013763070106506, 0.007853543385863304, -0.07468190789222717, 0.00006215227767825127, 0.025198156014084816, 0.023916954174637794, 0.04082249477505684, -0.009304916486144066, 0.024428773671388626, -0.013183627277612686, 0.044521208852529526, 0.05300195887684822, 0.03680641949176788, 0.0358867347240448, -0.043818168342113495, 0.051000259816646576, 0.08457179367542267, 0.034198809415102005, 0.04564675688743591, 0.0380483940243721, 0.01285350788384676, -0.08059056848287582, -0.011676630936563015, 0.014179381541907787, 0.024954741820693016, -0.0021605973597615957, 0.00619661808013916, 0.04716440662741661, 0.027256464585661888, -0.04244745522737503, -0.0482005774974823, -0.03384605795145035, -0.07016663253307343, -0.045027587562799454, 0.11670292913913727, -0.04082569479942322, 0.06010698527097702, -0.06934169679880142, -0.04513702541589737, 0.0037813216913491488, 0.0225739274173975, -0.031009243801236153, -0.0375850647687912, -0.004240323789417744, 0.006399586331099272, 0.06316670030355453, 0.07800665497779846, -0.08079322427511215, -0.04336921125650406, -0.028484996408224106, -0.030365142971277237, -0.031199699267745018, 0.07776734232902527, 0.03556248918175697, -0.14716878533363342, -0.0005034885252825916, 0.03649934381246567, 0.0028830384835600853, -0.02931945212185383, 0.023986995220184326, 0.03455865755677223, -0.051724690943956375, 0.023977311328053474, 0.10762919485569, 0.021425699815154076, -0.042824842035770416, -0.003780543804168701, -0.00121729273814708, -0.02765524946153164, 0.014486432075500488, -0.03964182361960411, -0.030673673376441002, 0.04330122843384743, -0.007860244251787663, -0.046633511781692505, -0.021930478513240814, -0.02564872056245804, 0.03479529172182083, 0.04734840616583824, 0.006099558901041746, -0.0007822246989235282, -0.03416050970554352, 0.0011412345338612795, -0.05815720558166504, -0.0463683120906353, 0.015127085149288177, -0.02559509687125683, 0.021365713328123093, -0.046699315309524536, 0.06819465011358261, 0.04256147891283035, -0.020951857790350914, 0.04016854986548424, -0.009372750297188759, 0.004755360074341297, -0.011910474859178066, -0.041059840470552444, 0.04264317825436592, -0.01619233936071396, -0.02911572903394699, 0.0209013931453228, 0.008342284709215164, -0.018896745517849922, -0.016399594023823738, -0.02975895069539547, 0.045614093542099, 0.059582725167274475, -0.006407330743968487, 0.04524355009198189, 0.013729133643209934, -0.0712977796792984, -0.056314609944820404, -0.23761345446109772, -0.004998554941266775, -0.006986219435930252, 0.028929345309734344, -0.0013817939907312393, -0.043815262615680695, 0.03367314860224724, -0.04186125844717026, -0.02749272808432579, 0.035825300961732864, 0.06807281821966171, -0.043120790272951126, 0.01773037016391754, -0.0007574754999950528, -0.028160633519291878, 0.042431678622961044, 0.03832012042403221, 0.004909448325634003, -0.056170590221881866, 0.00007262117287609726, 0.01933019980788231, 0.005460893269628286, 0.0014008694561198354, -0.09374658018350601, 0.007496426347643137, 0.017266379669308662, 0.2036421298980713, 0.036876458674669266, -0.0036185800563544035, -0.07066743075847626, 0.07275060564279556, -0.007900964468717575, -0.010674860328435898, -0.1196773499250412, 0.0586538091301918, 0.01515818852931261, 0.04802815988659859, -0.0037691514007747173, -0.02866913564503193, -0.06789489835500717, -0.024453913792967796, 0.05014639347791672, 0.02504429779946804, -0.05207948014140129, -0.048041731119155884, -0.049035459756851196, -0.03475998714566231, 0.008090115152299404, -0.04248013719916344, 0.05213208124041557, -0.0074241794645786285, 0.0441206619143486, 0.03915238007903099, 0.01029269304126501, -0.05178765207529068, -0.053419098258018494, -0.0892694890499115, 0.020786557346582413, -0.029459381476044655, 0.08310097455978394, -0.006320561747997999, -0.04407009109854698, 0.04283322021365166, -0.046835582703351974, 0.03974344953894615, 0.0032331934198737144, -0.03151172026991844, 0.014219729229807854, 0.023485299199819565, -0.0860384926199913, -0.00990214105695486, 0.03087424486875534, -0.01845616102218628, -0.00877708476036787, 0.03291141986846924, 0.041892509907484055, 0.025695227086544037, -0.023991432040929794, -0.01140528079122305, -0.04125841334462166, 0.03174322471022606, -0.03444237634539604, 0.05145372077822685, 0.02181628905236721, 0.04138496145606041, 0.04045405983924866, 0.09125931560993195, -0.034376390278339386, 0.035295963287353516, -0.022833578288555145, -0.0074151805602014065, -0.034113503992557526, -0.03653095290064812, -0.06834938377141953, 0.03245694190263748, -0.011432490311563015, -0.2828344404697418, 0.04019230231642723, 0.02128218114376068, 0.03692776709794998, 0.01665891520678997, 0.045578524470329285, 0.06769269704818726, 0.00011756811727536842, 0.0017240152228623629, 0.004616072867065668, 0.041785385459661484, 0.019220195710659027, 0.0073575787246227264, -0.014116507023572922, 0.010623021051287651, 0.05565595254302025, 0.02909589372575283, -0.02150873653590679, 0.037777554243803024, 0.001156000653281808, 0.0264335498213768, 0.08217204362154007, 0.22692209482192993, 0.014711827039718628, 0.026518868282437325, 0.049336500465869904, -0.003745171008631587, 0.015055294148623943, 0.06881299614906311, 0.02051425352692604, 0.0033267636317759752, 0.015878740698099136, 0.10548793524503708, -0.012827014550566673, 0.04487728327512741, 0.0774843618273735, -0.05206230282783508, 0.05061635375022888, 0.020187856629490852, -0.050966933369636536, -0.05574416369199753, 0.035860326141119, 0.00562702864408493, 0.03611617535352707, 0.09697742760181427, -0.06628802418708801, -0.056322842836380005, -0.09208965301513672, 0.019732734188437462, 0.014571590349078178, -0.056156791746616364, -0.04681415855884552, -0.0031249900348484516, 0.0029805211815983057, 0.01435124408453703, 0.04956487938761711, -0.004744325298815966, -0.009264864958822727, -0.05097225680947304, -0.04651529714465141, 0.03613608330488205, -0.053749118000268936, 0.02330331690609455, 0.029997996985912323, 0.03260919079184532 ]
devcenter
https://www.mongodb.com/developer/code-examples/python/dog-care-example-app
created
Access the complete report, which includes the queries you need - here.
md
{ "tags": [ "Python", "MongoDB" ], "pageDescription": " Learn MongoDB by creating a database for dog care providers!", "contentType": "Code Example" }
Example Application for Dog Care Providers (DCP)
2024-05-20T17:32:23.500Z
[ -0.011670069769024849, 0.001684882096014917, 0.02273530513048172, -0.0020611488725990057, 0.0173810962587595, 0.04146561026573181, 0.03775247931480408, 0.05070570856332779, -0.012176265008747578, 0.031127506867051125, -0.007994591258466244, -0.043679725378751755, 0.05251575633883476, 0.015666281804442406, 0.017403772100806236, 0.0030851862393319607, -0.01070321910083294, 0.004768695216625929, -0.010985714383423328, 0.04045230895280838, 0.009144539944827557, -0.018209116533398628, -0.005296766292303801, -0.0460471510887146, 0.004017484840005636, 0.043569788336753845, -0.037627212703228, -0.042376551777124405, -0.05155071243643761, -0.18084032833576202, -0.03377451002597809, -0.037993863224983215, 0.04467982426285744, -0.03385796397924423, -0.013249732553958893, -0.04484162479639053, -0.0023246530909091234, 0.033292658627033234, 0.032157886773347855, 0.03063076362013817, 0.06758257746696472, -0.015260979533195496, -0.01066163182258606, -0.04542332887649536, -0.04494985565543175, -0.044663816690444946, 0.018388552591204643, 0.025154203176498413, 0.05076424032449722, -0.0503455214202404, 0.012072993442416191, -0.04039207473397255, 0.010531717911362648, 0.028165167197585106, 0.027799103409051895, 0.056042347103357315, 0.06985682249069214, 0.012265002354979515, 0.038906030356884, -0.007836473174393177, 0.04073019698262215, 0.026707123965024948, -0.2619723379611969, 0.06152081489562988, -0.005261634010821581, 0.05080801993608475, -0.044272907078266144, -0.0034315537195652723, 0.048690084367990494, 0.022381218150258064, -0.06904692947864532, 0.01674342155456543, 0.041843678802251816, 0.04594169184565544, 0.017933929339051247, -0.028453726321458817, 0.0028912427369505167, -0.023121526464819908, 0.00029714111587964, 0.0056783538311719894, -0.012560737319290638, 0.007926734164357185, -0.020878974348306656, -0.021998291835188866, -0.022659847512841225, -0.06256204843521118, 0.031193796545267105, -0.016108814626932144, 0.08323822170495987, 0.02887042611837387, 0.010343830101191998, -0.04750249907374382, -0.013449556194245815, 0.044214192777872086, -0.06744097918272018, -0.004249595105648041, 0.04777706041932106, -0.020311277359724045, -0.012147592380642891, 0.20604455471038818, -0.04207637533545494, 0.045910585671663284, 0.05465187877416611, -0.02811465784907341, -0.011588971130549908, -0.00622316962108016, 0.020828580483794212, -0.04995494335889816, -0.008389614522457123, 0.03169587627053261, -0.00376532063819468, -0.038229476660490036, 0.03784269839525223, -0.02520223706960678, 0.01045497227460146, 0.03766787052154541, 0.016367537900805473, 0.004749315790832043, -0.010686703957617283, 0.026297753676772118, -0.0005616374546661973, 0.010897248983383179, 0.027119571343064308, 0.0012374232755973935, 0.07235240936279297, -0.043405305594205856, 0.046119559556245804, 0.10783963650465012, 0.04292033240199089, 0.009570869617164135, 0.03849666565656662, -0.03510871157050133, -0.11031190305948257, 0.002274236874654889, -0.02349601872265339, -0.03814697265625, 0.06493502110242844, 0.005897775292396545, 0.0673917904496193, -0.015718385577201843, -0.05466441065073013, -0.11713861674070358, -0.03046787902712822, -0.11526224762201309, -0.05829032510519028, 0.14155104756355286, -0.07663869112730026, 0.02652091160416603, -0.05270608142018318, -0.026600932702422142, -0.01937456615269184, 0.08587691187858582, 0.00830493588000536, -0.05419481545686722, -0.009115648455917835, 0.030288925394415855, 0.02706584520637989, 0.04782372713088989, -0.03689757362008095, -0.008930881507694721, -0.011586258187890053, -0.08564534038305283, -0.029282229021191597, 0.128658264875412, 0.06056293845176697, -0.09529779851436615, -0.045479051768779755, 0.06189600005745888, -0.016190961003303528, -0.019974373281002045, 0.03224252909421921, 0.01745288260281086, -0.047684550285339355, -0.008766110055148602, 0.07013241201639175, -0.02253011055290699, 0.008998801000416279, 0.022229919210076332, 0.012621305882930756, -0.0009147815289907157, 0.024197805672883987, -0.0515400730073452, -0.044364575296640396, 0.06874936819076538, 0.020731130614876747, -0.0721074640750885, -0.023203745484352112, -0.03200196102261543, 0.03187024965882301, 0.007512364070862532, -0.009365139529109001, -0.008995193988084793, -0.0452621765434742, 0.005499068181961775, -0.02179843932390213, -0.03145541623234749, -0.0339566208422184, -0.036703016608953476, 0.003747164737433195, -0.047974444925785065, 0.09887494891881943, 0.023746617138385773, -0.03100118227303028, 0.05006038025021553, 0.009604999795556068, 0.0501658096909523, -0.05869089812040329, 0.019442051649093628, 0.0728483647108078, -0.012667762115597725, -0.030154651030898094, 0.0066632963716983795, 0.06910909712314606, 0.005457927007228136, -0.026378169655799866, -0.011476627551019192, 0.028575170785188675, 0.016324304044246674, -0.02808227948844433, 0.04827328026294708, 0.020583096891641617, -0.03311607241630554, -0.05168772116303444, -0.27144259214401245, 0.015072164125740528, 0.011568503454327583, 0.008428492583334446, 0.0007140676607377827, -0.07810530066490173, 0.04544031620025635, -0.035439711064100266, -0.009179605171084404, 0.07932348549365997, 0.1130102351307869, 0.030446399003267288, -0.0677432045340538, -0.0000912537652766332, 0.009127623401582241, 0.05954045429825783, 0.017687572166323662, 0.02047334797680378, -0.05230032280087471, 0.009978950023651123, -0.016638711094856262, 0.001773159485310316, -0.04545671492815018, -0.04003072530031204, 0.037171535193920135, -0.021469665691256523, 0.18646679818630219, 0.0123132998123765, 0.0031345936004072428, -0.04988984391093254, 0.028719061985611916, -0.00411340594291687, -0.04110768064856529, -0.13738572597503662, 0.020361455157399178, 0.021871641278266907, -0.014514119364321232, 0.0017359040211886168, -0.02273642271757126, -0.022047359496355057, -0.03681180253624916, 0.04064035043120384, -0.049864817410707474, -0.04251904413104057, 0.04935404658317566, -0.06140695884823799, -0.003071226179599762, -0.04421921446919441, -0.060792870819568634, 0.03801887109875679, 0.01583481766283512, -0.023672781884670258, 0.052223753184080124, 0.02371409349143505, 0.009466558694839478, -0.039030883461236954, -0.07770151644945145, 0.004851911216974258, -0.0051246085204184055, 0.06529958546161652, -0.004000786226242781, -0.001032350119203329, 0.012159965001046658, -0.0537632554769516, 0.03402058407664299, 0.005965073127299547, -0.038475070148706436, 0.005111788399517536, 0.06166766956448555, -0.06103301793336868, -0.04142073914408684, 0.030724424868822098, -0.03861555457115173, -0.01652464084327221, 0.007889129221439362, 0.04262179881334305, 0.07131890952587128, -0.04674776643514633, 0.013069459237158298, -0.04397403448820114, 0.05131300911307335, -0.05453095585107803, 0.03451108559966087, 0.008556880988180637, 0.011569295078516006, 0.039820458739995956, 0.05523616820573807, -0.028738951310515404, 0.0450604148209095, -0.03516687825322151, -0.026773173362016678, -0.0035106774885207415, -0.026660991832613945, -0.03011288307607174, 0.0029260325245559216, 0.023812847211956978, -0.2571449875831604, 0.04730549827218056, 0.012682982720434666, 0.0032569465693086386, 0.015069324523210526, -0.010868729092180729, 0.05322539806365967, 0.06149843707680702, -0.018543804064393044, 0.04777950048446655, 0.04617632180452347, 0.032706744968891144, -0.010068051517009735, -0.06251639127731323, -0.01581002213060856, 0.02288127690553665, 0.10050138086080551, -0.038300830870866776, 0.031101591885089874, -0.011035940609872341, 0.04086480289697647, 0.017932621762156487, 0.19095367193222046, -0.022868942469358444, 0.014705799520015717, 0.010154511779546738, -0.01553174015134573, -0.025119461119174957, 0.010576251894235611, 0.00010127124551218003, 0.06858742982149124, -0.004162108525633812, 0.06889357417821884, -0.0067585911601781845, 0.01813174970448017, 0.06247737631201744, -0.06496562063694, 0.08182510733604431, 0.029695456847548485, -0.004327659960836172, -0.05281752720475197, 0.016659576445817947, -0.03970252349972725, 0.008277015760540962, 0.0878511592745781, 0.005738349631428719, -0.08644724637269974, -0.06885968148708344, -0.001087886979803443, 0.016745401546359062, -0.05510217323899269, -0.036871276795864105, 0.003912692423909903, 0.021769434213638306, 0.013177130371332169, 0.020267033949494362, -0.010101462714374065, -0.021666571497917175, -0.014094722457230091, -0.012693347409367561, -0.02511308342218399, -0.04047396779060364, 0.023090893402695656, 0.026008963584899902, 0.05791277065873146 ]
devcenter
https://www.mongodb.com/developer/products/mongodb/leafsteroidsresources
created
# Leafsteroid Resources Leafsteroids is a MongoDB Demo showing the following services and integrations ------------------------------------------------------------------------ **Atlas App Services** All in one backend. Atlas App Services offers a full-blown REST service using Atlas Functions and HTTPS endpoints. **Atlas Search** Used to find the player nickname in the Web UI. **Atlas Charts** Event & personalized player dashboards accessible over the web. Built-in visualization right with your data. No additional tools required. **Document Model** Every game run is a single document demonstrating rich documents and “data that works together lives together”, while other data entities are simple collections (configuration). **AWS Beanstalk** Hosts the Blazor Server Application (website). **AWS EC2** Used internally by AWS Beanstalk. Used to host our Python game server. **AWS S3** Used internally by AWS Beanstalk.
md
{ "tags": [ "MongoDB" ], "pageDescription": "", "contentType": "Tutorial" }
Leafsteroid Resources
2024-05-20T17:32:23.500Z
[ -0.026094362139701843, -0.04921271279454231, 0.037323854863643646, -0.0299040786921978, 0.0705348402261734, -0.04460279271006584, -0.02254570834338665, 0.027888087555766106, -0.01923629269003868, -0.0016965757822617888, 0.0184225644916296, -0.071848064661026, 0.059057142585515976, 0.0400724895298481, 0.00437071593478322, -0.04342217370867729, -0.026989039033651352, -0.009313307702541351, -0.04375355318188667, 0.000025546767574269325, 0.011182322166860104, -0.0269267950206995, -0.022833041846752167, -0.06285865604877472, 0.003122264752164483, 0.04382132738828659, -0.07430806756019592, -0.03947918862104416, -0.013412544503808022, -0.18486498296260834, -0.0001120356100727804, -0.03657965362071991, 0.04244266822934151, -0.021181251853704453, -0.023150479421019554, -0.009265314787626266, -0.012549147009849548, 0.034847136586904526, -0.010546327568590641, -0.009769425727427006, 0.06143148988485336, 0.014580157585442066, -0.04085458070039749, -0.044002465903759, -0.03833770379424095, -0.05970294401049614, -0.025223955512046814, 0.02141684852540493, 0.005736104678362608, -0.028090253472328186, -0.005494928453117609, -0.05938412621617317, 0.0021462312433868647, 0.006000655237585306, 0.022586630657315254, 0.07473455369472504, 0.07468221336603165, 0.08193496614694595, 0.034335702657699585, 0.0233444944024086, 0.048969756811857224, 0.006764418911188841, -0.1549803465604782, 0.1149364709854126, 0.039938658475875854, 0.06730086356401443, -0.06361071020364761, -0.004776620306074619, 0.06968506425619125, 0.004586464259773493, -0.003159585176035762, 0.03317641839385033, 0.03782714158296585, 0.05128692463040352, -0.007363449782133102, 0.013237315230071545, -0.03572466969490051, -0.06661409884691238, 0.006941878702491522, 0.013615818694233894, -0.031118830665946007, -0.016780368983745575, 0.0031226081773638725, 0.04460211098194122, -0.022802945226430893, -0.03544149175286293, 0.008367389440536499, -0.03944441303610802, 0.03248419985175133, 0.04109296575188637, -0.00722575094550848, 0.00967386830598116, 0.027140052989125252, 0.03431309014558792, -0.0898333191871643, -0.008367066271603107, 0.004111852031201124, 0.03217735141515732, -0.01142046693712473, 0.25250697135925293, -0.02782507985830307, 0.0031819038558751345, 0.030523382127285004, -0.030384114012122154, 0.017011918127536774, -0.05202057585120201, -0.014275574125349522, -0.06078878417611122, -0.02025861293077469, 0.0439256951212883, 0.010585772804915905, -0.05520160123705864, 0.00036634886055253446, -0.021174870431423187, 0.02534317970275879, -0.014276750385761261, 0.03215375542640686, 0.02602674625813961, -0.01988261751830578, -0.008954523131251335, -0.000736885704100132, 0.08131693303585052, 0.06247560679912567, 0.014858381822705269, 0.05734875798225403, -0.023751432076096535, 0.04891931638121605, 0.08141183853149414, -0.004590188153088093, 0.02652571350336075, 0.04648604243993759, 0.08194688707590103, -0.05495071783661842, 0.014944357797503471, -0.0039012350607663393, -0.016792556270956993, 0.01464436762034893, -0.031571123749017715, 0.006808219011873007, 0.04905308783054352, -0.055526044219732285, -0.07562375068664551, 0.00016103830421343446, -0.11653324216604233, -0.07755214720964432, 0.09221704304218292, 0.005820660386234522, 0.08199340105056763, -0.048228781670331955, 0.005337247624993324, 0.018889296799898148, 0.038539428263902664, -0.028793785721063614, 0.013651331886649132, 0.007979263551533222, 0.011083219200372696, 0.0640747994184494, 0.07227113097906113, -0.025972185656428337, 0.023228762671351433, -0.007623255718499422, -0.013080242089927197, -0.02546624466776848, 0.09717556834220886, -0.007245417218655348, -0.1742064207792282, -0.011080188676714897, 0.01525907777249813, 0.00750529021024704, -0.028711901977658272, -0.025321030989289284, 0.020751766860485077, -0.049597110599279404, -0.01782623492181301, 0.08927632123231888, -0.002413924317806959, -0.04531846567988396, -0.0032784915529191494, 0.03080086223781109, -0.01626105234026909, 0.02208128198981285, -0.040069617331027985, 0.002329838229343295, 0.022298302501440048, -0.02845296636223793, -0.011793797835707664, -0.03791827708482742, -0.04055686295032501, 0.003370036371052265, 0.013453147374093533, -0.013461761176586151, -0.009319201111793518, 0.017516260966658592, -0.06298889219760895, -0.029806120321154594, -0.04875405877828598, -0.020643793046474457, -0.01891467161476612, 0.06298916041851044, -0.04067212715744972, 0.09961096197366714, 0.014840826392173767, -0.0011364641832187772, 0.047359365969896317, 0.038284022361040115, 0.030509909614920616, -0.0256350040435791, -0.023087507113814354, 0.06238013878464699, -0.024635694921016693, -0.02149537019431591, -0.00298692868091166, 0.06413275748491287, 0.023600773885846138, -0.03603241592645645, 0.007837128825485706, 0.02251887507736683, 0.04976685345172882, -0.017311258241534233, 0.05001838505268097, 0.002484820783138275, -0.04382125288248062, -0.08520469814538956, -0.2527463734149933, -0.030744796618819237, -0.017557848244905472, -0.004567182157188654, 0.00504066189751029, -0.015871679410338402, 0.03401365131139755, -0.010054918006062508, -0.003442540531978011, 0.050451457500457764, 0.09012797474861145, 0.004484318196773529, -0.015844829380512238, -0.04194784164428711, -0.04014276713132858, 0.04986027628183365, -0.008424416184425354, 0.0200079083442688, -0.031486500054597855, 0.005069072358310223, 0.04982732608914375, -0.02723470889031887, -0.00812139455229044, -0.06990744918584824, 0.0010033284779638052, 0.011961727403104305, 0.20209622383117676, 0.015783367678523064, 0.007666356395930052, -0.03261658549308777, 0.047330342233181, 0.009700137190520763, 0.002442947356030345, -0.10187080502510071, 0.04361473768949509, -0.0017111535416916013, 0.01894870586693287, -0.02057270146906376, -0.0060079460963606834, -0.052007049322128296, -0.05705084279179573, 0.053271230310201645, 0.0035389987751841545, -0.11123369634151459, -0.02683284506201744, -0.010043988935649395, -0.034404970705509186, -0.011328295804560184, -0.04590396583080292, 0.01097266934812069, -0.01015701424330473, 0.04036955535411835, 0.05625292286276817, 0.029449457302689552, -0.028286781162023544, -0.03415156155824661, -0.06406731903553009, 0.04343685507774353, -0.037943314760923386, 0.052981920540332794, -0.0159621424973011, -0.02661944180727005, 0.012926416471600533, -0.05461856350302696, 0.06428845226764679, -0.014201448298990726, -0.0054713147692382336, -0.01964755170047283, 0.002132897265255451, -0.07936619222164154, 0.023152824491262436, 0.04197048023343086, -0.025341659784317017, 0.016548462212085724, 0.04543173685669899, 0.033909060060977936, 0.03204631805419922, -0.009168754331767559, -0.026997335255146027, -0.03233417123556137, 0.03309248015284538, -0.00399114890024066, 0.04108816012740135, 0.029992401599884033, 0.04261038079857826, 0.030486632138490677, 0.02648908458650112, -0.028905007988214493, 0.043228890746831894, -0.024749990552663803, -0.007133651524782181, 0.017191601917147636, -0.0533159002661705, -0.029165372252464294, 0.05155099183320999, -0.0013389487285166979, -0.3064121603965759, 0.05271342769265175, 0.023825107142329216, -0.019140800461173058, -0.041864730417728424, 0.02444373443722725, 0.024981657043099403, 0.051773812621831894, -0.017043031752109528, 0.01537264883518219, 0.05164483189582825, 0.014631431549787521, 0.0342605821788311, 0.0022477225866168737, -0.02039569430053234, 0.05469585582613945, 0.0929473415017128, -0.06806036829948425, 0.031246675178408623, -0.028081513941287994, 0.03750350698828697, -0.004949032329022884, 0.23028625547885895, -0.01308500673621893, 0.013155805878341198, 0.0814117044210434, 0.0011248306836932898, 0.03533295542001724, 0.05043204873800278, -0.00658706109970808, -0.0025435714051127434, -0.0024343563709408045, 0.07950519025325775, -0.00825086236000061, 0.026030803099274635, 0.0314721018075943, -0.013765470124781132, 0.04192933067679405, 0.04106372967362404, -0.024296147748827934, -0.05948559567332268, 0.0038791627157479525, -0.03604484722018242, -0.023188145831227303, 0.06625751405954361, -0.04775494709610939, -0.04150594398379326, -0.029993051663041115, -0.028530484065413475, 0.0007638050592504442, -0.06842641532421112, -0.020383598282933235, -0.02906925044953823, -0.022236447781324387, 0.03224503621459007, 0.02421743795275688, -0.049231529235839844, 0.004131319001317024, -0.03395148739218712, -0.03698909655213356, 0.0347229540348053, -0.12073854357004166, 0.0013474486768245697, 0.04739823564887047, 0.04804254323244095 ]
devcenter
https://www.mongodb.com/developer/products/mongodb/leafsteroidsresources
created
**AWS S3** Used internally by AWS Beanstalk. **AWS Private Cloud** Private VPN connection between AWS and MongoDB. **At a MongoDB .local Event and want to register to play Leafsteroids? Register Here** You can build & play Leafsteroids yourself with the following links ## Development Resources |Resource| Link| |---|---| |Github Repo |Here| |MongoDB TV Livestream |Here| |MongoDB & AWS |Here| |MongoDB on the AWS Marketplace |Here|
md
{ "tags": [ "MongoDB" ], "pageDescription": "", "contentType": "Tutorial" }
Leafsteroid Resources
2024-05-20T17:32:23.500Z
[ 0.01239380706101656, -0.07263623923063278, 0.0013125673867762089, -0.026878532022237778, 0.07820390909910202, -0.011997164227068424, 0.02472584694623947, 0.020452357828617096, -0.005557980854064226, 0.03173254057765007, 0.034861087799072266, -0.06892214715480804, 0.08139581233263016, -0.009213442914187908, 0.005969208665192127, -0.03469688817858696, -0.022742832079529762, -0.0077144065871834755, -0.061135344207286835, 0.03537717089056969, 0.02232908271253109, -0.01999819464981556, -0.03638417646288872, -0.056565914303064346, 0.006066963076591492, 0.03779168054461479, -0.05127057433128357, -0.052096348255872726, -0.03269488736987114, -0.15821480751037598, -0.02595025673508644, -0.07717812806367874, 0.028984161093831062, -0.016243381425738335, -0.027095535770058632, -0.051146574318408966, 0.018863966688513756, 0.020435651764273643, -0.032978154718875885, 0.006884531583636999, 0.03623684495687485, 0.021790992468595505, -0.03152855858206749, -0.04756708815693855, -0.0625639259815216, -0.06546428799629211, 0.001984691945835948, 0.004842236638069153, 0.0063483938574790955, -0.04046062380075455, 0.013356381095945835, -0.03720990568399429, 0.014473170973360538, -0.008108572103083134, 0.026738325133919716, 0.07633887231349945, 0.04249652847647667, 0.07001738250255585, 0.013806560076773167, 0.00283468677662313, 0.04791126027703285, 0.04108116775751114, -0.21175707876682281, 0.09401969611644745, 0.03776160255074501, 0.08665581047534943, -0.03203098475933075, -0.011898724362254143, 0.07075989246368408, -0.012819533236324787, -0.0396384559571743, 0.028302837163209915, 0.04412974417209625, 0.053985558450222015, -0.0006106439977884293, 0.023016897961497307, -0.0335959792137146, -0.03829466551542282, -0.0052993642166256905, 0.005555571988224983, -0.027747632935643196, -0.013903746381402016, -0.02710670791566372, 0.018465138971805573, -0.0009129759855568409, -0.05548672750592232, 0.02357529103755951, -0.03679138794541359, -0.0012667268747463822, 0.04278649389743805, -0.07744359225034714, 0.010254878550767899, 0.010783921927213669, 0.025833187624812126, -0.08139222860336304, -0.00920070055872202, 0.0062886918894946575, 0.010023379698395729, -0.03456240892410278, 0.23581765592098236, -0.06231208145618439, 0.02482638880610466, -0.01913689635694027, -0.0048838029615581036, 0.04142506420612335, -0.020852643996477127, -0.031328074634075165, -0.0525197759270668, -0.016992179676890373, 0.023527706041932106, 0.01321727130562067, -0.0699741467833519, 0.0019228124292567372, -0.03356820344924927, 0.01810361258685589, 0.03829381614923477, 0.0270476546138525, 0.04921434074640274, 0.012765113264322281, -0.0020219781436026096, 0.004608954302966595, 0.07249193638563156, 0.07071130722761154, -0.008592573925852776, 0.07030940800905228, -0.044530585408210754, 0.05448152497410774, 0.08461668342351913, -0.01356129813939333, 0.047787800431251526, 0.03525571525096893, 0.023068629205226898, -0.06016877293586731, 0.009012785740196705, 0.011307813227176666, 0.015953082591295242, -0.031085729598999023, -0.02295742742717266, 0.02450568974018097, 0.005293425638228655, -0.04776725545525551, -0.08692490309476852, 0.019305499270558357, -0.09504221379756927, -0.06089328974485397, 0.05620459094643593, 0.011398139409720898, 0.07507041841745377, -0.0530700720846653, -0.0157039575278759, 0.027180595323443413, 0.026503492146730423, -0.005551497917622328, -0.012536553665995598, 0.023227229714393616, -0.017288142815232277, 0.05675139278173447, 0.09323146939277649, -0.03276437520980835, -0.0002480986004229635, -0.031633589416742325, -0.024628538638353348, -0.02840610034763813, 0.09071076661348343, 0.02231260947883129, -0.17398430407047272, 0.024393292143940926, 0.03128785267472267, 0.02534959651529789, -0.030204039067029953, -0.02754344791173935, 0.047458797693252563, -0.04249252751469612, -0.00722073158249259, 0.07226305454969406, 0.02203701063990593, -0.06691661477088928, -0.008549449034035206, 0.018664151430130005, 0.0022091015707701445, -0.0029942903202027082, -0.033123619854450226, 0.01565643586218357, 0.027303392067551613, -0.023647025227546692, -0.034216172993183136, -0.03924911469221115, -0.02937493659555912, 0.034927964210510254, 0.011097175069153309, -0.03920494019985199, 0.02569093368947506, -0.006708608008921146, -0.023605352267622948, -0.0157772246748209, -0.03296734392642975, -0.03413040563464165, -0.008426962420344353, 0.06778018921613693, -0.026173356920480728, 0.10809197276830673, 0.03384747728705406, -0.003957703243941069, 0.019382193684577942, 0.00048704224172979593, 0.04481569305062294, 0.007488528732210398, -0.017921986058354378, 0.027070356532931328, -0.0222603902220726, -0.030440030619502068, 0.053548507392406464, 0.03268028795719147, -0.00456900242716074, -0.051070164889097214, 0.0028125832322984934, 0.009530440904200077, 0.02591414749622345, 0.0051131583750247955, 0.04010885953903198, -0.003455043537542224, -0.025154784321784973, -0.07241659611463547, -0.24532772600650787, -0.036009855568408966, 0.00562245724722743, -0.015990741550922394, 0.038467589765787125, 0.0006727572763338685, 0.015171322040259838, 0.0018068719655275345, 0.01831846311688423, 0.02713029645383358, 0.10755234956741333, -0.010433957912027836, 0.022330276668071747, 0.0025772927328944206, -0.038185060024261475, 0.04399814084172249, -0.01914403773844242, 0.01372622512280941, -0.014751526527106762, 0.031031643971800804, 0.027568265795707703, -0.009722581133246422, -0.0030830339528620243, -0.05998208001255989, 0.04102616012096405, 0.007501654326915741, 0.21897725760936737, 0.023361263796687126, 0.04064193367958069, -0.06907112151384354, 0.04802274331450462, -0.0033700773492455482, -0.002332736272364855, -0.13716666400432587, 0.03545471653342247, 0.007960261777043343, 0.03888137266039848, -0.03832815960049629, -0.03113626502454281, -0.04085265100002289, -0.05994076281785965, 0.05531816929578781, -0.0039061366114765406, -0.09487684816122055, -0.015047800727188587, -0.06422832608222961, -0.009666838683187962, 0.005950050428509712, -0.035993631929159164, 0.012716383673250675, 0.018174929544329643, 0.043205033987760544, 0.04516876861453056, 0.03200776129961014, 0.002537098480388522, -0.004828047938644886, -0.07314256578683853, 0.023065602406859398, -0.048399653285741806, 0.06927327811717987, -0.022540448233485222, -0.04137547314167023, -0.00776239950209856, -0.08134214580059052, 0.04077173396945, -0.016041407361626625, -0.01572832651436329, -0.0178664717823267, 0.006883455440402031, -0.048657987266778946, 0.01718243397772312, 0.06471974402666092, -0.018572092056274414, 0.031201399862766266, 0.04179392009973526, 0.022586483508348465, 0.050434403121471405, -0.02227976731956005, -0.019149743020534515, -0.038637563586235046, 0.05868615582585335, -0.01830160617828369, 0.023381952196359634, 0.026242360472679138, 0.02943524532020092, 0.043838467448949814, 0.04266653582453728, -0.0025753737427294254, 0.04660503566265106, -0.03188813477754593, -0.01737900637090206, 0.014192250557243824, -0.08824627846479416, -0.05323879420757294, 0.05780686065554619, -0.02282133512198925, -0.31011027097702026, 0.021370310336351395, -0.009740577079355717, -0.010148165747523308, -0.010586414486169815, 0.04014775902032852, 0.012802554294466972, 0.011076044291257858, -0.04456288740038872, 0.01781201735138893, 0.02872305177152157, 0.01540760975331068, 0.005624677520245314, 0.030906710773706436, 0.01298687793314457, 0.0829610675573349, 0.07789631187915802, -0.03698723390698433, 0.036675043404102325, -0.022448282688856125, 0.0343511663377285, -0.0062445164658129215, 0.2027759552001953, 0.002480363240465522, 0.023853445425629616, 0.06776910275220871, -0.00196039373986423, 0.06327465176582336, 0.033031683415174484, -0.004481389652937651, 0.02001795545220375, 0.011584040708839893, 0.06971912086009979, -0.03188332915306091, 0.0466388463973999, 0.007641144096851349, -0.027840759605169296, 0.04236599802970886, 0.05296266824007034, -0.004985237028449774, -0.06379754096269608, -0.0010335962288081646, -0.024717355147004128, -0.015502719208598137, 0.049394700676202774, -0.03384421765804291, -0.03899484500288963, -0.04919274523854256, 0.004031136631965637, 0.011259973980486393, -0.07200917601585388, -0.01643626019358635, -0.031319499015808105, -0.017997082322835922, 0.054930180311203, 0.04186651483178139, -0.03761512413620949, 0.010971006937325, -0.05656226724386215, -0.027604620903730392, -0.012532294727861881, -0.10103650391101837, -0.009756031446158886, 0.053557004779577255, 0.07060093432664871 ]
devcenter
https://www.mongodb.com/developer/products/atlas/create-first-stream-processor
created
# Get Started with Atlas Stream Processing: Creating Your First Stream Processor >Atlas Stream Processing is now available. Learn more about it here. If you're not already familiar, Atlas Stream Processing enables processing high-velocity streams of complex data using the same data model and Query API that's used in MongoDB Atlas databases. Streaming data is increasingly critical to building responsive, event-driven experiences for your customers. Stream processing is a fundamental building block powering these applications, by helping to tame the firehouse of data coming from many sources, by finding important events in a stream, or by combining data in motion with data in rest. In this tutorial, we will create a stream processor that uses sample data included in Atlas Stream Processing. By the end of the tutorial, you will have an operational Stream Processing Instance (SPI) configured with a stream processor. This environment can be used for further experimentation and Atlas Stream Processing tutorials in the future.
md
{ "tags": [ "Atlas" ], "pageDescription": "Learn how to create a stream processor end-to-end using MongoDB Atlas Stream Processing.", "contentType": "Tutorial" }
Get Started with Atlas Stream Processing: Creating Your First Stream Processor
2024-05-20T17:32:23.500Z
[ -0.03181539103388786, -0.00400774460285902, 0.012517690658569336, -0.03853747621178627, 0.010155958123505116, -0.02912072464823723, 0.01552774291485548, 0.016902806237339973, -0.011794387362897396, -0.00721775321289897, -0.0028351363725960255, -0.04551303759217262, -0.01961543597280979, -0.010232603177428246, -0.011652976274490356, 0.011292673647403717, 0.021659187972545624, 0.033568304032087326, -0.042417142540216446, 0.012643293477594852, 0.02595498412847519, -0.02844896912574768, -0.03222966194152832, -0.07410971075296402, 0.01068089623004198, 0.02502836287021637, -0.046873707324266434, -0.04416884481906891, -0.03975136578083038, -0.23236632347106934, 0.023638663813471794, -0.09054617583751678, 0.046605370938777924, -0.06052708625793457, -0.004263176582753658, -0.038234736770391464, -0.004851541016250849, 0.05974779650568962, -0.05419547110795975, 0.024564391002058983, 0.07008133083581924, 0.037655577063560486, -0.01991846412420273, -0.0456874705851078, -0.01801064983010292, -0.060299523174762726, -0.005788705311715603, -0.0006779803661629558, 0.0012770654866471887, 0.004471651278436184, -0.03562692552804947, -0.04936569556593895, 0.024227194488048553, 0.003181698964908719, 0.04147455468773842, 0.0467199981212616, 0.06128702685236931, 0.05826647952198982, 0.03502628952264786, -0.012848175130784512, 0.022804880514740944, 0.0018023919546976686, -0.163351908326149, 0.10053787380456924, 0.008810339495539665, 0.0704653412103653, -0.006291210185736418, -0.019318901002407074, 0.03139158710837364, -0.0019324017921462655, -0.04973088204860687, 0.02859848365187645, 0.0373176634311676, 0.047740351408720016, 0.0018176843877881765, -0.0006049238727428019, -0.03763909265398979, -0.026122743263840675, -0.0000453327338618692, 0.059239666908979416, -0.02397952787578106, -0.039042241871356964, -0.004308668430894613, -0.009041860699653625, -0.042942266911268234, 0.0059319669380784035, 0.014394216239452362, -0.016887662932276726, 0.03224657475948334, -0.010523341596126556, -0.01921847090125084, -0.004054201301187277, 0.0006143662030808628, 0.05197405815124512, -0.025707680732011795, -0.022729022428393364, 0.041550155729055405, 0.033570922911167145, 0.03965376317501068, 0.2270425409078598, -0.012216340750455856, 0.047362156212329865, 0.03463923558592796, -0.00295888539403677, 0.029380222782492638, -0.035823334008455276, -0.024024520069360733, -0.010984230786561966, -0.022477075457572937, 0.0011266510700806975, 0.0018533363472670317, -0.04506075382232666, 0.01404208317399025, -0.07173077762126923, 0.03450747951865196, 0.009596975520253181, -0.00839325226843357, 0.0023494150955229998, -0.044975969940423965, 0.014902294613420963, 0.012766887433826923, 0.012200919911265373, 0.06418868899345398, -0.016213633120059967, 0.04935894533991814, -0.060062434524297714, 0.09695010632276535, 0.10098942369222641, 0.017973897978663445, 0.012235716916620731, 0.050388630479574203, -0.016796797513961792, -0.10104725509881973, -0.01544730830937624, 0.030530551448464394, 0.005947828758507967, -0.005962911061942577, -0.016886791214346886, -0.026844630017876625, 0.007352015003561974, -0.0662742331624031, 0.00015709995932411402, 0.0023468309082090855, -0.10689101368188858, -0.011912200599908829, 0.1641208827495575, -0.05217404291033745, 0.060688406229019165, -0.09461387246847153, -0.03399007022380829, -0.015093518421053886, 0.010534127242863178, -0.0838128849864006, -0.01996704563498497, -0.004749311599880457, 0.003466944210231304, 0.03040935844182968, 0.0584532804787159, -0.049225177615880966, 0.03969678655266762, -0.05514288321137428, -0.0561802014708519, -0.023581428453326225, 0.08597911149263382, 0.013887421227991581, -0.12408789992332458, -0.0016716169193387032, -0.01961825042963028, 0.008150888606905937, 0.012568844482302666, -0.010091641917824745, 0.01668008230626583, -0.01027256716042757, -0.010510381311178207, 0.07782445847988129, 0.014608332887291908, -0.04170442000031471, -0.021036570891737938, -0.00900990515947342, 0.0008846161072142422, 0.056926995515823364, -0.04449862241744995, -0.005555019248276949, 0.008986988104879856, -0.017774563282728195, -0.06968279182910919, -0.023414243012666702, -0.035249460488557816, 0.019374029710888863, 0.01811250112950802, -0.06435559689998627, 0.020291676744818687, 0.029347147792577744, -0.0410129614174366, -0.015214269980788231, -0.024640265852212906, 0.025649234652519226, -0.024409450590610504, 0.003378851106390357, -0.051848091185092926, 0.057941365987062454, 0.004291357938200235, -0.02312145195901394, 0.07063207775354385, 0.0022873745765537024, -0.006710751447826624, -0.05557544529438019, -0.03521333634853363, 0.014045429416000843, 0.019973445683717728, -0.027932418510317802, -0.006842440459877253, 0.035012342035770416, -0.012296709232032299, -0.004555081017315388, -0.00010702094004955143, 0.030408000573515892, 0.04981732368469238, -0.022042637690901756, 0.05359598249197006, 0.022694172337651253, -0.08771341294050217, -0.05529152974486351, -0.26125243306159973, 0.042620737105607986, 0.02562316693365574, 0.0005737663595937192, 0.0028983750380575657, -0.060872647911310196, 0.009166309610009193, -0.029672473669052124, -0.03129592165350914, 0.08943279087543488, 0.04342395067214966, 0.0026316489093005657, 0.017280397936701775, -0.0054472885094583035, -0.0020908997394144535, 0.08531421422958374, 0.013636304065585136, 0.021802596747875214, -0.04078404977917671, 0.02946011908352375, 0.013107981532812119, 0.04205296188592911, -0.003923815209418535, -0.052412014454603195, 0.05275425687432289, 0.029129013419151306, 0.1970583200454712, 0.02444608509540558, 0.045353081077337265, -0.059004105627536774, 0.038182444870471954, -0.01689005456864834, -0.02915254794061184, -0.09528643637895584, 0.0234608706086874, 0.04974328726530075, 0.04818768799304962, 0.009449649602174759, -0.0008643902838230133, -0.024158747866749763, -0.0766676738858223, 0.03828427568078041, 0.03392418101429939, -0.11458098888397217, -0.025767993181943893, 0.008487447164952755, -0.010995679534971714, -0.0033840276300907135, -0.06273327022790909, 0.034210238605737686, 0.009840564802289009, -0.004653620533645153, 0.04626961424946785, 0.006989276967942715, 0.006867599207907915, -0.055424924939870834, -0.08055427670478821, 0.06890163570642471, -0.04811030626296997, 0.008881917223334312, 0.00028035600553266704, -0.002818641485646367, 0.02017189748585224, -0.02305065654218197, 0.04463567957282066, -0.0020101689733564854, -0.01475339662283659, -0.030655642971396446, 0.019916627556085587, -0.028349801898002625, -0.02548830769956112, 0.0880473405122757, -0.0354018360376358, 0.011664382182061672, 0.046859804540872574, 0.0413365438580513, 0.013893518596887589, -0.021264290437102318, 0.01557970978319645, -0.04528173804283142, 0.043978337198495865, -0.015929726883769035, 0.033063050359487534, 0.048189833760261536, 0.06526299566030502, 0.06014351174235344, 0.06289474666118622, -0.042662233114242554, -0.014796829782426357, -0.018721310421824455, 0.025866903364658356, -0.020411528646945953, -0.04709862545132637, -0.04622739925980568, 0.013757419772446156, -0.001058906433172524, -0.2798942029476166, 0.028737321496009827, -0.015245314687490463, 0.009423114359378815, -0.0394560843706131, -0.006958036217838526, 0.04082882031798363, 0.06673286110162735, -0.04203333705663681, 0.05559737980365753, 0.0051485709846019745, 0.05352942273020744, 0.010128277353942394, 0.007032030262053013, 0.015269540250301361, 0.0917859822511673, 0.0669369176030159, -0.030017685145139694, 0.008682246319949627, -0.055979274213314056, 0.06268026679754257, 0.0421273335814476, 0.24155674874782562, 0.02608712762594223, 0.01932261511683464, 0.03568581864237785, -0.008638040162622929, 0.034600209444761276, 0.03629651293158531, -0.005434041377156973, -0.007881488651037216, 0.002112127374857664, 0.09264561533927917, -0.004616264253854752, 0.04376250505447388, 0.0651259794831276, -0.008296545594930649, 0.048726342618465424, 0.04457973688840866, -0.032518427819013596, -0.026544300839304924, 0.03124222718179226, 0.00009937582217389718, -0.01881084032356739, 0.08920234441757202, -0.012723633088171482, -0.04478871822357178, -0.08217858523130417, -0.0209759920835495, 0.040081340819597244, -0.051493722945451736, -0.03332749381661415, -0.0031916548032313585, 0.00728402566164732, -0.007258020341396332, 0.041801322251558304, -0.04922950640320778, -0.014303273521363735, -0.03296896815299988, -0.0013942193472757936, 0.042711351066827774, -0.09798501431941986, 0.0054311975836753845, 0.032037608325481415, -0.031843654811382294 ]
devcenter
https://www.mongodb.com/developer/products/atlas/create-first-stream-processor
created
### Tutorial Prerequisites This is what you'll need to follow along: * An Atlas user with atlasAdmin permission. For the purposes of this tutorial, we'll have the user "tutorialuser". * MongoDB shell (Mongosh) version 2.0+ ## Create the Stream Processing Instance Let's first create a Stream Processing Instance (SPI). Think of an SPI as a logical grouping of one or more stream processors. When created, the SPI has a connection string similar to a typical MongoDB Atlas cluster. Under the Services tab in the Atlas Project click, "Stream Processing". Then click the "Create Instance" button. This will launch the Create Instance dialog. Enter your desired cloud provider and region, and then click "Create". You will receive a confirmation dialog upon successful creation. ## Configure the connection registry
md
{ "tags": [ "Atlas" ], "pageDescription": "Learn how to create a stream processor end-to-end using MongoDB Atlas Stream Processing.", "contentType": "Tutorial" }
Get Started with Atlas Stream Processing: Creating Your First Stream Processor
2024-05-20T17:32:23.500Z
[ -0.03332658112049103, -0.025232858955860138, 0.0059943185187876225, -0.030978763476014137, -0.0009012561058625579, -0.03817266225814819, 0.009256967343389988, 0.00630947994068265, -0.04340631887316704, -0.017612531781196594, -0.006332408636808395, -0.08398216217756271, -0.009786981157958508, -0.0147026889026165, -0.015016620978713036, 0.02962903305888176, -0.0011716355802491307, 0.006613539066165686, -0.05817507952451706, 0.029341844841837883, 0.0209086611866951, -0.033521562814712524, -0.05621888488531113, -0.06497829407453537, -0.00039901694981381297, 0.057838503271341324, -0.030866025015711784, -0.02699667029082775, -0.020686689764261246, -0.22894789278507233, 0.005076405592262745, -0.06178854778409004, 0.038908399641513824, -0.04529814422130585, -0.005876373499631882, -0.022380627691745758, 0.006688403896987438, 0.04150712117552757, -0.04325037822127342, 0.009575695730745792, 0.08128316700458527, 0.03371721878647804, -0.02416924759745598, -0.042309872806072235, -0.017792215570807457, -0.07807499915361404, -0.015696698799729347, 0.008908139541745186, 0.010956808924674988, -0.03309022635221481, -0.01644955947995186, -0.04739999398589134, -0.002378670033067465, -0.01524337287992239, 0.02173507772386074, 0.051855236291885376, 0.06880727410316467, 0.06807482987642288, 0.010057167150080204, -0.002927245805040002, 0.03157966211438179, 0.003832281334325671, -0.21059364080429077, 0.0910077691078186, 0.025961440056562424, 0.09632308036088943, 0.002067944733425975, -0.01918283849954605, 0.03231615573167801, 0.0008191742235794663, -0.062266018241643906, 0.02320369891822338, 0.03153257444500923, 0.045510999858379364, -0.01831049472093582, 0.007875489071011543, -0.035587720572948456, -0.02926279418170452, 0.017609860748052597, 0.03686077892780304, -0.04478146508336067, -0.0004742962773889303, 0.0009738238877616823, 0.03847244009375572, -0.05401814728975296, -0.004785205237567425, 0.03236385062336922, -0.024849921464920044, 0.007547665853053331, -0.003773347707465291, -0.004794968292117119, -0.017152924090623856, 0.030913347378373146, 0.032979127019643784, -0.05025128647685051, 0.0001297178096137941, 0.044373657554388046, 0.014536045491695404, 0.001982013462111354, 0.21729713678359985, -0.011138190515339375, 0.020892413333058357, 0.029037557542324066, -0.027964601293206215, 0.034681838005781174, -0.018018051981925964, -0.017517879605293274, -0.01637042500078678, 0.015256385318934917, 0.021753575652837753, -0.003843748476356268, -0.03735790401697159, 0.002182617550715804, -0.0906788781285286, 0.02700994722545147, 0.011767463758587837, -0.02233111672103405, 0.02862722985446453, -0.02333126775920391, 0.002588458126410842, -0.0007880913326516747, 0.015723012387752533, 0.07275401800870895, 0.01237743441015482, 0.044322751462459564, -0.034939929842948914, 0.06837285310029984, 0.09341985732316971, 0.01798640750348568, 0.028297651559114456, 0.04118473455309868, 0.00424055103212595, -0.08093451708555222, 0.004277775529772043, 0.06536870449781418, 0.028806962072849274, -0.014023804105818272, -0.027067871764302254, 0.0012735215714201331, 0.009435484185814857, -0.030468853190541267, -0.03825341910123825, -0.00423892168328166, -0.09337731450796127, -0.002939612837508321, 0.13418059051036835, -0.05430441349744797, 0.09743304550647736, -0.08283741772174835, -0.03696241229772568, 0.008094959892332554, -0.013672621920704842, -0.07454963773488998, -0.03358694911003113, -0.006759504321962595, 0.009783298708498478, 0.03783422335982323, 0.09707346558570862, -0.033420074731111526, 0.026095671579241753, -0.016460565850138664, -0.05532215163111687, -0.03306382894515991, 0.08995315432548523, 0.021088052541017532, -0.13311894237995148, -0.019161971285939217, 0.004254425875842571, 0.014482472091913223, -0.016626598313450813, -0.040554095059633255, 0.016772901639342308, -0.008455959148705006, 0.007127514109015465, 0.1126955896615982, 0.0045610833913087845, -0.05696461349725723, -0.017801767215132713, 0.00017679258598946035, -0.0004815215361304581, 0.02507142350077629, -0.045245446264743805, -0.021327810361981392, -0.008544794283807278, -0.005525955464690924, -0.07593666762113571, -0.016103733330965042, -0.02025330811738968, 0.016686618328094482, 0.035605404525995255, -0.059165313839912415, 0.046619053930044174, 0.020802300423383713, -0.05032261833548546, -0.008560707792639732, -0.047162141650915146, 0.009681514464318752, -0.03702840581536293, 0.01689925603568554, -0.039726972579956055, 0.1031668409705162, 0.05521432310342789, -0.026972340419888496, 0.03840811550617218, -0.012779141776263714, 0.0025562657974660397, -0.03419944643974304, -0.01997658796608448, 0.05522162467241287, 0.0011175534455105662, -0.03374847397208214, 0.03554975986480713, 0.015406650491058826, 0.004704166669398546, 0.0037643166724592447, 0.020593611523509026, 0.023723047226667404, 0.04056403040885925, 0.007022284436970949, 0.04090609401464462, 0.03522505983710289, -0.060353003442287445, -0.07760853320360184, -0.2489338368177414, 0.04559275135397911, 0.0013411745894700289, 0.010933101177215576, -0.009541182778775692, -0.044696491211652756, 0.03974064439535141, -0.012640522792935371, -0.03172200918197632, 0.04907318204641342, 0.07780186086893082, -0.02178150787949562, 0.0073655834421515465, 0.0032971708569675684, -0.013853880576789379, 0.061304137110710144, 0.024617359042167664, 0.008888698183000088, -0.030250903218984604, 0.02613690122961998, 0.02408684603869915, 0.02786545641720295, 0.009324398823082447, -0.058738015592098236, 0.03555026650428772, 0.027352958917617798, 0.18384401500225067, 0.018055129796266556, 0.04254096373915672, -0.06299465894699097, 0.08577018231153488, -0.006733168847858906, -0.03988158330321312, -0.13028648495674133, -0.0042005134746432304, 0.0350128710269928, 0.029729990288615227, 0.02182937227189541, 0.013693952932953835, -0.03943264111876488, -0.04535488784313202, 0.050721678882837296, 0.028656570240855217, -0.08476484566926956, -0.031655989587306976, -0.016097525134682655, -0.024276845157146454, 0.030803397297859192, -0.08982551842927933, 0.0020204796455800533, -0.0009610334527678788, 0.018593765795230865, 0.030636465176939964, -0.007803832646459341, -0.016753138974308968, -0.04208282753825188, -0.05889886990189552, 0.032861918210983276, -0.04742542654275894, 0.034239351749420166, 0.010282794013619423, -0.024088241159915924, 0.02180728130042553, -0.04347804933786392, 0.06342928111553192, -0.03336869180202484, -0.052538927644491196, -0.030106021091341972, 0.029448743909597397, -0.04603465646505356, 0.0009165882365778089, 0.041959248483181, -0.02520117163658142, 0.019244784489274025, 0.041150886565446854, 0.026446696370840073, 0.01562504656612873, -0.03757625073194504, -0.014339687302708626, -0.03123372420668602, 0.026194075122475624, -0.04144895449280739, 0.03276946395635605, 0.048968605697155, 0.03707149252295494, 0.07692939788103104, 0.0553719662129879, -0.005942692514508963, 0.005306416191160679, -0.026392759755253792, -0.02026710845530033, -0.006998221855610609, -0.02726174145936966, -0.0458785817027092, 0.01009721402078867, 0.014820171520113945, -0.2982892096042633, 0.0175551138818264, -0.020446335896849632, 0.015650512650609016, -0.00794906634837389, 0.009322564117610455, 0.06378285586833954, 0.05140877887606621, -0.027294689789414406, 0.027915112674236298, 0.03599851578474045, 0.025832824409008026, 0.009826519526541233, 0.015384828671813011, 0.017291508615016937, 0.07532458007335663, 0.04271191358566284, -0.061574727296829224, 0.029803968966007233, -0.07600126415491104, 0.024195179343223572, 0.036726418882608414, 0.2161443680524826, 0.014362419955432415, 0.022049978375434875, 0.07981123775243759, 0.008208977058529854, 0.04362957924604416, 0.06117425486445427, 0.024490436539053917, 0.005464051850140095, 0.015019582584500313, 0.09336380660533905, -0.019998859614133835, 0.05500902235507965, 0.05846627801656723, -0.024644950404763222, 0.02398405782878399, 0.044681988656520844, -0.03504486382007599, -0.0437811054289341, 0.028216904029250145, 0.012172584421932697, -0.004254757892340422, 0.07401162385940552, -0.03327726945281029, -0.026864077895879745, -0.09431663900613785, -0.003250504145398736, 0.02836639992892742, -0.0396883487701416, -0.019421124830842018, 0.015726283192634583, 0.009730178862810135, -0.013364140875637531, 0.046679191291332245, -0.015673430636525154, -0.01726463995873928, -0.037420447915792465, -0.031251318752765656, 0.05591500550508499, -0.12781566381454468, 0.04335895553231239, 0.03185591846704483, -0.014716877602040768 ]
devcenter
https://www.mongodb.com/developer/products/atlas/create-first-stream-processor
created
## Configure the connection registry The connection registry stores connection information to the external data sources you wish to use within a stream processor. In this example, we will use a sample data generator that is available without any extra configuration, but typically you would connect to either Kafka or an Atlas database as a source. To manage the connection registry, click on "Configure" to navigate to the configuration screen. Once on the configuration screen, click on the "Connection Registry" tab. Next, click on the "Add Connection" button. This will launch the Add Connection dialog. From here, you can add connections to Kafka, other Atlas clusters within the project, or a sample stream. In this tutorial, we will use the Sample Stream connection. Click on "Sample Stream" and select "sample_stream_solar" from the list of available sample streams. Then, click "Add Connection".
md
{ "tags": [ "Atlas" ], "pageDescription": "Learn how to create a stream processor end-to-end using MongoDB Atlas Stream Processing.", "contentType": "Tutorial" }
Get Started with Atlas Stream Processing: Creating Your First Stream Processor
2024-05-20T17:32:23.500Z
[ -0.0217453446239233, -0.023016583174467087, 0.024743005633354187, -0.021385468542575836, 0.010694996453821659, 0.0028331701178103685, 0.006185399368405342, 0.029014887288212776, -0.030587879940867424, -0.024031855165958405, 0.0004896759055554867, -0.055913813412189484, 0.01234001200646162, -0.012739966623485088, 0.03743487969040871, 0.019005313515663147, -0.014269016683101654, 0.045909471809864044, -0.017969414591789246, -0.009455106221139431, 0.014028930105268955, -0.05505020543932915, -0.04382612556219101, -0.0538625530898571, 0.01233952958136797, 0.03403843939304352, -0.007181111257523298, -0.0626760944724083, -0.0734514594078064, -0.20577630400657654, 0.006398758850991726, -0.08005478233098984, 0.020390184596180916, -0.018817706033587456, -0.043090857565402985, -0.05114200711250305, -0.039921004325151443, 0.009319213218986988, -0.03803931921720505, 0.019413195550441742, 0.04743122681975365, 0.002473162952810526, 0.0011023542610928416, -0.01595059596002102, -0.061595842242240906, -0.07116732001304626, 0.008223036304116249, 0.0057424986734986305, 0.06184127554297447, -0.020706526935100555, -0.01545707043260336, -0.016845665872097015, 0.00013310743088368326, 0.0029342903289943933, 0.005151952616870403, 0.06222682446241379, 0.07983893156051636, 0.04506870359182358, 0.03850977122783661, 0.022721663117408752, 0.0386895127594471, 0.042443811893463135, -0.2202809900045395, 0.09122686833143234, 0.008360018953680992, 0.05141010507941246, -0.009028060361742973, 0.019696591421961784, 0.032422684133052826, 0.0056038168258965015, -0.042717792093753815, 0.03575211018323898, 0.02371145598590374, 0.05635371804237366, 0.0362132303416729, -0.013337980024516582, -0.05893227458000183, -0.03667140752077103, -0.004295469261705875, 0.03298080712556839, -0.032120417803525925, 0.0008778841583989561, 0.004858557600528002, 0.02695360593497753, -0.027972394600510597, 0.012814944609999657, -0.0022957613691687584, -0.05417463928461075, 0.01735527068376541, 0.05459880456328392, -0.05864734575152397, -0.018368646502494812, -0.02250971645116806, 0.026476692408323288, -0.05250880494713783, -0.028553875163197517, -0.013584274798631668, -0.0002027152804657817, 0.015194088220596313, 0.19712236523628235, -0.04587096720933914, 0.04176518693566322, 0.017128104344010353, 0.03082442842423916, 0.0013902959180995822, -0.032078251242637634, -0.051403019577264786, -0.012564202770590782, -0.004162617959082127, 0.003361133160069585, 0.012201933190226555, -0.01997288316488266, -0.02354826033115387, -0.0664748102426529, 0.05154000222682953, -0.0030109260696917772, -0.0023161943536251783, 0.004948250018060207, -0.04694829136133194, 0.028457915410399437, -0.02578268013894558, 0.015960006043314934, 0.06392812728881836, -0.005046292673796415, 0.089210644364357, -0.0620928518474102, 0.031231019645929337, 0.06834689527750015, 0.015405351296067238, 0.03954975679516792, 0.02356903627514839, -0.04890168830752373, -0.06962873786687851, -0.001291970256716013, -0.013870526105165482, -0.016195517033338547, -0.02257079817354679, -0.03135513886809349, 0.01583811454474926, -0.0331432931125164, -0.03509524092078209, -0.027135958895087242, 0.016816940158605576, -0.09179217368364334, -0.0042980206198990345, 0.15132541954517365, -0.018168095499277115, 0.09229989349842072, -0.06002514436841011, -0.00995793379843235, 0.028805386275053024, 0.02770005539059639, -0.04019626975059509, -0.01956290565431118, 0.02015533111989498, 0.006319050211459398, 0.036037858575582504, 0.060392770916223526, -0.03961540386080742, 0.052863605320453644, -0.035034097731113434, -0.08957364410161972, -0.047248274087905884, 0.0997859314084053, 0.025298697873950005, -0.12383954972028732, -0.022841209545731544, -0.0028896017465740442, 0.024280516430735588, 0.011193518526852131, -0.02948085404932499, 0.03877530246973038, -0.010695628821849823, 0.006686698645353317, 0.09489075839519501, -0.017272261902689934, -0.04218627139925957, 0.011981789954006672, 0.009888089261949062, 0.015724893659353256, 0.032873108983039856, -0.010902856476604939, -0.023098202422261238, -0.013134284876286983, 0.012298332527279854, -0.07308041304349899, -0.014101997949182987, -0.032821107655763626, -0.023149505257606506, 0.03341701254248619, -0.08820052444934845, 0.056516218930482864, 0.03152502328157425, -0.03952908143401146, -0.012785508297383785, -0.04969653859734535, 0.01493481732904911, 0.004285018891096115, 0.009720091708004475, -0.06815525144338608, 0.07126782834529877, 0.05789710581302643, -0.05436393618583679, 0.03698262944817543, -0.02039717137813568, 0.021142469719052315, -0.050205402076244354, -0.03961210325360298, 0.07534309476613998, -0.02572440728545189, -0.004739022813737392, 0.022548260167241096, 0.02728048525750637, 0.012697162106633186, -0.040318623185157776, 0.01557700615376234, 0.04506714269518852, 0.04566051438450813, 0.020812703296542168, 0.051411863416433334, 0.051241420209407806, -0.059229664504528046, -0.05578598752617836, -0.27215227484703064, 0.035675786435604095, -0.002199638867750764, -0.009730396792292595, -0.017124978825449944, -0.04727866128087044, 0.030655011534690857, 0.027031585574150085, -0.034377571195364, 0.07720362395048141, 0.08581290394067764, -0.013571607880294323, 0.003077459754422307, 0.006441809702664614, -0.006487156730145216, 0.06209005042910576, 0.047685407102108, 0.0020409151911735535, -0.018743086606264114, 0.014923966489732265, 0.013835546560585499, 0.0249110646545887, 0.01846715621650219, -0.03368857875466347, 0.03893890976905823, 0.016284260898828506, 0.20316974818706512, 0.0013864291831851006, 0.06623490899801254, -0.060958635061979294, 0.03697492554783821, 0.029909055680036545, -0.026503870263695717, -0.11022143065929413, 0.03894031047821045, 0.04525362700223923, 0.031560901552438736, 0.02597496472299099, -0.009489654563367367, -0.018762128427624702, -0.04175007343292236, 0.08075185865163803, -0.009678076021373272, -0.10548768192529678, 0.01191265881061554, -0.031102444976568222, -0.022998502478003502, 0.04065891355276108, -0.060044173151254654, 0.016356924548745155, -0.00010789150110213086, 0.007996877655386925, 0.042225178331136703, -0.00007297225238289684, 0.018216682597994804, -0.04938508942723274, -0.05018102750182152, 0.022021451964974403, -0.040235597640275955, 0.06485050916671753, 0.024025777354836464, 0.017461106181144714, -0.023315997794270515, -0.0602106973528862, 0.06650582700967789, -0.01741008460521698, -0.03476922586560249, 0.0028052926063537598, 0.06290578842163086, -0.021357232704758644, 0.0064827981404960155, 0.07256504893302917, -0.013544541783630848, 0.014971892349421978, 0.06864955276250839, 0.029695818200707436, -0.005108627490699291, -0.05275385081768036, 0.015573517419397831, -0.014294825494289398, 0.044058941304683685, -0.07598879188299179, 0.023908207193017006, 0.03521876409649849, 0.009678703732788563, 0.09810937196016312, 0.033713165670633316, -0.006239017937332392, 0.014836996793746948, -0.05999647453427315, -0.008552666753530502, -0.013817155733704567, 0.0017420181538909674, -0.012298335321247578, 0.05100564658641815, -0.005678880028426647, -0.28749582171440125, 0.04107946902513504, -0.022021746262907982, -0.0077235815115273, -0.06045359745621681, -0.030331814661622047, 0.035478442907333374, 0.020111892372369766, -0.02116328477859497, 0.030208265408873558, 0.027139414101839066, 0.025500990450382233, -0.009074914269149303, -0.02714530937373638, 0.05181568115949631, 0.08835236728191376, 0.07865971326828003, -0.02821023017168045, 0.014567507430911064, -0.08262167125940323, 0.031148236244916916, 0.029999423772096634, 0.21250087022781372, 0.025136152282357216, -0.0016662360867485404, 0.052314117550849915, -0.0265975259244442, 0.061537161469459534, 0.04276129975914955, -0.006604418158531189, 0.02951185218989849, 0.010024082846939564, 0.06853682547807693, -0.054574113339185715, 0.06394842267036438, 0.032434165477752686, -0.01557739358395338, 0.015927325934171677, 0.04482438415288925, -0.03217227756977081, -0.027053460478782654, 0.015203732065856457, -0.0560343973338604, 0.0007731731166131794, 0.06457582861185074, -0.022771909832954407, -0.012861349619925022, -0.09797627478837967, -0.020642291754484177, -0.00938523281365633, -0.03363372012972832, -0.012288898229598999, 0.004506139550358057, 0.034289922565221786, 0.00200939760543406, -0.0023678289726376534, -0.0338146947324276, -0.030527669936418533, -0.029316753149032593, -0.011205754242837429, 0.05381018668413162, -0.0873476192355156, 0.02208535186946392, -0.021017590537667274, -0.0034981302451342344 ]
devcenter
https://www.mongodb.com/developer/products/atlas/create-first-stream-processor
created
The new "sample_stream_solar" will show up in the list of connections. ## Connect to the Stream Processing Instance (SPI) Now that we have both created the SPI and configured the connection in the connection registry, we can create a stream processor. First, we need to connect to the SPI that we created previously. This can be done using the MongoDB Shell (mongosh). To obtain the connection string to the SPI, return to the main Stream Processing page by clicking on the "Stream Processing" menu under the Services tab. Next, locate the "Tutorial" SPI we just created and click on the "Connect" button. This will present a connection dialog similar to what is found when connecting to MongoDB Atlas clusters. For connecting, we'll need to add a connection IP address and create a database user, if we haven't already.
md
{ "tags": [ "Atlas" ], "pageDescription": "Learn how to create a stream processor end-to-end using MongoDB Atlas Stream Processing.", "contentType": "Tutorial" }
Get Started with Atlas Stream Processing: Creating Your First Stream Processor
2024-05-20T17:32:23.500Z
[ -0.05499737337231636, -0.01048199087381363, 0.008497720584273338, 0.0005277139716781676, 0.014967719092965126, -0.03215320035815239, 0.04762919247150421, 0.0029842632357031107, -0.0082230344414711, -0.013334925286471844, 0.01503572054207325, -0.06465968489646912, -0.00460809888318181, 0.02405514009296894, 0.009181705303490162, 0.015406550839543343, 0.02431238815188408, 0.009915262460708618, -0.029174594208598137, 0.017767326906323433, 0.03722921013832092, -0.035761233419179916, -0.05135326460003853, -0.06559232622385025, 0.02045227400958538, 0.05135507509112358, -0.0108175752684474, -0.03951042890548706, -0.048908308148384094, -0.21315979957580566, 0.006276843138039112, -0.06336133927106857, 0.024837100878357887, -0.06005566567182541, -0.008476794697344303, -0.055581219494342804, -0.008815429173409939, -0.0072878384962677956, -0.04074670746922493, 0.05086850747466087, 0.0672079399228096, -0.01651640608906746, -0.04207802936434746, -0.032434847205877304, -0.04864000901579857, -0.03540152683854103, 0.016791606321930885, -0.012846071273088455, 0.040450237691402435, -0.04927247017621994, -0.01389650534838438, -0.054170213639736176, 0.008522437885403633, 0.002132600173354149, 0.04265855252742767, 0.027898315340280533, 0.03736706078052521, 0.05079210177063942, 0.024573374539613724, 0.030491581186652184, 0.05312862992286682, 0.02417922578752041, -0.24118734896183014, 0.07277264446020126, 0.03580915555357933, 0.07331813126802444, -0.02625783532857895, -0.0067704785615205765, 0.026610959321260452, -0.021796338260173798, -0.04731358587741852, 0.04052814096212387, 0.0024433420039713383, 0.029360456392169, 0.004743920639157295, 0.007999025285243988, -0.03801146149635315, -0.05374350771307945, 0.0226289089769125, 0.047285549342632294, -0.04019417613744736, -0.021707940846681595, 0.005594979040324688, 0.022065313532948494, -0.03481052815914154, 0.02333909645676613, 0.0385170616209507, -0.01144527830183506, 0.04195530712604523, 0.03374743461608887, -0.03532284498214722, -0.03405555710196495, -0.0059061781503260136, 0.0502842478454113, -0.06844446808099747, 0.0016279135597869754, 0.039354417473077774, 0.01094790454953909, 0.05425978824496269, 0.20831042528152466, -0.04951148480176926, 0.04283501207828522, 0.02104729600250721, 0.01808379590511322, 0.029496315866708755, -0.04465354233980179, -0.029890110716223717, -0.01471248734742403, -0.00712862191721797, -0.0021762021351605654, -0.015752989798784256, -0.01962164230644703, 0.011054536327719688, -0.08364511281251907, 0.037977434694767, 0.002642974490299821, -0.030055882409214973, 0.02626027539372444, -0.04801032319664955, 0.05656132847070694, -0.01906639337539673, 0.001318650902248919, 0.07411936670541763, 0.004714375827461481, 0.07413282245397568, -0.02254224382340908, 0.07149779796600342, 0.07995213568210602, 0.008140734396874905, 0.036137256771326065, 0.0493021085858345, -0.028285913169384003, -0.09692853689193726, -0.024278776720166206, 0.0279277004301548, 0.03118533454835415, -0.021237008273601532, -0.023775262758135796, 0.022193366661667824, -0.005750274285674095, -0.014323798939585686, -0.03036525472998619, 0.01522818859666586, -0.11159193515777588, 0.01939069852232933, 0.12613990902900696, -0.04614226147532463, 0.08374536037445068, -0.08199155330657959, -0.008640853688120842, 0.009249919094145298, 0.018558945506811142, -0.05937688425183296, -0.04028736427426338, 0.01170169934630394, 0.013318118639290333, 0.03852440044283867, 0.0730159804224968, -0.030406160280108452, 0.06632327288389206, -0.007079026196151972, -0.03000359795987606, -0.020241282880306244, 0.07220496237277985, 0.042211856693029404, -0.11803077906370163, -0.006745979655534029, 0.0024918897543102503, -0.0005376176559366286, 0.034446217119693756, -0.01692657172679901, 0.027790149673819542, -0.031291112303733826, 0.009456737898290157, 0.11262494325637817, -0.009651646949350834, -0.053451307117938995, -0.01861906424164772, -0.011760194785892963, 0.003964994102716446, 0.025227015838027, 0.01140807569026947, -0.028430134057998657, 0.001973111880943179, 0.003052735235542059, -0.0732535570859909, -0.02389342710375786, -0.03716157749295235, 0.01840290054678917, 0.02113066241145134, -0.07006914168596268, 0.022372614592313766, 0.03530488908290863, -0.008257489651441574, -0.032130662351846695, -0.0630088672041893, 0.02812979370355606, -0.05680311843752861, -0.015497823245823383, -0.05275028571486473, 0.059903547167778015, 0.05140639841556549, -0.04718983545899391, 0.04716525599360466, -0.024909265339374542, 0.016925819218158722, -0.04564559832215309, -0.026025697588920593, 0.0598067082464695, -0.005906227510422468, -0.04518592730164528, 0.01531616784632206, 0.04907775670289993, 0.02368534915149212, -0.0247300136834383, 0.002031927462667227, 0.04717640206217766, -0.002127255080267787, 0.016743535175919533, 0.03146672993898392, 0.03437843546271324, -0.05551476776599884, -0.06298722326755524, -0.2582370340824127, 0.04382098466157913, -0.0026437558699399233, -0.008888634853065014, 0.0004626625159289688, -0.043780617415905, 0.03484444320201874, 0.011405343189835548, 0.0020011605229228735, 0.0655621737241745, 0.07622548937797546, 0.01988210901618004, 0.03003680519759655, -0.032420940697193146, -0.005933520849794149, 0.06497526913881302, 0.023428279906511307, -0.005853666923940182, 0.004651836585253477, 0.02759595587849617, -0.006396079435944557, 0.028295837342739105, 0.02056664600968361, -0.01899539679288864, 0.03989233821630478, 0.016722016036510468, 0.18184064328670502, 0.040802501142024994, 0.024292808026075363, -0.05950205400586128, 0.01754194125533104, 0.007333762943744659, -0.03461150452494621, -0.12045837193727493, 0.004862643778324127, 0.06988890469074249, 0.050613030791282654, 0.025166861712932587, -0.00013947460683993995, -0.05419845134019852, -0.07741084694862366, 0.04119972139596939, -0.002192101441323757, -0.0986446812748909, 0.0014381622895598412, -0.02843407541513443, -0.010328696109354496, 0.01694188080728054, -0.06325487792491913, 0.0039997766725718975, 0.018340136855840683, 0.0010902255307883024, 0.005532507784664631, -0.020595645532011986, 0.010714846663177013, -0.02961522899568081, -0.06317924708127975, 0.05361771583557129, -0.038610540330410004, 0.03559090942144394, -0.004820392467081547, 0.029603302478790283, 0.0037918577436357737, -0.020051877945661545, 0.04228760302066803, 0.009598569944500923, -0.028301306068897247, -0.02649243175983429, 0.03708137199282646, -0.03880350664258003, -0.020552679896354675, 0.0715007334947586, -0.012005257420241833, 0.012925907038152218, 0.042030565440654755, 0.040029410272836685, 0.013448662124574184, -0.06642801314592361, 0.0078547652810812, -0.06313585489988327, 0.03450276330113411, -0.06297653168439865, 0.0314115434885025, 0.045002713799476624, 0.01978043094277382, 0.07901708036661148, 0.056566230952739716, -0.01983058638870716, 0.001848136424086988, -0.047462478280067444, -0.024144241586327553, -0.004150150343775749, -0.03271390125155449, -0.05176333710551262, 0.027476172894239426, -0.004703910555690527, -0.2858651578426361, 0.024420807138085365, -0.03176338970661163, -0.006825161632150412, -0.04410194605588913, -0.0002773025189526379, 0.08492550998926163, 0.06089562177658081, -0.03360594063997269, 0.03127535060048103, 0.024664217606186867, 0.008998783305287361, -0.015217265114188194, 0.01796514354646206, 0.024994393810629845, 0.08441266417503357, 0.06305501610040665, -0.03765876218676567, 0.02086057886481285, -0.05708451569080353, 0.03227967396378517, 0.02776878885924816, 0.23637042939662933, 0.026360388845205307, 0.024319015443325043, 0.057205699384212494, -0.02632945589721203, 0.06307712197303772, 0.04240959882736206, 0.0017118446994572878, 0.0015055263647809625, -0.011705534532666206, 0.06732430309057236, -0.02689513750374317, 0.0317971408367157, 0.04231877624988556, -0.004127646330744028, -0.029991477727890015, 0.046105992048978806, -0.056945014744997025, -0.05373767018318176, 0.031834907829761505, -0.05968847870826721, -0.01376351062208414, 0.08338286727666855, -0.028818070888519287, -0.03294435515999794, -0.08477050065994263, -0.0062153092585504055, 0.019102267920970917, -0.047722604125738144, -0.027306877076625824, 0.02114013023674488, 0.003955392632633448, -0.0035689782816916704, 0.02088705450296402, -0.016446975991129875, -0.020099395886063576, -0.02176872454583645, -0.006636039819568396, 0.06929019093513489, -0.10328952223062515, 0.03446437045931816, -0.006761484779417515, -0.0030480544082820415 ]
devcenter
https://www.mongodb.com/developer/products/atlas/create-first-stream-processor
created
For connecting, we'll need to add a connection IP address and create a database user, if we haven't already. Then we'll choose our connection method. If you do not already have mongosh installed, install it using the instructions provided in the dialog. Once mongosh is installed, copy the connection string from the "I have the MongoDB Shell installed" view and run it in your terminal. ``` Command Terminal > mongosh <> --tls --authenticationDatabase admin --username tutorialuser Enter password: ******************* Current Mongosh Log ID: 64e9e3bf025581952de31587 Connecting to: mongodb://***** Using MongoDB: 6.2.0 Using Mongosh: 2.0.0 For mongosh info see: https://docs.mongodb.com/mongodb-shell/ AtlasStreamProcessing>
md
{ "tags": [ "Atlas" ], "pageDescription": "Learn how to create a stream processor end-to-end using MongoDB Atlas Stream Processing.", "contentType": "Tutorial" }
Get Started with Atlas Stream Processing: Creating Your First Stream Processor
2024-05-20T17:32:23.500Z
[ 0.0005484123830683529, -0.02924477495253086, -0.02949235588312149, -0.02468080446124077, -0.011256968602538109, -0.06547355651855469, 0.02237183414399624, 0.016047267243266106, -0.024771951138973236, -0.03460979834198952, 0.0002459667739458382, -0.05405601114034653, 0.024718735367059708, 0.014354043640196323, 0.008048656396567822, 0.02000812627375126, 0.003332442371174693, -0.0008280486799776554, -0.038989849388599396, 0.03843162581324577, -0.015110624954104424, -0.013755816034972668, -0.048430126160383224, -0.057202745229005814, 0.0005687976954504848, 0.07660151273012161, -0.030232137069106102, -0.05943317711353302, -0.030296172946691513, -0.1783842146396637, -0.007371966261416674, -0.059049077332019806, 0.02624562196433544, -0.060101307928562164, 0.012758234515786171, -0.02303686924278736, 0.011976832523941994, 0.03103603795170784, -0.005918390117585659, 0.006424413062632084, 0.08401589840650558, 0.0032104437705129385, -0.03809559345245361, -0.03983213007450104, -0.028373923152685165, -0.0871969610452652, 0.0015668311389163136, 0.01014797855168581, 0.06455530971288681, -0.07144343852996826, -0.01859765127301216, -0.017586804926395416, 0.006528536789119244, 0.022224506363272667, 0.015880972146987915, 0.07584206014871597, 0.038653723895549774, 0.038915809243917465, 0.007643873803317547, 0.00477641262114048, 0.04812730848789215, 0.037097398191690445, -0.22172871232032776, 0.10609697550535202, 0.026993144303560257, 0.048664893954992294, -0.011028031818568707, 0.008165922947227955, 0.03452390432357788, 0.0019785291515290737, -0.04449008032679558, -0.007781516294926405, 0.003961204085499048, 0.016837667673826218, 0.007815849035978317, -0.0006945916684344411, -0.02928394265472889, -0.039825439453125, 0.04617983475327492, -0.00975126028060913, -0.033972691744565964, -0.030164944007992744, -0.004202297423034906, 0.021875126287341118, -0.0375099815428257, 0.003675533691421151, 0.04233149066567421, -0.03468890115618706, -0.019336460158228874, 0.00714525394141674, -0.010852672159671783, -0.04009237512946129, 0.006181116681545973, 0.03663986548781395, -0.06965207308530807, 0.023722251877188683, 0.028081228956580162, 0.014126635156571865, -0.018282078206539154, 0.20100469887256622, -0.03538845106959343, 0.04157118499279022, -0.015218669548630714, 0.017122851684689522, 0.03467058017849922, -0.026380758732557297, -0.027378728613257408, -0.014573460444808006, -0.01124644372612238, 0.008078024722635746, 0.012559976428747177, -0.05194742605090141, 0.033712513744831085, -0.07652927190065384, 0.012548026628792286, 0.027715280652046204, -0.0383179634809494, 0.026576418429613113, -0.04128788411617279, 0.04234161972999573, -0.010424435138702393, 0.03230521082878113, 0.06471975892782211, 0.0033486108295619488, 0.056059643626213074, -0.03941918909549713, 0.03970656916499138, 0.08926257491111755, -0.002003408968448639, 0.06716486811637878, 0.037973932921886444, -0.01856319047510624, -0.07329332828521729, -0.0013714729575440288, 0.025883344933390617, 0.043510712683200836, -0.02647620253264904, -0.01673467829823494, -0.00598905747756362, 0.024089492857456207, -0.006736858747899532, -0.12229959666728973, -0.007615044713020325, -0.0793963372707367, 0.003243748564273119, 0.0955476462841034, -0.05490463227033615, 0.0945127010345459, -0.07216131687164307, -0.030859820544719696, 0.045037586241960526, 0.003269597189500928, -0.046346891671419144, -0.041291750967502594, -0.03129292279481888, 0.000987985054962337, 0.05619135499000549, 0.10164450109004974, -0.07035417854785919, -0.024790413677692413, -0.03817348554730415, -0.04482528194785118, -0.02682647481560707, 0.07505811750888824, 0.026749085634946823, -0.11161306500434875, -0.013316972181200981, 0.016634749248623848, -0.0017523617716506124, -0.02519833669066429, -0.028201917186379433, 0.011867091991007328, -0.03191063553094864, 0.012843226082623005, 0.12064619362354279, 0.033899933099746704, -0.05098620802164078, -0.03467242792248726, 0.013205711729824543, 0.016848111525177956, -0.004647302441298962, -0.022310152649879456, -0.056600261479616165, -0.0058957492001354694, 0.008315459825098515, -0.028964010998606682, -0.01154716033488512, -0.029019303619861603, 0.027813080698251724, 0.02830401435494423, -0.02776198461651802, 0.03800029307603836, 0.018123667687177658, -0.03771326318383217, -0.014896607026457787, -0.09919403493404388, 0.002813318744301796, -0.0670572891831398, -0.003509579226374626, -0.06637512892484665, 0.10427172482013702, 0.08437537401914597, -0.016076529398560524, 0.026376554742455482, -0.022172221913933754, 0.03743965923786163, -0.05887771025300026, -0.021954664960503578, 0.04151587933301926, -0.026690224185585976, -0.028239406645298004, 0.013576146215200424, 0.05440942570567131, 0.0013910208363085985, -0.027595479041337967, 0.008479463867843151, 0.030450796708464622, 0.05146413668990135, 0.0445639044046402, 0.03466329723596573, 0.019554032012820244, -0.046956755220890045, -0.04082679748535156, -0.25672850012779236, 0.02837107516825199, 0.015127114951610565, 0.02031552977859974, 0.007043371442705393, -0.045575954020023346, 0.03388101980090141, -0.027911605313420296, -0.030407443642616272, 0.03837118297815323, 0.09797152131795883, -0.010105418041348457, 0.02900022827088833, -0.012525097467005253, -0.027417277917265892, 0.08184654265642166, 0.01551316399127245, 0.02137933112680912, -0.019752725958824158, 0.02840285561978817, 0.002117214258760214, -0.0020525355357676744, -0.01576917991042137, -0.04710204154253006, 0.0034894461277872324, 0.02396268956363201, 0.19058926403522491, 0.021977657452225685, 0.020058350637555122, -0.0657583698630333, 0.06618082523345947, 0.0033894930966198444, -0.037677958607673645, -0.16207993030548096, 0.034656185656785965, 0.010447993874549866, 0.009820790030062199, 0.02995806559920311, 0.022086013108491898, -0.049394190311431885, -0.06788855791091919, 0.05338778719305992, 0.0077938539907336235, -0.08169490844011307, -0.0027330629527568817, -0.042632341384887695, 0.002876854268833995, 0.007449863478541374, -0.07081322371959686, 0.015508366748690605, 0.013258644379675388, 0.05966440215706825, 0.03126777336001396, -0.01650874689221382, -0.040789421647787094, -0.017034586519002914, -0.019647756591439247, 0.016077468171715736, -0.03333964943885803, 0.0885736271739006, -0.007067136466503143, 0.00723314331844449, 0.0032071315217763186, -0.021725479513406754, 0.019331693649291992, 0.011889379471540451, -0.04096934571862221, -0.02068210393190384, 0.07467125356197357, -0.05000689625740051, -0.0031254487112164497, 0.040127094835042953, -0.011185643263161182, 0.04823264479637146, 0.0511787012219429, 0.03183672949671745, 0.013989782892167568, -0.03432396426796913, -0.025316881015896797, -0.021899787709116936, 0.017616283148527145, -0.07371671497821808, 0.04801143333315849, 0.032502926886081696, -0.0013690957566723228, 0.055367954075336456, 0.09445243328809738, 0.018537204712629318, 0.03593011200428009, -0.01323666051030159, -0.044894855469465256, -0.03720440715551376, 0.026736607775092125, -0.05217067152261734, -0.008098598569631577, 0.010906782932579517, -0.29694196581840515, 0.061322808265686035, -0.048520516604185104, 0.03906545788049698, 0.022288287058472633, 0.010677497833967209, 0.07142025977373123, 0.042623430490493774, -0.02310691587626934, 0.007213854230940342, 0.053049005568027496, -0.006765949539840221, 0.014240222983062267, 0.03615722805261612, 0.042847130447626114, 0.060413915663957596, 0.008848576806485653, -0.04712452366948128, 0.003753225551918149, -0.05016729235649109, 0.0143303656950593, 0.04118424281477928, 0.18038859963417053, 0.009867752902209759, 0.048742637038230896, 0.07850774377584457, 0.004766140598803759, 0.04891955852508545, 0.07903597503900528, 0.03837868943810463, 0.0014509981265291572, -0.00422254391014576, 0.06282483786344528, -0.04062114655971527, 0.04411664605140686, 0.07257460802793503, -0.010076620616018772, 0.005586671642959118, 0.03988964483141899, -0.058298442512750626, -0.06625094264745712, 0.04149157553911209, -0.02110963687300682, 0.0071728122420609, 0.0910133570432663, -0.028894653543829918, -0.021150479093194008, -0.05419892072677612, 0.01654503494501114, 0.006377872079610825, -0.040630683302879333, -0.03177947551012039, 0.022559214383363724, 0.02219274453818798, 0.014224819839000702, 0.01596377044916153, 0.0049245418049395084, 0.0024461098946630955, -0.03515597805380821, -0.006374118849635124, 0.04813558980822563, -0.13017839193344116, 0.03948778286576271, 0.010540075600147247, -0.015404639765620232 ]
devcenter
https://www.mongodb.com/developer/products/atlas/create-first-stream-processor
created
For mongosh info see: https://docs.mongodb.com/mongodb-shell/ AtlasStreamProcessing> ``` To confirm your sample_stream_solar is added as a connection, issue `sp.listConnections()`. Our connection to sample_stream_solar is shown as expected. ``` AtlasStreamProcessing> sp.listConnections() { ok: 1, connections: { name: 'sample_stream_solar', type: 'inmemory', createdAt: ISODate("2023-08-26T18:42:48.357Z") } ] } ``` ## Create a stream processor If you are reading through this post as a prerequisite to another tutorial, you can return to that tutorial now to continue.
md
{ "tags": [ "Atlas" ], "pageDescription": "Learn how to create a stream processor end-to-end using MongoDB Atlas Stream Processing.", "contentType": "Tutorial" }
Get Started with Atlas Stream Processing: Creating Your First Stream Processor
2024-05-20T17:32:23.500Z
[ -0.04493936151266098, -0.015181382186710835, 0.007576096337288618, -0.003372494364157319, 0.0029510222375392914, -0.04490417242050171, 0.03645902872085571, -0.0029803963843733072, -0.005037997383624315, -0.012822633609175682, 0.000021968980945530348, -0.07451292872428894, -0.018907293677330017, 0.02975030429661274, -0.001234756549820304, 0.0062052588909864426, 0.01868022233247757, 0.008438876830041409, -0.0486382357776165, 0.018658118322491646, 0.040844060480594635, -0.02324230596423149, -0.03642592579126358, -0.0610262006521225, 0.030188290402293205, 0.06039563938975334, -0.0026629609055817127, -0.045705802738666534, -0.04174574092030525, -0.22244013845920563, -0.01786230318248272, -0.07360842078924179, 0.001516124582849443, -0.06854631006717682, -0.0019384445622563362, -0.0474015474319458, -0.009078546427190304, -0.002470355248078704, -0.038061462342739105, 0.0449579618871212, 0.06330031901597977, -0.002433446468785405, -0.019826054573059082, -0.0564015693962574, -0.06729670614004135, -0.035785697400569916, 0.014561368152499199, -0.021219881251454353, 0.03658341243863106, -0.06462951004505157, -0.020034415647387505, -0.04998301714658737, 0.007690295577049255, 0.032923031598329544, 0.03226953372359276, 0.05000141263008118, 0.03196491301059723, 0.0498771145939827, 0.02626379393041134, 0.03301447629928589, 0.047266606241464615, 0.03268143907189369, -0.23942279815673828, 0.07744422554969788, 0.02705148234963417, 0.06658242642879486, -0.013032734394073486, 0.004112246911972761, 0.02755247801542282, -0.02153613604605198, -0.012367257848381996, 0.03647513687610626, 0.006060194689780474, 0.05427011102437973, 0.013491161167621613, -0.008525269106030464, -0.03687077760696411, -0.06339243799448013, 0.007654254324734211, 0.03430347144603729, -0.039429113268852234, -0.03823595121502876, -0.007225024979561567, 0.013363390229642391, -0.013618823140859604, -0.008876326493918896, 0.05055277794599533, -0.03458686172962189, 0.022416938096284866, 0.04304637387394905, -0.03646199777722359, -0.03275711461901665, -0.004152360372245312, 0.0681520402431488, -0.07913130521774292, 0.030413169413805008, 0.04586814343929291, 0.017849614843726158, 0.030589928850531578, 0.18958446383476257, -0.06140407174825668, 0.06714055687189102, 0.007553784642368555, 0.03648250550031662, 0.030767643824219704, -0.025594033300876617, -0.029141990467905998, -0.02025577798485756, -0.010875023901462555, -0.0033789908047765493, -0.012481942772865295, -0.03341049328446388, 0.032452236860990524, -0.08560667932033539, 0.05445461720228195, 0.010805276222527027, 0.0032688798382878304, 0.02189256064593792, -0.0647527277469635, 0.0324397012591362, -0.006830552127212286, 0.016778362914919853, 0.07694850116968155, 0.012878291308879852, 0.04385673627257347, -0.03750964254140854, 0.05752371996641159, 0.08802127093076706, 0.004184178076684475, 0.031344834715127945, 0.017770258709788322, -0.030512258410453796, -0.07658534497022629, -0.018508555367588997, 0.017105337232351303, 0.04282533377408981, -0.026625797152519226, -0.023297153413295746, 0.03338639438152313, 0.0019019946921616793, -0.019119564443826675, -0.06910762190818787, -0.025237321853637695, -0.10575801134109497, 0.023346954956650734, 0.11452358216047287, -0.03741908818483353, 0.10296626389026642, -0.08250050246715546, 0.0006827392498962581, -0.0005885239806957543, 0.03055744059383869, -0.04299760237336159, -0.027028875425457954, -0.004081583581864834, 0.0021126174833625555, 0.04395373910665512, 0.0893435925245285, -0.020996030420064926, 0.04518946632742882, 0.009294044226408005, -0.008864116854965687, -0.05114635080099106, 0.0779171735048294, 0.03132512420415878, -0.08833450824022293, -0.007363785523921251, 0.013689239509403706, -0.008291047997772694, 0.005751488264650106, -0.026419730857014656, 0.03332440182566643, -0.04221642017364502, 0.00045381792006082833, 0.11219824850559235, 0.000504381547216326, -0.04849719628691673, -0.023688482120633125, 0.0011489966418594122, 0.016470851376652718, 0.009015506133437157, 0.0010181381367146969, -0.03398055210709572, -0.0007315450930036604, 0.0379042811691761, -0.04576106742024422, -0.03354119881987572, -0.028362464159727097, 0.011839446611702442, 0.03682274371385574, -0.06210409849882126, 0.00035453028976917267, 0.033120885491371155, -0.017151912674307823, -0.029144499450922012, -0.05381402745842934, 0.037799593061208725, -0.05684641748666763, -0.0061804549768567085, -0.05900423228740692, 0.07991119474172592, 0.047122061252593994, -0.03600555285811424, 0.0213741697371006, -0.032181959599256516, 0.009370436891913414, -0.07039342075586319, -0.012175187468528748, 0.05428193882107735, -0.020427247509360313, -0.046269919723272324, 0.002950450871139765, 0.03186087682843208, 0.017977777868509293, -0.023494362831115723, 0.006723587401211262, 0.02934863232076168, 0.03395780548453331, 0.027130477130413055, 0.018174808472394943, 0.030581727623939514, -0.0748053789138794, -0.06225639954209328, -0.2623642086982727, 0.05500265955924988, 0.008094318211078644, 0.008398251608014107, 0.0012954677222296596, -0.04063380882143974, 0.01765194535255432, 0.008551393635571003, -0.021778134629130363, 0.057809632271528244, 0.036551229655742645, 0.042748767882585526, 0.02729327604174614, -0.05349070578813553, 0.002766752615571022, 0.05090919882059097, 0.008794573135674, -0.039130061864852905, 0.0026172564830631018, 0.02487662062048912, -0.0038865208625793457, 0.028528079390525818, -0.0014455767814069986, -0.026996135711669922, 0.028655830770730972, 0.006509208586066961, 0.1937461495399475, 0.055781010538339615, 0.00011853012983920053, -0.061759769916534424, 0.05097135901451111, 0.025313809514045715, -0.0014736775774508715, -0.11670396476984024, 0.017392180860042572, 0.04848197102546692, 0.036866072565317154, 0.016745222732424736, 0.021451503038406372, -0.04343131184577942, -0.0637156218290329, 0.06039945036172867, 0.017062926664948463, -0.07749729603528976, 0.009370393119752407, -0.025990968570113182, -0.018604155629873276, 0.03854680433869362, -0.06969944387674332, 0.016698118299245834, 0.009268769063055515, 0.006560926791280508, 0.045092497020959854, -0.03480350226163864, -0.005161128006875515, -0.02274082414805889, -0.0719614252448082, 0.019337225705385208, -0.04519055411219597, 0.07584147900342941, 0.0062637641094625, 0.021922767162322998, 0.01446592528373003, -0.004217427223920822, 0.02726636826992035, 0.010979878716170788, -0.030705181881785393, -0.04099563509225845, 0.04350877180695534, -0.022002428770065308, -0.017858386039733887, 0.06038568541407585, 0.0076781464740633965, 0.0009617331670597196, 0.04031151160597801, 0.024818649515509605, -0.005587068852037191, -0.06500127911567688, -0.009854711592197418, -0.04405168816447258, 0.04058130457997322, -0.07051917165517807, 0.030460845679044724, 0.03857474774122238, 0.03937390074133873, 0.07562007755041122, 0.03840000927448273, 0.007920971140265465, 0.032142166048288345, -0.03496275842189789, -0.01988978125154972, -0.02654166892170906, -0.001088939607143402, -0.03424014896154404, 0.04161171615123749, 0.010834376327693462, -0.2755429744720459, 0.03064207173883915, -0.05150144547224045, -0.009679477661848068, -0.04967236891388893, 0.011342745274305344, 0.054096855223178864, 0.05219347029924393, -0.02127091959118843, 0.033222731202840805, 0.02268334850668907, 0.006589485332369804, -0.01334526389837265, 0.02177104540169239, 0.01558370515704155, 0.0817267969250679, 0.03028193861246109, -0.04593171551823616, 0.03502202033996582, -0.058871667832136154, 0.0358845517039299, 0.03076285868883133, 0.25060147047042847, 0.02130574733018875, 0.03474833443760872, 0.06753545999526978, -0.03494330495595932, 0.05349411070346832, 0.0476401224732399, 0.008523744530975819, 0.007673589512705803, 0.0020844649989157915, 0.07565481960773468, -0.04064551368355751, 0.03098500333726406, 0.055326588451862335, 0.004934998229146004, 0.00946618802845478, 0.07348852604627609, -0.04774676635861397, -0.05644666776061058, 0.014871163293719292, -0.05566493049263954, -0.016040299087762833, 0.08700546622276306, -0.03346691653132439, -0.013334101065993309, -0.09085142612457275, 0.0118190236389637, 0.009663188830018044, -0.06421492993831635, -0.029973149299621582, 0.033537209033966064, -0.0034937369637191296, 0.003904931480064988, -0.011038429103791714, -0.018802588805556297, -0.013802781701087952, -0.032142285257577896, 0.00021775129425805062, 0.054723650217056274, -0.1024133637547493, 0.043893083930015564, -0.008732050657272339, -0.015312143601477146 ]
devcenter
https://www.mongodb.com/developer/products/atlas/create-first-stream-processor
created
In this section, we will wrap up by creating a simple stream processor to process the sample_stream_solar source that we have used throughout this tutorial. This sample_stream_solar source represents the observed energy production of different devices (unique solar panels). Stream processing could be helpful in measuring characteristics such as panel efficiency or when replacement is required for a device that is no longer producing energy at all. First, let's define a [$source stage to describe where Atlas Stream Processing will read the stream data from. ``` var solarstream={$source:{"connectionName": "sample_stream_solar"}} ``` Now we will issue .process to view the contents of the stream in the console. `sp.process(solarstream])` .process lets us sample our source data and quickly test the stages of a stream processor to ensure that it is set up as intended. A sample of this data is as follows:
md
{ "tags": [ "Atlas" ], "pageDescription": "Learn how to create a stream processor end-to-end using MongoDB Atlas Stream Processing.", "contentType": "Tutorial" }
Get Started with Atlas Stream Processing: Creating Your First Stream Processor
2024-05-20T17:32:23.500Z
[ -0.05555489659309387, 0.02191448211669922, 0.03463173285126686, -0.011256235651671886, 0.01715617999434471, -0.009063491597771645, 0.046450525522232056, 0.005418573971837759, -0.024784475564956665, 0.0008564062300138175, 0.022811485454440117, -0.0411125086247921, -0.02638285979628563, 0.007888407446444035, 0.01814872771501541, 0.007982154376804829, 0.009729336947202682, 0.028259044513106346, -0.03216644749045372, 0.014941132627427578, 0.050318289548158646, -0.06118948012590408, -0.06329368054866791, -0.06971721351146698, 0.03900527209043503, 0.03204283490777016, -0.016196204349398613, -0.029770074412226677, -0.049090757966041565, -0.23021364212036133, 0.0023810560815036297, -0.07033149152994156, 0.029752487316727638, -0.06333218514919281, 0.00045422950643114746, -0.07535623013973236, -0.04554478079080582, -0.01757614128291607, -0.03675490617752075, 0.02973323129117489, 0.04013390839099884, -0.006538333371281624, -0.028497006744146347, -0.054217930883169174, -0.05597621202468872, -0.05607447400689125, -0.025746220722794533, 0.0066740792244672775, 0.0259997621178627, -0.01599181443452835, -0.024575283750891685, -0.04727206379175186, 0.04295020177960396, -0.002521530259400606, 0.04599427804350853, 0.04401831701397896, 0.05255711451172829, 0.05099231004714966, 0.06207879260182381, 0.009704375639557838, 0.02144021913409233, 0.012262828648090363, -0.23800751566886902, 0.0650944858789444, 0.05261402577161789, 0.044467564672231674, 0.007541446015238762, 0.003218978876248002, 0.012104781344532967, -0.02199266478419304, -0.04452262818813324, 0.04410703107714653, 0.021360596641898155, 0.033254045993089676, -0.0070602321065962315, 0.012072410434484482, -0.05197703838348389, -0.029134482145309448, -0.009224941022694111, 0.03767435625195503, -0.004860271699726582, -0.0153342979028821, -0.009531590156257153, 0.04196656495332718, -0.01340719684958458, 0.030046753585338593, 0.002682678634300828, 0.02349092625081539, 0.07670378684997559, 0.030884895473718643, -0.04069171100854874, -0.010472875088453293, -0.03156202659010887, 0.06118330731987953, -0.034313783049583435, -0.010607813484966755, 0.05324035510420799, -0.0015505434712395072, 0.025670332834124565, 0.20861506462097168, -0.028823817148804665, 0.05751774460077286, 0.08045349270105362, -0.0005707559757865965, 0.023004524409770966, -0.03697405382990837, -0.029073573648929596, -0.006305416114628315, -0.0189302209764719, -0.010467810556292534, -0.024281973019242287, -0.0061853909865021706, -0.008856936357915401, -0.053083110600709915, 0.08574498444795609, -0.00834668893367052, 0.008982870727777481, 0.0009853799128904939, -0.026917383074760437, 0.0182812362909317, -0.012156659737229347, 0.009631138294935226, 0.07356028258800507, -0.0022594905458390713, 0.07094500958919525, -0.062433160841464996, 0.09247563034296036, 0.10727359354496002, 0.01661372371017933, 0.03500243276357651, 0.03471573069691658, -0.05188293009996414, -0.07030689716339111, -0.005058513022959232, 0.015861906111240387, 0.015651613473892212, 0.015179417096078396, -0.01455262117087841, 0.01677810028195381, -0.017346791923046112, 0.0025552085135132074, 0.0038962257094681263, 0.01297401636838913, -0.1416425257921219, -0.015944043174386024, 0.1373736411333084, -0.026212310418486595, 0.07618468254804611, -0.07856207340955734, 0.012338588014245033, 0.022611381486058235, 0.052015893161296844, -0.040017105638980865, -0.016017213463783264, 0.03321077674627304, 0.03669006749987602, -0.005336618050932884, 0.05427933111786842, -0.03455152362585068, 0.042407698929309845, -0.007773212157189846, -0.030301639810204506, -0.022096823900938034, 0.09677068144083023, 0.017748503014445305, -0.08936920762062073, -0.014548201113939285, -0.005516926757991314, 0.020628806203603745, 0.018815388903021812, 0.013837529346346855, 0.04324305057525635, -0.022341500967741013, -0.02425764873623848, 0.04708697646856308, -0.0014602037845179439, -0.05127996951341629, 0.0018156475853174925, 0.009405527263879776, 0.027549728751182556, 0.07001689821481705, -0.012914873659610748, -0.045903224498033524, 0.007769083138555288, 0.04195249825716019, -0.05465754494071007, -0.02086384780704975, -0.052304718643426895, -0.007203839253634214, 0.07273225486278534, -0.09604021906852722, -0.003799371886998415, 0.010082462802529335, -0.000032021103834267706, -0.007425094023346901, -0.03181099519133568, 0.0017436584457755089, -0.0478317029774189, -0.006386778317391872, -0.05948501080274582, 0.08371807634830475, 0.022038765251636505, -0.022649947553873062, 0.06380297243595123, -0.015553079545497894, 0.019935013726353645, -0.03836555778980255, -0.02177393063902855, 0.048428725451231, 0.029254594817757607, -0.03198215737938881, -0.014841715805232525, 0.02734697237610817, 0.007342999335378408, -0.03689657524228096, -0.0019489288097247481, 0.030714310705661774, 0.0187382735311985, 0.03646932914853096, 0.057431675493717194, 0.014803118072450161, -0.09169596433639526, -0.07934436947107315, -0.24534960091114044, 0.028191860765218735, 0.003497895086184144, 0.013516866602003574, 0.017247645184397697, -0.046108875423669815, 0.015719706192612648, -0.026726022362709045, -0.016087399795651436, 0.03951853886246681, 0.08226833492517471, -0.010413048788905144, 0.013360094279050827, -0.021296219900250435, -0.014438631013035774, 0.054944105446338654, 0.04311401769518852, -0.017992336302995682, -0.02708294242620468, 0.004976450931280851, -0.02665705792605877, 0.028884755447506905, 0.0333954282104969, -0.06337907910346985, 0.047142598778009415, -0.010074067860841751, 0.17075933516025543, 0.020952504128217697, 0.07037415355443954, -0.03610300272703171, 0.028573917225003242, -0.002518047345802188, -0.01932676136493683, -0.073957160115242, 0.0043760035187006, 0.07921555638313293, 0.02670409344136715, 0.03609272465109825, -0.004943015519529581, -0.027755821123719215, -0.059508562088012695, 0.02180386520922184, -0.016204195097088814, -0.09645605087280273, 0.0035934210754930973, -0.010361014865338802, -0.02687954530119896, -0.002661476144567132, -0.06354943662881851, 0.00279501685872674, 0.03365228325128555, -0.040697090327739716, 0.04617595300078392, -0.026207666844129562, 0.02710028737783432, -0.017401497811079025, -0.0882144570350647, 0.09237784892320633, -0.047100331634283066, 0.035688091069459915, 0.001573991379700601, 0.00565407844260335, -0.001309894723817706, -0.019291412085294724, 0.04060529172420502, 0.00252691307105124, -0.026147179305553436, -0.02941802889108658, 0.03046584129333496, -0.028346888720989227, -0.03827829286456108, 0.0822305902838707, -0.0032760181929916143, -0.019799621775746346, 0.029257429763674736, 0.009242305532097816, -0.006179776508361101, -0.05697762593626976, 0.012654528953135014, -0.05708419159054756, 0.039849571883678436, -0.015245787799358368, 0.003051257925108075, 0.0198809951543808, 0.05150435492396355, 0.05936393514275551, 0.0020938096567988396, -0.021991178393363953, 0.0025973529554903507, -0.05312275514006615, 0.0009890171932056546, 0.015031647868454456, -0.04726172983646393, -0.05221020057797432, 0.040037211030721664, 0.014903009869158268, -0.2956634759902954, 0.033655863255262375, -0.0013768256176263094, -0.009174610488116741, -0.04864491894841194, -0.029857918620109558, 0.06660634279251099, 0.056172262877225876, -0.023459630087018013, 0.028600018471479416, -0.015109454281628132, 0.024871880188584328, -0.012981157749891281, -0.013980810530483723, 0.05144621059298515, 0.06801560521125793, 0.05863337591290474, -0.04624934121966362, -0.008360840380191803, -0.055063292384147644, 0.07544656842947006, 0.0272690337151289, 0.23166251182556152, -0.005007379222661257, -0.005938826594501734, 0.046394992619752884, -0.02731463499367237, 0.06628824025392532, 0.0535518042743206, -0.029330501332879066, -0.01339423842728138, -0.010015959851443768, 0.09777651727199554, -0.023145612329244614, 0.0279464703053236, 0.043900128453969955, -0.03117971681058407, 0.0007754893158562481, 0.035870686173439026, -0.05821544677019119, -0.018759705126285553, 0.013412978500127792, -0.02345881424844265, -0.02000824175775051, 0.09561900049448013, -0.018196435645222664, -0.0244746133685112, -0.11044080555438995, -0.008022447116672993, 0.013125388883054256, -0.053983889520168304, 0.009858081117272377, -0.006211927626281977, 0.01614886336028576, -0.019691593945026398, 0.001598944771103561, -0.06388754397630692, -0.019956577569246292, -0.008850233629345894, -0.011423598043620586, 0.02659851312637329, -0.060058124363422394, 0.029605304822325706, 0.0044739400036633015, -0.0021129436790943146 ]
devcenter
https://www.mongodb.com/developer/products/atlas/create-first-stream-processor
created
``` { device_id: 'device_2', group_id: 3, timestamp: '2023-08-27T13:51:53.375+00:00', max_watts: 250, event_type: 0, obs: { watts: 168, temp: 15 }, _ts: ISODate("2023-08-27T13:51:53.375Z"), _stream_meta: { sourceType: 'sampleData', timestamp: ISODate("2023-08-27T13:51:53.375Z") } } ``` ## Wrapping up
md
{ "tags": [ "Atlas" ], "pageDescription": "Learn how to create a stream processor end-to-end using MongoDB Atlas Stream Processing.", "contentType": "Tutorial" }
Get Started with Atlas Stream Processing: Creating Your First Stream Processor
2024-05-20T17:32:23.500Z
[ -0.008765537291765213, 0.010638762265443802, 0.04561035707592964, -0.03054041974246502, 0.07004795223474503, -0.05146593227982521, -0.0014320466434583068, -0.02007678709924221, -0.027997657656669617, 0.015657952055335045, 0.0002828208089340478, -0.10000167042016983, 0.01265680231153965, -0.004358012694865465, 0.011209004558622837, 0.0026208567433059216, 0.012029224075376987, 0.010208655148744583, -0.029628679156303406, 0.0025371783412992954, 0.05642107129096985, -0.04681907221674919, -0.019186971709132195, -0.068716861307621, 0.023245494812726974, 0.06532851606607437, 0.008557779714465141, -0.009432930499315262, -0.059147920459508896, -0.22710774838924408, -0.007685597985982895, -0.02845057100057602, 0.006404654122889042, -0.05278622359037399, -0.014913296326994896, -0.05327281728386879, -0.004503253381699324, 0.02201763726770878, -0.029169322922825813, 0.08693066984415054, 0.03142150491476059, -0.01564517617225647, -0.018329031765460968, -0.07632990926504135, -0.06258542835712433, -0.036052074283361435, -0.05690066143870354, 0.01481586042791605, 0.02767372317612171, -0.0054067205637693405, -0.000575244368519634, -0.010307135991752148, -0.033581387251615524, 0.030119286850094795, 0.05699937790632248, 0.0303198155015707, 0.0653393343091011, 0.01728644408285618, 0.05215848609805107, -0.004745754413306713, 0.028076499700546265, 0.01871260069310665, -0.19649215042591095, 0.09062863141298294, 0.06012701243162155, 0.04640507325530052, -0.011959662660956383, -0.02956531010568142, 0.028881188482046127, -0.009205174632370472, -0.052629511803388596, 0.030718637630343437, 0.043793581426143646, 0.011692848056554794, 0.014645867049694061, 0.011064701713621616, -0.022523611783981323, -0.04736993834376335, -0.01273198239505291, 0.023606063798069954, -0.033535346388816833, -0.03572774678468704, -0.02748454548418522, 0.005770506337285042, 0.016657713800668716, -0.03340320289134979, 0.025955544784665108, -0.021554717794060707, 0.01838121935725212, 0.006742279045283794, -0.060708414763212204, -0.005206841044127941, -0.019960852339863777, 0.061935681849718094, -0.05864023417234421, 0.005765789188444614, 0.056422002613544464, 0.056940335780382156, -0.0012630916899070144, 0.21150700747966766, -0.04596848785877228, 0.024664251133799553, 0.020837847143411636, -0.0006876674015074968, 0.041724883019924164, -0.04112836346030235, -0.06333892047405243, -0.020242920145392418, -0.053341832011938095, 0.004765789024531841, -0.021865839138627052, 0.010091302916407585, 0.011025942862033844, -0.04843345284461975, 0.08393314480781555, 0.0228867344558239, 0.007337260525673628, 0.033812493085861206, -0.02036227099597454, -0.014206673949956894, 0.018666153773665428, 0.02528471127152443, 0.07177934050559998, -0.01862490177154541, 0.030480196699500084, -0.022647567093372345, 0.08030331879854202, 0.12308860570192337, 0.007716578897088766, 0.04569350555539131, 0.04093649610877037, 0.0015574783319607377, -0.06271795183420181, -0.008530759252607822, -0.004925057757645845, 0.02167198807001114, -0.010724222287535667, -0.005705263465642929, 0.046254366636276245, 0.02871224842965603, -0.03181198239326477, -0.0749453529715538, -0.014830494299530983, -0.11647196859121323, 0.005357307847589254, 0.13759464025497437, -0.04872407391667366, 0.056908536702394485, -0.04188257455825806, -0.03322643041610718, -0.013655089773237705, 0.046290356665849686, -0.044858418405056, -0.037916939705610275, 0.03156338259577751, 0.03711744397878647, 0.043289076536893845, 0.05864530801773071, -0.041350506246089935, 0.023495422676205635, -0.017810892313718796, -0.028115982189774513, -0.042203158140182495, 0.07414383441209793, 0.022666431963443756, -0.11914981156587601, 0.00433750543743372, 0.0027020666748285294, 0.010355600155889988, -0.01931740716099739, -0.014121178537607193, 0.01683071069419384, -0.030433639883995056, -0.014698192477226257, 0.10984570533037186, -0.0025397895369678736, -0.0015710435109212995, 0.013549931347370148, 0.0009075883426703513, -0.012631528079509735, 0.009507693350315094, -0.04019607603549957, -0.04495808854699135, 0.015570181421935558, 0.057685576379299164, -0.04862954095005989, 0.0028765189927071333, -0.06930422782897949, 0.02649567648768425, 0.07406135648488998, -0.02665434405207634, -0.015504948794841766, -0.030084867030382156, 0.0005189753719605505, -0.02105976827442646, -0.008248098194599152, -0.010733970440924168, 0.030709857121109962, 0.020597543567419052, -0.06166188791394234, 0.07180184125900269, -0.004200009163469076, -0.02818777970969677, 0.018330538645386696, 0.01687851920723915, 0.039045628160238266, -0.021292787045240402, -0.04304163530468941, 0.02448369190096855, 0.03731574863195419, 0.0004534142790362239, -0.01902172341942787, 0.058560971170663834, -0.0179373137652874, -0.021343592554330826, 0.00265106582082808, -0.007592049892991781, 0.016162322834134102, 0.01413280051201582, 0.07405489683151245, 0.01306883618235588, -0.09228368103504181, -0.0601075142621994, -0.25922891497612, 0.028333034366369247, 0.04897879436612129, 0.005404021590948105, 0.004557495005428791, -0.039417512714862823, 0.03353574126958847, -0.012821913696825504, 0.019381612539291382, 0.06429692357778549, 0.06581974774599075, 0.018148306757211685, -0.0016381818568333983, -0.023734305053949356, -0.05959354341030121, 0.054680004715919495, 0.03223982825875282, -0.031017711386084557, -0.006333199795335531, 0.04516506940126419, -0.01552373357117176, 0.014320586808025837, -0.022738641127943993, -0.06544294953346252, 0.04891299083828926, -0.005710412748157978, 0.21043860912322998, 0.029133854433894157, 0.022746119648218155, -0.04916715994477272, 0.06626594066619873, 0.014197302982211113, -0.030381597578525543, -0.07865243405103683, 0.02408745139837265, 0.04432421177625656, 0.03171813115477562, 0.023264100775122643, 0.0006592799909412861, -0.045681778341531754, -0.05242568626999855, 0.068869948387146, 0.00839168019592762, -0.0676942765712738, 0.014026030898094177, -0.04825340211391449, -0.03636963665485382, 0.013398868031799793, -0.05293552577495575, -0.008584821596741676, 0.0665835365653038, -0.010500054806470871, 0.05129852890968323, -0.03063679300248623, 0.0012226151302456856, -0.03154374286532402, -0.07773655652999878, 0.03669716417789459, -0.039569322019815445, 0.02991313301026821, 0.003748407820239663, -0.00981499906629324, 0.009854678995907307, -0.022339846938848495, 0.017358090728521347, -0.015871601179242134, 0.003173038363456726, -0.002615658100694418, 0.024806175380945206, -0.028061168268322945, 0.008124340325593948, 0.06592988222837448, -0.04437588155269623, 0.04073896259069443, 0.040659718215465546, 0.02641456015408039, -0.007235004100948572, -0.045994970947504044, 0.030375733971595764, -0.002870510332286358, 0.06348289549350739, -0.03761383146047592, 0.0566602423787117, 0.017251091077923775, 0.05936324596405029, 0.021836034953594208, 0.024639464914798737, 0.0011488236486911774, 0.011043427512049675, -0.06532985717058182, -0.03715088963508606, -0.026013005524873734, -0.035532690584659576, -0.049491237848997116, 0.046947479248046875, 0.012672988697886467, -0.3044813573360443, 0.03512178361415863, 0.00352102261967957, -0.01284718606621027, -0.017565133050084114, 0.025352278724312782, 0.0037789398338645697, 0.018370307981967926, -0.06477558612823486, 0.027603765949606895, -0.05116848647594452, 0.061051130294799805, 0.03374219313263893, 0.002178194932639599, 0.01512832846492529, 0.05755661427974701, 0.04397943243384361, -0.059151243418455124, -0.0049284230917692184, -0.050674282014369965, 0.02120978757739067, 0.043292656540870667, 0.21461068093776703, -0.013929931446909904, 0.030480267480015755, 0.08023104816675186, -0.016960106790065765, 0.06685665249824524, 0.0857948437333107, -0.006034359335899353, -0.014520515687763691, -0.003992777783423662, 0.0907396525144577, -0.009563170373439789, 0.02403547614812851, 0.02067258208990097, -0.06387592107057571, -0.0033261897042393684, 0.03383197262883186, -0.03399689868092537, -0.015064867213368416, -0.012850230559706688, -0.02131725288927555, -0.029393190518021584, 0.1038915365934372, -0.046621039509773254, -0.07769172638654709, -0.0849391371011734, 0.025088714435696602, -0.004021053202450275, -0.040008850395679474, -0.00020877372298855335, -0.06062483787536621, -0.0002893535711336881, 0.023915573954582214, 0.0025322050787508488, -0.0266511682420969, -0.010304173454642296, -0.02074488066136837, -0.03370159491896629, 0.022973228245973587, -0.06253477185964584, -0.01422323938459158, 0.013120561838150024, 0.03204771503806114 ]
devcenter
https://www.mongodb.com/developer/products/atlas/create-first-stream-processor
created
In this tutorial, we started by introducing Atlas Stream Processing and why stream processing is a building block for powering modern applications. We then walked through the basics of creating a stream processor – we created a Stream Processing Instance, configured a source in our connection registry using sample solar data (included in Atlas Stream Processing), connected to a Stream Processing Instance, and finally tested our first stream processor using .process. You are now ready to explore Atlas Stream Processing and create your own stream processors, adding advanced functionality like windowing and validation. If you enjoyed this tutorial and would like to learn more check out the [MongoDB Atlas Stream Processing announcement blog post. For more on stream processors in Atlas Stream Processing, visit our documentation. ### Learn more about MongoDB Atlas Stream Processing For more on managing stream processors in Atlas Stream Processing, visit our documentation. >Log in today to get started. Atlas Stream Processing is now available to all developers in Atlas. Give it a try today!
md
{ "tags": [ "Atlas" ], "pageDescription": "Learn how to create a stream processor end-to-end using MongoDB Atlas Stream Processing.", "contentType": "Tutorial" }
Get Started with Atlas Stream Processing: Creating Your First Stream Processor
2024-05-20T17:32:23.500Z
[ -0.05537842586636543, -0.00036551570519804955, 0.018568983301520348, -0.0229959636926651, 0.014584510587155819, -0.023160990327596664, 0.02517032064497471, 0.007532201241701841, -0.015971040353178978, -0.021215766668319702, 0.011296478100121021, -0.05792250484228134, -0.00696675106883049, 0.010578185319900513, -0.004903759341686964, 0.006714197341352701, 0.0005305887898430228, 0.017466016113758087, -0.041783638298511505, 0.01567656733095646, 0.027986058965325356, -0.0460767038166523, -0.056989122182130814, -0.07224854081869125, 0.030975017696619034, 0.054668985307216644, -0.03995835781097412, -0.044328201562166214, -0.03804906830191612, -0.2416081428527832, 0.01474368292838335, -0.08788219094276428, 0.04698747396469116, -0.05255578085780144, -0.006067821290344, -0.06160131096839905, -0.0199295487254858, 0.028977153822779655, -0.0620940700173378, 0.014698057435452938, 0.06192677468061447, 0.02713560126721859, -0.0334521159529686, -0.05092234909534454, -0.043358948081731796, -0.06319297105073929, -0.006183345336467028, -0.011304400861263275, 0.013951467350125313, 0.0016796407289803028, -0.03568831458687782, -0.04228327050805092, 0.009355761110782623, 0.012158232741057873, 0.03284590318799019, 0.0546480193734169, 0.06023266166448593, 0.0573154054582119, 0.030081363394856453, 0.001820949139073491, 0.025261754170060158, 0.007308272644877434, -0.1841258853673935, 0.08585556596517563, 0.021951384842395782, 0.07286323606967926, -0.0012867500772699714, -0.014304653741419315, 0.029714277014136314, -0.01044557150453329, -0.048887450248003006, 0.025037122890353203, 0.023361053317785263, 0.04587121680378914, -0.013863781467080116, 0.006810959428548813, -0.05199328437447548, -0.04035704582929611, -0.0028557537589222193, 0.040069010108709335, -0.02803816832602024, -0.02003476582467556, 0.007592222653329372, 0.012388165108859539, -0.035619985312223434, 0.03451137617230415, 0.02566930092871189, 0.00041064375545829535, 0.027421221137046814, -0.0030543303582817316, -0.015038580633699894, -0.013346374034881592, 0.01268385723233223, 0.059939127415418625, -0.03435782715678215, -0.01039697416126728, 0.04504794254899025, 0.027724461629986763, 0.018933720886707306, 0.22429825365543365, -0.027784112840890884, 0.04725030064582825, 0.03954485431313515, -0.013079057447612286, 0.04265874996781349, -0.02393130399286747, -0.017790529876947403, -0.014327014796435833, -0.010525967925786972, -0.003488322487100959, -0.005928269121795893, -0.03522379323840141, 0.021231429651379585, -0.06974592059850693, 0.056690022349357605, -0.0031249006278812885, -0.006395123898983002, 0.008699729107320309, -0.03804311156272888, 0.040274687111377716, -0.00968106184154749, 0.018101178109645844, 0.07516085356473923, 0.0012471938971430063, 0.04775847867131233, -0.03647366538643837, 0.07821988314390182, 0.07651979476213455, 0.010400560684502125, 0.02674723044037819, 0.032159432768821716, -0.025712646543979645, -0.09184610098600388, 0.00842119101434946, 0.03772043064236641, 0.019646553322672844, -0.01895333267748356, -0.029952310025691986, -0.0025342374574393034, -0.004225097130984068, -0.043240439146757126, 0.00730860885232687, -0.0033275941386818886, -0.11067210137844086, 0.0013352896785363555, 0.1375345140695572, -0.04602627456188202, 0.07594353705644608, -0.09002432972192764, -0.026117287576198578, 0.0031771778594702482, 0.018134398385882378, -0.07990173250436783, -0.03162620589137077, 0.010678390972316265, 0.0033550048246979713, 0.027852168306708336, 0.06270775943994522, -0.03615152835845947, 0.01831194944679737, -0.014931752346456051, -0.03163711726665497, -0.03856075555086136, 0.07436971366405487, 0.017493657767772675, -0.13311362266540527, -0.012014362029731274, -0.004734308924525976, 0.024259373545646667, 0.013847221620380878, -0.010594535619020462, 0.024273507297039032, -0.012241621501743793, -0.013721054419875145, 0.07039885222911835, 0.021947821602225304, -0.05214391276240349, -0.028784828260540962, -0.014026218093931675, -0.0019776076078414917, 0.04720262065529823, -0.024383535608649254, -0.02796299010515213, -0.003225980792194605, 0.010234378278255463, -0.057744793593883514, -0.03270367532968521, -0.028963973745703697, 0.016809970140457153, 0.030036253854632378, -0.06015491113066673, 0.017604561522603035, 0.0217164047062397, -0.03385457023978233, -0.018430611118674278, -0.03204507380723953, 0.011819570325314999, -0.04571368172764778, -0.0021465090103447437, -0.04933825507760048, 0.06934265047311783, 0.03226383030414581, -0.018082207068800926, 0.0614798478782177, 0.0055186571553349495, -0.00017116894014179707, -0.0585489496588707, -0.030624620616436005, 0.029056528583168983, 0.009988945908844471, -0.023365089669823647, 0.002910215174779296, 0.043203894048929214, 0.002771872328594327, -0.015165896154940128, 0.001211158698424697, 0.029317539185285568, 0.04472225531935692, 0.01344485767185688, 0.052065011113882065, 0.03324037417769432, -0.08531136810779572, -0.07698003947734833, -0.2547973692417145, 0.03955446928739548, 0.014334004372358322, 0.0024476998951286077, 0.008407903835177422, -0.05299191549420357, 0.030291324481368065, -0.025947580114006996, -0.0337488129734993, 0.060656286776065826, 0.05226939171552658, 0.00014324119547381997, 0.02019183337688446, -0.024037333205342293, -0.006291270721703768, 0.06941847503185272, 0.019282007589936256, 0.01756295934319496, -0.032751474529504776, 0.010187731124460697, -0.006341937463730574, 0.034166086465120316, 0.02233685739338398, -0.06769824773073196, 0.04761771857738495, 0.031977664679288864, 0.21109645068645477, 0.025744104757905006, 0.03164825960993767, -0.050835270434617996, 0.05137601122260094, -0.017854422330856323, -0.020935704931616783, -0.10362612456083298, 0.02023964934051037, 0.06620872020721436, 0.03666212409734726, 0.023707440122961998, -0.008348780684173107, -0.01999490335583687, -0.05138054117560387, 0.03996339812874794, 0.02754773385822773, -0.11709918081760406, -0.030352290719747543, -0.00320250797085464, -0.03264481574296951, 0.00888980831950903, -0.050069767981767654, 0.013111445121467113, 0.0230829156935215, -0.014952996745705605, 0.03711654990911484, -0.009039012715220451, -0.011952496133744717, -0.055399827659130096, -0.0783965140581131, 0.07894989103078842, -0.04367593675851822, 0.037215229123830795, 0.006244718097150326, -0.02265210635960102, 0.015604418702423573, -0.017791783437132835, 0.054866839200258255, 0.0013265985762700438, -0.010594730265438557, -0.017759103327989578, 0.026714708656072617, -0.03446982428431511, -0.03231889382004738, 0.08140415698289871, -0.038564253598451614, -0.01227511279284954, 0.04784150421619415, 0.04373153671622276, 0.013503942638635635, -0.03514159843325615, 0.020097801461815834, -0.060294877737760544, 0.029061248525977135, -0.033003926277160645, 0.028523998335003853, 0.051228947937488556, 0.05959555506706238, 0.07050800323486328, 0.0462716668844223, -0.017502648755908012, -0.008084543980658054, -0.0315307155251503, 0.015765279531478882, -0.014459185302257538, -0.05875414237380028, -0.047568514943122864, 0.025013603270053864, 0.01082836464047432, -0.28273752331733704, 0.02109525166451931, -0.024867305532097816, 0.007993615232408047, -0.027719542384147644, -0.012694056145846844, 0.06456991285085678, 0.07281865179538727, -0.02789027988910675, 0.04810271039605141, -0.002441803691908717, 0.02269500307738781, -0.0017870713490992785, -0.014205679297447205, 0.032772161066532135, 0.08186517655849457, 0.0591120570898056, -0.050447411835193634, 0.011168528348207474, -0.05358581617474556, 0.07387675344944, 0.03378621116280556, 0.2578207850456238, 0.012453846633434296, 0.0006617034086957574, 0.06858547776937485, -0.013204652816057205, 0.054884668439626694, 0.0566662922501564, -0.004328805021941662, -0.012987340800464153, 0.016138767823576927, 0.0877235159277916, -0.014676705934107304, 0.03925833851099014, 0.05790109187364578, -0.013719726353883743, 0.030259840190410614, 0.062408242374658585, -0.050180573016405106, -0.026845058426260948, 0.029841257259249687, -0.005674492567777634, -0.003968771547079086, 0.07939566671848297, -0.028280137106776237, -0.020946113392710686, -0.08394811302423477, -0.016898371279239655, 0.016179339960217476, -0.05341990292072296, -0.01670064963400364, -0.004056346137076616, 0.008315782994031906, -0.02033758908510208, 0.019608978182077408, -0.04674215242266655, -0.030284015461802483, -0.03764469176530838, -0.007604166865348816, 0.05644567310810089, -0.08672089874744415, 0.02158757485449314, 0.02139126881957054, -0.01078043133020401 ]