Next.js AI Chatbot - Chat with any website
This is a Next.js project that implements an AI chatbot with website context retrieved from a vector store.
First, clone the repository:
git clone https://github.com/hupe1980/nextjs-ai-chatbot.git
Then, navigate to the project directory:
cd nextjs-ai-chatbot
Install dependencies:
npm install
Rename .env.example
to .env.local
, and fill out OPENAI_API_KEY
with your OpenAI API key.
To run the development server:
npm run dev
Open http://localhost:3000 with your browser to see the result.
To learn more about Langchain, Next.js, Vercel AI SDK and LanceDB, take a look at the following resources:
This project is licensed under the MIT License.