2022-02-21 12:22:37 +01:00
|
|
|
version: '1.1.0'
|
2022-01-26 18:12:55 +01:00
|
|
|
|
|
|
|
components:
|
|
|
|
- name: DPRRetriever
|
|
|
|
type: DensePassageRetriever
|
|
|
|
params:
|
|
|
|
document_store: NewFAISSDocumentStore
|
|
|
|
- name: PDFConverter
|
|
|
|
type: PDFToTextConverter
|
|
|
|
params:
|
|
|
|
remove_numeric_tables: false
|
|
|
|
- name: Preprocessor
|
|
|
|
type: PreProcessor
|
|
|
|
params:
|
|
|
|
clean_whitespace: true
|
|
|
|
- name: NewFAISSDocumentStore
|
|
|
|
type: FAISSDocumentStore
|
|
|
|
|
|
|
|
|
|
|
|
pipelines:
|
|
|
|
- name: indexing_pipeline
|
|
|
|
type: Pipeline
|
|
|
|
nodes:
|
|
|
|
- name: PDFConverter
|
|
|
|
inputs: [File]
|
|
|
|
- name: Preprocessor
|
|
|
|
inputs: [PDFConverter]
|
|
|
|
- name: DPRRetriever
|
|
|
|
inputs: [Preprocessor]
|
|
|
|
- name: NewFAISSDocumentStore
|
|
|
|
inputs: [DPRRetriever]
|