本页面将帮助您开始使用 Together AI 聊天模型. 有关所有Documentation Index
Fetch the complete documentation index at: https://nvd-54.mintlify.app/llms.txt
Use this file to discover all available pages before exploring further.
ChatTogether 功能和配置的详细文档,请前往 API reference.
Together AI offers an API to query 50+ leading open-source models
概述
集成详情
| 类 | 包 | 可序列化 | JS 支持 | 下载量 | 版本 |
|---|---|---|---|---|---|
ChatTogether | langchain-together | beta | ✅ |
模型功能
| Tool calling | Structured output | Image input | 音频输入 | 视频输入 | Token-level streaming | 原生异步 | Token usage | Logprobs |
|---|---|---|---|---|---|---|---|---|
| ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ❌ | ✅ | ✅ |
设置
要访问 Together 模型,您需要创建一个 Together 账户,获取 API 密钥,并安装langchain-together 集成包。
凭证
前往 this page 注册 Together 并生成 API 密钥。 完成后,设置 TOGETHER_API_KEY 环境变量:安装
LangChain 的 Together integration is included in thelangchain-together 包中:
实例化
现在我们可以实例化模型对象并生成聊天补全:调用
API 参考
有关所有ChatTogether 功能和配置的详细文档,请前往 API reference
Connect these docs to Claude, VSCode, and more via MCP for real-time answers.

