Generate document search system with dense passage retriever and faiss document store
{"version": "1.8.0", "components": [{"name": "faiss_document_store", "type": "FAISSDocumentStore", "params": {"sql_url": "sqlite:///faiss_document_store.db", "vector_dim": 0, "embedding_dim": 768, "faiss_index_factory_str": "Flat", "return_embedding": false, "index": "document", "similarity": "dot_product", "embedding_field": "embedding", "progress_bar": true, "duplicate_documents": "overwrite", "n_links": 64, "ef_search": 20, "ef_construction": 80, "validate_index_sync": true}}, {"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}}], "pipelines": [{"name": "my_doc_search_pipeline", "nodes": [{"inputs": ["Query"], "name": "dense_passage_retriever"}, {"inputs": ["dense_passage_retriever"]}]}]}