Skip to main content

langchain-hatidata

PyPI version Python versions License

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.

Metadata

Release files for langchain-hatidata 0.1.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for langchain-hatidata 0.1.1
File Size Uploaded
langchain_hatidata-0.1.1.tar.gz 8.3 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for langchain-hatidata 0.1.1
File Interpreter ABI Platform
langchain_hatidata-0.1.1-py3-none-any.whl Python 3 none any Details

Total release size: 17.7 kB

Release files / langchain_hatidata-0.1.1.tar.gz

Download URL langchain_hatidata-0.1.1.tar.gz
Size 8.3 kB
Tags Source
SHA-256 checksum
How to use checksums
ae895a16ababf5a9cd303bcfa9b34e098c4dd2b589eddf93a16cfbc001a3c616
BLAKE2b-256 checksum
How to use checksums
992f1074b81099add563b58a834527651e3359f68d846f31cace3c1f388e118b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.11.14

Release files / langchain_hatidata-0.1.1-py3-none-any.whl

Download URL langchain_hatidata-0.1.1-py3-none-any.whl
Size 9.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
316945e43eb567f553c59481eae4dd1db5381c7c31d549aa3d7e97e3ec72baa1
BLAKE2b-256 checksum
How to use checksums
5db893feb3074240af357b62f80784cb3d4afdbaade39465d5b3aaf06606fddc
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.11.14

Release history Release notifications | RSS feed

This release

0.1.1 This release

2 release files

0.1.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page