Gestell's Langchain Integration
Query and prompt your gestell collections with langchain
Quick Start
Step 1: Install the langchain integration package:
pip install gestell-langchain
uv add gestell-langchain
Step 2: Integrate it with your agent:
from langchain_openai import ChatOpenAI
from langgraph.prebuilt import create_react_agent
from langchain_gestell import GestellSearchTool, GestellPromptTool
llm = ChatOpenAI()
agent = create_react_agent(
model=llm,
tools=[
# Add api_key and collection_id if not in your env
GestellSearchTool(api_key="... OPTIONAL", collection_id="... OPTIONAL"),
GestellPromptTool()
],
)
You can view a more comprehensive demo here.
Open an issue if you would like more comprehensive demos or need clarity on how things work.
View the CHANGELOG to review updates to the library.
Metadata
Release files for gestell-langchain 0.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 | |
|---|---|---|---|
| gestell_langchain-0.1.1.tar.gz | 3.3 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| gestell_langchain-0.1.1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 5.2 kB
Release files / gestell_langchain-0.1.1.tar.gz
| Download URL | gestell_langchain-0.1.1.tar.gz |
|---|---|
| Size | 3.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
e7390ea28112b5d595e1837321b54d61fc581d79f53d6ffeeaeeb7944e35c25c
|
|
BLAKE2b-256 checksum How to use checksums |
83c0da0e3bdf03768f8e98786703db5766759cf3369bbaa9c221de38f05fbbfa
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.5.9
|
Release files / gestell_langchain-0.1.1-py3-none-any.whl
| Download URL | gestell_langchain-0.1.1-py3-none-any.whl |
|---|---|
| Size | 1.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
b8ef40293d46076ca9a0859457c05bdf085f2d6aa849bf958912ef10be150e11
|
|
BLAKE2b-256 checksum How to use checksums |
878326b891aff68089958c9854e7f5e97d8f507bdfdf639e860e3a91f1efe1d1
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.5.9
|