Build FAQPipeline with pinecone document store and embedding retriever
{"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": "embedding_retriever", "type": "EmbeddingRetriever", "params": {"use_gpu": true, "batch_size": 32, "max_seq_len": 512, "pooling_strategy": "reduce_mean", "emb_extraction_layer": -1, "top_k": 10, "progress_bar": true, "use_auth_token": false, "scale_score": true}}], "pipelines": [{"name": "my_doc_search_pipeline", "nodes": [{"inputs": ["Query"], "name": "embedding_retriever"}, {"inputs": ["embedding_retriever"]}]}]}