mirror of
https://github.com/deepset-ai/haystack.git
synced 2025-08-30 03:16:46 +00:00

* add faiss_index_path and faiss_config_path * Add latest docstring and tutorial changes * remove duplicate cleaning stuff * refactoring + test for invalid param combination * adjust type hints * Add latest docstring and tutorial changes * add documentation to @preload_index * Add latest docstring and tutorial changes * recursive __init__ instead of decorator * Add latest docstring and tutorial changes * validate instead of check * combine ifs Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
32 lines
690 B
YAML
32 lines
690 B
YAML
version: '0.7'
|
|
|
|
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]
|