~/talk

Controlling App Screens Remotely with RFW and Gemini AI

Talkat Fluttercon USA 2024 · 2024-09-19..09-20· [ai-assisted-development, flutter]
github:sstoll
slides:none on file

A pipeline uses Google Generative AI (Gemini Pro via the google_generative_ai package) to return RFW JSON that the app interprets into remote Flutter widgets, updating only the RFW subtree. The system sends a 15,000-token prompt (runs Gemini with a 20,000-token response limit and temperature 0.1), parses a sentinel RFW execute token, strips formatting, and applies the JSON to a ValueListenable RFW string to rebuild widgets and fire string-named callbacks; demos mostly work but hit API throttling and parsing quirks.

AI-written summary · about

  1. 0:00Welcome
  2. 1:48Talk overview
  3. 2:30What is RFW
  4. 3:51Google Generative AI
  5. 6:21Retrieval augmented generation
  6. 7:25JSON for AI versatility
  7. 9:14Live demo prep
  8. 19:08Demo setup
  9. 21:12AI prompt building
  10. 23:00Prompt engineering
  11. 25:27RFW callbacks
  12. 28:20Sending to Gemini
  13. 30:55Updating UI
  14. 33:25Handling errors
  15. 35:12Returning to the live demo after technical issues
  16. 38:00Interactive buttons
  17. 40:23AI code conversion
  18. 43:25Testing Flutter code
  19. 47:50Summary
~/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.