| 38 | 'Respond with JSON only:\n{"is_spam": true | false, "confidence": 0.0 to 1.0, "reason": "brief explanation"}'; |
| 39 | |
| 40 | export interface SpamCheckResult { |
| 41 | isSpam: boolean; |
| 42 | reason: string; |
| 43 | confidence: number; |
| 44 | } |
| 45 | |
| 46 | function createBedrockClient(): BedrockRuntimeClient { |
| 47 | return new BedrockRuntimeClient({ |
nothing calls this directly
no outgoing calls
no test coverage detected