Overview
Integration details
| Class | Package | Local | Serializable | JS support | Downloads | Version |
|---|---|---|---|---|---|---|
| SambaNovaCloud | langchain_community | ❌ | beta | ❌ |
Setup
Credentials
To access ChatSambaNovaCloud models you will need to create a SambaNovaCloud account, get an API key and set it as theSAMBANOVA_API_KEY environment variable:
Installation
The integration lives in thelangchain-community package. We also need to install the sseclient-py package this is required to run streaming predictions
Instantiation
Invocation
Now we can instantiate our model object and generate chat completions:Chaining
We can chain our completion model with a prompt template like so:API reference
For detailed documentation of allSambaNovaCloud llm features and configurations head to the API reference: python.langchain.com/api_reference/community/llms/langchain_community.llms.sambanova.SambaNovaCloud.html
Connect these docs to Claude, VSCode, and more via MCP for real-time answers.