haystack/rest_api/test/samples/pipeline/test_pipeline_faiss_indexing.yaml
Sara Zan 2a840ee248
YAML versioning (#2209)
* Make YAML files get the same version as Haystack and throw warning at load in case of mismatch

* Update version of most YAMLs in the codebase (aesthethic chamge, only to avoid the warning).

* Remove quotes from version in tests

* Fix version in generate_json_schema.py

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2022-02-21 12:22:37 +01:00

32 lines
692 B
YAML

version: '1.1.0'
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]