MCPcopy Create free account
hub / github.com/DeusData/codebase-memory-mcp / noQuestionAnswer

Function noQuestionAnswer

graph-ui/src/browser-ai/question-intent.ts:166–169  ·  view source on GitHub ↗
(typed: string, language: 'en' | 'de', subject: ExampleSubject)

Source from the content-addressed store, hash-verified

164
165/** "No question was recognized in "test"." and two or three questions that work for the selection (C6). */
166export 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

Callers 2

sendFunction · 0.90

Calls 2

shownPromptFunction · 0.85
examplesFunction · 0.85

Tested by

no test coverage detected