Build Haystack search summarization pipeline using InMemoryDocumentStore, ElasticsearchFilterOnlyRetriever and transformers summarizer
{"version": "1.8.0", "components": [{"name": "in_memory_document_store", "type": "InMemoryDocumentStore", "params": {"index": "document", "label_index": "label", "embedding_dim": 768, "return_embedding": false, "similarity": "dot_product", "progress_bar": true, "duplicate_documents": "overwrite", "use_gpu": true, "scoring_batch_size": 500000}}, {"name": "elasticsearch_filter_only_retriever", "type": "ElasticsearchFilterOnlyRetriever", "params": {"top_k": 10, "all_terms_must_match": false}}, {"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": "elasticsearch_filter_only_retriever"}, {"inputs": ["elasticsearch_filter_only_retriever"], "name": "transformers_summarizer"}]}]}