Haystack v0.8.0 adds MilvusDocumentStore, Knowledge Graph QA, YAML Pipeline config, confidence scores, and a Selenium web crawler.
$ git clone --branch v0.8.0 https://github.com/deepset-ai/haystack.git # already have the repo? check out this version: $ git checkout v0.8.0
$ curl -X POST http://localhost:8000/query \ -H 'Content-Type: application/json' \ -d '{"query": "Why did the revenue change?"}'
- ›Adds
MilvusDocumentStoreclass enabling embedding-based retrievers (DensePassageRetriever,EmbeddingRetriever) to use production-ready Milvus vector database servers for large-scale deployments. - ›Adds
GraphDBKnowlegeGraphclass for storing RDF Triples and executing SPARQL queries, integrable with the newText2SparqlRetrieverto convert natural language queries to SPARQL. - ›Introduces YAML-based Pipeline configuration via
rest_api/pipeline.yaml, enabling shareable query and indexing configs, reproducible setups, and A/B testing of Pipelines. - ›Adds new generic
POST /queryendpoint to the REST API backed by Pipelines, replacing the former/doc-qaand/faq-qaendpoints; accepts a singlequerystring and returns answers with aprobabilityconfidence score (range 0–1). - ›Adds new generic
POST /feedbackendpoint, replacing the former/doc-qa-feedbackand/faq-qa-feedbackendpoints.
+15 moreshow less
- ›Adds API endpoint to export accuracy metrics derived from user feedback.
- ›Adds a
probabilityfield (0–1) to answers, providing a calibrated model-confidence score alongside the existingscorefield. - ›Adds a Selenium-based web crawler class that accepts a list of URLs and converts extracted text into Haystack Documents.
- ›Adds
MarkdownConverterfile converter for ingesting Markdown files into Haystack document stores. - ›Adds evaluation nodes for Pipelines to measure retriever and reader performance end-to-end.
- ›Adds support for parallel paths in Pipelines, enabling branching and merging of pipeline components.
- ›Adds support for indexing Pipelines alongside existing query Pipelines.
- ›Introduces incremental embedding updates in document stores, avoiding full re-indexing when only some documents change.
- ›Adds a window-query flag to
SQLDocumentStorefor controlling passage retrieval behavior. - ›Allows non-standard tokenizers (e.g., CamemBERT) for
DensePassageRetrievervia a new argument. - ›Adds model versioning support to Haystack modeling components.
- ›Adds a SQuAD-to-DPR dataset converter for training data preparation.
- ›Adds a method to retrieve metadata values for a given key from
ElasticsearchDocumentStore. - ›Upgrades FAISS to version 1.7.0.
- ›Adds a
created_attimestamp field for documents and labels across all document stores (SQLDocumentStore,FAISSDocumentStore,ElasticsearchDocumentStore).
- !The
/doc-qaand/faq-qaREST API endpoints are removed and replaced by a genericPOST /queryendpoint configured viarest_api/pipeline.yaml. - !The
POST /queryendpoint now expects a singlequerystring per request instead of a list of query strings. - !The
/doc-qa-feedbackand/faq-qa-feedbackREST API endpoints are removed and replaced by a genericPOST /feedbackendpoint. - !The
createdtimestamp field on documents and labels inSQLDocumentStoreandFAISSDocumentStoreis replaced bycreated_at;ElasticsearchDocumentStorealso now hascreated_at. - !The
top_k_answersparameter in RAGenerator is renamed totop_k. - !Placeholder terms in the
custom_queryparameter forElasticsearchDocumentStoremust no longer have quotes around them.