{"categories":[{"label":"Artificial Intelligence","url":"https://skillfed.io/packages/category/scientific-engineering-artificial-intelligence/7"}],"enrichment":{"capability":"Integrates Astra DB (a serverless vector database built on Apache Cassandra) with LangChain, providing vector storage, chat history, caching, and document loading capabilities.","skillfed_tags":["vector-database","rag","langchain-integration"],"use_cases":["Build RAG (retrieval-augmented generation) applications using AstraDBVectorStore for semantic search over document embeddings.","Store and retrieve multi-turn conversation history in stateless LLM applications via AstraDBChatMessageHistory.","Cache LLM responses to reduce API costs and latency using AstraDBCache or AstraDBSemanticCache for semantic deduplication.","Load and index documents from Astra DB collections into LangChain workflows using AstraDBLoader.","Implement hybrid search combining vector similarity, keyword matching (BM25), and reranking in a single query.","Migrate from deprecated langchain_community Astra DB classes to get latest features and modern astrapy compatibility."],"what_it_does":"langchain-astradb is a LangChain integration package that connects to DataStax Astra DB, a serverless vector-capable database built on Apache Cassandra. It replaces deprecated community-maintained Astra DB classes and provides six main components: AstraDBVectorStore for vector similarity search (including hybrid search with BM25 and reranking), AstraDBChatMessageHistory for storing conversation state, AstraDBCache and AstraDBSemanticCache for LLM response caching, AstraDBLoader for retrieving documents, and AstraDBStore/AstraDBByteStore for key-value storage.\n\nThe package depends on langchain-core, astrapy, and numpy. It handles collection creation idempotently by default, meaning it will create the underlying Astra DB collection on first use if it doesn't exist, or verify configuration matches if it does. The documentation emphasizes configuration matching between your code and the database to avoid mismatch errors, particularly around hybrid search settings and indexing options. It supports autodetection of collection configuration and offers explicit setup modes for predictable behavior.","worth_installing":"Yes. This is an actively maintained, low-friction integration with no known vulnerabilities and permissive licensing. Install it if you are building LangChain applications on Astra DB or migrating away from deprecated community plugins. Be aware that collection configuration must match your code's expectations to avoid mismatch errors, particularly around hybrid search and indexing settings."},"id":"langchain-astradb","links":{"html":"https://skillfed.io/packages/langchain-astradb","md":"https://skillfed.io/packages/langchain-astradb.md","pypi":"https://pypi.org/project/langchain-astradb/"},"maintenance":{"status":"active"},"meta":{"latest_release":"2025-10-23","license_spdx":null,"license_treatment":"permissive","name":"langchain-astradb","python_support":"supports_current","summary":"An integration package connecting Astra DB and LangChain"},"popularity":{"monthly_downloads":241700,"position":8871,"tier":"top_15000"},"security":{"n_vulnerabilities":0},"version":"1.0.0"}
