Skip to content

AI: Closing The Loop - Frontend #870

@jlewi

Description

@jlewi

A core hypothesis is that Runme lets us log the actions taken by developers and this can be used to continuously improve the model.

To support this we need an RPC service that

  1. Lets us log notebooks
  2. Instrument runmedev/web to log events.

We have some prior art from foyle

I think since we aren't constrained by the vscode-platform we have more flexibility to figure out how to handle logging.

At a high level what we'd like to do is periodically snapshot the notebook so the Agent on the backend can index it or otherwise process it to improve itself.

Additionally, since we are persisting notebooks in indexed storage we can potentially enqueue events and send them the next time the app is opened and the network is accessible.

@sourishkrout Do you have thoughts on what a simple, initial implementation for wiring up a LogEvents client?

Could we have a background process which checks which notebooks have changed since their last logging event and then sends an event to log them?

I think the schema is defined by SessionRecord. So I think we could just update that with a field like "lastLogged" to keep track of the last logged time.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions