https://github.com/priyanshupz/mdb-chat
https://github.com/priyanshupz/mdb-chat
Last synced: about 2 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/priyanshupz/mdb-chat
- Owner: PriyanshuPz
- Created: 2024-07-16T01:43:31.000Z (10 months ago)
- Default Branch: main
- Last Pushed: 2024-07-16T10:32:00.000Z (10 months ago)
- Last Synced: 2025-03-28T18:54:51.596Z (about 2 months ago)
- Language: JavaScript
- Size: 31.3 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
## Chatbot with MindsDB
Using mdb.ai to fetch chat response from AI.
# DEMO
https://github.com/user-attachments/assets/43c79dfc-7f28-4496-83b1-c519df1eaae6# Installation
1. Clone the repository:
```bash
git clone https://github.com/priyanshuverma-dev/mdb-chat.git
```2. Install dependencies:
```bash
cd server && npm install
cd ..
cd client && npm install
```3. Configure environment variables:
Create a .env file in the server directory and provide the following variables:
Get API from https://mdb.ai/minds
```env
MINDS_DB_API=api_key
```Usage
Start the server:
```bash
cd server
npm run server
```Start client:
```bash
cd client
npm run dev
```4. Open your browser and navigate to http://localhost:5173.
5. Chat with AI