How vishwakaliyamoorthy/aram-ai works
AI Law Bot Interface is a legal-question chat UI branded as an Indian Law Information System. A user submits a question in the React app; the app manages chat state and displays messages and a loading indicator. The sampled App excerpt shows locally simulated responses, not a backend request. The repository also contains ingestion and RAG Python modules, but their relationship to the UI is not established by the available evidence. Shared UI primitives form an internal presentation layer.
Main entry points: App.tsx Chat app · main.tsx React entry · ChatMessage.tsx Message bubbles · LoadingAnimation.tsx Loading indicator
Components 9
Chat experience
- React entry
src/main.tsx - Chat app
src/app/App.tsx - Message bubbles
src/app/components/ChatMessage.tsx - Loading indicator
src/app/components/LoadingAnimation.tsx - Justice logo
src/app/components/JusticeLogo.tsx
Python modules
- Document ingestion
ingest.py - RAG module
rag.py
UI primitives
- UI primitives
src/app/components/ui
Other components
- Legal questioner
Connections 5
- React entry → Chat app: renders
src/main.tsx - Legal questioner → Chat app: submits question
src/app/App.tsx - Chat app → Message bubbles: renders messages
src/app/App.tsx - Chat app → Loading indicator: shows loading
src/app/App.tsx - Chat app → Justice logo: renders logo
src/app/App.tsx