mirror of
https://github.com/bitbaum/botsmann.git
synced 2026-12-04 08:58:06 +01:00
- Add @~/.claude/CLAUDE.md import for global engineering standards - Update Last Updated date to 2026-01-23 Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
3.1 KiB
3.1 KiB
Heidi – Your Swiss German Companion
This document outlines the implementation of Heidi, an AI-powered Swiss German language assistant integrated into the Botsmann platform.
Overview
Heidi helps expats and learners master High German (Hochdeutsch) and Swiss German (Züridütsch), offering practical language tools, communication support, and cultural integration insights for Switzerland.
Implementation Details
Files Updated/Created
-
Data Files:
data/bots.ts- Updated with Heidi's information, including title, description, features, and tryLinkdata/solutions.json- Updated the swiss-german-teacher entry with Heidi's informationdata/waitlist.json- Created to store waitlist entries
-
UI Files:
app/bots/swiss-german-teacher/page.tsx- Redesigned to match the TDD requirements with responsive sections, including:- In-page input field that redirects to the ChatGPT version of Heidi
- Waitlist form for collecting emails and preferences for future features
- Solutions pages use the dynamic routing via
app/solutions/individuals/[slug]/page.tsx
-
Backend Logic:
lib/nlp.ts- Created but kept inactive as NLP processing occurs in the ChatGPT custom GPTapp/api/waitlist/route.ts- API endpoint to handle waitlist form submissions
Features Implemented
- Input Redirection: In-page input field that redirects to the ChatGPT version of Heidi
- Waitlist Collection: Form to collect email addresses and content preferences for future features
- Integration with Try Link: Direct links to ChatGPT version of Heidi throughout the interface
- Local Data Storage: Simple JSON-based storage for waitlist entries
Current Functionality
Heidi's functionality is currently delivered via a ChatGPT custom GPT:
-
Main Interaction Flow:
- Users enter input on the Botsmann website
- They are redirected to the ChatGPT version of Heidi with their input
- All NLP processing occurs within ChatGPT, not within Botsmann
-
Waitlist Collection:
- Users can join a waitlist for future features
- Collected data includes email and content preferences
- Data is stored in a local JSON file (would be connected to CRM in production)
Future Enhancements
As noted in the TDD, potential future enhancements (requiring approval) include:
Phase 2 (3-6 Months):
- Activate
lib/nlp.tsfor in-page demo (e.g., single-word tables via OpenAI API)
Phase 3 (12-18 Months):
- Full in-house NLP for all inputs
- Sign-up system for:
- Zurich Events: Post events in chat/section
- Newsletters: Personalized emails
- Blog: Züridütsch posts in /app/blog
- Videos/Audios: Daily content via text-to-speech
- Custom Communication: Tailored chat with user profiles
Testing
To test the implementation:
- Visit the bot page at
/bots/swiss-german-teacher - Verify all sections display correctly, including the input field
- Test the input field by entering text and confirming redirection to ChatGPT
- Test the waitlist form by submitting an email and preferences
- Check the solution page at
/solutions/individuals/swiss-german-teacher