Skip to main content

LangChain integration for FluxVector — 7-signal HyperSearch with TopK fusion and anti-hallucination confidence

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.2.0.tar.gz (3.8 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.2.0-py3-none-any.whl (4.9 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: langchain_fluxvector-0.2.0.tar.gz
  • Upload date:
  • Size: 3.8 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.2.0.tar.gz
Algorithm Hash digest
SHA256 23dfb2230b6074a31bc226ac16e5baf42e7d8d2a96e8eefdbb4cc8b36642c72e
MD5 ea57d48c0c1e37bcdbd5d8182fd205bf
BLAKE2b-256 802bf9dda4a35155320dbe837137ab41cd85f18ba221971097ce3278181e01e1

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for langchain_fluxvector-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 5984caf569f79882e10cd32778bdf977b0f847d356254ffd4333107dbacc5a10
MD5 fb92b174e21ea053f72eadf0354bb4da
BLAKE2b-256 8163fb9aea1d0fd5a2604a7fd2cd5a96ffe3450ce0cab692ff7d26c747359d90

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