LangSmith 建议您为数据集模式的输入和输出设置模式,以确保数据一致性,并确保您的示例格式适合下游处理,例如运行评估。 为了更好地支持 LLM 工作流,LangSmith 提供了几种不同的预定义预构建类型。这些模式由 LangSmith API 公开托管,您可以使用 JSON 模式引用 在数据集模式中定义它们。可用的模式如下表所示:Documentation Index
Fetch the complete documentation index at: https://langchain-zh.cn/llms.txt
Use this file to discover all available pages before exploring further.
| 类型 | JSON 模式引用链接 | 用途 |
|---|---|---|
| 消息 | https://api.smith.langchain.com/public/schemas/v1/message.json | 表示发送给聊天模型的消息,遵循 OpenAI 标准格式。 |
| 工具 | https://api.smith.langchain.com/public/schemas/v1/tooldef.json | 聊天模型可用于函数调用的工具定义,采用 OpenAI 的 JSON 模式启发式函数格式定义。 |
Connect these docs to Claude, VSCode, and more via MCP for real-time answers.

