©Novel Buddy
Lucky Spin: Godly Programming-Chapter 19: Mrs. Eve Doubts
Chapter 19: Chapter 19: Mrs. Eve Doubts
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 moment. Reaching the front, he approached the teacher's desk and handed in a paper containing his research study.
Impressed by how quickly he came 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 immediately. 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 moment. 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 me, 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 me 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 someone 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 some 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 came afterward, giving pointers for Filipino sa Piling Larangan and Empowerment 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 memory 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 home, 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 something 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 frameworks. So he used Flask, a lightweith Phyton web framework.
...
Phyton
from flask import Flask, render_template, request
from razi_core import RAZi
app = Flask(__name__)
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 improvements.
He included a textbox for user input, a button to send the message, 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, .messages, .message, .message.user, .message.ai, .input-area, .input-area input, .input-area button.
These selectors are used to target HTML elements 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.
.messages – The scrollable area that displays user and AI messages stacked vertically.
.message – Base style for all chat bubbles (padding, border-radius, margin, etc.)
.message.user – Styles the user's message bubble it aligns it to the right with a unique background.
.message.ai – Styles the AI's message 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 memories. On the right, clean message bubbles with alternating colors: light gray for the user, deep gray for RAZi.
Every element 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 memory so it will not forget, but the memory is not yet perfect unless the conversation was added in the core memory.
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 time to give you access to everything, little guy. It's time 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 become 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 requirements.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 some 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(message):
if "search:" in message.lower():
query = message.lower.Rest of Code
...
What this code do is that it checks if the message 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.
R𝑒ad latest chapt𝒆rs at freewebnovёl.ƈom Only.
Once everything was done, Jeff stretched while still seated on the bed, then stood up to drink some 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 some developer waste time 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.com...] – RAZi analyzing
[As of 2023, the current president of the Philippines is Leo Salazar]
Background:
A seasoned lawyer and former 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 message]
Seeing the result he had envisioned finally come 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.