Skip to main content

LangChain integration for FluxVector — vector search with built-in embeddings

Project description

langchain-fluxvector

LangChain integration for FluxVector — vector search API with built-in embeddings.

Installation

pip install langchain-fluxvector

Usage

from langchain_fluxvector import FluxVectorStore

# FluxVector handles embeddings server-side — no OpenAI key needed
vs = FluxVectorStore(
    api_key="fv_live_...",
    collection="my-docs",
)

# Add documents
vs.add_texts([
    "FluxVector is a vector search API",
    "It supports 100+ languages",
    "Hybrid BM25 + vector search included",
])

# Search
results = vs.similarity_search("multilingual search", k=3)
for doc in results:
    print(doc.page_content, doc.metadata["score"])

Why FluxVector?

  • No embedding model needed — FluxVector embeds text server-side
  • Hybrid search — BM25 + vector with RRF fusion, out of the box
  • 100+ languages — Multilingual-e5-large handles cross-lingual retrieval
  • $29/mo for 1M vectors — Flat pricing, no per-query charges
  • Self-host free — Same Docker image, your infrastructure

With LangChain Chains

from langchain_fluxvector import FluxVectorStore
from langchain_openai import ChatOpenAI
from langchain.chains import RetrievalQA

vs = FluxVectorStore(api_key="fv_live_...", collection="docs")
retriever = vs.as_retriever(search_kwargs={"k": 5})

qa = RetrievalQA.from_chain_type(
    llm=ChatOpenAI(),
    retriever=retriever,
)
answer = qa.invoke("What languages does FluxVector support?")

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_fluxvector-0.1.0.tar.gz (3.6 kB view details)

Uploaded Source

Built Distribution

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

langchain_fluxvector-0.1.0-py3-none-any.whl (4.7 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: langchain_fluxvector-0.1.0.tar.gz
  • Upload date:
  • Size: 3.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.3

File hashes

Hashes for langchain_fluxvector-0.1.0.tar.gz
Algorithm Hash digest
SHA256 c35dd0fa14f4baef1d706c1fd42df828fa571c7116e4cd0a322b23124ed0addd
MD5 974bc64b92834febd34b3933d3898de4
BLAKE2b-256 7aceb46a65c8bec2c4536c06371c01167b1e28718ec8f371623658f30278e7bd

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for langchain_fluxvector-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 58cdb3297944499de6b073d1a12ff6074bac4177bcb4e89931d64af7e084e3e0
MD5 be35ad0b2fb0003e9d88758fafd69c25
BLAKE2b-256 0fe33bdaa31faaa1c3c96c3c0c92894dae39a4b7a5866d67643f11d8c7523350

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