Generate Haystack search summarization pipeline using TransformersSummarizer, bm25 retriever and pinecone document store
{"version": "1.8.0", "components": [{"name": "pinecone_document_store", "type": "PineconeDocumentStore", "params": {"environment": "us-west1-gcp", "embedding_dim": 768, "return_embedding": false, "index": "document", "similarity": "cosine", "replicas": 1, "shards": 1, "embedding_field": "embedding", "progress_bar": true, "duplicate_documents": "overwrite", "recreate_index": false, "validate_index_sync": true}}, {"name": "bm25_retriever", "type": "BM25Retriever", "params": {"top_k": 10, "all_terms_must_match": 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": "bm25_retriever"}, {"inputs": ["bm25_retriever"], "name": "transformers_summarizer"}]}]}