Neural Search: How I Turned a Script into a Smart Website


This is the idea that stuck with me after reading the book “Neural Search — From Prototype to Production with Jina”, by Bo Wang

“The key isn’t just in the models, but in how you prepare the data and how you compare it.”

I’ll be honest: that sentence sounded purely theoretical, until I had to apply it in a real project. I didn’t truly understand it until I built the website for a new film.


The Starting Point: From Lines of Text to Semantic Data

The starting point for building this website wasn’t a set of texts prepared for marketing, but the film’s production material:

  • The full script.
  • The technical sheet.
  • The cast and crew sheet (cast, team, etc.).

My task was to take all that narrative and documentary material and turn it into a structured dataset. I segmented and labeled the key information: scenes, characters, locations, crew, the plot timeline, and much more.

The Heart of the System: Vector Embeddings

Once I had this dataset, I applied the neural search concept: I processed all this data and transformed it into semantic embeddings. These vectors are not simple keyword representations; they are numerical representations that capture the real meaning and context of the information, and I stored them in a vector database.

This means that two scenes with different words, but a similar atmosphere or meaning (for example, “family tensions” or “a sudden shift in mood”), will be “close” in vector space.


Neural Search Power in Action

The system I built with this architecture overcame the limitations of a traditional keyword-based search. It can not only answer factual questions, but also becomes a tool for exploring the narrative.

Answers and Complex Relationships

The system can handle queries that require understanding the user’s intent and the relationships between the data:

  • Factual Questions: 👉 “In how many scenes does this character appear?”
  • Contextual Queries: 👉 “Which moments in the film have an atmosphere similar to the party scene?”
  • Plot Navigation: 👉 “At what moment or location does the storm begin?”

Website Autonomy

But the most innovative part is its ability to go beyond simple search. This semantic engine can generate and structure the entire website autonomously.

That translates into:

  • Dynamic Organization: Content is organized automatically based on user intent or the type of search.
  • Personalized Experience: Each interaction helps build a richer, more contextual browsing experience, using the script as the single source of truth.

So, Is This the Semantic Web? 🧐

This project helped me understand the book’s main lesson: the key to building these intelligent systems doesn’t lie exclusively in using cutting-edge AI models.

The real difference comes from two fundamental steps:

  1. How you prepare and transform your data: The process of turning a script into high-quality semantic embeddings.
  2. How you compare them: How effectively the user’s query vectors are matched against the vectors in my database.

What I’ve witnessed is a modern realization of the Semantic Web concept. Neural search and vector databases are the technology that finally makes that dream tangible, allowing the film’s original content to be, at the same time, its own intelligent web structure.