I nte rna t io na l J o urna l o f   E lect rica l a nd   Co m pu t er   E ng ineering   ( I J E CE )   Vo l.   1 6 ,   No .   4 A u g u s t   20 2 6 ,   p p .   1 964 ~ 1 9 7 5   I SS N:  2088 - 8 7 0 8 ,   DOI : 1 0 . 1 1 5 9 1 /ijece. v 1 6 i 4 . pp 1 9 6 4 - 1 9 7 5           1964       J o ur na l ho m ep a g e h ttp : //ij ec e. ia esco r e. co m   A   hy brid   retr i ev a l   a ug mente d   g ene ra tion   framewo rk   for  a utom a ted  educa t io na l docum ent  u ndersta nding  and  int ellig en respo nse g enerati o n       B a s a v esh   D. 1 ,   J a y a s hree   Na g a ra j 2   1 D e p a r t me n t   o f   C o m p u t e r   S c i e n c e   a n d   E n g i n e e r i n g ,   J y o t h y   I n st i t u t e   o f   T e c h n o l o g y ,   B a n g a l o r e ,   I n d i a   2 D e p a r t me n t   o f   C o m p u t e r   S c i e n c e   a n d   E n g i n e e r i n g - A I M L,   R N S   I n st i t u t e   o f   Te c h n o l o g y ,   B a n g a l o r e ,   I n d i a       Art icle  I nfo     AB S T RAC T   A r ticle  his to r y:   R ec eiv ed   J an   3 0 ,   2 0 2 6   R ev is ed   Ap r   1 7 ,   2 0 2 6   Acc ep ted   Ap r   2 6 ,   2 0 2 6       Ne stu d e n ts  o ften   stru g g le  w h e n   sh o rt  a rti c les   c las h   wit h   t h ick   t e x tb o o k s.   S ti ll ,   e v e n   th o u g h   larg e   lan g u a g e   m o d e ls  o ffe so m e   tea c h in g   su p p o rt ,   sta n d a rd   o n li n e   se tu p s   lac k   fo c u s e d   a c c u ra c y   -   so m e ti m e s   m a k in g   th in g s   up   -   a n d   risk   u se d a ta  c o n tr o l.   He re   c o m e a n   id e a b u il d   a   ti g h tl y   te ste d ,   se lf -   c o n tain e d   sy ste m   t h a a li g n s   l e a rn in g   m a teria ls  a u to m a ti c a ll y   with o u t   n e e d in g   t h e   i n tern e t,   k e e p i n g   in f o rm a ti o n   p riv a te   b y   d e sig n .   On e   lo o k   a two   se tu p sh o ws   h o t h e y   h a n d le  l o c a re a so n in g   d iffere n tl y .   In ste a d   o u sin g   b o t h   e n c o d e a n d   d e c o d e p a rts,   o n e   sy ste m   sk i p t h e   e n c o d e e n t irely .   T h a t   sim p ler  d e sig n   g ra b fu l c o n te x t   th ro u g h   Ch r o m a DB   with o u sh ri n k i n g   t h e   d a ta  first.   M e a n wh il e ,   th e   o l d e ty p e   c ru n c h e s   in p u d o w n ,   lo si n g   m e a n in g   a lo n g   t h e   wa y .   Ev e n   t h o u g h   it   ru n fa st  -   ju st  u n d e a   se c o n d   -   e rro rs  p o p   u p   o ften ,   f o u o u o fiv e   re sp o n se d rift in g   o ff  c o u rse .   On   th e   fli p   sid e ,   th e   n e w   m e th o d   b u il d c o rre c c o d e   n e a rly   e v e ry   ti m e ,   a d d c lea e x p lan a ti o n ti e d   t o   les so n   g o a ls,   y e t   tak e m o re   th a n   f o u rtee n   se c o n d t o   re p ly .   S lo we r?   Ye s.  M o re   a c c u ra te?   Clea rly .   Wh a sta n d o u is  h o c o m p re ss e d   m o d e l ru n n i n g   lo c a ll y   c a n   stil c a tch   u p   i n   u n d e rsta n d in g   c las sro o m   c o n ten t .   An o t h e k e y   p o i n e m e rg e s:  b u il d in g   tu t o rs   p o we re d   b y   a rti ficia l   in tell ig e n c e   (AI)   b e c o m e s sa fe wh e n   d a ta n e v e le a v e s th e   d e v ice   a n d   o u tsid e   se rv ice a re   n o t   n e e d e d   a a ll .   K ey w o r d s :   Au to m ated   cu r r icu lu m   m ap p i n g   C o m p ar ativ ar ch itectu r e   an aly s is   Data   s o v er eig n ty   in   ed u ca tio n   L o ca lar g lan g u ag m o d el   R etr iev al - au g m en ted   g en er ati o n     Vec to r   em b ed d in g s     T h is i a n   o p e n   a c c e ss   a rticle   u n d e r th e   CC B Y - SA   li c e n se .     C o r r e s p o nd ing   A uth o r :   J ay ash r ee   Nag ar aj   Dep ar tm en t o f   C o m p u ter   Scie n ce   an d   E n g in ee r in g - AI ML ,   R NS I n s titu te  o f   T ec h n o lo g y   B an g alo r e,   I n d ia   E m ail:  j a n a n e e . n a g a r a j@ g m a il. c o m       1.   I NT RO D UCT I O N   T h ed u ca tio n   in d u s tr y   is   in cr ea s in g ly   in teg r atin g   ar tific i al  in tellig en ce   ( AI )   in to   its   wo r k in g s   to   ch an g th way   th e y   p r esen t   o r   co n s u m lear n in g   m ater ial.   Fo r   co m p u ter   s cien ce ,   c o m p u ter   to o ls ,   s o f twar e,   eq u ip m en t,  a n d /o r   co m p o n en t s   ar u s ed   ex ten s iv ely .   h u g s tu d y   m ater ial  is   to   b co v er ed   b y   C o m p u ter   Scien ce   s tu d en ts b o o k s ,   lectu r n o tes,  a n d   la b   m a n u als.  Ho wev er ,   it  ca n   b e   q u ite  d if f icu lt   f o r   n ew  s tu d e n ts   to   m an ag an d   c o n n ec t   s u ch   a   h u g e   v o lu m e   of   s tu d y   m ate r ial.   T h e   s y llab u s   of   a   u n iv e r s ity   tells   wh at   h a s   to   be   d o n e.   B u t   n ew  s tu d en ts   f in d   i d if f icu lt  to   f in d   w h er th is   m atter   is   ex p lain ed   in   s u ch   la r g v o lu m es.  Du to   th is ,   th er a r is es   h u g e   m is m atch   b etwe en   wh at  is   e x p lain e d   in   th u n iv er s ity   s y llab u s   an d   wh at  is   p r o v id e d   in   s tu d y in g   r eso u r ce s .   T h u s ,   s tu d en ts   s p en d   m o r tim tr y in g   to   co n f o r m   t o   s tu d y   m ate r ial  p atter n s .   In   a d d itio n   to   th eo r y ,   p r o g r am m in g - b ased   la b   wo r k   also   r eq u ir es   co n s tan g u id a n ce   an d   s u p p o r t,  a n d   lab   m an u als,  alth o u g h   p r o v id i n g   p r o b lem   ex p lan atio n s ,   d o   n o p r o v id e   p latf o r m   to   v er i f y   an s wer s ,   ass ess   co m p lex ity ,   a n d   p r e p ar f o r   v iv ex am in atio n s .   Stu d en ts   o f ten   u s lar g lan g u a g m o d els  ( L L Ms) ,   s u ch   as   Evaluation Warning : The document was created with Spire.PDF for Python.
I n t J E lec  &   C o m p   E n g     I SS N:   2088 - 8 7 0 8         A   h yb r id   r etri ev a l a u g men ted   g en era tio n   fr a mewo r fo r   a u t o ma ted   ed u ca tio n a l     ( B a s a v esh   D. )   1965   GPT - b ased   m o d els,  to   aid   th e m   in   s u ch   task s .   Alth o u g h   th ese  m o d els  ar u s ef u l,  clo u d - b ased   m o d els  o f te n   p r o v id e   in ac cu r ate  a n d   am b ig u o u s   an s wer s ,   wh ich   d o   n o t m atch   ac ad em ic  r e q u ir em en ts .   Nev er th eless ,   th two   cr itical  is s u es  r elate d   to   AI   tech n o lo g y s   s wif tly   g r o win g   ca p a b ilit ies  ar s till   u n an s wer ed .   lim itatio n   o f   L L Ms  is   th at  th ey   ca n n o ac ce s s   in s titu tio n - s p ec if ic  lear n in g   m ater ial,   m ak in g   it   d if f icu lt  f o r   th em   t o   r esp o n d   a s   p er   p r escr ib ed   tex tb o o k s   o r   s y llab u s es.  Yet  an o th er   is s u i s   th at  all  p r o p o s ed   s o lu tio n s   tak th f o r m   o f   clo u d - b ased   API s   with   s o m d ata  p r iv ac y   an d   laten cy   is s u es.  Po s tin g   ed u ca tio n al   d o cu m e n ts   o n ,   s ay ,   an   o u ts id s er v er   m a y   n o b e   f ea s ib le  in   s ch o o l   en v ir o n m e n t.  B esid es,  th er will  b e   is s u es with   s er v er   lag ,   s o   d ea lin g   with   s u ch   s y s tem s   m ay   tak tim e.   T h is   wo r k   aim s   to   p r o p o s a   s y s tem   f o r   s o lv in g   th e   is s u es  o f   d ata   p r iv ac y   a n d   ac ad em ic   c u r r icu lu m   alig n m en with o u r ely i n g   o n   ex ter n al  s er v er s .   I is   b ased   o n   r etr ie v al - au g m e n ted   g en er atio n   ( R AG)   f r am ewo r k ,   wh er e   to p ics  in   a   s y llab u s   ca n   b lin k e d   with   r ef er en ce   m ater ials   with o u r ely in g   o n   ex ter n a l   s er v er s .   I in clu d es  p ar s in g   m ec h an is m   f o r   ex t r ac tin g   s tr u ctu r ed   d ata  f r o m   u n o r g an ize d   PDF  d o cu m en ts .   Mo r eo v er ,   th is   wo r k   in clu d es   two   d if f er en ap p r o ac h es  f o r   s o lv in g   th is   p r o b lem o n is   b ased   o n   b aselin ap p r o ac h   u s in g   an   en co d e r - d ec o d er   m o d el   with   co m p r ess ed   r etr iev al,   an d   an o th e r   ap p r o ac h   is   b ased   on   d ec o d er - o n ly   m o d el  u s in g   f u ll - co n tex t r etr ie v al  f o r   ac cu r ac y .   T h e   m ain   co n tr ib u tio n s   of   th i s   wo r k   ar e   th r ee f o ld .   First,   we   p r o p o s e   a   co m p a r ativ e   ev al u atio n   of   v ar io u s   ar ch itectu r es  f o r   l o ca R AG  s y s tem s ,   with   f o cu s   o n   ac h iev in g   tr ad e - o f f   b etwe en   s p ee d   an d   ac cu r ac y .   Seco n d ,   we  p r o p o s m o d u lar   d u al  p ip elin s tr u ctu r e,   s p ec if ically   d esig n ed   f o r   ed u ca tio n al   s ce n ar io s   in v o lv in g   th e o r y   a n d   p r ac tice.   T h ir d ,   we  s h o h o co m p lex   R AG - b ased   wo r k f lo ws  ca n   b e   p er f o r m ed   o n   co n s u m e r - g r a d h ar d war with   q u an tized   m o d els,  allo win g   f o r   f u lly   o f f lin d ep lo y m en t   with o u t sacr if icin g   d ata  p r iv ac y .       2.   L I T E R AT U RE   R E VI E W   Ar tific ial   I n tellig en ce   in   ed u ca tio n al   tech   h as   co m a   lo n g   way .   It   s tar ted   with   b asic,   r u le - b ased   s y s tem s ,   an d   n o w   we’ v e   g o t   m o d els  th at  ca n   ac tu ally   u n d e r s tan d   co n te x an d   g e n er ate  n u an ce d   r esp o n s es.  I n   th is   r ev iew,   th au th o r s   d ig   in to   h o th ese  tech n o lo g ies  h av p r o g r ess ed ,   esp ec ially   lo o k in g   at  wh er L L Ms   f all  s h o r lik wh en   y o u   p u t h em   to   wo r k   in   s tr ict  ac ad em i s ettin g s .   T h au th o r s   also   ex p lo r e   R AG,   wh ich   s tan d s   o u as  p o wer f u way   to   im p r o v co n tex t u al  ac cu r ac y .   T h r ev iew  g ets  in to   th n u ts   an d   b o lts ,   co m p ar in g   en c o d er - d ec o d er   with   d ec o d e r - o n ly   m o d els,  es p ec ially   f o r   s itu atio n s   wh e r h ar d war e   is   lim ited   an d   in f er en ce   n ee d s   to   h ap p e n   lo ca lly .   L o o k in g   th r o u g h   r e ce n s tu d ies,  o n th in g   is   clea r m o s clo u d - b ased   R AG  f r am ewo r k s   d o   g r ea t   jo b   with   g e n er al  q u esti o n   a n d   an s wer   task s .   B u th er e   i s   r ea g ap   w h en   it   co m es to   s tr o n g ,   f u lly   lo ca l sy s tem s   b u ilt f o r   h an d lin g   co m p l ex ,   m u lti - m o d al  ed u ca tio n al  d o cu m en ts   an d   o n es   th at  ac tu ally   k ee p   d ata  s ec u r an d   s o v er eig n .   T h er e   i s   ju s n o m u ch   o u th er th at  m ee ts   th ese  to u g h   r eq u ir em e n ts   [ 1 ] .     2 . 1 .     G ener a t iv e   AI   a nd   t he   h a llu cina t io n   c h a l l en g e   Sy s tem s   b u ilt  o n   T r a n s f o r m er   d esig n s   [ 2 ] ,   u tili zin g   o p tim iz ed   m ath em atica ac tiv atio n   f u n ctio n s   to   p r o ce s s   d ee p   lin g u is tic  h ier ar c h ies  [ 3 ] ,   s h o h o lar g lan g u ag m o d els  m ig h ac lik tu t o r in g   to o ls .   B r o wn   an d   team   f o u n d   th ese  m o d els  lear n   f ast  f r o m   lim ited   ex am p l es  -   th an k s   to   tr ain i n g   o n   m ass iv tex co llectio n s   -   s o   th e y   a n s wer   q u esti o n s   o r   ex p lain   id ea s   with o u n ee d in g   ex tr a   s etu p   f o r   ea ch   task   [ 4 ] .   Sti ll,  u s in g   th em   in   class r o o m s   f ac es  b ig   h u r d le:  s o m etim es  th ey   in v en an s wer s   th at  s o u n d   r ig h b u ar n o tr u e,   esp ec ially   wh en   ask ed   a b o u t o p ics  m i s s in g   f r o m   th eir   o r ig i n al  d at [ 5 ] .   T h at  g litch   b ec o m es  s er io u s   is s u at  u n iv er s ities ,   wh er e v er y   d e f in itio n   m u s m atch   th e   tex t b o o k   ex ac tly .   B ec au s o f   th is ,   g en er al - p u r p o s m o d els  ca n n o wo r k   al o n e   as  r eliab le  h elp er s   in   th o s s ettin g s ,   r eq u ir in g   r o b u s m ec h a n is m s   to   r estrict  th eir   g en er atio n   s co p to   v er if ied   c o r p u s es  [ 6 ] ,   [ 7 ] .     2 . 2 .     Ret rie v a l - a ug m ent ed   g e nera t io n   W h en   m o d els  ca n n o lear n   n ew  f ac ts   af ter   tr ain in g ,   r esear ch er s   f o u n d   wo r k a r o u n d .   I n s tead   o f   r ely in g   o n ly   o n   wh at  th m o d el  m em o r ized ,   t h ey   b e g an   p u l lin g   in   o u ts id in f o r m atio n   d u r in g   an s wer s .   On e   m eth o d   u s es  s to r ed   tex ts   th at  g et  s ea r ch ed   wh en   n ee d ed .   T h s y s tem   g r ab s   p iece s   o f   th o s tex ts   r ig h b ef o r e   r esp o n d in g   [ 8 ] ,   f o r m alizin g   an   en d - to - en d   f r am ewo r k   wh er p ar am etr ic  m em o r y   is   r e in f o r ce d   with   n o n - p ar am etr ic  ex ter n al  k n o wled g [ 9 ] T h at  way ,   r esp o n s es c o m f r o m   u p - to - d ate  s o u r ce s ,   n o t ju s t o ld   d ata  s tu ck   in   th m o d el  [ 8 ] ,   a   p r in ci p le  th at  h o ld s   tr u wh et h er   r etr i ev in g   co n tex at  in f er e n ce   ti m o r   wh en   s ca lin g   r etr iev al  ar ch itectu r es  ac r o s s   tr illi o n s   o f   p r e - tr ain in g   to k e n s   [ 1 0 ] .   I is   lik g iv in g   th m o d el  ac ce s s   to   n o tes   wh ile  an s wer in g   q u esti o n s .   Fa cts  s tay   s h ar p er   b ec au s th ey r p u lled   f r esh   ea ch   tim e.   At  f ir s t,  th ese  s y s tem s   u s ed   b asic r etr iev al  s tep s .   Ov e r   tim e,   s m ar ter   way s   o f   p ick in g   an d   u s in g   in f o   s tar ted   ap p ea r in g   T h an k s   to   ad v a n ce s   lik Sen ten ce - B E R T   f r o m   R eim er s   an d   Gu r ev y c h   [ 1 1 ] ,   d e n s v ec to r s   n o r u n   with o u clo u d s .   R u n n in g   lo ca lly   m ea n s   s ea r ch es  k ee p   m ea n in g   in tact  wh ile  s tay in g   o f f l in e.   Priv ac y   g ain s   Evaluation Warning : The document was created with Spire.PDF for Python.
                      I SS N :   2 0 8 8 - 8 7 0 8   I n t J E lec  &   C o m p   E n g ,   Vo l.   1 6 ,   No .   4 Au g u s t   20 2 6 :   1 96 4 - 1 975   1966   s tr en g th   wh en   d ata  n e v er   lea v es  th d ev ice.   Har d war o n ce   to o   wea k   n o h a n d les  wh at  n ee d ed   s er v e r s   b ef o r e.   T h ese  s h if ts   o p en   d o o r s   q u ietly ,   with o u t f a n f ar e.     2 . 3 .     Arc hite ct ura l   c o ns idera t io ns :   E nco der - D ec o der   v s .   D ec o der - o n l y   Pick in g   an   in f e r en ce   en g in e   m atter s   lo t   wh en   b u ild in g   lo ca R AG  s etu p s   -   it   s h ap es  h o w   f ast   r esp o n s es  co m v er s u s   h o d ee p   th th in k i n g   ca n   g o .   T 5   m o d els,  p ar o f   th E n co d e r - Dec o d er   f am ily ,   g et   u s ed   a   lo b ec au s th e y   h an d l s u m m ar y   wo r k   a n d   lan g u ag s wap s   with o u t   s lo win g   th i n g s   d o wn   [ 1 2 ] .   Sti ll,  n ee d in g   cu s to m   tr ain i n g   f o r   ea ch   jo b   m ea n s   th ey   f ail  to   ad ap wh en   f ac ed   with   m ess y ,   lay er ed   p r o b lem s   [ 1 3 ] W h en   f ed   ch u n k s   p u lled   f r o m   lo n g   s tr etch es  o f   ac ad em ic  te x ts ,   th ese  m o d els  ten d   to   s tall  r ath er   th an   co n n ec t   d is tan t id ea s   s m o o th ly   [ 1 4 ] .   Yet  th in g s   ch an g ed   wh en   d e co d er - o n ly   s etu p s   b e g an   h a n d lin g   lo ca task s   d if f er e n tly .   Mistra 7 B   ca m o u t,   b u ilt   b y   J ian g   et   a l.   [ 1 5 ] ,   s h o win g   co m p ac d esig n s   ca n   m atch   b u l k ier   s y s tem s   lik L L aM 1 3 B   o n   to u g h   lo g ic  an d   co d jo b s   [ 1 6 ] .   B ec au s o f   tr ick s   lik s tep - by - s tep   p r o m p ts   -   W ei  et  a l.   in tr o d u ce d   th em   [ 1 7 ] .   T h ese  m o d els  n o d o   b etter   i n   g r a d in g   c o d ed   wo r k   au to m a tically   [ 1 8 ] [ 1 9 ] .   I n s tead   o f   s k ip p in g   ah ea d ,   th is   p ap er   lin es  u p   o n s tan d ar d   e n co d er - d ec o d er   m eth o d   b esid n ew  d ec o d er - o n ly   s etu p ,   tied   to g eth e r   u s in g   to o ls   ca lled   L an g C h ain   [ 2 0 ]   a n d   C h r o m aDB  [ 2 1 ] ,   ch ec k in g   h o ea c h   clo s es  th s p ac e   b e twee n   co u r s p lan s   an d   tex tb o o k s .       3.   M E T H O DO L O G Y   B u ilt  lik p iece s   o f   a   p u zz le,   t h is   s etu p   r u n s   f ir s o n   y o u r   d e v ice  u s in g   s ep ar ate  p ar ts   jo in e d   to g et h er   -   R ea ct  h an d les  wh at  y o u   s ee ,   Flas k   m an ag es  b eh in d - t h e - s ce n es  task s .   R u n n in g   th b r ai n s   is   R AG  m eth o d ,   g u id ed   b y   L an g C h ain   [ 2 0 ] ,   li n k in g   d ata  r etr iev al  with   an s wer   g en er atio n .   T h r ee   m ain   s ec tio n s   s h ap h o it   wo r k s o n p r ep a r es  in co m in g   in f o r m atio n ,   an o th e r   s to r es   m ea n in g - r ich   k n o wled g e,   w h ile  th th ir d   b u ild s   r esp o n s es wh en   ask ed   s o m eth i n g .   No t   ev er y   s etu p   wo r k s   th e   s a m e   u n d er   tig h t   h ar d war e   lim its ,   s o   test in g   b ec am e   ess en tial.  On e   p ath   s tu ck   to   s h r in k in g   v ec to r s ,   cu ttin g   d o wn   p r o ce s s in g   d em an d s   -   th is   s er v ed   as  th s tar tin g   p o in t.  An o th er   tr ie d   k ee p in g   all  co n tex in tact,   aim in g   f o r   r ich e r   m ea n in g   in   r esu lts .   T h r ee   s tag es   s h ap ed   h o th in g s   u n f o ld e d :   s h ap in g   d esig n s   s id b y   s id e,   s ettin g   u p   r ea l - wo r ld   test s ,   th en   ch o o s in g   w h at  to   m ea s u r a f t er war d .     3 . 1 .     Co m pa ra t iv e   a rc hite ct ura l   d e s i g n   p air   o f   test   s etu p s   to o k   s h a p e,   aim ed   at  weig h i n g   h o in f er en ce   s p ee d   m atch es  u p   wit h   lear n in g   s tr u ctu r e.   On e   co n s id er ed   tim in g   f ir s t,   wh ile   th e   o th er   lean ed   in to   c o u r s e   co h e r en ce .   E ac h   p lay ed   out   u n d e r   s lig h tly   s h if ted   co n d itio n s ,   r ev ea lin g   wh er d ela y s   b u m p ed   a g ain s t in s tr u ctio n al  f lo w .   a.   Star tin g   with   m o d el   A:  T h b aselin u s in g   co m p r ess ed   r etr i ev al  -   it  r elied   o n   th c o m p ac Flan - T 5   s etu p   to   s et  lo wer   b o u n d   in   p er f o r m an ce .   B ec au s lim ited   co n tex t sp ac p o s ed   ch allen g es,  an   ap p r o ac h   s im ilar   to   R E FR AG   wa s   tes ted   [ 2 2 ] ,   wh er e   n ar r ativ e   s eg m en ts   p u lled   d u r in g   r et r iev al   wer tu r n ed   in to   d en s e   v ec to r   s u m m a r ies  p r io r   to   g e n er atio n .   Yet  r esu lts   f r o m   r e m o v in g   co m p o n en ts   s h o we d   m ea n in g   o f ten   f ad ed   wh e n   o n l y   th ese  co n d en s ed   v er s io n s   f ed   th e   g en er ato r ,   u n lik f ee d in g   c o m p lete  p ass ag es d ir ec tly .   b.   f r esh   tak o n   m o d el  B   em er g es:  T h is   o n lean   f u lly   o n   r aw  co n tex t.  B u ilt  ar o u n d   q u an tized   Mistra l   7 B   s etu p ,   it  s k ip s   an y   f o r m   o f   d ata  s h r in k i n g .   I n s id liv es  C h r o m aDB  m o d u le  [ 2 1 ] ,   q u ietly   h o ld i n g   u n alter ed   c h u n k s   o f   lear n in g   m ater ial  in d ex e d   u s in g   h ier ar ch ical  n av ig a b le  s m all  wo r l d   ( HNSW )   g r ap h   m atch in g   [ 2 3 ] .   T h ese  p iece s   f lo s tr aig h in to   th e   m o d el s   8 k - to k e n   s p ac e,   n o   f ilter s   ap p l ied .   B y   f ee d in g   u n to u c h ed   p ass ag es,  it  tap s   d ee p ly   in to   h o d ec o d e r - o n ly   m o d els  lear n   f r o m   im m e d iate  s u r r o u n d in g s .   Acc u r ac y   r is es wh en   th s y s te m   s ee s   ev er y th in g ,   ex ac tly   as - is .     3 . 2 .     P ha s e   1:   H euristic   s t ruct ura l   e x t r a c t i o n   R ig h t   af ter   g r ab b i n g   s y llab i   or   lab   m a n u als,   th ey   g et   clea n ed   up   in to   a   u n if o r m   lay o u t   f ir s t.   Ou r   p ar s in g   to o l,  b u ilt  with   R eg E x   p atter n s ,   tack les  m ess y   PDF  lay o u ts   h ea d - o n   b y   f ilter in g   o u clu tter   au to m atica lly .   a.   B r ea k in g   d o wn   th s y llab u s   h ap p en s   wh en   th s y s tem   s p o ts   s ec tio n s   lab eled   lik Mo d u le - 1   o r   s im ilar .   W h er n u m b er s   f o llo "M o d u le"  it g r ab s   th o s ch u n k s   f o r   p r o ce s s in g .   T ex t th at  ju s t states   tim len g th s   o r   b o o k   n a m es g ets lef t b eh in d .   W h at  r em ain s   is   a   s tr aig h tf o r war d   s et  o f   s u b jects r ea d y   f o r   s ea r ch .   E ac h   item   in   th is   co llectio n   -   ca ll  th e m     th r o u g h     -   is   p u lled   d ir ec tly   f r o m   wh at   i s   v is ib le  o n   th p ag e.   Ma tch in g   wo r k s   ev en   if   letter s   ar m ix ed   u p p er   o r   lo wer   ca s e.   R aw  te x t f r o m   PDFs   f ee d s   in to   th is   s t ep   with o u t p r io r   clea n u p .   b.   W h en   wo r k in g   with   lab   g u id es,  th m eth o d   u s es  f lex ib le  ed g e - f in d i n g   p r o ce s s .   Scan n in g   b eg in s   at  m ar k er s   lik "L is o f   ex p er im en ts to   s p o en tr y   p o in ts .   Gr o u p in g   s m aller   task s   -   s u ch   as  1 a ,   1 b   -   h ap p en s   n ex t,  f o r m in g   u n if ie d   u n its   f o r   q u er ies.  L o g ical  f lo s tay s   i n tact  th r o u g h   later   s tag es  o f   a u to m atic  s cr ip Evaluation Warning : The document was created with Spire.PDF for Python.
I n t J E lec  &   C o m p   E n g     I SS N:   2088 - 8 7 0 8         A   h yb r id   r etri ev a l a u g men ted   g en era tio n   fr a mewo r fo r   a u t o ma ted   ed u ca tio n a l     ( B a s a v esh   D. )   1967   cr ea tio n .   c.   W h en   th e   s o f twar s p o ts   b o t h   u n i q u e   p atter n s   to g eth er ,   it  m ar k s   th e   f ile  as  a   f u ll   h y b r id   co u r s wh ile   tu r n in g   o n   an   in ter ac tiv e   m o d f o r   m ix e d   task s .   T h at  s etu p   g iv es  lear n er s   t h ch a n ce   t o   s witch   b ac k   an d   f o r th   -   s tu d y i n g   less o n   g o als  o n m o m en t,  t h en   w o r k in g   th r o u g h   h a n d s - o n   p r o g r a m m in g   ch allen g es  r i g h t   af ter   -   all  in s id th s am s tr et ch   o f   tim e.   T h co m p lete  s em an tic  in d ex i n g   wo r k f lo w,   d etailin g   th t r a n s f o r m atio n   o f   u n s tr u ctu r e d   P DF  tex in to   v ec to r   em b ed d in g s ,   is   d ep icted   in   Fig u r 1 .           Fig u r e   1 T h e   Sem an tic   I n d ex i n g   W o r k f lo w   d etailin g   th e   p r o ce s s   of   tr an s f o r m in g   u n s tr u ctu r ed   PDF   tex t   in to   v ec to r   em b e d d in g s   f o r   s to r a g e   in   C h r o m aDB       3 . 3 .     P ha s e   2:   Sem a ntic   ind ex ing   a nd   r e t r i e v a l   C lo s e   at   h an d ,   an s wer s   to o k   s h ap e   f r o m   s to r ed   less o n s .   Nea r b y   s h elv es   f ed   th e   s y s te m ' s   t h o u g h t s .   L ec tu r es   an d   r ea d in g   lis ts   b ec am e   its   f o u n d atio n .   T ex tb o o k s   f o r m ed   a   co r e   o t h er s   f o llo w ed .   Pro x im ity   g a v e   weig h t to   wh at  it k n ew.   C am p u s   life   an ch o r e d   ev e r y   r e p ly .   a.   Star tin g   with   th tex tb o o k ,   it  g ets  s p lit  b y   p r o ce s s   th at  b r ea k s   tex s tep   b y   s tep .   b it  p ass es  in to   th e   f o llo win g   o n e,   ed g es  to u ch in g ,   ea ch   p ar lar g en o u g h   to   k e ep   v ital  in f o   in tact.   Me a n in g   s tay s   tr u with in   ev er y   c u y et   f l o ws  n atu r all y   f r o m   ea r lier   lin es.  T in y   s ec tio n s   p r eser v e x ac ex p la n atio n s .   E ar lier   ex p lan atio n s   s et  th s ce n e,   wh ich   m ea n s   th in g s   d o   n o t   s ee m   d is co n n ec ted .   B ec au s o f   th is   f lo w,   em b ed d in g s   r ef lect  h o t h o u g h ts   r ea lly   d ev elo p   in   th o r ig in al  tex t.   b.   First  u p ,   p iece s   o f   wr itten   m e an in g   b ec am e   tig h n u m b er   c o d es  b y   way   o f   th Hu g g in g Fa ce   all -   Min iLM - L6 - v 2   s etu p   [ 1 1 ] .   W o r d s   wer n o t   h an d led   o n at  tim -   in s tead ,   en tire   th o u g h ts   f o ld e d   in to   s tr in g s   o f   3 8 4   n u m b er s .   T h ap p r o ac h   s k ip s   f u ll  ex p lan atio n s   y et   h o l d s   co n ce p ts   in   f o r m at  m ath   ca n   wo r k   with .   No ju s m atch in g   k e y wo r d s ,   it  lean s   o n   h a b its   th T r an s f o r m er   p ick ed   u p   wh ile  lear n in g .   Un d er n ea th ,   ev er y   s n ip p et  f in d s   its   s p o t in   s p ac with   m an y   d im en s io n s ,   wh er lik m ea n in g s   clu s ter   n ea r   ea ch   o th er .   c.   E ac h   tim lear n er   p o s es  q u esti o n ,   th e   s y s tem   ch ec k s   h o m u c h   it  r esem b les  s to r e d   p ass ag es  u s in g   co s in s im ilar ity .   R ath er   th an   m atch in g   wo r d s ,   it  lo o k s   at  u n d er ly i n g   id ea s   th r o u g h   n u m er ical  v ec to r s .   W h en   co m p ar in g   th in c o m i n g   q u er y   to   k n o wn   d ata  p o in ts ,   p r o x im ity   d eter m in es  f it.  C lo s est   m atch es   g u id wh ich   m ater ials   co m e   f o r war d .   Usu ally ,   th r ee   s eg m en ts   s u r f ac b ased   o n   alig n m en t.   Me an in g   s h ap es   r etr iev al  m o r t h an   e x ac t   p h r asin g   d o es.  On ly   h ig h est - s co r in g   f r ag m e n ts   en ter   th n ex s tag e .   Fo cu s   s tay s   n ar r o -   ju s th o s s elec ted   b its   m o v ah ea d .   B ac k   wh at  r etu r n s   wo r k s   r ig h t w h er it  b elo n g s .   Ma th   with   v ec to r s   ch ec k s   th at  o n e.     3 . 4 .     P ha s e   3:   P ro m pt   eng ineering   a nd   g e n e r a t i o n   Du r in g   in f er e n ce ,   f ix ed   s ch em g u id es  th p r o m p ts   s o   o u tp u ts   s tay   u n if o r m   en o u g h   f o r   g r ad in g .   W h at  co m es  o u f its   wh at ' s   ex p ec ted   wh en   s co r in g   wo r k .   Stru ctu r k ee p s   th in g s   p r ed ictab l with o u s u r p r is es  in   f o r m at.   E ac h   r esp o n s e   lin es   up   b ec au s e   r u les   s h ap h o w   q u esti o n s   ar e   a s k ed .   Pre d ictab ilit y   m atter s   m o s t   o n ce   an s wer s   s tar t f lo win g .   Sc h em lo ck s   d o wn   ch o ices e ar ly   o n   p u r p o s e.   Evaluation Warning : The document was created with Spire.PDF for Python.
                      I SS N :   2 0 8 8 - 8 7 0 8   I n t J E lec  &   C o m p   E n g ,   Vo l.   1 6 ,   No .   4 Au g u s t   20 2 6 :   1 96 4 - 1 975   1968   d if f er e n k in d   o f   th in k in g   k ick s   in   wh en   t h s y s tem   o n ly   u s es  p r o v id e d   tex tb o o k   p iece s .   B y   lo ck in g   an s wer s   to   ju s th o s e   s ec tio n s ,   m ad ce n tr al  r ig h f r o m   th s tar t,  wild   g u ess es  f ad o u t.  Mo s b ig   m o d els  ten d   to   in v en d etails  if   lef u n ch ec k ed .   T h at  co m m o n   f law?   I s h r in k s   h er b ec au s im ag in atio n   g ets  tied   d o wn   to   wr itten   f ac ts   p u ll ed   s tr aig h t f r o m   s o u r ce   m ater i al.   Star ti n g   o f f ,   t h e r e' s   s et u p   ca l led   t h "T ea ch in g   ass is ta n t r o le  u s ed   d u r i n g   c o d i n g   t as k s .   T h is   f o r m at   ask s   f o r   r es p o n s es   s p lit   i n t o   c l ea r   s ec ti o n s   u s i n g   Ma r k d o w n .   O n e   p a r t   m u s t   d esc r i b e   h o w   t h e   s o l u ti o n   w o r k s ,   s tep   b y   s t ep ,   i n   p la in   wo r d s .   F o ll o w in g   t h a t   c o m es   t h e   ac t u a w o r k i n g   c o d e,   wr i tte n   p r o p e r ly   i n   e it h e r   P y t h o n   o r   C .   T h en   l ast ,   an   es tim at s h o ws   h o w   m u ch   ti m e   an d   m em o r y   it   u s es ,   ex p l ai n e d   wit h   B ig - n o t ati o n .   Star tin g   elsewh er e   ea c h   tim e ,   f ac ts   g et   p u lled   f ir s t,  th en   s en t en ce s   b u ilt  af ter .   T h is   way   s p l its   f in d in g   in f o   f r o m   m ak in g   an s wer s .   O n p ar t   g r a b s   d ata  lik e   an   o ld - s ch o o s ea r ch er   wo u ld   d o .   T h e   o th er   s h ap es  wo r d s   s m o o th ly ,   m u ch   lik e   to d ay ' s   talk - lik s y s tem s   b eh av e.   Sep a r atin g   th ese  jo b s   h elp s   m ix   p r ec is io n   with   n atu r al   f lo w.   Do n r i g h t,  tr u th   s tay s   in tact  wh ile  p h r asin g   s o u n d s   le s s   s tiff .       4.   I M P L E M E NT A T I O A ND  E XP E R I M E N T A L   SE T UP   f r esh   s etu p   ca m t o g eth er   as  s elf - co n tain ed   we b   to o m ea n to   r u n   with o u in ter n et,   s tay in g   in s id p r iv ate  n etwo r k s   o n ly .   B u ilt  o n   f r ee ly   av ailab le  t o o ls   s o   an y o n e   ca n   r e b u ild   it,  k ee p   co s ts   lo w,   s tay   in   co n tr o o f   in f o r m atio n .   I ts   b ac k b o n r u n s   Py th o n   3 . 1 0   h a n d lin g   s er v er   d u ties   wh ile  R ea ct  s h ap es  h o u s er s   in ter ac t.  T h ese  p ar ts   talk   th r o u g h   s tan d ar d   API   lin k s   m ad f o r   s m o o th   ex ch an g e.     4 . 1 .     Dev el o pm ent   env iro n ment   a nd   d e p en de n ci e s   B u ilt  o n   Fla s k   f o u n d atio n ,   th s y s tem   h an d les  r eq u ests   q u ietly   b eh in d   th s ce n es.  L ig h tweig h b y   d esig n ,   it  wo r k s   s m o o t h ly   with   to o ls   co d e d   in   Py th o n   f o r   s m ar p r o ce s s in g   task s .   T o   lin k   p ar ts   s af ely ,   s h ar ed   r eso u r ce s   talk   ac r o s s   d o m ain s   u s in g   an   ad d e d   C OR h elp er .   C o m m u n icatio n   s tay s   tig h a n d   tr u s ted   b etwe en   u s er   in ter f ac an d   lo ca l m o d el   r u n n e r .   Mo s t   of   th e   t o o ls   u s ed   h er e   ar e   b u ilt   on   th ese   co d e   c o l l e c ti o n s :   a.   web   o f   c o n n ec tio n s   b etwe en   to o ls   -   lo a d er s ,   s to r a g e,   b r ain   -   r u n s   o n   L an g C h ain   [ 2 0 ] .   T h is   s y s tem   k ee p s   ea ch   p iece   talk i n g   at   th e   r ig h t   tim e.   I ts   j o b   is   m a k in g   s u r s tep s   f o llo o n an o th er   with o u h iccu p s .   Pieces sh if t o n ly   wh en   o th e r s   f in is h   th eir   wo r k .   b.   Fro m   tim to   tim e,   lab   s taf f   p u ll d ata  o u t o f   PDFs   u s in g   to o l c alled   Py Mu PDF,  k n o wn   in s id th co d as  f itz .   I ts   s p ee d   s tan d s   o u wh en   g r ab b i n g   tex f ast  with o u lo s in g   s tr u ctu r e.   Un lik s lo wer   to o ls   s u ch   as  Py PDF2 ,   it  k ee p s   f o r m attin g   in tact  m o r r eliab ly .   W h en   m an u als  h av o d d   lay o u ts   o r   m ix ed   f o n ts ,   th is   o n h an d les  th em   b etter .   Per f o r m an ce   m atter s   m o s h er e   -   esp ec ially   o n   d e n s p ag es   f illed   with   ch ar ts   an d   f o o tn o tes.  Oth er   o p tio n s   wer test ed ,   y et   th ey   lag g e d   b eh i n d   d u r in g   b u lk   p r o ce s s in g .   Pre cisi o n   in   s p ac in g   an d   lin o r d er   m ak es  th d if f er en ce   n o ticea b le.   So ,   ev en   if   less   co m m o n ,   t h is   p ick   f it s   th wo r k f lo w   tig h ter .   c.   R u n n in g   in s id th a p p ,   C h r o m aDB   [ 2 1 ]   ac ts   as   b u ilt - in   m em o r y   b a n k   f o r   v ec to r s .   W ith o u t   n ee d in g   o u ts id e   s er v er s   lik e   Pin ec o n e   or   Milv u s ,   it   k ee p s   ev er y th in g   s elf - co n tain ed .   Desig n ed   t h is   way ,   it   f it s   p er f ec tly   with in   s tr ict  o f f lin b o u n d ar ies  -   n o   in ter n et,   n o   ex ce p tio n s .   T h w h o le  s y s te m   s tay s   lo ca b y   d ef au lt.   T h h ig h - le v el  s y s tem   ar ch itectu r e,   illu s tr atin g   t h i n ter ac tio n   b etwe en   th e   f r o n ten d ,   b ac k en d ,   an d   in f er en ce   e n g in e,   is   s h o wn   in   Fig u r 2 .           Fig u r e   2 .   Hig h - lev el   s y s tem   ar ch itectu r e   of   t h e   lo ca l   R AG   ap p licatio n   illu s tr atin g   th e   in ter a ctio n   b etwe en   th e   R ea ct  f r o n ten d   Flas k   b ac k en d   an d   th lo ca l i n f er en ce   en g in e   Evaluation Warning : The document was created with Spire.PDF for Python.
I n t J E lec  &   C o m p   E n g     I SS N:   2088 - 8 7 0 8         A   h yb r id   r etri ev a l a u g men ted   g en era tio n   fr a mewo r fo r   a u t o ma ted   ed u ca tio n a l     ( B a s a v esh   D. )   1969   4 . 2 .     L o ca l   LLM   c o nfig ura t io n   ( O l l a ma )   R u n n in g   o n   y o u r   o wn   m ac h i n e,   th s y s tem   u s es  Ollam in s t ea d   o f   s en d in g   d ata  t h r o u g h   clo u d   API s .   T h at  k ee p s   p e r s o n al  in f o r m ati o n   o u o f   r em o te  s er v e r s   b y   p r o ce s s in g   it  lo ca lly .   I n s tead   o f   r ely in g   o n   o u ts id co n n ec tio n s ,   e v er y th i n g   h a p p e n s   wh er y o u   co n t r o l it.   a.   Star tin g   with   m o d el  p ic k   -   Mistra 7 B   g o th n o d ,   p u ll ed   f r o m   lin eu p   o f   o p tio n s .   I ts   ed g e?   Stro n g   r esu lts   o n   lo g ic  an d   p r o g r a m m in g   ch allen g es,  esp ec ially   c o n s id er in g   h o lig h tweig h it   is .   Per f o r m an ce   p er   p ar a m eter   tip p ed   th s ca le  h er e.   b.   T o   o p e r ate  th is   7 - b illi o n - p ar a m eter   m o d el   o n   r eg u la r   lap to p s   u s in g   o n ly   8   GB   to   1 6   GB   o f   m em o r y ,   we   ap p lied   4 - b it  q u an tizatio n   -   s p ec if ically   QL o R A,   m eth o d   o u tlin ed   b y   Dettm er s   an d   tea m   [ 2 4 ] .   B ec au s e   of   th is   ap p r o ac h ,   th e   r eq u ir ed   C P U   an d   VR AM   u s ag e   d r o p s   s h ar p ly ,   f allin g   f r o m   ar o u n d   2 8   g i g ab y tes   d o wn   to   ju s t   o v er   4 . 1 .   As   a   r esu lt,  s tu d en ts   can   n o r u n   it  ev en   wh en   th ey   lack   s p ec ialized   GPU   eq u ip m en t.   c.   b r id g e   f o r m s   wh en   Py th o n   talk s   to   Ollam th r o u g h   L an g C h ain - O llam a,   lettin g   p r o m p t s   f lo w   with o u t   d elay .   T h is   p ath   k ee p s   d ata   m o v in g   s tr aig h in to   th l o ca m o d el.   Stre am in g   s tay s   s m o o th   b ec au s th lin k   cu ts   ex tr s tep s .   I n s tead   o f   wai tin g ,   r esp o n s es st ar t f ast.  T h s etu p   r u n s   q u ietly   b eh in d   ev e r y   r eq u est.     4 . 3 .     Vec t o r   em bedd ing   i mp l e me n t a t i o n   W o r d s   g et  tu r n ed   in to   n u m b e r   p atter n s   th at  h elp   m ac h in es  u n d er s tan d   m ea n in g .   T h ese  p atter n s   let  s y s tem s   s p o s im ilar ities   b ey o n d   ex ac w o r d   m atch es.   Un d er s tan d in g   g r o ws  wh e n   p h r ases   m ap   clo s e   to g et h er   in   a   h id d en   s p ac e.   Ma tch in g   s h if ts   f r o m   k ey wo r d s   to   h o w   id ea s   r elate .   Me an in g   b ec o m es   s o m eth in g   m ath   ca n   m e a s u r e .   a.   s m all  T r an s f o r m er   s y s tem   tu r n s   s en ten ce s   in to   f ix ed - s iz n u m b er   b u n d les.  B u ilt  o n   Sen ten ce - B E R T   id ea s ,   it  u s es   th all - Min iLM - L6 - v 2   s etu p   f r o m   Hu g g i n g Fa ce   [ 1 1 ] .   E ac h   p h r ase  b ec o m es   p o in t   in   3 8 4   d im en s io n s   th r o u g h   t h is   m ap p in g   p r o ce s s .   b.   B ec au s it  h an d les  s en ten ce   m atch in g   well,   th is   m o d el   r u n s   s m o o th ly   ev en   o n   r e g u lar   c o m p u te r   p r o ce s s o r s .   W ith o u n ee d in g   h ea v y   h ar d war e ,   p r o ce s s in g   d o cu m en ts   s tay s   f ast  an d   s m o o th .   T h d esig n   s k ip s   th u s u al  lag   th at  co m es   f r o m   r ely in g   o n   ad v an ce d   g r ap h ics  ch ip s .   E f f icien c y   win s   wh en   ev e r y d a y   m ac h in es c an   k ee p   u p   with o u t   s p ec ial  g ea r .   v is u aliza tio n   in d icatin g   h o th all - Min iLM - L6 - v 2   m o d el  h an d les  th s em an tic  clu s ter in g   o f   r elate d   tex tb o o k   co n ce p ts   is   p r esen ted   in   Fig u r 3 .           Fig u r e   3 Vis u aliza tio n   of   v ec to r   s p ac e   em b e d d in g s   d em o n s t r atin g   th e   s em an tic   cl u s ter in g   of   r elate d   tex tb o o k   co n ce p ts   u s in g   th e   all - Min iLM - L6 - v 2   m o d el       4 . 4 .     Appl ica t io n   wo r k f lo w   i mp l e me n t a t i o n   On p ath   d ea l   with   s tu d en r e co r d s   s ep ar ately .   An o t h er   h a n d les  en r o lm en t   s tep s   th r o u g h   d if f er en t   ch an n el.   E ac h   f u n ctio n   co n n e cts  v ia  its   o wn   ad d r ess   o n lin e.   Sp ec if ic  ac tio n s   lin k   to   in d i v id u al  ad d r ess es  s et   asid ju s t f o r   th em   a.   Star tin g   o f f ,   th e   s y s tem   tak e s   in   f iles   u s in g   m eth o d   th at  s p lits   u p lo ad s   in to   ch u n k s   f o r   s m o o th e r   h an d lin g .   T h en   co m es  id e n tific atio n   -   p atter n s   s p o w h eth er   a   d o c u m en t   is   PDF  t h r o u g h   tar g ete d   Evaluation Warning : The document was created with Spire.PDF for Python.
                      I SS N :   2 0 8 8 - 8 7 0 8   I n t J E lec  &   C o m p   E n g ,   Vo l.   1 6 ,   No .   4 Au g u s t   20 2 6 :   1 96 4 - 1 975   1970   m atch in g   r u les.  T h at  ea r ly   ch ec k   m ak es  s u r o n ly   n ea t,  o r g an ized   d ata  m o v es  f o r war d .   I f   s k ip p ed ,   m ess y   lay o u b its   s lip   th r o u g h .   T h o s g litch es  clu tter   m ea n i n g   late r   o n .   R esp o n s es  g et  wo r s wh en   b ac k g r o u n d   n o is s n ea k s   in to   an aly s is .   b.   Ou t   of   th e   b lu e,   it   p u lls   m ater ial   f r o m   th e   s y llab u s _ ch r o m a_ d b   to   s h ap th eo r y   d etails.   Su d d en ly ,   th e   s y s tem   tr ig g er s   th lo ca Mistra L L with   tem p er atu r s e at  0 . 3 .   B ec au s p r ec is io n   m a tter s ,   r esp o n s es  s tay   clo s to   f ac ts   f o u n d   i n   tex tb o o k   p iece s .   No lo n g   af ter   r etr ie v al,   ex p la n atio n s   f o r m   th r o u g h   co n tr o lled ,   r ep ea tab le  lo g ic.   E v en   s o ,   r an d o m n ess   s tay s   l o -   ev er y   o u tp u s tick s   n ea r   k n o wn   c o n ten t.   W h ile  p r o ce s s in g ,   co n tex lin k s   tig h tly   to   wh at  th d atab ase  p r o v id es.  On ly   th en   d o es  s tr u ctu r ed   ex p lan atio n   e m er g f r o m   alig n ed   f r a g m en ts .   c.   W h atev er   co m es  n e x d ep e n d s   o n   th la b   an s wer s   b ein g   g en er ated   f ir s t.  T h is   s tep   lin es  u p   ev er y th in g   n ee d ed   f o r   th la b   p i p elin e   to   r u n   s m o o th l y .   u n iq u p r o m p tem p late  ta k es  ch ar g e   h e r e,   s h ap in g   h o w   th in g s   tu r n   o u t.   T h e   f o r m at  m u s s tick   to   Ma r k d o wn   r u l es  -   n o   e x ce p tio n s .   C o d e   ap p ea r s   f ir s t,  t h en   co m p lex ity   lev el,   f o llo wed   b y   v iv q u esti o n s .   E ac h   p iece   s lo ts   in to   p lace   ex ac tly   wh er it   s h o u ld .   R ep o r ts   co m o u u n if o r m   b ec a u s o f   t h is   s etu p .   Stru ctu r g u id es e v e r y   o u tc o m b e h in d   th e   s ce n es.       5.   RE SU L T S AN D I SCU SS I O N   T o   ev alu ate  th ef f icac y   o f   th p r o p o s ed   o f f lin au to m ated   cu r r icu lu m   alig n m e n s y s tem ,   we   co n d u cte d   s er ies o f   q u alitativ an d   q u an titativ test s   u s in g   s tan d ar d   u n d er g r ad u ate  c o m p u ter   s cien ce   s y llab i   an d   co r r esp o n d i n g   lab o r ato r y   m an u als.   T h e   s y s tem   was   ass es s ed   on   th r ee   p r im ar y   m etr ics:   C o n tex tu al  ac cu r ac y   ( v e r if y in g   g r o u n d i n g   in   th p r o v id ed   r ef e r en ce   tex tb o o k ) ,   Sy n tactica co r r ec tn ess   ( test in g   ex ec u tab ilit y   o f   A I - g en e r ated   co d e) ,   a n d   s y s tem   in f er e n ce   la ten cy   ( m ea s u r in g   g e n er atio n   r esp o n s tim es).     5 . 1 .     Q ua lit a t iv e   a na ly s is :   Sy lla bu s - t ex t bo o k   a l i g n me n t   Star tin g   o f f ,   th e   m ain   g o al   b e h in d   t h "T h e o r y   p ip elin e "   w as  m ak in g   s u r e v er y   ex p la n a tio n   s tu ck   clo s ely   to   th e   g iv en   s o u r ce .   W h en   we  tr ied   it  o u t,   u s in g   s o m eth in g   lik "Po ly m o r p h is m   in   Py th o n as  a   test   to p ic  h elp ed   s ee   h o well  it  wo r k ed .   I n s tead   o f   in v e n tin g   id ea s ,   th s y s tem   p u lled   o n ly   f r o m   w h at  th r ef er en ce   o f f er e d .   E ac h   tim e,   i n p u ts   wer m atch e d   ca r ef u lly   ag ain s t e x is tin g   m ater ial.   L o o k   at  Fig u r 4   -   b asic  g en er ativ s etu p s ,   wh en   r u n n in g   f r ee   o f   R AG  s u p p o r t,  to s s ed   o u v ag u e   ex p lan atio n s ,   o f te n   m ix in g   u p   C ++ s   ap p r o ac h   to   p o l y m o r p h is m   with   h o Py th o n   h an d le s   ty p es  o n   th f ly .   On   th f lip   s id e,   M o d el  B ,   wh ich   p air e d   Mistra 7 B   with   R AG,   p u lled   p r ec is ch u n k s   s tr aig h f r o m   th e   p r o v id e d   tex tb o o k   -   lik p ag es  1 4 5   th r o u g h   1 4 8   -   an d   b u ilt  r esp o n s es  u s in g   th v er y   wo r d s   f r o m   th o s e   s ec tio n s .   T h at   s h o ws   th C h r o m aDB r etr iev al   p r o ce s s   ac tu al ly   f ix es th e   g ap   m en tio n e d   ea r lier   in   th an aly s is .           Fig u r e   4 .   C o m p ar ativ e   wo r k f l o w   an aly s is   s h o win g   how   th e   R AG   p ip elin e   b r id g es   th e   co n t ex tu al  d is co n n ec to   p r o d u ce   alig n e d   ed u ca tio n a l c o n ten t       5 . 2 .     Q ua ntit a t iv e   re t riev a l   e f f i c a c y   s co r ca lled   h it  r ate  at  p o s itio n   th r ee   h elp e d   ch ec k   h o w ell  C h r o m aDB  f o u n d   r ele v an in f o .   On f in d s   it  b y   s ee in g   if   th r ig h tex tb o o k   p ar s h o ws  u p   am o n g   th f ir s th r ee   r esu lts   p u lled .   T h at  ch an ce   g ets   wr itten   d o wn   u s in g   clea r   m a th   r u le.   Evaluation Warning : The document was created with Spire.PDF for Python.
I n t J E lec  &   C o m p   E n g     I SS N:   2088 - 8 7 0 8         A   h yb r id   r etri ev a l a u g men ted   g en era tio n   fr a mewo r fo r   a u t o ma ted   ed u ca tio n a l     ( B a s a v esh   D. )   1971      =                  Star tin g   with   th e   all - Min iLM - L6 - v 2   em b e d d in g s ,   p e r f o r m a n ce   r ea c h ed   a n   8 9 h it  r ate   o n   co n ce p t -   b ased   s y llab u s   s ea r ch es.  T ak th p h r ase  "E x p lain   in h er itan ce -   th s y s tem   p u lled   ju s th s ec tio n   d etailin g   o b ject - o r ien te d   in h er itan ce .   I n s tead   o f   g ettin g   s id etr ac k ed   b y   co m m o n   wo r d s   i n   th e   p r ef ac o r   g lo s s ar y ,   m ea n in g - d r iv en   m atch i n g   s tay ed   f o cu s ed .   B ec au s it  ig n o r ed   m is lead in g   k e y wo r d   o v er lap s ,   r elev an ce   im p r o v e d   s h ar p l y .   T h at   p r ec is io n   s h o ws  h o w   well  v ec to r   s e ar ch   p in p o in ts   u s ef u l   co n tex t   -   r ea d y i n g   ac c u r ate  in p u ts   b ef o r th L L s tep s   i n .     5 . 3 .     Q ua lit a t iv e   a na ly s is :   Aut o m a t ed   la bo ra t o r y   g e n e r a t i o n   f r esh   lo o k   at  t h "L ab   p ip e lin e ch ec k ed   h o w   well  it  h a n d les  m ess y   PDF  tex t.  T h o u g h   b u ilt  f o r   ch ao s ,   it  s h ap es  th at  clu tter   in to   clea n   r ep o r ts .   W h er m o s t o o ls   f ail,   th is   o n p u s h es  th r o u g h   -   tu r n i n g   r o u g h   d ata  in to   s o m eth in g   u s ab le.   E ac h   s tep   ad ju s ts   o n   th f ly ,   m ak in g   s en s o f   wh at  lo o k s   lik g ib b er is h .   No t   p er f ec t,   y et  cl o s en o u g h   to   m atter .   E v e n   o d d   f o r m attin g   f in d s   a   p lace   i n   th e   o u tp u t.   W h en   test ed ,   r esu lts   ca m o u t stru ctu r e d ,   n o t scr a m b led .   C lar ity   em er g es wh er e   y o u d   ex p ec t c o n f u s io n .   lab   g u id s er v ed   as th test   d o cu m e n t.  I n s id it sat a   task   ab o u t c o d in g   m u ltip licatio n   f o r   two   g r id s   o f   n u m b e r s   u s in g   Py th o n .   T h i s   in s tr u ctio n   ap p ea r ed   alo n g s id e   m ess y   ex t r as   -   r an d o m   titl es   f r o m   ta b les,   m ar k s   at  p ag b o tto m s ,   tim tag s   s c atter ed   ar o u n d .   W h at  s to o d   o u was  h o clu tter ed   th s o u r ce   m ater ial  f elt  o n   p u r p o s e.   No clea n .   Far   f r o m   n ea t.  Yet  th at   s p ec if ic  q u esti o n   n ee d ed   f in d in g   am id   d is tr ac tio n s .   On p ar t   f o cu s ed   o n   s o f twar s tep s   f o r   n u m b er   ar r ay s .   E v er y t h in g   els ju s t g o t in   th way .   Ou o f   th m ess y   in p u t,   a   p att er n - b ased   s ca n n er   p u lled   o u j u s wh at  was  n ee d e d .   Fro m   t h at  p o in t   o n ,   ev er y th in g   ca m e   to g eth er   in   clea n   Ma r k d o wn   lay o u t.  T h is   in clu d e d   ea c h   r e q u ir e d   p ar t,   b u ilt  s tep   b y   s tep   with o u t e x tr clu tter .   W h at  em er g ed   f it th e   s tr u ctu r ex a ctly ,   s h ap ed   b y   r u les b u n o t r ig i d   s in g le  r o at  tim m o v es  th r o u g h   th f ir s m atr ix .   M ea n wh ile,   ea ch   co lu m n   i n   th e   s ec o n d   is   p r o ce s s ed   b esid e   it.  On e   ele m en m u ltip lies   a n o th er   b ef o r th eir   r esu lt  ad d s   in to   r u n n in g   s u m .   T h at  s u m   s ettles   in to   p lace   o n ly   af ter   all  p air s   co n tr ib u te.   E ac h   p o s itio n   in   th o u tco m f ills   th is   way .   T h p r o ce s s   r ep ea ts   u n til ev er y   co m b i n atio n   co m p letes ,   n o th in g   s k i p s ,   an d   n o th i n g   d o u b les.   Py th o n   s cr ip th at  r u n s   with o u er r o r s ,   b u ilt  ex ac tly   to   m atch   th m eth o d   ex p lain e d .   E x ec u tio n - r ea d y   lin es  o f   co d e   f o llo win g   p r o p e r   s y n tax   r u les.  wo r k i n g   p r o g r am   wr itten   in   Py th o n ,   s tr u c tu r ed   co r r ec tly   f o r   im m ed iate   u s e.   C o r r ec tly   f o r m ed   in s tr u ctio n s   in   Py th o n   ca p ab le  o f   r u n n in g   as   in ten d e d .   T h alg o r ith m   tu r n ed   in to   r u n n ab le  co d with   ac cu r ate  f o r m attin g .   T im g r o ws  cu b e d ,   s p ac e   s q u ar ed   -   th is   o n e   s ca le  s teep .   E a ch   s tep   p iles   u p ,   m em o r y   f ills   f aster   th an   y o u d   f ir s g u ess .   T r ip le   lo o p s   d r ag   o n ,   n ested   d ee p   in s id e .   Me m o r y   tag s   alo n g ,   g r o win g   twice  as   f ast  as   in p u t.  No t le an ,   n o q u ick ,   ju s t h ea v y   liftin g   all  r o u n d .   Viv q u esti o n s C o n tex tu ally   r elev an ass ess m en q u esti o n s   ( e. g . ,   "Wh at  co n d itio n   m u s b s atis f ied   f o r   m atr ix   m u ltip licatio n ?"   a n d   "Can   y o u   o p tim ize  m atr i x   m u ltip licatio n   u s in g   Stra s s en ' s   a lg o r ith m ?" ) .   s in g le  test   s h o ws  h o w   th t o o h an d les  m ess y   f iles   s tar to   f in is h .   Star tin g   with   u n clea r   d o cu m en ts ,   it  b u ild s   clea r   teac h in g   m ater i al.   I n s tead   o f   s to p p in g   at  in te r p r etatio n ,   it  s h a p es  o u tp u t   th at  f its   less o n   g o als.   E v en   r o u g h   d r af ts   tu r n   in to   o r g an ized   s ec tio n s   r ea d y   f o r   lab   d o cu m e n tatio n .     5 . 4 .     Q ua ntit a t iv e   c o m pa r a t i v e   a na ly s is   ( a bla t io n   s t u d y )   L o o k in g   at  h o th in g s   tu r n e d   o u t,  th e   b aselin Mo d el   -   Fl an - T 5   u s in g   co m p r ess ed   r etr ie v al  -   was  m ea s u r ed   n ex t o   Mo d el  B ,   w h ich   u s es  Mistra 7 B   p lu s   Fu ll - C o n tex R AG.   W h at  s h o ws  u p   in   T ab le   1   p o in ts   to   clea r   g ap s   b etwe en   th em   o n   ev er y   m etr ic  test ed .   Per f o r m an ce   is   n o t   clo s wh en   y o u   g o   th r o u g h   ea ch   m ea s u r o n b y   o n e.       T ab le   1 .   C o m p a r ativ e   p er f o r m an ce   m e t r i c s   F e a t u r e   M o d e l   A   ( B a s e l i n e :   F l a n - T 5 )   M o d e l   B   ( P r o p o s e d :   M i st r a l   7 B )   A r c h i t e c t u r e   E n c o d e r - D e c o d e r   ( 8 0 M   P a r a m s )   D e c o d e r - O n l y   ( 7 B   P a r a m s )   C o n t e x t   S t r a t e g y   Lo ss y   V e c t o r   C o m p r e s s i o n   F u l l - C o n t e x t   I n j e c t i o n   H a l l u c i n a t i o n   R a t e   H i g h   ( 6 5 %)   -   I n v e n t e d   n o n - e x i st e n t   A P I s .   Lo w   ( 1 2 %)   -   A d h e r e d   to   t e x t b o o k   d e f i n i t i o n s .   C o d e   S u c c e s s   Rate   1 5 %   -   F r a g me n t s   w e r e   o f t e n   i n c o m p l e t e .   9 2 %   -   G e n e r a t e d   f u l l y   e x e c u t a b l e   c o d e .   A v g .   L a t e n c y   0 . 8   s e c o n d s   ( R e a l - t i m e )   1 4 . 2   s e c o n d s   ( A s y n c h r o n o u s )       T h o u g h   Mo d el  an s wer s   f ast  -   ju s 0 . 8   s ec o n d s   -   th s p ee d   co m es  at  s teep   p r ice.   R esp o n s es  o f ten   twis m ea n in g   b ey o n d   r ec o g n i tio n ,   th an k s   to   its   co m p r ess ed   way   o f   p u llin g   d ata.   I n   f ac t,  m o r th an   h alf   th o u tp u in v e n ts   d etails  o u o f   th in   air .   Fak f u n ctio n   n am es  ap p ea r .   C o d s n ip p ets  b r e ak   b asic  r u les.  Fo r   s ch o lar ly   wo r k ,   wh er tr u th   m atter s   ab o v all,   th is   m o d el   s im p ly   ca n n o t b tr u s ted .   Evaluation Warning : The document was created with Spire.PDF for Python.
                      I SS N :   2 0 8 8 - 8 7 0 8   I n t J E lec  &   C o m p   E n g ,   Vo l.   1 6 ,   No .   4 Au g u s t   20 2 6 :   1 96 4 - 1 975   1972   E v en   th o u g h   Mo d el  B   was  s lo wer   at  1 4 . 2   s ec o n d s ,   it  h it  t h m in im u m   u s ef u ln ess   lev el  n ee d ed   to   wo r k   as  an   au to m atic  teac h in g   h elp er .   B ec au s it  u s ed   d ec o d er - o n ly   s etu p ,   it  co u ld   ac tu a lly   lear n   o n   th e   f ly   f r o m   ex am p les,  p ick in g   u p   co d in g   p atter n s   an d   s u b ject  ter m s   p u lled   s tr aig h t f r o m   tex tb o o k s .   Sin ce   9 2   p er ce n o f   its   g en er ated   co d r an   co r r ec tly ,   th m eth o d   o f   f ee d in g   f u ll  co n tex k ee p s   m ea n in g   in t ac well  en o u g h   f o r   co n s is ten t g r ad in g   b en ch m ar k s   lik m ass iv m u ltit ask   lan g u ag u n d er s tan d in g   [ 2 5 ] .     5 . 5 .     Dis cus s io n   on   pr iv a cy   a nd   l a t e n c y   On b ig   h u r d le  h e r e   is   k ee p in g   ev er y   b it  o f   d ata  f u lly   u n d e r   co n tr o at  ea ch   s tep .   T h wh o le  p r o ce s s   h ad   to   r esp ec t th at  lim it with o u t e x ce p tio n .   Fo u r teen   s ec o n d s     th at   i s   h o lo n g   it  tak es  r eg u lar   lap t o p   with   1 6   GB   R AM   b u n o   ex tr g r ap h ics  ca r d   to   p r o ce s s   o n r eq u est.  C lo u d   s y s tem s   o f ten   f in is h   in   u n d er   two   s ec o n d s ,   m u ch   f as ter   b y   co m p a r is o n .   Sti ll,  wh en   lear n er s   g o   th r o u g h   less o n s   at  th eir   o wn   p ac e,   waitin g   is   n o t   an   is s u e.   Stu d y   p lan s   an d   co u r s o u tlin es c an   wait  -   th f l o s tay s   s tead y   with o u t n ee d in g   in s t an t r ep lies .   Kee p in g   th in g s   p r iv ate  m atter s   m o r th an   m o s ad m it.  I n s te ad   o f   s en d i n g   co u r s d etails  o f f   to   d is tan co m p u ter s   lik th o s b ig   tech   s y s tem s   o f ten   d o ,   ev er y th in g   r u n s   in s id y o u r   o wn   n etwo r k   h er e.   T h at  m ea n s   an y th in g   d elica te  -   s ay ,   u n f in i s h ed   less o n   p la n s   o r   in ter n al   ex p er im en t   g u i d es  -   n ev er   lea v es  ca m p u s   walls.  W h at  s its   b eh in d   th is   s etu p   is   n o t   m ag ic,   ju s ca r e f u d es ig n .   Sch o o ls   b o u n d   b y   tig h r u les  o n   h a n d lin g   in f o r m atio n   ten d   t o   f in d   th is   way   less   s tr es s f u l.     5 . 6 .     Cha lleng es   a nd   l i mi t a t i o n s   Sti ll,  h an d f u o f   g litch es  p o p p ed   u p   d u r i n g   tr ials ,   d esp ite  p r o o f   th at  l o ca R AG  s y s tem s   f u n ctio n   in   class r o o m s .   T h in g s   d id   n o t   u n f o ld   with o u h iccu p s   o n ce   u s e d   o u ts id co n tr o lled   s ettin g s .     5 . 6 . 1 .   Do cum ent   s t ruct ure   v a r i e s   s in g le  m ajo r   s n ag   with in   th I n g esti o n   L ay er   lies   in   h o ea ch   u n iv e r s ity   ar r an g es  its   PD F   s tr u ctu r th eir   o wn   way .   W h ile  Py Mu PDF   ex tr ac ts   r aw   in f o r m atio n ,   s p ec ially   d esig n ed   r u les  attem p t   in ter p r etatio n   -   b u to g eth er   th ey   f r e q u en tly   f ail.   E s p ec ially   wh en   d o cu m en ts   s h if t   in to   m u lti - co lu m n   lay o u ts .   Or   b u r y   class   d etails  d ee p   in s id co m p le x   tab le   s h ap es  r ath er   th an   clea r   r o ws.  T h e n   co n f u s io n   s p r ea d s   f ast.   Fin d in g   n o th in g   tag g ed   Mo d u le - 3 Pieces  v an is h   o u o f   n o wh er e.   T h o s em p ty   s p o ts   s h o u p   lo u d   an d   clea r   wh en   th in g s   f all  a p ar t m u c h   la ter .     5 . 6 . 2 .   L o s s   of   m ea nin g   a cr o s s   m ultiple   mo d e s   Mo s lear n in g   p a g es  p air   tex alo n g s id s k etch es  -   cir c u its ,   f lo m ap s ,   n u m b er   s ig n s   -   n o ju s t   p ar ag r a p h s   alo n e.   At   p r esen t,   th s o f twar co n v er tin g   d o c u m en ts   in to   s ea r ch - r ea d y   m at er ial  p ick s   u p   o n ly   wr itten   lin es,  ig n o r in g   ea ch   v is u al  co m p letely   d u r in g   s to r ag e.   As  r esu lt,  q u esti o n s   ti ed   to   im ag es  -   f o r   ex am p le,   ex p lain in g   th lay o u s h o wn   o n   p ag 4 5   -   g et  n o   r esp o n s wh atso ev er .   T h is   g ap ,   th o u g h   s ilen t,   s tr etch es f ar : w h at  h u m an s   u n d er s tan d   s tay s   r ich ,   wh ile  m ac h in r ec o r d s   s tay   th in .     5 . 6 . 3 .   Co m pu t a t i o na l   lim it s   a nd   d el a y s   Stay in g   in   ch a r g o f   in f o r m at io n   m ea n r u n n in g   e v er y th i n g   lo ca lly ,   u s in g   Ollam alo n g s i d Mistra l   7 B .   E v en   s o ,   p e r f o r m an ce   s lo ws  d o wn   q u ite  b it.  Usi n g   c o m m o n   h ar d war -   s tan d a r d   i7   ch i p ,   1 6   GB   o f   R AM   -   f u ll   r ep lies   ty p ically   n ee d   ab o u t   f o u r teen   s ec o n d s .   T h at   tim in g   wo r k s   f in e   wh en   ex p lo r in g   id ea s   alo n e,   o u ts id an y   r u s h .   B u s u c h   d e lay s   m ak b ac k - an d - f o r th   co n v er s atio n s   f ee awk war d .   On li n s er v ices  an s wer   q u ick er ,   f r eq u en tly   in   less   th a n   two   s ec o n d s .   C lear ly ,   d is co n n ec ted   to o ls   ca n n o t   m atch   t h at  p ac e.     5 . 6 . 4 .   Co nte x t   wind o w   b o t t l en e c ks   Desp ite  h an d lin g   8 k   t o k en s ,   Mistra 7 B   q u ick ly   u s es  u p   s p ac wh en   g r a b b in g   ch u n k s   o f   tex tb o o k s   v ia  R AG.   Har d war co n s tr ain ts   allo ju s th r ee   to p - m at ch in g   s ec tio n s   p er   q u er y .   I f   co n ce p s u c h   as   Dy n am ic  Pro g r am m i n g   s p an s   m u ltip le  ch ap ter s ,   o r   p u lls   in f o   f r o m   f a r   en d s   o f   th m ater i al,   th ese  f r ag m en ts   m ay   s k ip   ess en tial  s etu p .   An s wer s   th en   s o u n d   th in   -   m is s in g   co n n ec tio n s   th ey   o u g h t o   in clu d e.   W ith o u t   en o u g h   s u r r o u n d in g   d etail,   d e p th   f ad es.  C o n tex r u n n in g   l o d o es th at.       6.   CO NCLU SI O N   Her co m es  th s etu p   -   cr af ted   s ec u r s y s tem   to   alig n   co u r s p lan s   with   tex tb o o k   m at er ial,   u s in g   s m ar r etr iev al  m eth o d s   tied   t o   co n ten t   cr ea tio n .   b r i d g f o r m ed   w h er s tr ict  ac ad em ic   o u tlin es  m et  b r o ad   r ea d in g   s o u r c es,  h an d led   p r iv ately .   T h m eth o d   lea n ed   o n   en h an ce d   g en er atio n   m o d els,  p u llin g   f ac ts   wh en   n ee d ed   in s tead   o f   r ely in g   s o lely   o n   p r eset  r esp o n s es.  Secu r ity   s tay ed   in tact  th r o u g h o u ea c h   s tep ,   ev en   d u r in g   h ea v y   co m p ar is o n s .   Ma tch in g   ac cu r ac y   im p r o v e d   b ec au s c o n tex m atter ed   m o r th an   e v er   b ef o r e .   Stru ctu r e   Evaluation Warning : The document was created with Spire.PDF for Python.
I n t J E lec  &   C o m p   E n g     I SS N:   2088 - 8 7 0 8         A   h yb r id   r etri ev a l a u g men ted   g en era tio n   fr a mewo r fo r   a u t o ma ted   ed u ca tio n a l     ( B a s a v esh   D. )   1973   f o llo wed   p u r p o s e,   y et  f lex ib il ity   r em ain ed   with in   r ea ch .   T esti n g   s h o wed   co n s is ten r esu lts   ac r o s s   d if f er en s u b jects.  Priv ac y   d id   n o t   s lip ,   d esp ite  co m p lex   p r o ce s s in g   d em an d s .   Per f o r m a n ce   h eld   s tead y   u n d er   r ea l   co n d itio n s .   No t e v er y   a p p r o ac h   wo r k s   th is   way   -   b u t th is   o n d id .   I tu r n s   o u s p ee d   is   n o t   e v e r y th in g   wh e n   teac h in g   m ac h i n es  to   ass is lear n in g .   T h o u g h   Flan - T 5   r esp o n d s   q u ick ly ,   it  o f ten   in v e n ts   d etails  -   ab o u two   th i r d s   o f   th tim -   wh ic h   m ak es  it  u n r eliab le  f o r   s ch o o wo r k .   I n s tead   o f   b alan cin g   s p ee d   an d   ac cu r ac y ,   we  f o u n d   d if f e r en p at h   wo r k s   b etter .   B y   f ee d in g   f u l l   co n tex th r o u g h   C h r o m aDB   in to   Mistra 7 B ,   co r r ec o u tp u ts   r o s s h ar p ly .   Mo s attem p ts   m atch ed   cu r r icu l u m   r u les,  h itti n g   9 2   p er ce n t   m ar k   with o u t   clo u d   s u p p o r t.  H ar d war lim its   d id   n o t   s to p   s o lid   r esu lts   o n   r ea class r o o m -   s ty le  p r o b lem s .   W h at   lo o k e d   lik tr ad e - o f f   at  f ir s tu r n ed   in to   clea r   lead   f o r   o n d esig n .   Hea v y   r elian ce   o n   m em o r y - r ich   g e n er atio n   b ea s h o r tcu ts   ev er y   tim e.   No all  s m all   s y s tem s   th i n k   alik -   o n k in d   s im p ly   u n d e r s tan d s   b etter .   F r o m   h e r e   o n ,   s c h o o l s   c a n   b u i l d   t h e i r   o w n   s m a r t   h e l p e r s   u s i n g   c l e a r   s t e p s   a n y o n e   c o u l d   f o l l o w .   T h e s t o o l s   r u n   b y   t h e m s el v e s   y et   s ta y   r e l i a b l e   w i t h o u t   d r a i n i n g   b u d g e t s .   A c c u r a c y   h o l d s   s t r o n g   w h i l e   p r i v a c y   s t a y s   f u l l y   u n d e r   s c h o o l   c o n t r o l .   W h a t   m a t t e r s   m o s t   is   t o t al   o w n e r s h i p   o f   i n f o r m a t i o n   -   n o   e x c e p t i o n s   e v e r .       7.   F UT UR E   SCO P E   Fin d in g   o u h o w   well  lo ca R AG  wo r k s   n o o p en s   u p   n ew   p ath s   a h ea d .   So m e   g ap s   s till   n ee d   cl o s er   lo o k s   later   o n .   W ay s   f o r war d   in clu d e   test in g   b r o ad e r   d atas ets  in s tead   o f   n ar r o o n es.  E x p lo r in g   d i f f er en t   m o d els  m ig h r ev ea h i d d en   p atter n s   to o .   Ad ju s tin g   r etr iev a m eth o d s   co u ld   c h an g o u tco m es  s h ar p ly .   E v en   h ar d war ch o ices  m ay   in f lu e n ce   r esu lts   m o r th an   e x p ec t ed .   E ac h   s tep   u n co v er s   q u esti o n s   th at  wer n o t   o b v io u s   at  f i r s t   Pictu r e - b ased   r ea s o n in g   co u ld   s tep   in   wh er e   d ata   s lip s   th r o u g h   g a p s ,   as   s ee n   ea r lier .   I n s t ea d   of   ju s t   wo r d s ,   to o ls   lik L L aVA   m i g h h el p   d ec o d e   v is u als  -   s ay ,   wir in g   s k etch es  o r   m ath   f o r m u las  -   in   co m in g   u p d ates.  Seein g   d iag r am s   m ak es  id ea s   clea r er   th a n   tex t   alo n e.   L ea r n i n g   g ets  r ich er   wh en   b o th   e y es  an d   m in d   en g ag t o g e t h e r .   f r esh   s ea r ch   m et h o d   tak e s   s h ap wh en   m ea n in g - b ased   r esu lts   m ee ter m - f o cu s ed   m atch in g .   I n s tead   o f   r el y in g   o n   o n a p p r o ac h   alo n e ,   th e   s etu p   u s es  b o th   v ec t o r   p atter n s   alo n g s i d tr ad itio n al  wo r d   s ig n als  lik B M2 5 .   W h en   odd   ac r o n y m s   s h o w   up,   or   p r ec is e   co d e   lab els   ap p ea r ,   r esp o n s es   s tan d   a   b etter   ch an ce   of   h itti n g   clo s e.   Sp ec i f ic  ter m s   g ain   clar ity   b ec a u s r aw  k ey wo r d s   s tep   in   w h er c o n tex m ig h m is s .   Acc u r ac y   s h if ts   u p war d   o n ce   th ese  two   s ty les r u n   to g eth e r   b eh in d   th s ce n es.   On way   f o r war d ?   B u ild   k n o wled g g r ap h   th at  f o llo ws  ea ch   s tu d en t' s   s tep s .   T h is   p ath   lets   th AI   s p o s h ak y   s p o ts   in   u n d e r s tan d in g   d u r in g   s p o k e n - s ty le  q u iz ze s .   As  it  watc h es,  th s y s te m   s h if ts   -   n o   l o n g er   ju s r ep ly in g ,   b u g u id in g .   I n s tead   o f   waitin g ,   it  s u g g ests   wh at  to   tack le  n e x t.  Pro g r ess   m ea n s   m o v in g   f r o m   s tatic  an s wer s   to war d   tailo r ed   s u p p o r t.  E ac h   in ter ac tio n   s h a p es  th n ex n u d g e .   Gr o wth   h ap p en s   b y   lear n in g   wh o   s tr u g g les wh er e.       ACK NO WL E DG M E N T S   T h e   au th o r s   th an k   J y o th y   I n s titu te   of   T ec h n o lo g y   f o r   p r o v id i n g   s u p p o r t   an d   i n f r a s t r u c t u r e .       F UNDING   I NF O R M A T I O N   T h is   r esear ch   d id   not   r ec eiv e   a n y   s p ec if ic   g r a n t   or   c o n tr ac t   f r o m   f u n d in g   a g e n c i e s .       AUTHO CO NT RI B UT I O NS ST A T E M E N T   T h is   jo u r n al  u s es  th C o n tr ib u to r   R o les  T ax o n o m y   ( C R ed iT)   to   r ec o g n ize  in d iv id u al  au th o r   co n tr ib u tio n s ,   r ed u ce   au th o r s h ip   d is p u tes,  an d   f ac ilit ate  co llab o r atio n .       Na m o f   Aut ho r   C   M   So   Va   Fo   I   R   D   O   E   Vi   Su   P   Fu   B as a v e s h   D.                               J a y a s h r e e   N a g a r aj                                 C     C o n c e p t u a l i z a t i o n   M     M e t h o d o l o g y   So     So f t w a r e   Va     Va l i d a t i o n   Fo     Fo r mal   a n a l y s i s   I     I n v e s t i g a t i o n   R     R e so u r c e s   D   :   D a t a   C u r a t i o n   O   :   W r i t i n g   -   O r i g i n a l   D r a f t   E   :   W r i t i n g   -   R e v i e w   &   E d i t i n g   Vi     Vi su a l i z a t i o n   Su     Su p e r v i s i o n   P     P r o j e c t   a d mi n i st r a t i o n   Fu     Fu n d i n g   a c q u i si t i o n     Evaluation Warning : The document was created with Spire.PDF for Python.