hezarfen_frontend
Clone
https://git.tahinli.com/archive/hezarfen_frontend.git
0 watching0 forksTypeScript5.5 MiBdcf123aBurak Boduroğlu2 months ago674 commits
| 1 | import { ragCopy } from "./rag-copy"; |
| 2 | |
| 3 | it("puts the documented abstention codes in plain words and leaves unknown ones as they are", () => { |
| 4 | expect(ragCopy("tr").abstainedReason("insufficient_data")).toBe("Neden: ders içeriklerinde bunu yanıtlayacak kadar bilgi yok"); |
| 5 | expect(ragCopy("en").abstainedReason("guard_pii")).toBe("Reason: the question was stopped by the content rules"); |
| 6 | expect(ragCopy("tr").abstainedReason("something_new")).toBe("Neden: something_new"); |
| 7 | }); |