Make Haystack search summarization system using transformers summarizer, EmbeddingRetriever and sql document store
{"version": "1.8.0", "components": [{"name": "sql_document_store", "type": "SQLDocumentStore", "params": {"url": "sqlite://", "index": "document", "label_index": "label", "duplicate_documents": "overwrite", "check_same_thread": false}}, {"name": "embedding_retriever", "type": "EmbeddingRetriever", "params": {"use_gpu": true, "batch_size": 32, "max_seq_len": 512, "pooling_strategy": "reduce_mean", "emb_extraction_layer": -1, "top_k": 10, "progress_bar": true, "use_auth_token": false, "scale_score": true}}, {"name": "transformers_summarizer", "type": "TransformersSummarizer", "params": {"model_name_or_path": "google/pegasus-xsum", "max_length": 200, "min_length": 5, "use_gpu": true, "clean_up_tokenization_spaces": true, "separator_for_single_summary": " ", "generate_single_summary": false, "batch_size": 16, "progress_bar": true, "use_auth_token": false}}], "pipelines": [{"name": "my_query_pipeline", "nodes": [{"inputs": ["Query"], "name": "embedding_retriever"}, {"inputs": ["embedding_retriever"], "name": "transformers_summarizer"}]}]}