Skip to main content

LangChain integration for HatiData — Memory, VectorStore, and Tools backed by HatiData

Project description

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.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

langchain_hatidata-0.1.0.tar.gz (8.3 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

langchain_hatidata-0.1.0-py3-none-any.whl (9.4 kB view details)

Uploaded Python 3

File details

Details for the file langchain_hatidata-0.1.0.tar.gz.

File metadata

  • Download URL: langchain_hatidata-0.1.0.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

Hashes for langchain_hatidata-0.1.0.tar.gz
Algorithm Hash digest
SHA256 063a3408176c48615b85b0e41fe07b0f99cc4008af7578c9607523b8aade54a8
MD5 7f987a9db3bba96b075c715f3d34b41f
BLAKE2b-256 6d4cd21ad3e2e3073e1999917d040baa2feecccf5fc9adf0bcdc6fa675f01c23

See more details on using hashes here.

File details

Details for the file langchain_hatidata-0.1.0-py3-none-any.whl.

File metadata

File hashes

Hashes for langchain_hatidata-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 809d907202610e5b4fc0de51ed493429838d70b09145ec79dcd72cd6629692ec
MD5 da5b57d6446b49803454cf8d4a1426cd
BLAKE2b-256 95a7812d99150e9417c5a22c24cf9b200e80cd233c0d12dbf3a5ad5c100fb73c

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page