Skip to content

v1.4.7 - Implement Anthropic AI Chatbot with Daily Rate Limiting

Choose a tag to compare

@daviddprtma daviddprtma released this 24 Jun 11:11
· 167 commits to main since this release
8ae57de

Changes Included:

  1. Frontend: Created ChatbotWidget.tsx (a floating chat interface built with Shadcn and lucide-react) and integrated it globally in App.tsx. by @kalyan-1845 in #114
  2. Backend: Built the ai-chat Supabase Edge Function to securely call the claude-3-haiku-20240307 model and stream the response to the UI. by @kalyan-1845 in #114
  3. Rate Limiting: Created a native Supabase migration (chat_usage table) 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