Menu

1 / 2

VelesDB now has a Haystack connector - build a RAG pipeline with zero infrastructure

DEV Community·Julien L·6 months ago
#dO4I6imJ
#ai#python#haystack#velesdb#pipeline
Reading 0:00
15s threshold

You want to build a RAG pipeline with Haystack. The first thing the tutorial tells you is to spin up a Docker container for your vector store.

What if you could skip that entirely?

VelesDB now ships a first-party Haystack 2.x DocumentStore, contributed by @CrepuscularIRIS in PR #672 . Two pip installs, zero infrastructure, and your Haystack pipeline has a vector backend that runs in-process.

pip install haystack-ai haystack-velesdb

Enter fullscreen mode

Exit fullscreen mode

That is the entire setup. No Docker. No server. No config file.

What the integration provides

The haystack-velesdb package gives you a VelesDBDocumentStore that implements the full Haystack DocumentStore protocol:

write_documents() with duplicate policies (SKIP, FAIL, OVERWRITE)

filter_documents() with Haystack's filter syntax

embedding_retrieval() for vector similarity search

count_documents() and delete_documents()

to_dict() / from_dict() for pipeline serialization

It translates Haystack's filter operators ( == , != , > ,…

Continue reading — create a free account

Join HashtagPLUS to read full articles, follow hashtags, vote, and join the conversation.