This route is intended to improve integrations with LLMs such as ChatGPT. Entities that are removed prior to sending to the LLM can be re-injected into the response from the LLM to improve user experience.
Successful Response
Bad Request
Internal Server Error
Client Error
import requests url = "https://api.private-ai.com/deid/v3/process/text/reidentify" payload = { "processed_text": [ "string" ], "entities": [ { "processed_text": "string", "text": "string" } ] } headers = {"Content-Type": "application/json"} response = requests.post(url, json=payload, headers=headers) data = response.json() print(data)
[- "string"
]