Overview
Integration details
| Class | Package | Local | Serializable | JS support | Downloads | Version |
|---|---|---|---|---|---|---|
| ChatTogether | langchain-together | ❌ | beta | ✅ |
Model features
| Tool calling | Structured output | JSON mode | Image input | Audio input | Video input | Token-level streaming | Native async | Token usage | Logprobs |
|---|---|---|---|---|---|---|---|---|---|
| ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ❌ | ✅ | ✅ |
Setup
Together 모델에 액세스하려면 Together 계정을 생성하고, API key를 발급받고,langchain-together integration package를 설치해야 합니다.
Credentials
이 페이지로 이동하여 Together에 가입하고 API key를 생성하세요. 완료되면 TOGETHER_API_KEY environment variable을 설정하세요:Installation
LangChain Together integration은langchain-together package에 포함되어 있습니다:
Instantiation
이제 model object를 인스턴스화하고 chat completion을 생성할 수 있습니다:Invocation
API reference
모든 ChatTogether 기능과 구성에 대한 자세한 문서는 API reference를 참조하세요: python.langchain.com/api_reference/together/chat_models/langchain_together.chat_models.ChatTogether.htmlConnect these docs programmatically to Claude, VSCode, and more via MCP for real-time answers.