my-first-val
Val Town is a collaborative website to build and scale JavaScript apps.
Deploy APIs, crons, & store data – all from the browser, and deployed in miliseconds.
index.ts
https://bami_kole--354260dc3f9c11f092fd76b3cceeab13.web.val.run
A training application for customer support personnel where AI acts as various customer personas to help practice handling different types of customer interactions.
- Multiple customer personas (frustrated, confused, polite, demanding, etc.)
- Realistic customer scenarios and issues
- Real-time chat interface
- Training feedback and tips
backend/index.ts
- Main Hono server with API routesfrontend/index.html
- Main chat interfacefrontend/index.tsx
- React chat componentsshared/types.ts
- Shared TypeScript types
The app presents different customer scenarios where support trainees can practice their skills. The AI customer will respond realistically based on the chosen persona and scenario.