How radityasandi62728-bit/my-projek works
Celia is a small Indonesian-language conversational AI with terminal and browser chat interfaces, mood/personality behavior, basic NLP, and arithmetic responses. The workflows start in Main.js or mainWeb.js, pass input through the matching chat adapter, and invoke Ai.generateResponse; the AI analyzes text, handles arithmetic locally or requests a reply from a local backend, then returns it to the adapter for display. The backend endpoints are evidenced in source, but no backend implementation is present in the tree. Browser markup and styling are present but their wiring is not shown in the excerpts.
Main entry points: Ai.js AI response engine · mainWeb.js Browser setup · Chat.js Terminal chat · Main.js Terminal setup
Components 13
Chat entrypoints
- Terminal setup
Main.js - Browser setup
mainWeb.js
Conversation runtime
- Terminal chat
Classs/Chat.js - Web chat
Classs/chatWeb.js - User profile
Classs/User.js
AI capabilities
- AI response engine
Classs/Ai.js - NLP analysis
Classs/Ai_Asset/NLP.js - Mood and attitude
Classs/Ai_Asset/Ai_Attitude.js - Arithmetic calculator
Classs/Calculator.js
Other components
- Terminal user
- Browser user
- Local chat backend
- Word-bank backend
Connections 20
- Terminal user → Terminal chat: enters text
Classs/Chat.js - Terminal setup → User profile: creates user
Main.js - Terminal setup → Arithmetic calculator: creates calculator
Main.js - Terminal setup → AI response engine: creates AI
Main.js - Terminal setup → Terminal chat: starts chat
Main.js - Terminal chat → User profile: sends input
Classs/Chat.js - Terminal chat → AI response engine: requests reply
Classs/Chat.js - AI response engine → Terminal chat: returns reply
Classs/Chat.js - Browser user → Browser setup: submits text
mainWeb.js - Browser setup → User profile: creates user
mainWeb.js - Browser setup → Arithmetic calculator: creates calculator
mainWeb.js - Browser setup → AI response engine: creates AI
mainWeb.js - Browser setup → Web chat: routes input
mainWeb.js - Web chat → AI response engine: requests reply
Classs/chatWeb.js - AI response engine → Web chat: returns reply
Classs/chatWeb.js - AI response engine → NLP analysis: analyzes text
Classs/Ai.js - AI response engine → Arithmetic calculator: checks and calculates
Classs/Ai.js - AI response engine → Mood and attitude: gets mood
Classs/Ai.js - AI response engine → Local chat backend: requests chat reply
Classs/Ai.js - NLP analysis → Word-bank backend: loads and updates bank
Classs/Ai_Asset/NLP.js