Skip to content

Add AI Chatbot as second runnable example - #1

Merged
janrummel merged 11 commits into
mainfrom
feature/ai-chatbot
Mar 8, 2026
Merged

Add AI Chatbot as second runnable example#1
janrummel merged 11 commits into
mainfrom
feature/ai-chatbot

Conversation

@janrummel

Copy link
Copy Markdown
Owner

Summary

  • Second runnable example implementing the trigger → ai → data → deliver pattern
  • Streaming terminal chat with 5 persona presets (Code Reviewer, Writing Coach, Research Assistant, ELI5, Debate Partner)
  • Conversation persistence as JSON with /save, /load, /quit commands
  • Interactive API key onboarding on first run (prompt + save to .env)
  • 22 new tests (TDD), all green — 72 tests total across the project

Test plan

  • uv run pytest -v in examples/ai-chatbot/ — 22 passed
  • uv run pytest -v in root — 20 passed
  • uv run pytest -v in examples/ai-content-creation/ — 30 passed
  • Live test with real API key: streaming response, /save, /quit + auto-save verified
  • Site regenerated with new example linked in wizard

🤖 Generated with Claude Code

Jan Rummel and others added 11 commits March 8, 2026 19:17
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@janrummel
janrummel merged commit 8f709b6 into main Mar 8, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant