Learning: Behind the scenes
Learn words with spaced repetition, examples and audio.
AWS services
- Amazon Bedrock: language models write examples, hooks and short stories.
- Amazon Polly: voices make the audio, stored once and reused.
- Cognito, Lambda and DynamoDB: sign-in, the learning API and the data; the review queue is read with indexed queries, never a scan.
Decisions
- The review schedule is plain code, so it is easy to test and to explain.
- AI is used on request, and the result is stored, so it is not paid for twice.
- The data model is language-neutral, so new courses need new content and a language profile, not a new system.
Cost
Audio is made once per word. AI calls are the main cost, which is why results are stored and reused.