This is a LlamaIndex project using Next.js bootstrapped with create-llama.
First, install the dependencies:
npm install
Second, generate the embeddings of the documents in the ./data directory (if this folder exists - otherwise, skip this step):
npm run generate
Third, run the development server:
npm run dev
Open http://localhost:3000 with your browser to see the result.
You can start editing the page by modifying app/page.tsx. The page auto-updates as you edit the file.