Skip to content

vk0novalov/navigator-ai

Repository files navigation

Navigator AI

License: MIT

Navigator AI is a project that uses PostgreSQL with the pgvector extension to store and search web page data and their relationships using vector embeddings.

Features

  • Stores web pages with content and vector embeddings
  • Tracks relationships between pages
  • Uses pgvector for efficient vector search

Getting Started

Prerequisites

  • Docker and Docker Compose
  • Ollama
  • Node.js (for running scripts in src/)

Setup

  1. Clone the repository.
  2. Copy .env.example to .env and set your environment variables.

Usage

  • Add or crawl pages using scripts in src/.
npm run crawler -- https://overreacted.io
  • Query and search using vector embeddings.
npm run search "two computers"

Database

  • Uses PostgreSQL with the pgvector extension.
  • Schema is defined in sql/schema.sql.

License

This project is licensed under the MIT License - see the LICENSE file for details.

About

Lightweight Node.js boilerplate for building RAG-based applications

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published