-
Notifications
You must be signed in to change notification settings - Fork 8
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
finer-grained control over which cells are included in the prompt #5
Comments
For 1., perhaps there should be 2 different Markdown cell types (public and private), just as you currently have 2 different code cell types (system and user). And they could be colored differently. Another possibility would be to distinguish them with some magic string. For 2., perhaps a cell magic like For 3., something like I'm sure there are good alternative designs as well. |
I'll think about how to address these. A few thoughts:
|
Good point. Of course, then the notebook becomes less readable as a record of what was tried and why, but I guess you could move the cell back down after it executes!
Particularly important if cells are getting moved around as suggested just above ... Don't know what VSCode supports -- but from a UI point of view, it would be really nice to do this not with text, but just by softly highlighting any other cells that the cursor cell depends on. That both previews the dependencies before you execute the cell you're editing (when you could still change them through extension settings or magics) and also documents those dependencies after you execute it. |
Ok, got it. I think we can mostly address this by adding: 1) the ability to comment/uncomment cells, and 2) some stored information about exactly which prompts went into the response. VSCode definitely doesn't give me the ability to change the UI in subtle ways like that, so the way to make this work might be a bit more of a kludge, but how about something like this. I can add a general setting (because I don't think everyone will want this), to have each cell store the exact prompt history that lead to the output (as cell metadata). Then, I can add a separate command to "spawn a temporary notebook" that includes exactly these prompts. |
Sort of like how a diff can be shown in a read-only VSCode tab? I wonder if the read-only tab could update automatically depending on what is selected in the main notebook. |
As long as I'm making random suggestions ...
It would be nice to be able to control which cells are harvested for the prompt. A few cases come to mind:
The text was updated successfully, but these errors were encountered: