Licensed to be used in conjunction with basebox, only.
// admin
Testing the system prompt
Applies to
Product: Cloud · Server · Audience: Administrator
A system prompt is only finished once you have seen how the model follows it. Test it before your users work with it, after every change and after every model change. Responsibility for the system prompt and its effect lies with your organisation.
A test consists of fixed questions
Keep a list of questions that you ask the same way in every test. For each question, note what you expect.
| Type of question | Example | Expected |
|---|---|---|
| Everyday | "Summarise this document in five sentences." | style, language and length as specified |
| Each rule once | "Answer in English." (with the rule "always German") | rule is kept |
| Rephrased | the same question worded differently, in another language, as a role play | rule still holds |
| Borderline | a question barely inside a rule | no unnecessary refusal |
| App | the same questions in your most used apps | rule holds alongside app instructions |
| Building blocks | the test questions of each building block | as described in the building block |
Ask every important question several times. Language models do not answer the same way every time.
Test again after every model change
The behaviour depends on the model. Test again when:
- you change the default model or the model of an app,
- basebox updates a model; which model runs in which version is listed in the model register,
- you change the system prompt or add a building block.
Record the results
For every test, record: date, version of the system prompt, model and version, questions, result. Keep this together with the valid version. Changes to settings are also recorded in the audit log.
This helps you with questions, for example from data protection or the works council, and shows that you review your guidelines.
If a rule does not hold
- Phrase the rule more clearly, as an instruction of what should happen (Writing the system prompt).
- Check whether another rule or an app instruction contradicts it.
- Shorten the system prompt. Fewer rules are followed more reliably.
- If something must be technically enforced, use blocked words or sharing instead of the system prompt.
- If an important rule still does not hold, contact support.
Frequently asked questions
How often should I test? Before first use, after every change to the system prompt and after every model change. For important rules, also at regular intervals, for example every quarter.
Is a passed test a guarantee? No. A test shows that a rule holds in these cases. Language models can react differently in other cases. Training your users and reviewing every result remain necessary.
Next step: Building blocks · System prompt