Gestell's Langchain Integration
Project description
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.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file gestell_langchain-0.1.0.tar.gz.
File metadata
- Download URL: gestell_langchain-0.1.0.tar.gz
- Upload date:
- Size: 2.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.5.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
5713457c50b9376b8443ddee780fcba61fede057a228ce83ece68b8cec6b0921
|
|
| MD5 |
8da52d10a0c4e86eb761dd48984a6ad2
|
|
| BLAKE2b-256 |
935fac227b73c8796676334d88f5e49eb82add623f220785d21381cd856d641f
|
File details
Details for the file gestell_langchain-0.1.0-py3-none-any.whl.
File metadata
- Download URL: gestell_langchain-0.1.0-py3-none-any.whl
- Upload date:
- Size: 1.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.5.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
0bd85b6fccd51a93f6b2c0507059ffb65fadfe6e00913fcaceae183df3b8e96a
|
|
| MD5 |
87b8365f6a7bc8011278bd50e9b71a07
|
|
| BLAKE2b-256 |
19f690359ed9815a2801d5c154b9daa5bcd51021e73aa1d704574b39d917b102
|