How jainvasu1/placement-bot works
PlacementBot is a React placement-advice chat app. Students enter through the landing CTA, then send typed or suggested prompts; App manages conversation state, sends requests to Groq’s Llama model, and displays replies as Markdown. Chat history persists in browser localStorage and can be reset. The map preserves the main UI, prompt/configuration, chat rendering, and persistence stages. Source excerpts show App’s calls and rendering relationships; README documents persistence and Groq/model capabilities. No separate server or domain-specific backend is present.
Main entry points: App.js App state and orchestration · ChatPanel.js Chat interface · LandingPage.js Landing and CTA · config.js Prompts and suggestions
Components 8
Student experience
- Landing and CTA
src/components/LandingPage.js - Chat interface
src/components/ChatPanel.js - Message rendering
src/components/ChatMessage.js
Conversation runtime
- App state and orchestration
src/App.js - Browser localStorage
Placement guidance
- Prompts and suggestions
src/config.js - Groq chat completions
Other components
- Student
Connections 11
- Student → Landing and CTA: opens app
README.md - Landing and CTA → App state and orchestration: starts chat
src/App.js - App state and orchestration → Landing and CTA: renders before chat
src/App.js - App state and orchestration → Chat interface: renders chat
src/App.js - Chat interface → App state and orchestration: sends prompts
src/App.js - Chat interface → Message rendering: renders messages
src/components/ChatPanel.js - Chat interface → Prompts and suggestions: loads suggestions
src/components/ChatPanel.js - App state and orchestration → Prompts and suggestions: loads prompt and model
src/App.js - App state and orchestration → Browser localStorage: reads and writes history
src/App.js - App state and orchestration → Groq chat completions: posts chat request
src/App.js - Groq chat completions → App state and orchestration: returns response
src/App.js