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.0.tar.gz (9.0 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.0-py3-none-any.whl (9.7 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: langchain_pixeltable-0.1.0.tar.gz
  • Upload date:
  • Size: 9.0 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.0.tar.gz
Algorithm Hash digest
SHA256 c6a789774ad7aefe01dfd8059b3223523902b4bd77f189e22c88fb0a6578285b
MD5 5b0f24cef36d2b82ce69fb834f2f6fc3
BLAKE2b-256 3653e6f0612534410800fb74397b8a401a8eddb43b4f8823fe48fefdd17497bd

See more details on using hashes here.

Provenance

The following attestation bundles were made for langchain_pixeltable-0.1.0.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.0-py3-none-any.whl.

File metadata

File hashes

Hashes for langchain_pixeltable-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 1ae597b1d41dbb6ef9e40388d5b186a63cff9b91488c98848506fe353dc152d6
MD5 87a489d25f697f9fb67f61b5be12ef11
BLAKE2b-256 a441ad9d1d895b0a364968e3398ec69fe02e0cff8d33a6a20c0d7ef94107f880

See more details on using hashes here.

Provenance

The following attestation bundles were made for langchain_pixeltable-0.1.0-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