haystack/test/samples/dc/pipeline_config.json
Tobias Wochinger d5d3a9eef4
chore: adapt deepset cloud sdk endpoint format for saving pipelines (#5969)
* chore: adapt to new endpoints formats

* docs: add release notes
2023-10-05 08:56:28 +02:00

82 lines
2.0 KiB
JSON

{
"version": "ignore",
"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"
]
}
]
}
]
}