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>
20 lines
397 B
YAML
20 lines
397 B
YAML
version: '0.7'
|
|
|
|
components:
|
|
- name: DPRRetriever
|
|
type: DensePassageRetriever
|
|
params:
|
|
document_store: ExistingFAISSDocumentStore
|
|
- name: ExistingFAISSDocumentStore
|
|
type: FAISSDocumentStore
|
|
params:
|
|
faiss_index_path: 'existing_faiss_document_store'
|
|
|
|
|
|
pipelines:
|
|
- name: query_pipeline
|
|
type: Pipeline
|
|
nodes:
|
|
- name: DPRRetriever
|
|
inputs: [Query]
|