News for hackers. Stuff that matters.
Re:Show HN: Cape API – Keep your sensitive data private whil... by bjtitus on Tuesday June 27, 2023 @10:14AM (#36493092)
> De-identification

> Re-identification

Wouldn't these two features address your concern? ChatGPT gets a generated unique ID that is still a consistent value for each card, just not the number itself. Then when the results are returned, that generated ID is turned back into the real card number.

This only becomes a problem when the de-identified data itself is needed to answer a question, like tell me how many Visa cards were used in these transactions by checking the card numbers.

Re:Show HN: Cape API – Keep your sensitive data private whil... by gavinuhma on Tuesday June 27, 2023 @10:21AM (#36493199)
That's right. So in the case of credit card numbers we redact it like [CREDIT_CARD_NUMBER_1], [CREDIT_CARD_NUMBER_2], etc so the LLM can still answer prompts like "how many", but it can't answer prompts like "sort". But you can use OpenAI function calling API to do the sort, where your function re-identifies, sorts, and then de-identifies again.