Build generative pipeline consisting of tfidf retriever, pinecone document store and OpenAIAnswerGenerator
{"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": "tfidf_retriever", "type": "TfidfRetriever", "params": {"top_k": 10}}, {"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": "tfidf_retriever"}, {"inputs": ["tfidf_retriever"], "name": "open_ai_answer_generator"}]}]}