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.gitThen, navigate to the project directory:
cd nextjs-ai-chatbotInstall dependencies:
npm installRename .env.example to .env.local, and fill out OPENAI_API_KEY with your OpenAI API key.
To run the development server:
npm run devOpen 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.