ChatSambaNova features and configurations head to the API reference.
SambaNova’s SambaCloud is a cloud platform for performing inference with open-source models
Overview
Integration details
| Class | Package | Serializable | JS support | Downloads | Version |
|---|---|---|---|---|---|
ChatSambaNova | langchain-sambanova | beta | ❌ |
Model features
| Tool calling | Structured output | Image input | Audio input | Video input | Token-level streaming | Native async | Token usage | Logprobs |
|---|---|---|---|---|---|---|---|---|
| ✅ | ✅ | ✅ | ✅ | ❌ | ✅ | ✅ | ✅ | ❌ |
Setup
To access SambaNova models you will need to create a SambaCloud account, get an API key, install thelangchain_sambanova integration package.
Credentials
Get an API Key from cloud.sambanova.ai Once you’ve done this set the SAMBANOVA_API_KEY environment variable:Installation
The LangChain SambaNova integration lives in thelangchain_sambanova package:
Instantiation
Now we can instantiate our model object and generate chat completions:Invocation
Streaming
Async
Async streaming
Tool calling
Structured outputs
Input image
API reference
For detailed documentation of all SambaNova features and configurations head to the API reference: docs.sambanova.ai/cloud/docs/get-started/overviewConnect these docs to Claude, VSCode, and more via MCP for real-time answers.