(typed: string, language: 'en' | 'de', subject: ExampleSubject)
| 164 | |
| 165 | /** "No question was recognized in "test"." and two or three questions that work for the selection (C6). */ |
| 166 | export function noQuestionAnswer(typed: string, language: 'en' | 'de', subject: ExampleSubject): string { |
| 167 | const text = noQuestionText[language]; |
| 168 | return `${text.heading(shownPrompt(typed))}\n\n${examples(language, subject)}\n\n_${text.note}_`; |
| 169 | } |
| 170 | |
| 171 | /** A follow-up ("und was noch?") right after a change of topic: the earlier turns are about |
| 172 | * another topic and are not sent, so the model would answer it without context ("Ja, und |
no test coverage detected