Skip to main content

LangChain VectorStore integration for Pixeltable multimodal data infrastructure.

Project description

langchain-pixeltable

LangChain VectorStore integration backed by Pixeltable -- multimodal data infrastructure with built-in embedding indexes, incremental computation, and 25+ AI provider integrations.

Installation

pip install langchain-pixeltable

Quick Start

from langchain_pixeltable import PixeltableVectorStore
from langchain_openai import OpenAIEmbeddings

# Create a vector store and add documents
vs = PixeltableVectorStore.from_texts(
    texts=["Pixeltable handles multimodal data", "LangChain is great for chains"],
    embedding=OpenAIEmbeddings(),
    table_name="mydir.docs",
)

# Similarity search
results = vs.similarity_search("multimodal data management", k=3)
for doc in results:
    print(doc.page_content)

Connect to an Existing Pixeltable Table

vs = PixeltableVectorStore.from_existing_table(
    table_name="mydir.existing_docs",
    embedding=OpenAIEmbeddings(),
    text_column="content",
    embedding_column="content_embedding",
)
results = vs.similarity_search("search query")

Use as a LangChain Retriever

retriever = vs.as_retriever(search_kwargs={"k": 5})
docs = retriever.invoke("What is Pixeltable?")

Why Pixeltable as a Vector Backend?

  • Persistent and versioned: Data survives restarts; every change is tracked
  • Incremental: Only new/changed rows get re-embedded
  • Multimodal native: Images, video, audio, and documents alongside text
  • 25+ AI providers: Built-in functions for OpenAI, Anthropic, Gemini, and more
  • No external services: Embedded PostgreSQL, no Docker required

Links

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_pixeltable-0.1.1.tar.gz (9.7 kB view details)

Uploaded Source

Built Distribution

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

langchain_pixeltable-0.1.1-py3-none-any.whl (10.3 kB view details)

Uploaded Python 3

File details

Details for the file langchain_pixeltable-0.1.1.tar.gz.

File metadata

  • Download URL: langchain_pixeltable-0.1.1.tar.gz
  • Upload date:
  • Size: 9.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for langchain_pixeltable-0.1.1.tar.gz
Algorithm Hash digest
SHA256 f16dc0fe9dd53dabd62aa5a64cd28ac5130abfed8b1d960a82ff612675f60fc8
MD5 f4f3a7c2feaf6eb605fd9bf0dc1f2b86
BLAKE2b-256 a960b34e4b7a33fb8f9b3e28223a71449e8b9401ce4f63eb6a14e364b214a0fe

See more details on using hashes here.

Provenance

The following attestation bundles were made for langchain_pixeltable-0.1.1.tar.gz:

Publisher: release.yml on pixeltable/langchain-pixeltable

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file langchain_pixeltable-0.1.1-py3-none-any.whl.

File metadata

File hashes

Hashes for langchain_pixeltable-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 25d9789a9c218c7401c0f5141fdce89e5d5f9645ba1da9649b926f44f8086273
MD5 4515190f5567bb5a6fc0a618ec573ebf
BLAKE2b-256 9c73e156bfaa6ef0a0a23b1cd157bd55d275d22bbf1d91d8c27e2ce907c97964

See more details on using hashes here.

Provenance

The following attestation bundles were made for langchain_pixeltable-0.1.1-py3-none-any.whl:

Publisher: release.yml on pixeltable/langchain-pixeltable

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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