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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file langchain_fluxvector-0.1.1.tar.gz.
File metadata
- Download URL: langchain_fluxvector-0.1.1.tar.gz
- Upload date:
- Size: 3.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.11.4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c0a79db1061e8e632a1a23ce0f3dd64bed7a1ebb372b7dfaf1da28cf6b1b9916
|
|
| MD5 |
a6676535eb88a566a3173b0371232e6b
|
|
| BLAKE2b-256 |
379a00fb5216259388c7407bfc39ad4c61daba89d91e2016172e58c4a53128a9
|
File details
Details for the file langchain_fluxvector-0.1.1-py3-none-any.whl.
File metadata
- Download URL: langchain_fluxvector-0.1.1-py3-none-any.whl
- Upload date:
- Size: 4.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.11.4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
86b93d9490d25a68ac981fe1634d9c11e647f8054672ba3f10ff1f7b8187eeec
|
|
| MD5 |
8fec719ae0d80fd0e196088f98d22d3b
|
|
| BLAKE2b-256 |
e4807fd7627887f44d64d4b21b2476432e8a71b25dbd26dfddbba203a8f7917f
|