rgbkrk / genai

What if GPT could help you notebook?
BSD 3-Clause "New" or "Revised" License
351 stars 36 forks source link

allow conversations to continue with `%%assist` #66

Closed rgbkrk closed 1 year ago

rgbkrk commented 1 year ago

This captures past assistance as well as errors so that ChatGPT has access to the full context of:

This PR closes #63 since now the %%assist magic uses Markdown output instead of set_next_input. It also closes #56 since the progress display is no more.

Bonus: hot swapping the models

image

rgbkrk commented 1 year ago

Interesting little prompt response I just got:

%%assist

What is your level of understanding of the messages between what comes from me (`role: user`) versus the runtime (`role: system`)?

As a coding assistant, I am programmed to understand the messages that start with %%assist as user input. All other messages are interpreted as output from the system.

rgbkrk commented 1 year ago

This is so rad for educational usage.

image