Back to blog

2026-07-11 · 4 min read

How I Built an AI Chatbot for zaitis.dev and Why It's More Than Just a Chat Widget

AI Chatbot OpenAI Laravel PHP Full Stack Web Development Automatyzacja Portfolio
How I Built an AI Chatbot for zaitis.dev and Why It's More Than Just a Chat Widget

Just a few years ago, website chatbots were mostly simple chat windows that could only answer a handful of predefined questions.

They usually worked like this:

"Type 1 to see our offer."

"Type 2 to view pricing."

It looked modern, but the usefulness was... let's say limited.

Ask a question in a slightly different way, and the conversation ended faster than most New Year's resolutions.

Today, things are very different.

On zaitis.dev, you'll find an AI-powered chatbot capable of holding natural conversations and answering questions about my experience, technologies, projects, services, and collaboration.

But this isn't simply ChatGPT embedded in an iframe.

There's much more happening behind the scenes.


Where did it start?

The idea was simple.

I wanted visitors to get answers instantly without browsing through dozens of pages.

Instead of searching for information like:

  • What technologies do you specialize in?
  • What projects have you built?
  • Do you work with Laravel?
  • Do you build AI applications?
  • How does collaboration work?

...they can simply ask.

Just like talking to another person.


How does the chatbot work?

The application consists of several cooperating components.

1. User Interface

The website includes a lightweight chat widget responsible for:

  • displaying conversations,
  • storing chat history,
  • smooth animations,
  • real-time response streaming,
  • responsive experience on desktop and mobile devices.

2. Backend

Every message is sent to the application's backend.

This is where the most important operations happen:

  • request validation,
  • conversation history storage,
  • context preparation,
  • communication with the AI model,
  • sending responses back to the user.

Keeping business logic on the server makes the application easier to maintain and extend.


3. Context

Context is what makes the biggest difference.

The AI model knows nothing about me by default.

Before generating a response, it receives additional information including:

  • my professional experience,
  • technologies I use,
  • project descriptions,
  • available services,
  • contact information,
  • response guidelines.

Because of this, the chatbot provides answers that are far more accurate and personalized than a generic AI assistant.


4. Language Model

Only after the context has been prepared is the message sent to the language model.

The model analyzes the user's question, combines it with the provided information, and generates a response in real time.

The result feels much closer to talking with a real consultant than interacting with a traditional chatbot.


Why implement an AI chatbot?

The biggest advantage isn't the "AI" label itself.

It's time.

A well-designed chatbot can:

  • answer customer questions 24/7,
  • reduce customer support workload,
  • help visitors choose the right products or services,
  • collect qualified leads,
  • guide users to relevant pages,
  • increase engagement,
  • improve the overall user experience.

In practice, that means fewer repetitive conversations and more time for meaningful work.


Will AI replace humans?

I don't think so.

And honestly, it shouldn't.

The best results come when AI handles repetitive questions while people focus on tasks requiring experience, creativity, and human judgment.

Automation and human expertise work far better together than separately.


What's next?

This is only the beginning.

Future plans include:

  • long-term conversation memory,
  • document analysis,
  • knowledge base integration,
  • meeting scheduling,
  • automatic proposal generation,
  • support for multiple AI models,
  • CRM integration.

A modern AI chatbot can become much more than just another chat window.

It can become your company's first-line digital employee.


Looking for a similar solution?

If you run a business, an online store, or a service-based website and want to implement a custom AI chatbot tailored to your company, I'd be happy to help.

I design and build AI-powered solutions that improve customer service and automate everyday business processes.

👉 Get in touch through the contact form on zaitis.dev.

Together we can build an AI assistant that works for your business 24 hours a day.

Because if your website can answer "How much does it cost?" automatically, maybe your team can finally spend their time solving problems that actually require human intelligence.

Have a project in mind?

Let's talk about your website, store or app.

Get in touch
Ask about Kris
Hi! Ask me anything about Kris's experience, skills, or past projects.

AI-generated answers based on real portfolio content — may not be complete. For anything important, use the contact form.