Skip to content

✨ Blocknote AI #1016

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

Open
wants to merge 13 commits into
base: main
Choose a base branch
from
Open

✨ Blocknote AI #1016

wants to merge 13 commits into from

Conversation

AntoLC
Copy link
Collaborator

@AntoLC AntoLC commented May 28, 2025

Purpose

New AI feature powered by Blocknote. πŸš€

Proposal

  • Better UI
  • Possibility to revert what the AI made
  • Collaborative friendly - Other collaborators will see the AI changes only when changes are accepted

New Settings:

AI_BOT = values.DictValue(
       default={
           "name": _("Docs AI"),
           "color": "#8bc6ff",
       },
       environ_name="AI_BOT",
       environ_prefix=None,
   )
AI_MODEL = values.Value(None, environ_name="AI_MODEL", environ_prefix=None)
AI_STREAM = values.BooleanValue(
       default=False, environ_name="AI_STREAM", environ_prefix=None
)

AI_STREAM is a setting because not all model support the stream mode.

Careful

⚠️ This feature is under AGPL license.

Demo

scrnli_d3axj9UKFSv1f5.online-video-cutter.com.1.mp4

@AntoLC AntoLC self-assigned this May 28, 2025
@AntoLC AntoLC added frontend feature add a new feature labels May 28, 2025
@AntoLC AntoLC changed the title ✨ Blocknote ai ✨ Blocknote AI May 28, 2025
@AntoLC AntoLC marked this pull request as draft May 28, 2025 12:24
@AntoLC AntoLC force-pushed the refacto/blocknote-ai branch 2 times, most recently from 2bb8181 to f0cc189 Compare June 2, 2025 09:12
@AntoLC AntoLC force-pushed the refacto/blocknote-ai branch from f0cc189 to 77e975d Compare June 5, 2025 14:57
@AntoLC AntoLC force-pushed the refacto/blocknote-ai branch 12 times, most recently from 7db9314 to 683e0c1 Compare June 10, 2025 14:24
@AntoLC AntoLC marked this pull request as ready for review June 10, 2025 14:25
@AntoLC AntoLC force-pushed the refacto/blocknote-ai branch 2 times, most recently from 7d87316 to 223e062 Compare June 10, 2025 15:21
@AntoLC AntoLC requested review from lunika and PanchoutNathan June 10, 2025 15:22
AntoLC added 3 commits June 10, 2025 17:24
Add AI proxy to handle AI related requests
to the AI service.
We integrate the new Blocknote AI feature
into Docs, enhancing the document editing experience
with AI capabilities.
We make the AI bot configurable with settings.
We will be able to have different AI bot name
per instance.
AntoLC added 5 commits June 10, 2025 17:24
Some answers were a bit too concise or not detailed enough.
Improve some prompts to get better answers from the AI.
We replace the previous AI feature with a new one
that uses the BlockNote AI service.
We can remove the dead codes.
AI feature is under AGPL license, so it is removed
when the project is under MIT license.
NEXT_PUBLIC_PUBLISH_AS_MIT manage this.
Bind ai_proxy abilities to the AI feature.
If ai_proxy is false, the AI feature will
not be available.
@AntoLC AntoLC force-pushed the refacto/blocknote-ai branch from 223e062 to 6b5135f Compare June 10, 2025 15:24
@AntoLC AntoLC force-pushed the refacto/blocknote-ai branch from c75ec77 to 50c73f2 Compare June 13, 2025 09:13
@AntoLC AntoLC removed the request for review from PanchoutNathan June 13, 2025 09:16
@AntoLC AntoLC force-pushed the refacto/blocknote-ai branch from 50c73f2 to c3cccce Compare June 13, 2025 09:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants