






















We’ve added a way to securely pass sensitive values to models.
In Cog v0.9.7 and later,
you can annotate an input with the Secret type
to signify that an input holds sensitive information,
like a password or API token.
Replicate treats secret inputs differently throughout its system.
When you create a prediction on Replicate,
any value passed to a Secret input is redacted after being sent to the model.
Before

After

Caution: Passing secret values to untrusted models can result in unintended disclosure, exfiltration, or misuse of sensitive data.
此内容由惯性聚合(RSS阅读器)自动聚合整理,仅供阅读参考。 原文来自 — 版权归原作者所有。