haystack/rest_api/test/samples/test.in-memory-haystack-pipeline.yml
Mayank Jobanputra 5f72cdc012
fix: stop loading FAISS and InMem doc Store for indexing pipelines (#4396)
* stop loading FAISS and InMem doc Store for indexing pipelines

* pylint fix

* Addressed comments
2023-03-24 19:35:29 +05:30

26 lines
559 B
YAML

version: 'ignore'
components:
- name: InMemoryDocumentStore
type: InMemoryDocumentStore
- name: tfidf_ret
params:
document_store: InMemoryDocumentStore
type: TfidfRetriever
- name: TextFileConverter
type: TextConverter
pipelines:
- name: query
nodes:
- inputs:
- Query
name: tfidf_ret
- name: indexing
nodes:
- name: TextFileConverter
inputs: [ File ]
- name: tfidf_ret
inputs: [ TextFileConverter ]
- name: InMemoryDocumentStore
inputs: [ tfidf_ret ]