以编程方式使用文档

>Prediction Guard 是一个安全、可扩展的 GenAI 平台,可保护敏感数据、防止常见 AI 故障,并在经济实惠的硬件上运行。

概述

集成详情

此集成展示了如何在 LangChain 中使用 Prediction Guard 嵌入集成。此集成支持文本和图像,可以单独使用,也可以配对使用。

设置

要访问 Prediction Guard 模型, 联系 Prediction Guard 获取 API 密钥并开始使用。

凭据

获取密钥后,您可以使用以下方式设置它

```python

os.environ["PREDICTIONGUARD_API_KEY"] = "<strong>提示</strong>

Connect these docs to Claude, VSCode, and more via MCP for real-time answers.