Create Haystack generative qa pipeline with ra generator, WeaviateDocumentStore and ElasticsearchFilterOnlyRetriever
{"version": "1.8.0", "components": [{"name": "weaviate_document_store", "type": "WeaviateDocumentStore", "params": {"port": 0, "timeout_config": [5, 15], "index": "Document", "embedding_dim": 768, "content_field": "content", "name_field": "name", "similarity": "cosine", "index_type": "hnsw", "return_embedding": false, "embedding_field": "embedding", "progress_bar": true, "duplicate_documents": "overwrite", "recreate_index": false}}, {"name": "elasticsearch_filter_only_retriever", "type": "ElasticsearchFilterOnlyRetriever", "params": {"top_k": 10, "all_terms_must_match": false}}, {"name": "ra_generator", "type": "RAGenerator", "params": {"model_name_or_path": "facebook/rag-token-nq", "generator_type": "token", "top_k": 2, "max_length": 200, "min_length": 2, "num_beams": 2, "embed_title": true, "use_gpu": true, "progress_bar": true, "use_auth_token": false}}], "pipelines": [{"name": "my_generator_pipeline", "nodes": [{"inputs": ["Query"], "name": "elasticsearch_filter_only_retriever"}, {"inputs": ["elasticsearch_filter_only_retriever"], "name": "ra_generator"}]}]}