Logo
Explore Help
Register Sign In
yujunjun/haystack
1
0
Fork 0
You've already forked haystack
mirror of https://github.com/deepset-ai/haystack.git synced 2025-08-17 04:57:46 +00:00
Code Issues Packages Projects Releases Wiki Activity
haystack/test/samples/pipeline/test_pipeline_faiss_retrieval.yaml

20 lines
397 B
YAML
Raw Normal View History

Make FAISSDocumentStore work with yaml (#1727) * 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>
2021-11-11 11:02:22 +01:00
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]
Reference in New Issue Copy Permalink
Powered by Gitea Version: 1.23.5 Page: 676ms Template: 34ms
English
Bahasa Indonesia Deutsch English Español Français Gaeilge Italiano Latviešu Magyar nyelv Nederlands Polski Português de Portugal Português do Brasil Suomi Svenska Türkçe Čeština Ελληνικά Български Русский Українська فارسی മലയാളം 日本語 简体中文 繁體中文(台灣) 繁體中文(香港) 한국어
Licenses API