A React-based chatbot interface to interact with AI agents from the dgenai.io platform. This project is an example usage of the dgenai.io API and is not intended for production use.
- Node.js >= 16
- npm or yarn
- A valid dgenai API key
- Clone this repository
git clone https://github.com/dgenai/sample-chat.git
cd sample-chat- Install dependencies
npm install
# or
yarn install- Set your .env
VITE_NETWORK=solana
VITE_PRIVATE_KEY=PRIVATE_KEY
VITE_BASE_URL="https://api.dgenai.io"
VITE_SERVER_URL="http://localhost:5050/api"Run the development server:
npm run start
# or
yarn startThen open http://localhost:5173 in your browser.
All API endpoints are available and documented at:
👉 https://api.dgenai.io/swagger
- Chat history is stored in component state (not persisted).
Contributions are not currently accepted for this sample project.
For access or API support, send a mail to contact@dgenai.io