Skip to main content

An integration package connecting Astra DB and LangChain

Project description

langchain-astradb

This package contains the LangChain integrations for using DataStax Astra DB.

DataStax Astra DB is a serverless vector-capable database built on Apache Cassandra® and made conveniently available through an easy-to-use JSON API.

Note. For a short transitional period, only some of the Astra DB integration classes are contained in this package (the remaining ones being still in langchain-community). In a short while, and surely by version 0.2 of LangChain, all of the Astra DB support will be removed from langchain-community and included in this package.

Installation and Setup

Installation of this partner package:

pip install langchain-astradb

Integrations overview

Vector Store

from langchain_astradb.vectorstores import AstraDBVectorStore

my_store = AstraDBVectorStore(
  embedding=my_embeddings,
  collection_name="my_store",
  api_endpoint="https://...",
  token="AstraCS:...",
)

Reference

See the LangChain docs page for a more detailed listing.

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_astradb-0.0.1.tar.gz (12.9 kB view details)

Uploaded Source

Built Distribution

langchain_astradb-0.0.1-py3-none-any.whl (13.4 kB view details)

Uploaded Python 3

File details

Details for the file langchain_astradb-0.0.1.tar.gz.

File metadata

  • Download URL: langchain_astradb-0.0.1.tar.gz
  • Upload date:
  • Size: 12.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/4.0.2 CPython/3.11.8

File hashes

Hashes for langchain_astradb-0.0.1.tar.gz
Algorithm Hash digest
SHA256 06fe620cf729ddf2527b77ee9cb933974524066383cdc236ce9da92569792aea
MD5 e69f7bb8439e913b7fa826ffbbade5e4
BLAKE2b-256 1d217f8137fb05b96535d5a3287f4b6d54b3f3d74a34fcd2d3f768abc7502cfe

See more details on using hashes here.

File details

Details for the file langchain_astradb-0.0.1-py3-none-any.whl.

File metadata

File hashes

Hashes for langchain_astradb-0.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 024631cd56958d6d870dbd86da55fad85ad4508f4f738a1d0f90518cae015295
MD5 f48b1faaa2f6a6da564a41ed81f4da64
BLAKE2b-256 10e1085d60660bd4abee0ee96ad4f431d232ac62a7c218d53b3227284886a590

See more details on using hashes here.

Supported by

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