@lincyaw/slidev-addon-assistant
v1.0.0-rc.0
Published
Presmium plugin: readers ask an AI about the lecture, with their own model service, in the browser
Readme
@lincyaw/slidev-addon-assistant
The readers' questions: readers ask about a lecture with their own model service.
Part of Presmium, which turns lectures written in MyST Markdown into web pages, slides, Jupyter notebooks and narrated lectures.
Install
pnpm add -D @lincyaw/slidev-addon-assistantList it in the headmatter of the documents that use it:
plugins:
- '@lincyaw/slidev-addon-assistant'It is a Presmium plugin and a Slidev addon: its components work on the web page and in the slides. It needs @lincyaw/cli and the renderers in the same project, and declares the Presmium packages it shares with them as peer dependencies (Presmium 1.x).
What it provides
An Ask panel on the web page, the slides and the presenter view, also in static sites: readers ask about a section or a selection, with an OpenAI compatible model service they set up in their browser; the site needs no server and no operator setting. Listed among a workspace's operator plugins, every document of the workspace has it.
Documentation
- Author guide (Chinese:
site/guide/lecture.md) - Directive reference (Chinese): every directive with its options and an example
License
Apache-2.0
