Generate Haystack generative pipeline using WeaviateDocumentStore, DensePassageRetriever and OpenAIAnswerGenerator
{"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": "dense_passage_retriever", "type": "DensePassageRetriever", "params": {"max_seq_len_query": 64, "max_seq_len_passage": 256, "top_k": 10, "use_gpu": true, "batch_size": 16, "embed_title": true, "use_fast_tokenizers": true, "similarity_function": "dot_product", "global_loss_buffer_size": 150000, "progress_bar": true, "use_auth_token": false, "scale_score": true}}, {"name": "open_ai_answer_generator", "type": "OpenAIAnswerGenerator", "params": {"model": "text-curie-001", "max_tokens": 7, "top_k": 5, "temperature": 0, "presence_penalty": -2.0, "frequency_penalty": -2.0, "progress_bar": true}}], "pipelines": [{"name": "my_generator_pipeline", "nodes": [{"inputs": ["Query"], "name": "dense_passage_retriever"}, {"inputs": ["dense_passage_retriever"], "name": "open_ai_answer_generator"}]}]}