https://github.com/hupe1980/nextjs-ai-chatbot
🤖 Next.js AI Chatbot - Chat with any website
https://github.com/hupe1980/nextjs-ai-chatbot
lancedb langchain nextjs openai vercel-ai-sdk
Last synced: 6 months ago
JSON representation
🤖 Next.js AI Chatbot - Chat with any website
- Host: GitHub
- URL: https://github.com/hupe1980/nextjs-ai-chatbot
- Owner: hupe1980
- License: mit
- Created: 2024-02-12T12:52:46.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2024-02-15T21:06:41.000Z (over 1 year ago)
- Last Synced: 2025-04-14T11:07:13.228Z (6 months ago)
- Topics: lancedb, langchain, nextjs, openai, vercel-ai-sdk
- Language: TypeScript
- Homepage:
- Size: 231 KB
- Stars: 8
- Watchers: 3
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# 🤖 nextjs-ai-chatbot
> Next.js AI Chatbot - Chat with any websiteThis is a [Next.js](https://nextjs.org/) project that implements an AI chatbot with website context retrieved from a vector store.
## Getting Started
First, clone the repository:
```bash
git clone https://github.com/hupe1980/nextjs-ai-chatbot.git
```Then, navigate to the project directory:
```bash
cd nextjs-ai-chatbot
```Install dependencies:
```bash
npm install
```Rename `.env.example` to `.env.local`, and fill out `OPENAI_API_KEY` with your OpenAI API key.
To run the development server:
```bash
npm run dev
```Open [http://localhost:3000](http://localhost:3000) with your browser to see the result.
## References
To learn more about Langchain, Next.js, Vercel AI SDK and LanceDB, take a look at the following resources:
- [LangChain](https://js.langchain.com/)
- [Next.js Documentation](https://nextjs.org/docs)
- [Vercel AI SDK](https://vercel.com/blog/introducing-the-vercel-ai-sdk)
- [LanceDB](https://lancedb.com/)## License
This project is licensed under the [MIT License](LICENSE).