Font Size
15px

Seeing that he was the first to stand up, all eyes turned to him. Only five minutes had passed, and yet he already had a title.

But those gazes lasted only a mont. Reaching the front, he approached the teacher's desk and handed in a paper containing his research study.

Impressed by how quickly he ca up with their research title, Eve could not help but speak up.

"Well, that's fast. Make sure you've thought about this carefully," she said as she looked at Jeff, then glanced at the note he had submitted.

Seeing the content of the paper made her choke, her expression shifting to one of confusion as she looked at him, filled with unspoken questions.

[Research Title: Genesis: An Offline AI-Powered Virtual School System for Improving Learning Among the Students of Christina Academy Inc.] – The note.

"Is this serious or are you making a joke?" Mrs. Eve asked, looking at him intently. Even for a teacher like her, it felt like a prank.

Jeff shook his head, his expression firm and serious. "Yes, teacher. We have discussed it, and that is what we decided."

Mrs. Eve did not accept his words imdiately. She thought her student might be dreaming or not taking things seriously.

"I will ask again. Are you truly serious about this? If this is a prank, you had better say it now before it's too late," she said, her gaze sharp and demanding.

Jeff was left speechless for a mont. Then he sighed and said, "Teacher, I'm not joking. My group is on the line, and I can't ruin this for them. Please believe , what you read in the notes is real."

His tone was calm yet resolute, and his eyes carried a quiet determination that was difficult to dismiss.

The teacher crossed her arms, unconvinced but her pupils trembled, "Alright then," she replied.

"If you can show a working prototype by tomorrow, I'll accept your research title. If not, you'll have to change it."

Jeff nodded at her words, already planning for an all-nighter as he walked back to his seat.

Eve watched his back, lost in deep thought.

"Can this kid really pull it off? It's impossible. Even I have never seen or heard of one. It must be a passing phase for soone his age. Once he realizes what he wrote is impossible, he can simply change it," she thought to herself.

With that, she cleared her thoughts and waited as the other team leaders presented their topics.

She revised so of them to make the titles more formal and acceptable.

She also asked clarifying questions, such as which group of students would be the target and similar details.

Once everyone had presented, Practical Research class ended, and the next subject, Physical Science, began. After giving additional pointers for the upcoming exam, the teacher dismissed the class.

Two more teachers ca afterward, giving pointers for Filipino sa Piling Larangan and Empowernt Technology.

When all was done, classes ended for the day. Jeff said his goodbyes, knowing he needed to start preparing for their research study.

If he could finish creating a graphical interface and mory module for his AI, he could repurpose it for the project.

He planned to rely on external knowledge he had already gathered it, rather than using a search engine or the internet, since he wanted the system to function offline and be accessible even to those without internet.

When he arrived ho, he saw his aunt in the kitchen talking with a girl.

Upon seeing her face, Jeff had a slight idea of who she was. She was one of the boarders and currently attending a university. If he was right, their graduation was approaching.

Deciding not to disturb their conversation, he headed to his room. After taking a bath to wash off the excruciating heat,

he changed into loose clothes and a pair of pajamas. With that, he began his work.

He knew exactly what was missing from RAZi. The intelligence was there, the structure was solid, but the very soul of it still lacked a face.

"Terminal lines are fine for developers. But if I want people to feel like they're speaking to sothing real, I need a window where they can look into," Jeff muttered.

So he opened his project folder and added a new component: Interface.py

He decided to not use anything too heavy. No bloated fraworks. So he used Flask, a lightweith Phyton web frawork.

...

Phyton

from flask import Flask, render_template, request

from razi_core import RAZi

app = Flask(__na__)

ai = RAZi()

...Rest of the code

...

The Flask will serves as the bridge between his AI backend (RAZi) and the user.

Think of it like a receptionist. The user inputs a question → Flask sends it to RAZi → RAZi responds → Flask delivers it back as a nice, clean reply.

So inside the interface.py file, he began laying down the logic for rendering a basic web page.

He imagined it as a digital shrine, a space where users could ask questions and receive answers from RAZi in a clean, minimalist layout.

Inside the templates folder, Jeff created an index.html file. He decided to model it after ChatGPT's interface but with a few improvents.

He included a textbox for user input, a button to send the ssage, and a dedicated space for RAZi's reply.

...

HTML

RAZi Interface

.Rest of the code

...

After he was done he moved on to CSS and made a selector starting with, body .container, .sidebar, .sidebar h2, .sidebar, .history li, .chat-area, .ssages, .ssage, .ssage.user, .ssage.ai, .input-area, .input-area input, .input-area button.

These selectors are used to target HTML elents their function is to apply CSS styles to those targets.

Explanation:

body – Sets the base styles for the whole page like background color, font, and default margin.

.container – Wraps everything (sidebar chat area) and uses flexbox to place them side by side.

.sidebar – Styles the left panel it gives a fixed width, background color, and padding.

.sidebar h2 – Styles the title inside the sidebar (Razon Labs) with spacing.

.sidebar .history li – Styles each list item under chat history, it makes them clickable and spaced nicely.

.chat-area – Styles the main right panel where chat happens so it fills remaining space and adds padding.

.ssages – The scrollable area that displays user and AI ssages stacked vertically.

.ssage – Base style for all chat bubbles (padding, border-radius, margin, etc.)

.ssage.user – Styles the user's ssage bubble it aligns it to the right with a unique background.

.ssage.ai – Styles the AI's ssage bubble; aligns it to the left with a different background.

.input-area – Styles the bottom input section; layout for the input box and send button.

.input-area input – Styles the text input field (width, padding, font color, no borders).

.input-area button – Styles the send button; gives it color, size, and a pointer cursor.

He stared at the result. On the left, a slick sidebar dark, minimalistic, just like the ones from his mories. On the right, clean ssage bubbles with alternating colors: light gray for the user, deep gray for RAZi.

Every elent had a purpose, the sidebar wasn't just for looks, it would one day store previous conversations.

The chat area was readable even in the dark, but he still added an option if dark or light mode.

The input bar? Sticky, always waiting for a new question. And he had already added a mory so it will not forget, but the mory is not yet perfect unless the conversation was added in the core mory.

With that creation of chatgpt is done, and the only thing he needs is giving it an internet access.

RAZi could only answer based on what Jeff fed it. Books, forums, news and so on.

"Now it's ti to give you access to everything, little guy. It's ti to give you eyes on the internet—be reborn!" he shouted in his mind like a weirdo.

What he had in mind was not for RAZi to beco Google.

He simply needed it to use Google, search for information, summarize answers, and return them like a digital assistant.

With that, he installed a search engine integration and updated his requirents.txt file accordingly.

...

googlesearch-python

beautifulsoup4

requests

...

These libraries let Python search Google and scrape the content from websites.

Inside razi_plugins or the websearch.py. He wrote a small function that used Google Search to find results, then fetched summaries from websites.

...

Python

from googlesearch import search

import requests

from bs4 import BeautifulSoup

def search_web.Rest of code

...

What this code do is that it searches Google for the given query. Then, it visits the first result, fetches the web page content.

Then extracts the first few paragraphs of text. Finally, it returns a short summary of the information.

Think of it like this: You type a question → it Googles it → opens the first link → grabs so text → and gives you a quick summary.

Moving on he integrated it into RAZi's Brain. He updated the core logic so RAZi could detect if a question needed internet access.

...

Phyton

def reply(ssage):

if "search:" in ssage.lower():

query = ssage.lower.Rest of Code

...

What this code do is that it checks if the ssage starts with search, if yes it sends query to google using seach_web().

If not, then the system simply lets the AI model generate a response as usual.

Once everything was done, Jeff stretched while still seated on the bed, then stood up to drink so water.

It had taken him only about forty minutes to code everything, leaving him feeling almost overpowered.

Even a senior developer would hesitate to claim they could finish such a task in forty minutes, given that there were thousands of lines of code.

But Jeff possessed godlike programming skills. His mind functioned like a computer, he could recall everything without needing to check anything twice.

Also he cant make an error while so developer waste ti in debugging the code, with that he decided to try it.

[Who is the current president of the Philippines?]

A few seconds passed.

[Search Result from cnnphilippines...] – RAZi analyzing

[As of 2023, the current president of the Philippines is Leo Salazar]

Background:

A seasoned lawyer and forr senator, President Salazar rose through the political ranks not with flashy promises, but with well-crafted policies and a deep understanding of the constitution.

As a top graduate of the University of Santa Cruz School of Law, he earned respect for his brilliant debates, firm but fair leadership, and dedication to public service.

...More of the ssage]

Seeing the result he had envisioned finally co to life made Jeff both happy and excited. A complete system had been built entirely by his own hands.

"For the future version, let's make it more compelling and advanced," Jeff said with a smile.

Now that RAZi had access to the internet, his next plan was to build a new version.

You are reading Lucky Spin: Godly Programming Chapter 19: Mrs. Eve Doubts on novel69. Use the chapter navigation above or below to continue reading the latest translated chapters.
Share with your friends
Library saves books to your account. Reading History saves recent chapters in this browser.
Continuous reading

You may also like

The Villain's Story cover
Similar genre

The Villain's Story

Blazuku ·Fantasy

ThreeSoulslayinonebody,Onesoulbelongingtoamanwhohadreachedthepeak,thestrongestthereeverwas,theonewhohadthetalenttodoso.Yethesufferedbecauseofhistal...

Mage Manual cover
Similar genre

Mage Manual

Listening Day ·Fantasy

Ashopenedhiseyestofindthathehadtraveledtoastrangenationofmanyraces,andpeoplewerekneelingbeforehim.BeforehehadtimetoadapttothenewidentityoftheTermin...

Above The Sky cover
Similar genre

Above The Sky

Gloomy Sky Hidden God ·Fantasy

Thefirststarthatpassedawayextinguishedtwothousandyearsago. Fourhundredyearslater,themysteriousCalamityofHeavenlyFalldestroyedthecivilizationofthepr...

Death Notice cover
Trending now

Death Notice

Gluttonous Monk ·Horror

Heisagiftedandintelligentyoungman.Heisamurdererthatenjoysthebloodshed.He...Readmore Heisagiftedandintelligentyoungman.Heisamurdererthatenjoystheblo...

No reviews yet. Be the first reader to leave one.
Please create an account or sign in to post a comment.