haystack/rest_api/test/samples/pipeline/test_pipeline_faiss_retrieval.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

20 lines
399 B
YAML

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