v1.4.7 - Implement Anthropic AI Chatbot with Daily Rate Limiting
Changes Included:
- Frontend: Created
ChatbotWidget.tsx(a floating chat interface built with Shadcn andlucide-react) and integrated it globally inApp.tsx. by @kalyan-1845 in #114 - Backend: Built the
ai-chatSupabase Edge Function to securely call theclaude-3-haiku-20240307model and stream the response to the UI. by @kalyan-1845 in #114 - Rate Limiting: Created a native Supabase migration (
chat_usagetable) that tracks message counts and successfully blocks users from exceeding 20,000 daily messages without needing third-party services like Redis. by @kalyan-1845 in #114
You can support AgroDex project for Indonesian agriculture in here https://github.com/sponsors/daviddprtma