Function
chatProvenance
(klass: string, rule: string, tokens: number, budget: number)
Source from the content-addressed store, hash-verified
| 125 | |
| 126 | /** The honest line under the answer, naming the class and the rule that fired. */ |
| 127 | export function chatProvenance(klass: string, rule: string, tokens: number, budget: number): string { |
| 128 | return `question class ${klass} (rule ${rule}); the cards cost about ${tokens} of ${budget} ` |
| 129 | + 'tokens, estimated at four characters per token.'; |
| 130 | } |
| 131 | |
| 132 | /** What the panel says when a claim came back without a citation. */ |
| 133 | export function chatCitationWarning(count: number): string { |
Tested by
no test coverage detected