This is a RAG AI Assistant with Next.js, OpenAI, and Pinecone
- Next.js - React Framework
- Shadcn UI - Components
- OpenAI - LLM(genAI)
- TailwindCSS - Styling
- Pinecone - Vector DB
1.Clone the repository:
git clone https://github.com/tushcmd/ai-customer-support.git
2.Install dependencies:
cd ai-customer-support
npm install
3.Set up environment variables:
cp .env.example .env
Edit the .env
file with all the necessary environment variables.
4.Run the embed script embedScript.py
to create embeddings and upsert them to our pinecone index
python embedScript.python
5.Run the development server:
npm run dev
Open http://localhost:3000 with your browser to see the result.