haystack/test/samples/dc/pipeline_config.json
ZanSara 3ffdb0a9a3
chore: fix all EOF (#3852)
* fix all eof

* fix test

* fix test

* fix test

* typo

* fix sample

* fix sample

* add logs

* fix page_dynamic_result.txt
2023-01-16 12:34:50 +01:00

83 lines
2.0 KiB
JSON

{
"version": "ignore",
"name": "document_retrieval_1",
"components": [
{
"name": "DocumentStore",
"type": "DeepsetCloudDocumentStore",
"params": {
"similarity": "cosine"
}
},
{
"name": "Retriever",
"type": "BM25Retriever",
"params": {
"document_store": "DocumentStore",
"top_k": 5
}
},
{
"name": "Reader",
"type": "FARMReader",
"params": {
"model_name_or_path": "deepset/minilm-uncased-squad2"
}
},
{
"name": "TextFileConverter",
"type": "TextConverter"
},
{
"name": "Preprocessor",
"type": "PreProcessor",
"params": {
"split_by": "word",
"split_length": 1000
}
}
],
"pipelines": [
{
"name": "query",
"nodes": [
{
"name": "Retriever",
"inputs": [
"Query"
]
}
]
},
{
"name": "indexing",
"nodes": [
{
"name": "TextFileConverter",
"inputs": [
"File"
]
},
{
"name": "Preprocessor",
"inputs": [
"TextFileConverter"
]
},
{
"name": "Retriever",
"inputs": [
"Preprocessor"
]
},
{
"name": "DocumentStore",
"inputs": [
"Retriever"
]
}
]
}
]
}