Rag Gemma 3 270M Ollama
vector-searchvector-databaseretrieval-augmented-generationgooglellm-frameworksweaviate-featuresfunction-callingweaviate-recipesmodel-providersPythongenerative-ai
Export
Local RAG with Gemma 3 270M and Weaviate
This notebook walks you through building a local RAG pipeline using Gemma 3 270M with Ollama and Weaviate.
Setup
- Download and install Ollama for your operating system: https://ollama.com/download
pipinstall the Python library to generate vector embeddings from the model withpip install ollama. (REST API or JavaScript library also available)
[ ]
- Pull relevant LLM and embedding model
[ ]
- Test the connection to
snowflake arctic embedandgemma 3 270M
[6]
EmbeddingsResponse(embedding=[0.13748186826705933, -0.516970157623291, -0.49420779943466187, 0.04724853113293648, 0.26531967520713806, 0.42371881008148193, 0.26317495107650757, 0.8286728262901306, 0.13512548804283142, -0.3822863698005676, 0.14286038279533386, 0.3222828209400177, 0.3947080373764038, 0.8898833990097046, 0.29464420676231384, 0.05239919573068619, 0.4732877314090729, -0.039116669446229935, -0.4511941969394684, -0.2753143906593323, 0.5590512752532959, 0.6304900050163269, 0.7312970161437988, -0.08470149338245392, 0.1440456509590149, -0.12175796926021576, -0.03627774864435196, -0.5892104506492615, -0.7946105003356934, 0.47210487723350525, -0.4833589494228363, -0.464603453874588, 0.006660632789134979, 0.48332729935646057, 0.5913648009300232, 0.04839450120925903, -0.7773759365081787, -0.8896509408950806, 0.4875617027282715, -0.38727307319641113, -0.31987324357032776, -0.07857022434473038, 0.010622784495353699, 1.625440001487732, -0.3959883153438568, 0.9545913934707642, 0.3035925030708313, -0.7808507680892944, -0.4103310704231262, -0.5180317163467407, 1.080289602279663, -0.39843979477882385, 0.2752401530742645, 0.09506508708000183, -1.0461777448654175, 1.003322720527649, 0.3683922290802002, 1.091396450996399, 0.10527434200048447, -0.5948897004127502, -0.2017497718334198, -0.6586308479309082, -0.6510488986968994, 0.3526647090911865, -0.32435357570648193, 0.8182287216186523, -0.06570568680763245, -0.42520737648010254, 0.4038794934749603, -0.9040390849113464, -0.7504926919937134, 0.25870418548583984, 0.00770772248506546, 0.10613559186458588, 1.1264153718948364, -0.6039342284202576, -0.2984026372432709, 0.15797238051891327, 1.3773492574691772, 0.6201273798942566, -0.14891795814037323, -0.29925537109375, -0.33913928270339966, 0.14853394031524658, 0.504357635974884, 0.11243505775928497, 1.4084968566894531, -0.228091761469841, -0.8135186433792114, -0.05693982541561127, -0.2643882632255554, -0.31564879417419434, 0.8387740850448608, 1.700356364250183, -1.2923626899719238, -0.32406505942344666, 0.3551098704338074, -0.80666184425354, 1.0935839414596558, -0.48556989431381226, -0.060143619775772095, -1.0059362649917603, -0.7415910959243774, -0.3116821050643921, -0.10697796940803528, 0.27671489119529724, -0.6510767936706543, -0.31710174679756165, -1.008126139640808, -0.4027588367462158, 0.15705737471580505, -0.12990900874137878, -0.6546145677566528, -0.25752317905426025, 1.3268159627914429, -0.8993093371391296, 0.5844767689704895, -0.7015925645828247, 0.07087647914886475, 1.8041508197784424, 0.47179216146469116, 0.1826738566160202, 0.4137151837348938, -0.9758030772209167, -1.3220947980880737, 0.9949564337730408, 0.39035671949386597, -0.3062015473842621, -0.6157169938087463, 1.1812106370925903, -0.7018084526062012, 0.003097742795944214, 1.3076603412628174, -0.6742841005325317, -0.20393919944763184, -0.16040390729904175, -2.267399549484253, -1.9702907800674438, 1.4410027265548706, 0.6571230292320251, 0.023441562429070473, -1.3034398555755615, -0.6075729131698608, -0.13617680966854095, 0.5928584337234497, 0.06253743916749954, 0.3331911265850067, 0.24695447087287903, -0.48529940843582153, -0.4183357059955597, -0.9116165041923523, -1.4268907308578491, -0.4356396198272705, 0.012393919751048088, 0.2858242392539978, -1.6915746927261353, 0.5226649641990662, -0.6062073707580566, 0.3257097601890564, 0.14397934079170227, -0.06274735927581787, 0.1481027603149414, 0.7359234094619751, 0.23457172513008118, -0.33878833055496216, 0.05041816085577011, 1.0717285871505737, 0.3410767614841461, 0.4665646255016327, 0.1781787872314453, -0.9742967486381531, 0.9680777192115784, 1.7529220581054688, 0.8466002345085144, 0.06139563024044037, 0.5526467561721802, 0.5770150423049927, -0.30541756749153137, 0.2072102576494217, 0.09940089285373688, -0.18297533690929413, -0.9120267033576965, 0.29231661558151245, -0.629205048084259, -0.6214812994003296, 1.733423113822937, -0.43802309036254883, -0.9705185890197754, 0.030778639018535614, -1.9681391716003418, -0.20070600509643555, -1.3761053085327148, 1.0771229267120361, -0.02146098017692566, -0.9337267875671387, 1.1515932083129883, -0.4469324052333832, 0.25375428795814514, 0.6845142841339111, -0.17941316962242126, -0.06314847618341446, -0.34483298659324646, 1.2984254360198975, -0.10872171819210052, -0.3534378409385681, 0.7290385961532593, -0.40138310194015503, -0.8223853707313538, 0.4247533082962036, -0.17967021465301514, -1.9719500541687012, 0.521125853061676, -0.33336353302001953, 0.7004340291023254, 0.08891380578279495, -0.07398220151662827, -0.27258068323135376, 0.8358454704284668, -0.0241499375551939, 0.25969260931015015, -0.5486021637916565, 0.71458899974823, 0.9863337874412537, 0.25883615016937256, 0.5451313257217407, -0.7111635804176331, -0.4542371332645416, -0.3051907420158386, 0.24148046970367432, -0.8166040778160095, -1.0684529542922974, -1.396287441253662, 0.8154255747795105, 0.9921544790267944, -0.09043504297733307, 0.800136148929596, 1.2026859521865845, 0.7083185911178589, 0.6466687321662903, -0.463769793510437, 0.6227340698242188, 0.3100344240665436, 0.9527344703674316, 0.6878869533538818, 0.499197781085968, -0.017847159877419472, 0.3446632921695709, 0.9345201849937439, 0.7098612785339355, 0.07144133001565933, 0.04970167577266693, 0.604802131652832, -0.09285524487495422, 0.06859418004751205, 0.44761720299720764, 0.588079035282135, 0.319384902715683, -0.8211179971694946, 0.3313199579715729, 0.34579741954803467, 0.2991127073764801, 0.018655531108379364, -0.9210999608039856, 0.3546206057071686, 0.1684752255678177, 0.6777766346931458, 0.5273994207382202, -0.019642475992441177, 1.043616533279419, 0.08516732603311539, 0.37307608127593994, -0.12894253432750702, -0.6851302981376648, 0.011484608054161072, 1.1208775043487549, 0.62824547290802, -0.8784793019294739, 0.6106860041618347, -0.724130392074585, 0.6503488421440125, 0.9100295305252075, -1.0721200704574585, 0.1292538344860077, 0.49569737911224365, -0.9732317924499512, 0.08822670578956604, -0.9764389991760254, -0.7112590074539185, 0.619598388671875, 1.0095587968826294, 0.7725474834442139, -0.49075502157211304, 0.24261632561683655, -0.28964394330978394, -0.046490103006362915, 0.04050888493657112, 0.2597188949584961, -0.1565079540014267, 0.24556446075439453, 0.7221001982688904, 0.0411730632185936, -0.23356586694717407, -0.10057996213436127, 0.3191142678260803, -0.721365749835968, -0.5463297963142395, -0.1749507486820221, -0.7689408659934998, -0.3749678432941437, 0.2391570508480072, 1.5581610202789307, -0.2093944400548935, -0.6197497248649597, -0.9490306377410889, -1.600014328956604, -0.5293623208999634, -0.8709183931350708, 0.6781043410301208, 0.45937052369117737, -0.20805133879184723, 0.9522378444671631, 0.08576823025941849, -1.1095967292785645, -0.9499733448028564, 0.38385477662086487, -0.18749357759952545, -0.9140891432762146, -0.12424108386039734, -0.6467221975326538, 0.5655378699302673, -0.720032274723053, 0.05396798253059387, 1.1144440174102783, 1.2820861339569092, -0.6516358852386475, -0.10801234841346741, 1.1339701414108276, 0.16064801812171936, 0.040282994508743286, -0.4647921621799469, 0.7895318269729614, -0.3732684552669525, 0.4731391668319702, -0.001530759036540985, -0.18184086680412292, 0.7184357643127441, 0.1395796537399292, 0.3250093460083008, -0.01863430067896843, 0.2975215017795563, 0.0060002803802490234, -0.06308327615261078, -0.2722797989845276, -0.6862642765045166, -0.22041000425815582, 0.23749352991580963, 1.260324239730835, -1.0201653242111206, -0.5831401348114014, 0.6346392631530762, 0.7175034880638123, -0.6438578367233276, 1.3877633810043335, -1.1234151124954224, -0.8776722550392151, -0.9878004193305969, 0.07790464162826538, 0.06065111234784126, 0.3860918879508972, -0.0893724262714386, 0.06800112128257751, 0.04424162954092026, 0.01186363585293293, 0.23361560702323914, -1.8467402458190918, -0.3431439697742462, -0.02551901899278164, 0.3875749111175537, -0.7910197377204895, 0.6650490760803223, 0.11445177346467972, 0.03775673359632492, -0.0961364209651947, 0.01735912635922432, -1.6417067050933838, -0.8225701451301575, 0.2348061203956604, 0.33290645480155945, -0.8104786276817322, -0.019884973764419556, 0.6504950523376465, 0.2625191807746887, 0.1380072832107544, 0.37329548597335815, -0.5283061265945435, -0.9620512127876282, -0.3754168450832367, -0.41470229625701904, -0.21229158341884613, -0.06527523696422577, 0.4976126253604889, 2.234564781188965, 0.25908908247947693, 0.6887215971946716, 0.13720844686031342, -0.7834397554397583, 0.3665262758731842, -0.15651991963386536, 0.19145222008228302, 0.6874308586120605, 0.5729916095733643, 0.607534646987915, 0.22323928773403168, -0.014411544427275658, 0.2976108193397522, 0.36667338013648987, -0.14239966869354248, -0.1412632018327713, 0.2942849099636078, 0.34459570050239563, -0.1830121874809265, -0.27311205863952637, -0.32828572392463684, 0.07352463155984879, 0.2378922402858734, -0.5965824127197266, 0.4581846296787262, 1.149895429611206, -0.8266811966896057, 0.04912964627146721, 1.9097750186920166, 0.1267499029636383, -0.005288831889629364, -1.1805694103240967, 0.013732951134443283, 1.2175250053405762, 0.3478108048439026, 0.02633029967546463, -0.25459012389183044, 0.10001092404127121, -0.14014092087745667, 0.002458366099745035, -0.783237099647522, -0.42705023288726807, -0.08851028978824615, -0.13176225125789642, 0.4239070415496826, -0.9570884108543396, 1.1603658199310303, -0.16930685937404633, 0.7932640910148621, 1.2609463930130005, -0.678098738193512, 0.05585755407810211, -2.569253921508789, -0.6341099739074707, -0.9905251264572144, 1.03110933303833, 0.00188470259308815, -0.6032072305679321, -0.8911513686180115, -0.42596930265426636, 1.247650384902954, -0.10752063989639282, -0.26216983795166016, 0.2086794078350067, 0.13289327919483185, -1.842097282409668, 0.09436585754156113, 0.28496724367141724, -0.2017366886138916, -0.8080275058746338, 0.5749503374099731, 0.28763023018836975, -1.0073564052581787, -0.5997391939163208, 0.5710408091545105, -0.31137141585350037, -0.628110945224762, 0.40114182233810425, -0.38466382026672363, 0.6095905900001526, 0.4506538212299347, -1.7245721817016602, -1.2109514474868774, 0.15132871270179749, -0.46685782074928284, -0.3026632070541382, 1.132604718208313, -0.7798402309417725, -0.11798537522554398, 0.4782388508319855, 0.7133335471153259, -0.5484915971755981, -0.19860891997814178, -0.06223376467823982, -0.13076935708522797, 0.15342190861701965, 0.1366308331489563, -0.2303813099861145, -1.0046627521514893, 0.30094942450523376, 0.06731994450092316, 0.6602568030357361, 0.767884373664856, 0.06681119650602341, 0.9654746651649475, 0.19614239037036896, -0.41143402457237244, -1.9299489259719849, 0.7989025115966797, 0.06480373442173004, -0.11380677670240402, -0.6981728076934814, 0.6709553599357605, 0.10944368690252304, 0.9580813646316528, -0.062450408935546875, -0.6341973543167114, 0.5474990010261536, 0.1870984435081482, -0.8220767974853516, 0.005325865000486374, 0.30534806847572327, -0.880402684211731, -0.5556901097297668, 1.4017086029052734, -0.002972658723592758, -0.057493872940540314, -0.27541106939315796, 1.107285737991333, 1.0508718490600586, -0.32723674178123474, 0.7612618803977966, -0.2710116505622864, -0.07652692496776581, 0.6564573049545288, -1.0537739992141724, 0.4354107677936554, -1.0619813203811646, -0.6493927240371704, 0.7351317405700684, -0.5897412300109863, 0.4121970236301422, 0.002283792942762375, -0.22532205283641815, -1.8435184955596924, -0.5010045766830444, 0.020324667915701866, 0.19180771708488464, 0.21231260895729065, -1.1183172464370728, 0.1815844476222992, -0.41204577684402466, 0.3095027506351471, -0.9605600237846375, 1.220609426498413, 0.04570258408784866, -0.11762335896492004, 0.19081242382526398, 0.9445151686668396, 0.30712199211120605, 0.6509066224098206, 0.7898796200752258, -0.13503989577293396, 1.1567262411117554, 0.29716143012046814, 0.3738180994987488, -0.3039465546607971, -0.5498601198196411, 1.08628511428833, -0.6866754293441772, 0.23410752415657043, 0.16373631358146667, -1.027214765548706, 1.4598747491836548, 0.28780677914619446, -1.0241310596466064, 0.4305531084537506, 0.505618155002594, -0.6100473999977112, -1.085303544998169, 0.10952837765216827, -1.0445042848587036, 0.09248481690883636, 0.863085925579071, -0.45992183685302734, 0.5323539972305298, 0.1712213158607483, 0.20593011379241943, -0.3239201009273529, 1.7084715366363525, -1.3748695850372314, 0.5464621782302856, 0.38703736662864685, -0.23600275814533234, 0.42309096455574036, 0.0345194935798645, -0.7624275088310242, 0.15760599076747894, 0.13884207606315613, -0.08097752183675766, -0.18891778588294983, -0.7133822441101074, 0.3845329284667969, 1.5878747701644897, 0.14535829424858093, 1.986856460571289, 0.6559243202209473, 0.20727244019508362, 0.10842481255531311, -0.26738113164901733, -0.11776520311832428, 0.1716206669807434, -0.41699326038360596, 0.9660486578941345, 0.4936378300189972, 0.03564203530550003, 0.2667902708053589, 0.8853341341018677, 0.17307943105697632, 0.19989058375358582, 0.2444738894701004, 1.4796451330184937, 0.27246442437171936, -0.9593231081962585, -0.8651093244552612, 1.0364727973937988, -0.8927191495895386, 0.06973990797996521, -0.1425393521785736, -0.6059344410896301, 0.10707862675189972, 0.0059820301830768585, 0.562532901763916, -0.18464763462543488, -0.9728400707244873, -2.021602153778076, 0.6234257221221924, 0.4638770520687103, -0.17290379106998444, 0.005028486251831055, -0.1541748046875, 0.4654432535171509, 0.5600293874740601, 0.5514429807662964, -0.6436892747879028, -1.9215091466903687, -0.8886563777923584, -0.2801131308078766, -1.0757662057876587, 0.8152456879615784, 0.9697715640068054, 0.2734891176223755, 0.7729933261871338, -0.24315695464611053, 0.5924967527389526, -0.8121132254600525, 0.6734199523925781, 0.3427280783653259, 1.2695362567901611, 1.1111646890640259, -0.7323617935180664, -0.8737882971763611, -0.17348764836788177, 4.21720027923584, 1.318056344985962, 0.0030591534450650215, -1.6131898164749146, -0.3274145722389221, 1.145769715309143, -0.4484820067882538, 0.4611252248287201, 0.13748550415039062, 0.8613652586936951, 0.1807616651058197, -0.559181272983551, 1.2234134674072266, 0.6806095242500305, -0.1479416787624359, 0.4078536927700043, -0.925156831741333, -0.3808053433895111, 0.07303246110677719, -0.0971962958574295, 0.36740416288375854, -0.439270943403244, -0.7950851321220398, 0.04973221570253372, 0.2656365633010864, -0.6334656476974487, -0.6506012678146362, -1.2078346014022827, -0.39594873785972595, 0.04766099527478218, 0.5043413639068604, 0.12792500853538513, -0.6627287864685059, 0.5372836589813232, 0.7278249859809875, 0.5253714323043823, 0.7099947929382324, 1.9780455827713013, 0.43508806824684143, 0.0726277083158493, 0.7975365519523621, -0.20473337173461914, -0.872723400592804, -0.01601303368806839, -0.1932319700717926, -0.12874779105186462, -0.6916857957839966, 0.9201479554176331, -1.1597082614898682, -0.6397226452827454, 1.1084034442901611, -0.24427257478237152, 0.14852800965309143, -0.4413924217224121, 0.035574089735746384, -0.03100496530532837, 0.6617339253425598, -0.8903114795684814, 0.5577102899551392, -0.4637753665447235, -0.018415288999676704, -1.1154088973999023, 0.9315926432609558, -0.5583296418190002, -0.6176534295082092, 0.31175047159194946, -0.7210369110107422, 1.2532761096954346, 0.3264778256416321, -0.4943612813949585, -0.8976964354515076, -0.21033410727977753, 0.6709603667259216, -0.03832687810063362, 0.09491153806447983, -0.4495455324649811, -0.41284430027008057, 0.011149760335683823, -0.555161714553833, -0.1746797114610672, -0.3386143445968628, 0.21455040574073792, 0.1206110343337059, -0.2820788621902466, -0.18591010570526123, 0.15036296844482422, 0.8811133503913879, -0.2872210144996643, -0.689651370048523, 0.245574489235878, -0.9551790356636047, 0.9613850116729736, -0.3382839858531952, 0.22266848385334015, -1.0212453603744507, 0.6040235757827759, -0.1810518503189087, -0.15690284967422485, 0.5184290409088135, 0.04241622984409332, -0.8127565979957581, 0.9155142903327942, 0.6887050867080688, 0.10500834882259369, -0.48578059673309326, -0.19080284237861633, 0.4243119955062866, -1.8534051179885864, -0.07701696455478668, -0.11208639293909073, 0.3992955684661865, -0.15679430961608887, 0.3824607729911804, -0.7583035826683044, -0.26484444737434387, -0.9545710682868958, -0.08405788242816925, -0.9321907758712769, -0.13175176084041595, -0.7883146405220032, 0.9472860097885132, -0.7657399773597717, 0.04367971420288086, -0.7220321893692017, 1.3807047605514526, 0.04741860181093216, 0.20920158922672272, 0.8428689241409302, -0.4959966242313385, -0.702788233757019, -0.025530584156513214, -0.5743776559829712, 0.5196785926818848, -0.5857987999916077, -0.3452345132827759, -0.4178996980190277, -0.68946373462677, 1.2610074281692505, -1.745047926902771, -1.059093713760376, 0.7361809015274048, -0.7980436086654663, -0.42263132333755493, 0.6235154867172241, 0.4831233620643616, -0.38208678364753723, -0.2719595432281494, 0.7786964774131775, -0.28731000423431396, -0.04275910556316376, -0.6909046173095703, -0.724025309085846, 0.762908935546875, -0.33870214223861694, -0.16591770946979523, 0.9473117589950562, 1.8590872287750244, -0.7778566479682922, 0.0370820015668869, -0.09193016588687897, 0.4384194612503052, 0.576487123966217, -0.2820827066898346, -0.06716008484363556, -0.13296018540859222, 0.5181670188903809, -0.48658013343811035, -0.6643556952476501, 1.0136221647262573, 1.4754915237426758, 0.21659508347511292, 0.2266039103269577, 0.5565586090087891, 0.628412127494812, -1.2802364826202393, -0.17323380708694458, 0.2583508789539337, 0.21227258443832397, -0.36292171478271484, -1.375350832939148, -0.4512593150138855, 0.20130208134651184, -1.8862766027450562, 0.34623983502388, -1.2784972190856934, -0.12184575200080872, -0.5054447650909424, 0.29815542697906494, -0.3761495053768158, -0.11589018255472183, 0.6940857768058777, -0.12962380051612854, 0.23749545216560364, 0.13115808367729187, -0.48849672079086304, -0.40345242619514465, 0.2852310538291931, 0.33999159932136536, -0.9352017641067505, -0.869799792766571, 1.0572596788406372, 0.3504279553890228, -0.056519076228141785, 0.7948054671287537, -0.3272148072719574, -0.8838135600090027, 0.021876275539398193, 0.39956045150756836, 0.1375204622745514, 0.545262336730957, 1.149031639099121, 0.5403832197189331, 0.39609068632125854, -0.40710020065307617, -0.14239206910133362, 1.0999536514282227, 0.5368831753730774, 0.5611220002174377, -0.4542049467563629, 0.24335536360740662, 0.7092278599739075, 0.8300214409828186, 0.1792651116847992, 0.3982921838760376, 0.19208696484565735, -0.4846397638320923, 0.6195712089538574, -0.12290477752685547, -0.22329990565776825, -0.6603798866271973, 0.13329190015792847, -0.5505431294441223, -0.33131593465805054, 0.32826268672943115, 0.4092409908771515, -1.1014169454574585, -0.0790192112326622, -0.7972150444984436, 1.0748639106750488, 0.1257929801940918, -0.2763865888118744, -0.19737233221530914, 0.25836098194122314, -0.45868557691574097, -0.5304046869277954, -0.3781472444534302, 0.07425414025783539, 1.9625056982040405, 0.010800249874591827, 0.880800187587738, -0.048683881759643555, 0.044987984001636505, 0.23506996035575867, 0.3576880693435669, 0.37960249185562134, 0.021878819912672043, 0.664620041847229, 0.23338383436203003, -0.32089030742645264, 0.5195611715316772, 0.2109406590461731, 1.3032121658325195, -0.0053801159374415874, 0.8287643194198608, -1.2984678745269775, -0.37815386056900024, 0.4926048517227173, -0.27421605587005615, 0.6995468139648438, -0.8594383001327515, -0.12659117579460144, 0.0917280986905098, 0.24890181422233582, -0.05810549110174179, -0.24283871054649353, -0.5109903216362, -0.4570997655391693, -0.536310076713562, -0.3394150733947754, 0.019673088565468788, 0.3255240321159363, 0.3480040431022644, -0.4604658782482147, 1.1561970710754395, 1.0573482513427734, -0.42609697580337524, -0.28204625844955444, 0.578864574432373, 0.0739893838763237, 2.138582706451416, 0.6979501843452454, -0.9552099108695984, 0.0500212237238884, 0.1783004105091095, 0.10605937987565994, -0.9401424527168274, -0.380905419588089, 0.6359352469444275, -0.5660998821258545, 0.5580263137817383, 0.9060291051864624, 0.2531244456768036, 0.5947607159614563, 0.16787266731262207, 0.6191840171813965, -0.4135412275791168, -0.48135244846343994, -0.35867273807525635, -0.34042856097221375, -0.2816583812236786, -0.5652194023132324, 0.1696212887763977, 0.5367604494094849, -0.34035664796829224, 0.23824799060821533, -0.6480954885482788, 0.3374417722225189, -0.41277214884757996, 0.2574755549430847, -0.23068955540657043, -0.5202088952064514, 0.05099240690469742, 0.051112350076436996, -0.2183869183063507, 2.436577081680298, -0.7533840537071228, 0.4842355251312256, -0.14238467812538147, -0.23543819785118103, -0.5462570190429688, -0.1546596884727478, 0.009782161563634872, -0.5889967679977417, -0.7379155158996582, 0.34135302901268005, 0.013903014361858368, -0.40066245198249817, -0.017388734966516495, -0.4456544816493988, -0.7363135814666748, 0.12603679299354553, -0.3477344214916229, 0.48618611693382263, -0.0937950611114502, -0.08810892701148987, -0.23658986389636993, -0.43332409858703613, 0.14063239097595215, 0.34543895721435547, 0.20277008414268494, -0.11100591719150543, -0.0821007490158081, 0.5267305374145508, -1.9356677532196045, -0.08920159935951233, -0.9176574945449829, 0.006988264620304108, -0.046042513102293015, 0.26227378845214844])
[7]
I am doing well, thank you for asking! How are you today?
Step 1: Connect to Weaviate
Connect to your running Weaviate cluster (choose one option)
- You can create a 14-day free sandbox on WCD
- Embedded Weaviate
- Local deployment
- Other options
Option 1: Weaviate Cloud
[ ]
True
Option 2: Weaviate Embedded
[ ]
Option 3: Weaviate local host
[ ]
Step 2: Define Weaviate collection
[10]
Successfully created collection: vector_db_facts.
Step 3: Import your data
[1]
[8]
[9]
QueryReturn(objects=[Object(uuid=_WeaviateUUIDInt('016df96e-d72a-48e5-8f2c-c915ab5cac6b'), metadata=MetadataReturn(creation_time=None, last_update_time=None, distance=None, certainty=None, score=None, explain_score=None, is_consistent=None, rerank_score=None), properties={'text': 'They are essential for powering Retrieval-Augmented Generation (RAG) pipelines, enabling LLMs to pull in relevant facts before answering.'}, references=None, vector={'default': [0.8140762448310852, -0.5702143907546997, -0.8066444396972656, 0.3504329323768616, 0.18915557861328125, 0.17941194772720337, 0.23056617379188538, -0.30798184871673584, 0.20502254366874695, -0.6825118660926819, 0.9177469611167908, -0.2981626093387604, 0.6611047983169556, 0.40573132038116455, 0.5498625040054321, -0.06456507742404938, 1.159651279449463, -0.36653849482536316, 0.38673311471939087, 0.059227339923381805, 0.5635879635810852, 0.07160080224275589, 0.2358045130968094, -0.4472408890724182, 0.32264775037765503, 0.19398479163646698, -0.4101819396018982, -0.4295459985733032, -0.40067335963249207, 0.4364546835422516, 0.12329207360744476, 0.007636889815330505, -0.11995863914489746, -0.05890414118766785, 0.14826953411102295, 0.01796761527657509, 0.05202185735106468, -1.2634525299072266, 0.6442779898643494, -0.362515926361084, -0.15273019671440125, 0.5400171279907227, 0.4879519045352936, 1.3718892335891724, -0.5252133011817932, 0.49186310172080994, 0.3261796832084656, -0.4124388098716736, -0.3830326795578003, -0.9285328984260559, 0.29166632890701294, -0.05496058240532875, 0.016176339238882065, 0.1560131162405014, -1.025086760520935, 0.5128859877586365, 0.544754147529602, 1.0994027853012085, 0.2743714153766632, -0.9108588695526123, 0.3717062175273895, -0.7475377321243286, -0.8081703186035156, 0.5723567605018616, 0.7812105417251587, 0.2523275911808014, 0.8757710456848145, -0.6615740060806274, 0.6290469765663147, -1.1690832376480103, -0.33922767639160156, 0.42561641335487366, -0.08592275530099869, 0.6349505186080933, 0.890545129776001, -1.0162512063980103, -0.07633766531944275, -0.21300211548805237, 0.6319460272789001, 0.9812703728675842, 0.31063541769981384, -0.15528224408626556, -0.36613714694976807, 0.5196853280067444, -0.32407116889953613, 0.11506199836730957, 1.8640352487564087, -0.29891952872276306, 0.36484161019325256, -0.17628999054431915, -0.07249072194099426, -0.6342345476150513, 1.1226643323898315, 1.394813895225525, -0.8418889045715332, 0.4316956102848053, 0.15878070890903473, -0.2269265055656433, 0.649479866027832, -0.24344049394130707, -0.06650639325380325, -0.4081692397594452, 0.19821354746818542, 0.4718359410762787, -0.21406276524066925, -0.2884770631790161, -0.10271274298429489, -0.06210850924253464, -0.7650416493415833, -0.6247038841247559, -0.3469729423522949, -0.03142773360013962, -0.49245649576187134, -0.3482059836387634, 0.8555120229721069, -0.34142714738845825, 0.8004253506660461, -0.8141127824783325, -0.5346599221229553, 1.6402089595794678, 0.9540936350822449, 0.4394170343875885, 0.09917622804641724, -0.8829105496406555, -1.342888593673706, 0.7063382863998413, -0.13912853598594666, -0.17344819009304047, -0.22818073630332947, 0.49699831008911133, -0.8125829100608826, 0.1461041122674942, 0.7511262893676758, -0.4271463453769684, -0.7447701096534729, 0.42866045236587524, -2.245391368865967, -2.06968092918396, 1.2176198959350586, 0.16663384437561035, 0.1077101081609726, -1.3818519115447998, -0.13182112574577332, 0.4062367379665375, 0.7647316455841064, -0.4040479063987732, 0.314245343208313, -0.3686203062534332, -0.7516680359840393, -0.8325114250183105, -0.5341190695762634, -1.0501455068588257, -0.4636320471763611, -1.0538066625595093, -0.020757190883159637, -1.7397022247314453, 0.9159456491470337, -0.679349958896637, 0.02422163262963295, -0.48276612162590027, -0.30188143253326416, 0.4667729139328003, 1.0219613313674927, 0.01752500981092453, -0.5406219363212585, -0.03678080067038536, 1.3147835731506348, 0.5489611029624939, -0.13229556381702423, 0.5143068432807922, -0.17467761039733887, 0.8403801321983337, 1.3273483514785767, 1.050715684890747, 0.2646114230155945, 0.2900063097476959, 0.4728891849517822, -1.6805554628372192, -0.1372869610786438, 0.3870986998081207, -0.4587230086326599, -0.3035520315170288, 0.0675942450761795, 0.15661084651947021, -0.9835109710693359, 0.9692049026489258, 0.019893676042556763, -0.6290504336357117, 0.5069218873977661, -1.5075523853302002, -0.04248499870300293, -1.0335586071014404, 1.0440579652786255, -0.1975623071193695, -0.9809245467185974, 0.7047695517539978, -1.1167627573013306, 0.30555057525634766, 0.7580416202545166, -0.3189956545829773, 0.8123695254325867, -0.5284845232963562, 1.2088364362716675, 0.1355353593826294, 0.0791856124997139, 0.6209046840667725, -1.5147502422332764, -0.3808353543281555, -0.010296210646629333, -0.7344638109207153, -1.0341705083847046, -0.12436813116073608, -0.2539205253124237, 0.1136561930179596, -0.061691414564847946, -0.03764314949512482, -0.6735827922821045, 0.4235846996307373, 0.46386778354644775, 0.1315915882587433, -0.9363396167755127, 0.7119631767272949, 1.1186729669570923, 1.0728576183319092, 0.16349796950817108, -0.07224291563034058, -0.3871387839317322, 0.48394379019737244, 0.032782722264528275, -0.041345320641994476, -0.9688034057617188, -0.7651392221450806, 0.47208285331726074, 0.23303714394569397, 0.17019519209861755, 0.5812013149261475, 0.7295767664909363, 0.6631337404251099, 0.4368142783641815, 0.11950109899044037, 0.49504703283309937, 0.199965238571167, 0.6959068775177002, 0.8849616050720215, 0.37299644947052, -0.49492624402046204, -0.25660479068756104, 0.7178518176078796, -0.4673207104206085, 1.3577582836151123, 0.3230024576187134, 0.2605666518211365, 0.2486095428466797, -0.5877059102058411, 0.4183659851551056, 0.6198813319206238, 0.6990228295326233, -1.0387150049209595, 0.47298169136047363, 0.9573124647140503, 0.39580705761909485, -0.6167664527893066, -0.6126343011856079, -0.059336379170417786, 0.41271713376045227, -0.056813523173332214, 0.03565308451652527, -0.38938435912132263, 0.9843836426734924, -0.3204210102558136, -0.0504290908575058, 0.2388661950826645, -0.08155573159456253, -0.3404686450958252, 0.18607543408870697, 0.7395862340927124, -1.392553448677063, 1.3950457572937012, -0.6863144040107727, 0.5294586420059204, -0.03432613983750343, -0.17195378243923187, -0.07397739589214325, 0.3563978672027588, -0.8092563152313232, -0.41501927375793457, -0.9213855862617493, -0.23398847877979279, 0.8947876691818237, 1.1913414001464844, -0.4007430970668793, -0.3705521821975708, 0.5276580452919006, -0.42074206471443176, -0.41969725489616394, 0.17901453375816345, 0.3580353558063507, 0.04419408366084099, 0.6451258659362793, 1.3390495777130127, 0.18323129415512085, -0.4600759744644165, 0.16457554697990417, -0.41280120611190796, -0.5641003251075745, -0.1573932021856308, -0.10115425288677216, -1.2072880268096924, -0.3618851602077484, 0.3347446024417877, 0.7725370526313782, -0.004406804218888283, -0.5748234987258911, -0.8006873726844788, -1.719408631324768, -0.6951659917831421, -0.42621535062789917, 0.813805103302002, 0.1272311806678772, -0.20747561752796173, 0.6412901282310486, 0.7268861532211304, -1.8452798128128052, -0.47910335659980774, -0.10958850383758545, 0.441053569316864, -1.6080642938613892, -0.7539830207824707, -0.14374282956123352, 1.1109627485275269, -0.028026923537254333, 0.0004996620118618011, 1.649667501449585, 0.23573705554008484, 0.020672310143709183, 0.26451122760772705, 0.7056442499160767, 0.6057140827178955, -0.17847900092601776, 1.0792300701141357, 0.24933356046676636, -0.1671585738658905, -0.20581308007240295, -0.8719217777252197, 0.3365376591682434, -0.040337078273296356, 0.1943679302930832, 0.22022464871406555, 0.16665786504745483, -0.01387738436460495, 0.8246563673019409, 0.10948257148265839, 0.07041386514902115, -1.2149935960769653, -0.12210241705179214, -0.0272436011582613, 1.2254447937011719, -1.5229718685150146, -0.2720639407634735, 0.9112879633903503, 0.2657470107078552, -0.7838026285171509, 0.9213593006134033, -0.5217908024787903, -1.5562317371368408, -0.8352002501487732, 0.11100482940673828, 0.9129586815834045, 0.505376398563385, 0.18353164196014404, -0.31366634368896484, 0.05232633650302887, 0.14503875374794006, 0.1912771612405777, -1.3393312692642212, -0.33390316367149353, -0.5091955065727234, 1.1291671991348267, -0.3437651991844177, 0.5673077702522278, 0.7665890455245972, 0.5662940740585327, -0.5357661843299866, -0.06678177416324615, -1.5098905563354492, 0.06627848744392395, 0.41537442803382874, -0.47486692667007446, -0.599660336971283, 0.12802807986736298, 0.5620746612548828, -0.045619286596775055, -0.2830953001976013, -0.3334899842739105, -0.5547838807106018, -0.7108028531074524, 0.10639287531375885, -0.11716826260089874, -0.5259007811546326, 0.20130978524684906, 0.8258809447288513, 1.165820598602295, -0.5967307090759277, 0.014928036369383335, -0.025785788893699646, -0.15027198195457458, -0.10813397169113159, -0.5523176789283752, 0.046537742018699646, 0.024421554058790207, 0.5945483446121216, 0.9974926710128784, 0.42615213990211487, -0.5190759301185608, 0.07488743960857391, 0.49945443868637085, 0.032913219183683395, -0.27775147557258606, -0.4497312903404236, 0.09362872689962387, 0.016754377633333206, -0.5775040984153748, 0.21259044110774994, -0.052064716815948486, -0.2598678469657898, -0.36240464448928833, 0.2538069486618042, 0.5586302280426025, 0.2950984537601471, 0.6262755393981934, 0.8336558938026428, -0.09514601528644562, 0.06356045603752136, -1.6197727918624878, 0.7654556035995483, 1.3506357669830322, -0.15161767601966858, -0.24256384372711182, 0.4404485523700714, 0.50874924659729, -0.07376925647258759, -0.021523239091038704, -0.2693951725959778, -0.37333759665489197, 0.31087398529052734, 0.5253071784973145, 0.1605495810508728, -0.4324764907360077, 1.2146202325820923, 0.7984693050384521, 1.0993406772613525, 0.3860267400741577, -0.5401006937026978, 0.2736569046974182, -3.1342034339904785, -0.3168429434299469, -0.7595382928848267, 1.449851632118225, -0.44198501110076904, -0.3029371500015259, -0.5501441955566406, -0.5637534856796265, 0.5524812340736389, 0.02549050748348236, -0.0013892948627471924, -0.2221507877111435, 0.6800945401191711, -1.3535178899765015, 0.02588297799229622, -0.09152089059352875, -0.7638218998908997, -0.8129937648773193, 0.4513848125934601, -0.5133569240570068, -0.9054108262062073, -0.5665348768234253, 0.6572570204734802, -0.39349493384361267, -0.28215259313583374, 0.31925609707832336, -0.7525057792663574, 0.1724638044834137, 1.4190324544906616, -0.7415914535522461, -1.09516441822052, -0.03226844593882561, -0.39586472511291504, -0.18958166241645813, 1.3777629137039185, -0.24633796513080597, 0.2977513372898102, 0.2942047715187073, 1.0273265838623047, -0.5053055882453918, -0.35613930225372314, 0.13430336117744446, -0.35444119572639465, 0.21775002777576447, 0.7016857862472534, 0.05276920646429062, 0.22462108731269836, -0.2440647929906845, -0.5137286186218262, 0.5536502599716187, 0.586972177028656, 0.19110184907913208, 0.5065127611160278, 0.5759652853012085, -0.2878173887729645, -1.144106388092041, 0.11002901941537857, -0.80363929271698, -0.12262780219316483, 0.5990971326828003, 0.19190748035907745, -0.005660755559802055, 0.46541714668273926, 0.5464023947715759, -0.32995590567588806, 0.17065143585205078, 0.8255376219749451, -1.3711622953414917, -0.27633175253868103, 0.25741058588027954, -1.2354679107666016, -0.3461434245109558, 1.1774832010269165, 0.6584094762802124, 0.4138924181461334, -0.2204170972108841, 0.99265056848526, 0.33905506134033203, 0.31091803312301636, 0.5615944862365723, 1.1472960710525513, -0.04106135666370392, -0.3019527196884155, -1.0951216220855713, -0.021072261035442352, -0.5718109011650085, -0.46741753816604614, 0.44916534423828125, -0.25778746604919434, 0.49357569217681885, 0.002141449600458145, 0.19586381316184998, -0.9986151456832886, -1.067124366760254, -0.8490811586380005, 0.7390751838684082, 0.4599592387676239, -0.41081541776657104, 0.10652968287467957, -0.08337695896625519, 0.09572155028581619, -0.18694855272769928, 1.217795491218567, -0.22799067199230194, -0.9570631980895996, -0.024464258924126625, 0.564319908618927, 0.7955838441848755, 0.7358616590499878, 0.1536896824836731, 0.1628998965024948, 0.18886786699295044, 0.08159437775611877, 0.5240764021873474, -0.6175059676170349, -1.0159187316894531, 0.5178095102310181, -0.4647075831890106, 0.8456420302391052, 0.6905696392059326, -0.5399075746536255, 0.740523099899292, 0.31713995337486267, -1.1150871515274048, -0.22159382700920105, 0.4053763151168823, -0.9503695964813232, -0.9022105932235718, -0.06142736226320267, -0.54805988073349, 0.027575761079788208, 0.42505747079849243, 0.23779329657554626, -0.4866656959056854, 0.1405150145292282, 0.2956927418708801, 0.1769913136959076, 1.9320135116577148, -0.6732696294784546, 0.3702118694782257, 0.543165922164917, 0.04061584174633026, 0.9307401180267334, 0.10277603566646576, -0.12415723502635956, -0.21485275030136108, -0.36177051067352295, 0.5316814184188843, 0.10247180610895157, -1.0914088487625122, -0.11740012466907501, 1.0964813232421875, -0.4444236159324646, 2.0130624771118164, 0.33930298686027527, 0.648302435874939, 0.2860417664051056, -0.3633784055709839, 0.19122961163520813, -0.17258653044700623, 0.16126520931720734, 0.8130440711975098, 0.11783115565776825, 0.01277508120983839, 0.14692819118499756, 0.23840507864952087, -0.18120113015174866, -0.1916467845439911, 0.2469004988670349, 1.4093295335769653, 0.2824455201625824, -1.4400289058685303, -0.33421391248703003, 0.5753840804100037, -0.4519389569759369, -0.44333142042160034, 0.5036181211471558, -0.315400093793869, 0.20112144947052002, -0.6557720303535461, -0.18167079985141754, -0.39254847168922424, -0.20200389623641968, -1.2544026374816895, 0.588570237159729, 0.5943859815597534, -0.6126441359519958, -0.024344781413674355, -0.19572536647319794, 0.2504226863384247, -0.8258207440376282, 0.7847509384155273, -0.6315984725952148, -2.231734037399292, -0.9848241806030273, 0.3030654489994049, -1.2023041248321533, 0.4495803117752075, 0.40056049823760986, 0.2214023321866989, 0.7763261795043945, -0.36291491985321045, 1.1180944442749023, -1.0231099128723145, 0.9732773900032043, 0.0392511710524559, 1.6625970602035522, 0.8382865786552429, -0.44825875759124756, -0.5544752478599548, -0.3507396876811981, 4.542724609375, 0.9782084226608276, -0.2792150378227234, -1.5671929121017456, -0.999840497970581, 1.3519071340560913, -0.11398996412754059, 1.0400199890136719, -0.4806572198867798, 0.31754589080810547, -0.42224061489105225, 0.06996514648199081, 0.9901173114776611, 0.258465975522995, 0.5606123208999634, 0.24544969201087952, -0.8813306093215942, -0.6361497640609741, 0.45166242122650146, 0.15720880031585693, 0.19368331134319305, -0.2270655632019043, -0.3850972354412079, -0.4572071433067322, 0.8952863216400146, -1.0591952800750732, 0.1090555191040039, -0.5986613631248474, 0.30069229006767273, 0.07410790771245956, 0.700555145740509, 0.01797010749578476, -0.2465769499540329, 1.1664817333221436, 0.9258928298950195, 0.17740240693092346, 0.4993603229522705, 1.7438706159591675, -0.16250476241111755, 0.5178495645523071, 1.5435391664505005, -0.27611058950424194, -0.6573556065559387, 0.4002997875213623, -0.6384703516960144, 0.2496744990348816, -0.3747484087944031, 0.3917442858219147, -0.9047853350639343, -0.39364492893218994, 0.4424537420272827, -1.0297961235046387, 0.18110457062721252, -0.6714410185813904, -0.9885141253471375, 0.6099701523780823, 0.5851175785064697, -0.41347604990005493, -0.2817128598690033, -0.6712111830711365, 0.3864540159702301, -0.8732588291168213, -0.010290661826729774, -0.48552271723747253, -0.533562958240509, 0.35501667857170105, -0.6007808446884155, 1.0757941007614136, 0.29224905371665955, -0.6635615825653076, -1.4685695171356201, -0.03747785463929176, 0.17871856689453125, 0.1952248215675354, -0.300334632396698, -0.13434374332427979, -0.01814599335193634, -0.561156690120697, 0.5585896968841553, -0.4414437413215637, -0.4390788972377777, -0.39630359411239624, -0.11770051717758179, -0.4864828884601593, -0.24096636474132538, -0.11045635491609573, 0.2191588431596756, -0.23945820331573486, -0.43064793944358826, -0.2876667380332947, -0.1400076448917389, 1.3710323572158813, -0.5493181943893433, 0.3629767596721649, -1.270082712173462, 0.9724501371383667, 0.17830397188663483, 0.08939563482999802, 0.1860235333442688, -0.19344228506088257, -0.3500366806983948, 1.3206725120544434, 0.467033714056015, 0.6539326906204224, -0.6568429470062256, -0.5894831418991089, 0.867813766002655, -1.1887545585632324, -0.6579862236976624, 0.0912577360868454, -0.44305673241615295, 0.024448221549391747, 1.3110395669937134, -0.2679899036884308, -0.7218090891838074, -0.17612281441688538, -0.419968843460083, -0.936229944229126, 0.08950362354516983, -0.4098817706108093, 0.8502691984176636, -0.029674241319298744, 0.5160073041915894, -0.281890332698822, 0.5103394389152527, -0.06632887572050095, -0.294742226600647, 0.8750325441360474, -0.14056093990802765, -0.8725206255912781, -0.2807232439517975, 0.27432581782341003, 0.39350980520248413, -0.4701991677284241, -0.20719724893569946, -0.5589251518249512, -0.42749106884002686, 0.7909374237060547, -1.3477699756622314, -0.054130278527736664, 0.452436625957489, -0.6260822415351868, 0.22430339455604553, 0.6730786561965942, 0.6668727397918701, -0.16835150122642517, -0.06389355659484863, 0.688480794429779, 0.35172244906425476, 0.417483389377594, -0.8743223547935486, -0.7033587694168091, 0.17953640222549438, 0.024343442171812057, 0.17603984475135803, 0.5186029672622681, 0.8025294542312622, -0.5728836059570312, 0.755440890789032, -0.5534521341323853, 0.59470534324646, -0.34964460134506226, -0.3767467737197876, 0.4936304986476898, 0.15455012023448944, 0.22175301611423492, -0.20042631030082703, 0.5742999315261841, 0.05558805167675018, 0.7658655047416687, 0.37922412157058716, 0.2865283489227295, -0.13731476664543152, 1.2859147787094116, -0.5486540794372559, -0.9629516005516052, 0.1875993311405182, -0.5524970293045044, -0.6722349524497986, -0.8981466293334961, -0.5649089217185974, 0.7592207789421082, -1.1610907316207886, -0.6687601208686829, -1.49259352684021, -0.0100180022418499, -0.552357017993927, 0.7834658622741699, -0.028103284537792206, -0.9302051067352295, 0.2516508400440216, 0.0784439891576767, 0.4206297993659973, -0.1662731021642685, -0.721777617931366, -0.23518365621566772, -0.2632943391799927, 0.13943986594676971, -0.6434276103973389, -0.41286879777908325, 1.2505919933319092, 0.28524160385131836, -0.007410740479826927, 1.093424916267395, -0.1404619812965393, -0.9007242321968079, -0.26482611894607544, 0.3797531723976135, 0.6912534236907959, 0.34422874450683594, 0.3562870919704437, 0.0450725182890892, 0.44276875257492065, 0.398470938205719, -0.06303947418928146, 0.635382890701294, 0.49893221259117126, 0.18605518341064453, 0.31086620688438416, 0.07330348342657089, 0.8229924440383911, -0.021817192435264587, 0.31708526611328125, 0.06275177747011185, 0.19959864020347595, -0.07033929973840714, 0.5277944803237915, -1.0043504238128662, -0.10270050168037415, -1.3716280460357666, 0.15988317131996155, -0.34573331475257874, -0.47325170040130615, 0.3318396210670471, -0.5794735550880432, -1.7025178670883179, -0.14556963741779327, -0.2233332395553589, 0.8589030504226685, -0.22496579587459564, -0.17062759399414062, 0.4195473790168762, 0.10312850773334503, -0.08311841636896133, -0.7050536274909973, 0.7522716522216797, -0.17489410936832428, 1.812178611755371, -1.1417680978775024, 0.7146665453910828, -0.5293286442756653, 0.13903281092643738, 1.6818335056304932, 0.5029618740081787, 0.10666459798812866, 0.26328885555267334, 1.5094465017318726, 0.1907617747783661, -0.36093616485595703, 0.45565560460090637, 0.8099859356880188, 0.3751961886882782, -0.03799012303352356, 0.29381924867630005, -1.547023057937622, -0.5422800183296204, -0.1344984769821167, -0.17832113802433014, 0.44801485538482666, -0.47926825284957886, 0.47461196780204773, -0.880346417427063, 0.3572990298271179, -0.5965829491615295, 0.4304696321487427, -0.34934505820274353, 0.5143721103668213, -0.6022275686264038, -0.7997981309890747, 0.07914341986179352, 0.19711750745773315, 0.10120271891355515, -0.23680821061134338, 1.089512825012207, 0.8794650435447693, -0.6190539002418518, -0.10628700256347656, 0.2248534858226776, -0.35135212540626526, 2.6729609966278076, 0.9651088714599609, -1.0132781267166138, 0.04157651215791702, 0.22256958484649658, 0.9435240030288696, -0.7854920029640198, -0.3030552864074707, 0.8910993933677673, -0.7600082755088806, 0.5053507089614868, 0.500946581363678, 0.6579088568687439, 0.518134355545044, 0.09194442629814148, -0.440292626619339, -1.2012571096420288, -0.2749330699443817, -0.5896624326705933, -0.1252601593732834, -0.1414041370153427, -0.22517146170139313, 0.48998573422431946, -0.1426917463541031, -0.8335394859313965, 0.4855281114578247, -0.770264208316803, 0.2768559157848358, -0.22271612286567688, 0.7169321775436401, 0.40395715832710266, -0.579488217830658, 0.285258412361145, 0.2708543837070465, 0.38343197107315063, 1.623757004737854, -0.39960938692092896, 1.111096978187561, -0.3024086058139801, -0.44124820828437805, 0.3770352005958557, -0.44174978137016296, -0.6281917691230774, -0.38043054938316345, -0.5214179158210754, -0.003102034330368042, -0.19235196709632874, -0.9835885763168335, 0.4589615762233734, -0.5581837296485901, -1.2843670845031738, -0.3468047082424164, -0.029293015599250793, 0.8268772959709167, -1.3192658424377441, -0.01596488431096077, -0.40905433893203735, -0.20326842367649078, 0.07193910330533981, 0.1864795982837677, -0.38522690534591675, -0.4171077311038971, 0.05828391760587692, 0.5445778369903564, -0.34600648283958435, 0.3239905536174774, -0.2805821895599365, -0.4860350489616394, -0.10635839402675629, -0.011197403073310852]}, collection='Vector_db_facts')]) Step 4: Retrieve
Retrieve the most relevant document given an example prompt
[10]
Unlike traditional databases, vector databases store data as dense numerical vectors rather than rows of text or numbers.
Step 5: Generate
We'll now use the prompt and document retrieved from the previous step to generate an answer
[16]
Okay, let's break down the concept of a vector database and compare it to a traditional database. **What is a Vector Database?** A vector database is a database system that stores data in a **dense, ordered, and contiguous sequence** of numbers. Instead of storing data in rows of text or numbers, vector databases store data as **vectors**. Think of it like a collection of individual objects, each with its own unique characteristics and properties. **Key Characteristics of a Vector Database:** * **Dense:** The data is organized in a way that allows for efficient storage and retrieval of information. * **Ordered:** The data is typically stored in a specific order, often in a specific order (e.g., in a list, a sequence, or a specific order). * **Contiguous:** Data points are stored in a contiguous sequence, meaning they are linked together in a way that makes it easy to find and retrieve information. * **Numerical:** The data is typically represented as numerical values, often using a specific format like integers, floating-point numbers, or a combination thereof. * **Dimensionality Reduction:** Vector databases often employ techniques like dimensionality reduction to reduce the number of dimensions (features) in the data. This can help to improve performance and reduce storage requirements. **How is a Vector Database Different from a Traditional Database?** Traditional databases are designed for storing data in rows of text or numbers. They are generally better suited for: * **Storing large volumes of data:** Traditional databases are typically designed for storing large amounts of data, which can be a significant challenge for performance and storage. * **Data integrity and consistency:** Traditional databases often rely on strict rules and validation to ensure data accuracy and prevent data corruption. Vector databases, on the other hand, are designed to be more resilient to data changes and errors. * **Data storage and retrieval:** Traditional databases typically store data in a specific order, making it easier to find and retrieve information. Vector databases offer more flexibility in terms of data storage and retrieval. * **Data management:** Traditional databases often involve a complex and often inefficient data management process, including data validation, indexing, and backup procedures. Vector databases are more streamlined and automated. **In Summary:** * **Traditional Database:** Store data in rows of text or numbers. Good for large volumes of data, data integrity, and specific order. * **Vector Database:** Store data in a dense, ordered sequence of numbers. Good for large volumes of data, data integrity, and efficient data retrieval. **Here's a table summarizing the key differences:** | Feature | Traditional Database | Vector Database | |----------------|-----------------------------------|------------------------------------| | Data Storage | Rows of text or numbers | Dense, ordered sequence of numbers | | Data Integrity | Strict rules and validation | More flexible data management | | Data Access | Requires specific order | More flexible order of data access | | Data Management | Complex and often inefficient | Streamlined and automated | | Data Volume | Typically large | Typically small or moderate | | Performance | Can be slower for large datasets | Generally faster for large datasets |