haystack/rest_api/test/samples/test.haystack-pipeline.yml
Sara Zan 54cc9cd4cf
refactor: remove json-schemas (#3485)
* remove json-schemas

* main schema can be removed too

* add .gitignore to schemas folder

* try to explicitly get the new haystack in the rest api tests

* fix workflow again

* fix version string in rest api tests

* add pip freeze

* debug statements in workflow

* -U prevents schema generation
2022-10-31 11:24:43 +01:00

37 lines
803 B
YAML

version: 'ignore'
components:
- name: TestReader
type: MockReader
- name: TestRetriever
type: MockRetriever
params:
document_store: TestDocumentStore
- name: TestDocumentStore
type: MockDocumentStore
- name: TestPreprocessor
type: PreProcessor
params:
clean_whitespace: true
- name: TestPDFConverter
type: MockPDFToTextConverter
params:
remove_numeric_tables: false
pipelines:
- name: test-query
nodes:
- name: TestRetriever
inputs: [Query]
- name: TestReader
inputs: [TestRetriever]
- name: test-indexing
nodes:
- name: TestPDFConverter
inputs: [File]
- name: TestPreprocessor
inputs: [TestPDFConverter]
- name: TestDocumentStore
inputs: [TestPreprocessor]