Overview
Details
| Class | Package | Local | Serializable | JS support | Downloads | Version |
|---|---|---|---|---|---|---|
| ChatBaseten | langchain-baseten | ❌ | beta | ❌ |
Features
| Tool calling | Structured output | JSON mode | Image input | Audio input | Video input | Token-level streaming | Native async | Token usage | Logprobs |
|---|---|---|---|---|---|---|---|---|---|
| ✅ | ✅ | ✅ | ✅ | ✅ | ❌ | ✅ | ✅ | ✅ | ❌ |
Setup
Baseten 모델에 액세스하려면 Baseten 계정을 생성하고 API 키를 받은 다음langchain-baseten integration package를 설치해야 합니다.
이 페이지로 이동하여 Baseten 계정을 생성하고 API 키를 생성하세요. 완료되면 BASETEN_API_KEY environment variable을 설정하세요:
Credentials
Set API key
Enable tracing
Installation
LangChain Baseten integration은langchain-baseten package에 있습니다:
Instantiation
Baseten은 chat model에 액세스하는 두 가지 방법을 제공합니다:- Model APIs: 최신의 가장 인기 있는 오픈소스 모델에 대한 액세스.
- Dedicated URLs: 전용 리소스가 있는 특정 모델 배포 사용.
Initialize with model slug
Initialize with model URL
Invocation
Basic invocation
chat model invocation types, message types, content blocks에 대한 전체 가이드를 확인할 수 있습니다.
API reference
모든 ChatBaseten 기능 및 구성에 대한 자세한 문서는 API reference를 참조하세요.Connect these docs programmatically to Claude, VSCode, and more via MCP for real-time answers.