AppFlowy icon indicating copy to clipboard operation
AppFlowy copied to clipboard

[FR] Allow for extending/replacing system prompt (AI)

Open sbolten opened this issue 2 months ago • 2 comments

Description

Most of the one-click AI features like summarize and extend produce english responses (I am on local AI with mistral:latest model). So even if the input for "Explain" or "Make longer/shorter" is in german the result will be in english.

I guess something like a "system prompt" is missing instructing the the model to respond in a specific language.

WDYT?

Impact

Users using the AI features in appyflow - especially those where content is not english.

Additional Context

No response

sbolten avatar Oct 29 '25 11:10 sbolten

Thanks for reporting. I just checked and found that the phrase "Ensure that your final output maintains the same format and language as the user input" has been included in our system prompt. It may not be related to the prompt.

LucasXu0 avatar Oct 31 '25 01:10 LucasXu0

Thanks for checking. So how can this be fixed OR what am I doing wrong then? I created a new note in german, marked the text and chose "Explain" from the AI context menu..... the resulting explanation was correct but in English.

sbolten avatar Oct 31 '25 12:10 sbolten