ChaiBot is an intelligent virtual assistant designed specifically for tea farmers in Kenya. It provides expert guidance on tea farming practices, pest management, weather information, and market insights through a user-friendly chat interface.
- Phone-based Authentication: Simple login/registration using phone numbers for easy access by farmers
- AI-powered Chat Interface: Intelligent responses to farming queries with a natural typewriter effect
- Expert Knowledge: Access to comprehensive information about tea farming best practices
- User-friendly Design: Clean, intuitive interface optimized for both desktop and mobile devices
- Secure API Integration: Connects to the AI Agents platform for intelligent responses
- Frontend: Vue.js/Nuxt 3 with TypeScript
- Styling: Tailwind CSS for responsive design
- State Management: Pinia for efficient state handling
- AI Integration: Custom API integration with AI Agents platform
- Authentication: Phone number-based authentication system
- Node.js (v14 or higher)
- npm or yarn
-
Clone the repository:
git clone https://github.com/your-username/chaibot.git cd chaibot -
Install dependencies:
npm install # or yarn install -
Create a
.envfile in the root directory with your API credentials:VITE_CHAIBOT_API_ENDPOINT="https://g3bz7mnxnlormocz4c37njew.agents.do-ai.run/api/v1/chat/completions" VITE_CHAIBOT_API_KEY="your-api-key-here" -
Start the development server:
npm run dev # or yarn dev -
Open your browser and navigate to
http://localhost:3000
npm run build
# or
yarn build- Registration: New users can register with their name and phone number
- Login: Returning users can log in with their phone number and password
- Chat Interface: Once logged in, users can ask questions about tea farming
- Example Queries:
- "How do I control tea mosquito bugs?"
- "What is the best fertilizer for tea plants?"
- "When is the best time to prune tea bushes?"
- "How can I improve tea quality during processing?"
/pages- Main application pages (login, register, chat)/stores- Pinia stores for state management/utils- Utility functions and API configuration/components- Reusable Vue components/public- Static assets including the ChaiBot logo
Contributions are welcome! Please feel free to submit a Pull Request.
This project is licensed under the MIT License - see the LICENSE file for details.
- AI Agents platform for providing the intelligent backend
- The tea farming community in Kenya for their valuable input and feedback