Skip to content

Update system prompt when source or target language is changed. #873

@Luke-Bilhorn

Description

@Luke-Bilhorn

In my own test projects and in working with a translator, I have observed that it is easy to select the wrong source or target language on the import flow, requiring the user to change it later. However, when the user changes the source or target language, they are not also prompted to update their system prompt. When either language is changed, we should prompt the user to regenerate or edit their system prompt, with the default being that the AI will generate a new system prompt.

If the user intends to translate from English to Tok Pisin, but their system prompt gives instructions for translating to Albanian sign language, they will get sub-par results at best.

Requirements:

  • When the user changes the project source or target language, they are prompted to update their system prompt
  • The user is then offered a big shiny "regenerate" button so that they know that the AI is there and can help
  • The user can't close the box until they address the prompt by modifying the text, regenerating it, or clicking an "I don't need to change this" button.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions