Chat, Notes and Mind Maps Class Model

Chat, Notes and Mind Maps Class Model An architecture diagram generated by Archify. NotebookLMClient · composition root · Architecture component · selects backend NotebookLMClient composition root selects backend Neutral Workflow Bases · _chat.py · _notes.py · Architecture component · + _mind_maps_api.py Neutral Workflow Bases _chat.py · _notes.py + _mind_maps_api.py Web Implementations · three concrete subclasses · Architecture component · batchexecute Web Implementations three concrete subclasses batchexecute Android Implementations · three concrete subclasses · Architecture component · AndroidSession Android Implementations three concrete subclasses AndroidSession Public Dataclasses · AskResult · Note · MindMap · Architecture component · shared values Public Dataclasses AskResult · Note · MindMap shared values subclass subclass returns returns Legend Backend

Selected backend graph

  • • NotebookLMClient installs either the Web or Android subclass for every namespace
  • • Both graphs return the same public AskResult, Note and MindMap dataclasses

Chat orchestration

  • • Neutral _chat.py owns settings, conversation state, locking, cache, recovery, and turn numbering
  • • WebChatAPI and AndroidChatAPI satisfy one backend send contract

Notes and mind maps

  • • Neutral _notes.py and _mind_maps_api.py own shared workflows and composition
  • • WebNotesAPI, WebChatAPI and WebMindMapsAPI have matching Android implementations