mirror of
https://github.com/deepset-ai/haystack.git
synced 2025-09-25 16:15:35 +00:00
Remove JoinAnswers
and RouteDocuments
from the 1.2.0 schema (#2270)
* Remove JoinAnswers and RouteDocuments from the 1.2.0 schema * Update Documentation & Code Style Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
This commit is contained in:
parent
afe6e0b398
commit
130a92aa36
@ -59,9 +59,6 @@
|
||||
{
|
||||
"$ref": "#/definitions/ImageToTextConverterComponent"
|
||||
},
|
||||
{
|
||||
"$ref": "#/definitions/JoinAnswersComponent"
|
||||
},
|
||||
{
|
||||
"$ref": "#/definitions/JoinDocumentsComponent"
|
||||
},
|
||||
@ -89,9 +86,6 @@
|
||||
{
|
||||
"$ref": "#/definitions/RCIReaderComponent"
|
||||
},
|
||||
{
|
||||
"$ref": "#/definitions/RouteDocumentsComponent"
|
||||
},
|
||||
{
|
||||
"$ref": "#/definitions/SentenceTransformersRankerComponent"
|
||||
},
|
||||
@ -1099,51 +1093,6 @@
|
||||
],
|
||||
"additionalProperties": false
|
||||
},
|
||||
"JoinAnswersComponent": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"name": {
|
||||
"title": "Name",
|
||||
"description": "Custom name for the component. Helpful for visualization and debugging.",
|
||||
"type": "string"
|
||||
},
|
||||
"type": {
|
||||
"title": "Type",
|
||||
"description": "Haystack Class name for the component.",
|
||||
"type": "string",
|
||||
"const": "JoinAnswers"
|
||||
},
|
||||
"params": {
|
||||
"title": "Parameters",
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"join_mode": {
|
||||
"title": "Join Mode",
|
||||
"default": "concatenate",
|
||||
"type": "string"
|
||||
},
|
||||
"weights": {
|
||||
"title": "Weights",
|
||||
"type": "array",
|
||||
"items": {
|
||||
"type": "number"
|
||||
}
|
||||
},
|
||||
"top_k_join": {
|
||||
"title": "Top K Join",
|
||||
"type": "integer"
|
||||
}
|
||||
},
|
||||
"additionalProperties": false,
|
||||
"description": "Each parameter can reference other components defined in the same YAML file."
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"type",
|
||||
"name"
|
||||
],
|
||||
"additionalProperties": false
|
||||
},
|
||||
"JoinDocumentsComponent": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
@ -1697,47 +1646,6 @@
|
||||
],
|
||||
"additionalProperties": false
|
||||
},
|
||||
"RouteDocumentsComponent": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"name": {
|
||||
"title": "Name",
|
||||
"description": "Custom name for the component. Helpful for visualization and debugging.",
|
||||
"type": "string"
|
||||
},
|
||||
"type": {
|
||||
"title": "Type",
|
||||
"description": "Haystack Class name for the component.",
|
||||
"type": "string",
|
||||
"const": "RouteDocuments"
|
||||
},
|
||||
"params": {
|
||||
"title": "Parameters",
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"split_by": {
|
||||
"title": "Split By",
|
||||
"default": "content_type",
|
||||
"type": "string"
|
||||
},
|
||||
"metadata_values": {
|
||||
"title": "Metadata Values",
|
||||
"type": "array",
|
||||
"items": {
|
||||
"type": "string"
|
||||
}
|
||||
}
|
||||
},
|
||||
"additionalProperties": false,
|
||||
"description": "Each parameter can reference other components defined in the same YAML file."
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"type",
|
||||
"name"
|
||||
],
|
||||
"additionalProperties": false
|
||||
},
|
||||
"SentenceTransformersRankerComponent": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
|
File diff suppressed because it is too large
Load Diff
@ -59,6 +59,9 @@
|
||||
{
|
||||
"$ref": "#/definitions/ImageToTextConverterComponent"
|
||||
},
|
||||
{
|
||||
"$ref": "#/definitions/JoinAnswersComponent"
|
||||
},
|
||||
{
|
||||
"$ref": "#/definitions/JoinDocumentsComponent"
|
||||
},
|
||||
@ -86,6 +89,9 @@
|
||||
{
|
||||
"$ref": "#/definitions/RCIReaderComponent"
|
||||
},
|
||||
{
|
||||
"$ref": "#/definitions/RouteDocumentsComponent"
|
||||
},
|
||||
{
|
||||
"$ref": "#/definitions/SentenceTransformersRankerComponent"
|
||||
},
|
||||
@ -1093,6 +1099,51 @@
|
||||
],
|
||||
"additionalProperties": false
|
||||
},
|
||||
"JoinAnswersComponent": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"name": {
|
||||
"title": "Name",
|
||||
"description": "Custom name for the component. Helpful for visualization and debugging.",
|
||||
"type": "string"
|
||||
},
|
||||
"type": {
|
||||
"title": "Type",
|
||||
"description": "Haystack Class name for the component.",
|
||||
"type": "string",
|
||||
"const": "JoinAnswers"
|
||||
},
|
||||
"params": {
|
||||
"title": "Parameters",
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"join_mode": {
|
||||
"title": "Join Mode",
|
||||
"default": "concatenate",
|
||||
"type": "string"
|
||||
},
|
||||
"weights": {
|
||||
"title": "Weights",
|
||||
"type": "array",
|
||||
"items": {
|
||||
"type": "number"
|
||||
}
|
||||
},
|
||||
"top_k_join": {
|
||||
"title": "Top K Join",
|
||||
"type": "integer"
|
||||
}
|
||||
},
|
||||
"additionalProperties": false,
|
||||
"description": "Each parameter can reference other components defined in the same YAML file."
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"type",
|
||||
"name"
|
||||
],
|
||||
"additionalProperties": false
|
||||
},
|
||||
"JoinDocumentsComponent": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
@ -1307,12 +1358,12 @@
|
||||
},
|
||||
"preceding_context_len": {
|
||||
"title": "Preceding Context Len",
|
||||
"default": 1,
|
||||
"default": 3,
|
||||
"type": "integer"
|
||||
},
|
||||
"following_context_len": {
|
||||
"title": "Following Context Len",
|
||||
"default": 1,
|
||||
"default": 3,
|
||||
"type": "integer"
|
||||
},
|
||||
"remove_page_headers": {
|
||||
@ -1646,6 +1697,47 @@
|
||||
],
|
||||
"additionalProperties": false
|
||||
},
|
||||
"RouteDocumentsComponent": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"name": {
|
||||
"title": "Name",
|
||||
"description": "Custom name for the component. Helpful for visualization and debugging.",
|
||||
"type": "string"
|
||||
},
|
||||
"type": {
|
||||
"title": "Type",
|
||||
"description": "Haystack Class name for the component.",
|
||||
"type": "string",
|
||||
"const": "RouteDocuments"
|
||||
},
|
||||
"params": {
|
||||
"title": "Parameters",
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"split_by": {
|
||||
"title": "Split By",
|
||||
"default": "content_type",
|
||||
"type": "string"
|
||||
},
|
||||
"metadata_values": {
|
||||
"title": "Metadata Values",
|
||||
"type": "array",
|
||||
"items": {
|
||||
"type": "string"
|
||||
}
|
||||
}
|
||||
},
|
||||
"additionalProperties": false,
|
||||
"description": "Each parameter can reference other components defined in the same YAML file."
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"type",
|
||||
"name"
|
||||
],
|
||||
"additionalProperties": false
|
||||
},
|
||||
"SentenceTransformersRankerComponent": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
|
Loading…
x
Reference in New Issue
Block a user