langchain-sambanova
This package contains the LangChain integration with SambaNova
Installation
pip install -U langchain-sambanova
And you should configure credentials by setting the following environment variables:
If you are a SambaCloud user:
export SAMBANOVA_API_KEY="your-sambacloud-api-key-here"
You can obtain a free SambaCloud API key here
If you are a SambaStack user:
export SAMBANOVA_API_BASE="your-sambastack-api-base-url-here"
export SAMBANOVA_API_KEY="your-sambastack-api-key-here"
Chat Models
SambaNova
ChatSambaNova class exposes chat models from SambaNova unified interface for SambaCloud and SambaStack.
from langchain_sambanova import ChatSambaNova
llm = ChatSambaNova(
model = "Llama-4-Maverick-17B-128E-Instruct",
temperature = 0.7
)
llm.invoke("Tell me a joke about artificial intelligence.")
Embeddings
SambaNova
SambaNovaEmbeddings class exposes embeddings from SambaNova unified interface for SambaCloud and SambaStack.
from langchain_sambanova import SambaNovaEmbeddings
embeddings = SambaNovaEmbeddings(
model="E5-Mistral-7B-Instruct"
)
embeddings.embed_query("What is the meaning of life?")
Metadata
Release files for langchain-sambanova 1.1.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| langchain_sambanova-1.1.1.tar.gz | 19.7 kB | With provenance | Details for langchain_sambanova-1.1.1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| langchain_sambanova-1.1.1-py3-none-any.whl | Python 3 | none | any | Details for langchain_sambanova-1.1.1-py3-none-any.whl |
Total release size: 39.8 kB
Release files / langchain_sambanova-1.1.1.tar.gz
| Download URL | langchain_sambanova-1.1.1.tar.gz |
|---|---|
| Size | 19.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
1801b9b1c945de7b6e97e3b98082d5e3bf133e27aebc6fa801d0b115ac8fad93
|
|
BLAKE2b-256 checksum How to use checksums |
9019da39f00b0c884a909eba3f03c96b76995ae94dc9b6cbec12a8e761f071bc
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.12
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Jun 18, 2026.
Transparency logRelease files / langchain_sambanova-1.1.1-py3-none-any.whl
| Download URL | langchain_sambanova-1.1.1-py3-none-any.whl |
|---|---|
| Size | 20.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
5f6143388b679c4eb84e13bb49eb43f5f951903dffc919a04034541e86c4611b
|
|
BLAKE2b-256 checksum How to use checksums |
3d7a8096a4d43fe17888ba3a53b191c8326ed70f73d1335027d130985656f1d6
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.12
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Jun 18, 2026.
Transparency logSecurity for langchain-sambanova 1.1.1
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
Full provenance
Both files in this release have been uploaded with provenance metadata.
Attestation for langchain_sambanova-1.1.1.tar.gz
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Jun 18, 2026.
Transparency logA note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.