~/talk

Playing Improv with Python!

Talkat PyBay 2024 · on Saturday, 2024-09-21· [ai-assisted-development, creative-coding]
slides:none on file

Plays improv games by wiring local and hosted LLMs into Python: Llama 3.1 (local via Ollama), GitHub-hosted models and gbd-40-mini for vision, using OpenAI-compatible endpoints and the OpenAI SDK. Implements reverse-charades, Pixar story spine, sentence-at-a-time, word-at-a-time, multimodal prop-to-product and a “three things” game that uses function-calling with JSON Schema to force exactly three items. Finds small local models are slower and fail at counting or single-word turns, larger models follow rules better, and function-calling yields reliably structured outputs; code and slides are on GitHub.

AI-written summary · about

  1. 0:00Introduction to improv with Python
  2. 3:00Personal improv journey
  3. 8:58Types of improv games
  4. 11:49Story spine with volunteers
  5. 12:11Playing improv with AI
  6. 14:00Running LLMs locally with Ollama
  7. 20:50Story spine with Python
  8. 24:18Sentence-at-a-time story
  9. 26:25Word-at-a-time story
  10. 31:29Improv with props
  11. 36:53Three things game
  12. 43:58Lessons learned from mixing improv and Python
  13. 45:09Q&A session
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.