LangChain integration for HatiData — Memory, VectorStore, and Tools backed by HatiData
Project description
langchain-hatidata
LangChain integration for HatiData -- Memory, VectorStore, and Tools backed by HatiData's in-VPC data warehouse with agent-aware billing and audit.
Installation
pip install langchain-hatidata
Quick Start
from langchain_hatidata import HatiDataMemory, HatiDataVectorStore, HatiDataToolkit
# Conversation memory persisted to HatiData
memory = HatiDataMemory(host="proxy.internal", agent_id="my-agent")
# Vector store for RAG
vectorstore = HatiDataVectorStore(
host="proxy.internal",
agent_id="my-agent",
table="embeddings",
)
# SQL tools for agents
toolkit = HatiDataToolkit(host="proxy.internal", agent_id="my-agent")
Features
- HatiDataMemory -- Persistent conversation memory backed by HatiData, with full audit trails
- HatiDataVectorStore -- Vector similarity search for RAG pipelines, stored in-VPC
- HatiDataToolkit -- SQL query, table listing, schema inspection, and context search tools for LangChain agents
- Agent-aware billing -- Every query is tagged with agent ID and framework for per-agent cost tracking
- Sub-10ms latency -- Queries execute in-VPC with no data leaving your network
Components
| Class | LangChain Base | Description |
|---|---|---|
HatiDataMemory |
BaseMemory |
Conversation history persisted to HatiData |
HatiDataVectorStore |
VectorStore |
Vector similarity search backed by HatiData |
HatiDataToolkit |
BaseToolkit |
SQL and context search tools for agents |
Documentation
Full documentation is available at docs.hatiosai.com/hatidata.
License
Apache License 2.0. Copyright (c) Marviy Pte Ltd. See LICENSE for details.
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 langchain_hatidata-0.1.1.tar.gz.
File metadata
- Download URL: langchain_hatidata-0.1.1.tar.gz
- Upload date:
- Size: 8.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.11.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ae895a16ababf5a9cd303bcfa9b34e098c4dd2b589eddf93a16cfbc001a3c616
|
|
| MD5 |
061911d1dae11c88322f1498ce1ba182
|
|
| BLAKE2b-256 |
992f1074b81099add563b58a834527651e3359f68d846f31cace3c1f388e118b
|
File details
Details for the file langchain_hatidata-0.1.1-py3-none-any.whl.
File metadata
- Download URL: langchain_hatidata-0.1.1-py3-none-any.whl
- Upload date:
- Size: 9.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.11.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
316945e43eb567f553c59481eae4dd1db5381c7c31d549aa3d7e97e3ec72baa1
|
|
| MD5 |
e7c831132d0e65ccd12bdb1647676928
|
|
| BLAKE2b-256 |
5db893feb3074240af357b62f80784cb3d4afdbaade39465d5b3aaf06606fddc
|