An AI-powered chatbot that helps users find and understand Elastic Path documentation. Built with Next.js 13, OpenAI GPT-4, and MongoDB Vector Search.
- 🤖 Natural language interactions with documentation
- 🔍 Semantic search across EP Commerce Cloud (EPCC) and Subscription Management (EPSM) docs
- 🛠️ Built-in tools for API reference and technical content retrieval
- 📊 DataDog integration for LLM observability
- ⚡ Real-time streaming responses
- 🎨 Clean, modern UI with syntax highlighting
- Framework: Next.js 13 (App Router)
- Language: TypeScript
- AI/LLM: OpenAI GPT-4
- Database: MongoDB Atlas (Vector Search)
- Styling: Tailwind CSS
- Monitoring: DataDog
- Clone the repository:
git clone https://github.com/elasticpath/ep-docs-chatbot.git
cd ep-docs-chatbot
- Install dependencies:
npm install
- Set up your environment variables:
cp .env.example .env
- Add your API keys to the
.env
file:
OPENAI_API_KEY=your_openai_api_key
MONGODB_URI=your_mongodb_connection_string
NEXT_PUBLIC_SITE=EPCC
DD_API_KEY=your_datadog_api_key
- Start the development server:
npm run dev
Open http://localhost:3000 to start chatting!
OPENAI_API_KEY
: Your OpenAI API keyMONGODB_URI
: MongoDB connection stringNEXT_PUBLIC_SITE
: Site to search ('EPCC' or 'EPSM')DD_API_KEY
: DataDog API key (optional)
- Create a new branch
- Make your changes
- Submit a pull request