Skip to content

"eCornell JupyterLab Summarize Assistant" - mirrors native summarize assistant and captures errors and file context for open Jupyter notebooks, with all the guide page contents filtered out, whose only context is the actual contents of Markdown cells and Code cells of open Jupyterlab .ipynb files.

Notifications You must be signed in to change notification settings

codio-extensions/eCornell-JupyterLab-Summarize-Assistant

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 

Repository files navigation

eCornell JupyterLab Summarize Assistant

This assistant mirrors the functionality of the native Summarize assistant with the following customizations:

Prompt modifications

  • Both system and user prompts have slight changes for jupyter specific context setting.

Open guide pages are screened out of the context

  • This can be verified by checking the userPrompt variable - we've removed the following snippet that would pass the open guide page as context

    <assignment>
    ${context.guidesPage.content}
    </assignment>
    

Passing markdown cell type as instructions context

  • comments in index.js walk through how we filter and select the markdown cell content of the open Jupyterlab notebook.
  • this is then passed as context (in the userPrompt variable)

About

"eCornell JupyterLab Summarize Assistant" - mirrors native summarize assistant and captures errors and file context for open Jupyter notebooks, with all the guide page contents filtered out, whose only context is the actual contents of Markdown cells and Code cells of open Jupyterlab .ipynb files.

Resources

Stars

Watchers

Forks

Packages

No packages published