Skip to content

Poor AI output quality and tool usage issues with Groq integration #1796

Open
@SimonLeclere

Description

@SimonLeclere

Hi,

I’ve integrated AI into the BlockNote editor following the official documentation, using Groq as the provider and the llama-3-70b-versatile model.

However, I’m encountering several issues:

  1. Very short or incomplete responses
    When prompting the AI to help write content, it often returns just a single word or one short sentence, rather than providing meaningful assistance in drafting text. This happens consistently even with simple prompts.

  2. Fails completely on empty documents
    If the document is completely empty and I ask the AI to generate content (e.g., "write a paragraph about x"), the request fails systematically: nothing is inserted and no helpful error message is returned.

  3. Tool calling issues with other models
    I’ve also tried other models via Groq, but most of them fail to call the JSON tool correctly. Instead of invoking the tool, they either return nothing useful or trigger an error. This makes the AI integration essentially unusable in most cases.

Has anyone experienced similar issues? Is there a workaround or recommended model/provider combo that works well with BlockNote’s AI features?

Thanks in advance!

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions