46 # , pytest-custom-exit-code
55 # , azure-ai-formrecognizer
64 , sentence-transformers
92 buildPythonPackage rec {
93 pname = "farm-haystack";
97 src = fetchFromGitHub {
100 rev = "refs/tags/v${version}";
101 hash = "sha256-lAXzWnHpOBVjgleFTYqlZ34hmZkcrPJ/h1kk4iVVvec=";
104 nativeBuildInputs = [
110 # We call it faiss, not faiss-cpu.
114 propagatedBuildInputs = [
140 env.HOME = "$(mktemp -d)";
142 passthru.optional-dependencies = {
178 # pytest-custom-exit-code
195 # azure-ai-formrecognizer
209 sentence-transformers
274 # the setup for test is intensive, hopefully can be done at some point
278 pythonImportsCheck = [ "haystack" ];
281 description = "LLM orchestration framework to build customizable, production-ready LLM applications";
283 LLM orchestration framework to build customizable, production-ready LLM applications. Connect components (models, vector DBs, file converters) to pipelines or agents that can interact with your data. With advanced retrieval methods, it's best suited for building RAG, question answering, semantic search or conversational agent chatbots
285 changelog = "https://github.com/deepset-ai/haystack/releases/tag/${src.rev}";
286 homepage = "https://github.com/deepset-ai/haystack";
287 license = licenses.asl20;
288 maintainers = with maintainers; [ happysalada ];
289 # https://github.com/deepset-ai/haystack/issues/5304
290 broken = versionAtLeast pydantic.version "2";