Buckets:
| import { createGuard } from "../index.ts"; | |
| const guard = await createGuard(); | |
| const safe = await guard.protect("My name is Alex Rivera. My SSN is 472-81-0094."); | |
| const reply = await llm(safe.text); | |
| console.log(guard.reveal(reply)); | |
| async function llm(text: string): Promise<string> { | |
| return "Got it, [GIVEN_NAME_1]."; | |
| } |
Xet Storage Details
- Size:
- 325 Bytes
- Xet hash:
- 723478366b0ef066d04c28dbc9f3ad1688ef42971c2c21be4fe55104990e1270
·
Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.