# Natural Language Search restaurants

This demo restaurant search showcases the Natural Language Search feature of Typesense. This allows users to type a free-form sentence into the search bar. Typesense then leverages Large Language Models (LLMs) to understand users' intent, automatically translating the natural language query into structured search parameters like filters, sort orders, and relevant keywords.

This implementation uses Next.js 14 App Router for the front end, typesense-js (opens new window) client SDK for sending queries to Typesense, TanStack query (opens new window) for infinite scroll pagination, and gemini-2.5-flash-lite (opens new window) as the natural language search model.

Live Demo (opens new window) | Source Code (opens new window)

# Key Highlights

This documentation site is open source. Found an issue? Edit this page (opens new window) and send us a Pull Request.

For AI Agents: View an easy-to-parse, token-efficient Markdown version of this page. You can also replace .html with .md in any docs URL. For paths ending in /, append README.md to the path.

Last Updated: 11/13/2025, 10:11:36 AM