langchain-llama-stack
This package contains the LangChain integration with Llama Stack.
Installation
pip install -U langchain-llama-stack
If your Llama Stack distribution requires credentials, use the LLAMA_STACK_API_KEY environment variable.
If your Llama Stack distribution server is not running on http://localhost:8321, use the LLAMA_STACK_BASE_URL environment variable or base_url param.
Chat Models
ChatLlamaStack class exposes chat models hosted on your Llama Stack distribution server.
from langchain_llama_stack import ChatLlamaStack
llm = ChatLlamaStack(model="meta/llama-3.1-8b-instruct")
llm.invoke("Sing a ballad of LangChain.")
Release files for langchain-llama-stack 0.2.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 | |
|---|---|---|---|
| langchain_llama_stack-0.2.1.tar.gz | 89.5 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| langchain_llama_stack-0.2.1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 95.6 kB
Release files / langchain_llama_stack-0.2.1.tar.gz
| Download URL | langchain_llama_stack-0.2.1.tar.gz |
|---|---|
| Size | 89.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
027e35fea6f122044a06e5a718f18712f8bdf0bc485d419d3c697fb6499f3aca
|
|
BLAKE2b-256 checksum How to use checksums |
f6de651a408fd406180a549a07894fe12e95f4796f699443aa54770cfce8b2e4
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.12.9
|
Release files / langchain_llama_stack-0.2.1-py3-none-any.whl
| Download URL | langchain_llama_stack-0.2.1-py3-none-any.whl |
|---|---|
| Size | 6.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
1d8e63868c79ce501b0f503a21265cb45339941ffc05bb3fa86c027aced622c8
|
|
BLAKE2b-256 checksum How to use checksums |
12cd1909a71e9dbbb619a7ccf0333bb89ad05505c1502735c2c03cddb4af8fdb
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.12.9
|