Skip to content

Commit

Permalink
Bumped minimum compatibility to 2.18.0 (#413)
Browse files Browse the repository at this point in the history
Signed-off-by: saimedhi <[email protected]>
  • Loading branch information
saimedhi authored Oct 9, 2024
1 parent afcdcce commit d991f19
Show file tree
Hide file tree
Showing 8 changed files with 63 additions and 87 deletions.
14 changes: 4 additions & 10 deletions opensearch_dashboards.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,18 +5,12 @@
"server": true,
"ui": true,
"requiredBundles": [],
"requiredPlugins": [
"navigation",
"opensearchDashboardsUtils"
],
"requiredPlugins": ["navigation", "opensearchDashboardsUtils"],
"optionalPlugins": [
"dataSource",
"dataSourceManagement",
"contentManagement"
],
"supportedOSDataSourceVersions": ">=2.17.0 <4.0.0",
"requiredOSDataSourcePlugins": [
"opensearch-ml",
"opensearch-flow-framework"
]
}
"supportedOSDataSourceVersions": ">=2.18.0 <4.0.0",
"requiredOSDataSourcePlugins": ["opensearch-ml", "opensearch-flow-framework"]
}
19 changes: 8 additions & 11 deletions server/resources/templates/custom.json
Original file line number Diff line number Diff line change
@@ -1,12 +1,9 @@
{
"name": "Custom",
"description": "A blank workflow with no preset configurations",
"use_case": "CUSTOM",
"version": {
"template": "1.0.0",
"compatibility": [
"2.17.0",
"3.0.0"
]
}
}
"name": "Custom",
"description": "A blank workflow with no preset configurations",
"use_case": "CUSTOM",
"version": {
"template": "1.0.0",
"compatibility": ["2.18.0", "3.0.0"]
}
}
23 changes: 10 additions & 13 deletions server/resources/templates/hybrid_search.json
Original file line number Diff line number Diff line change
@@ -1,14 +1,11 @@
{
"name": "Hybrid Search",
"description": "A basic workflow containing the ingest pipeline, search pipeline, and index configurations for performing hybrid search",
"version": {
"template": "1.0.0",
"compatibility": [
"2.17.0",
"3.0.0"
]
},
"ui_metadata": {
"type": "Hybrid search"
}
}
"name": "Hybrid Search",
"description": "A basic workflow containing the ingest pipeline, search pipeline, and index configurations for performing hybrid search",
"version": {
"template": "1.0.0",
"compatibility": ["2.18.0", "3.0.0"]
},
"ui_metadata": {
"type": "Hybrid search"
}
}
23 changes: 10 additions & 13 deletions server/resources/templates/multimodal_search.json
Original file line number Diff line number Diff line change
@@ -1,14 +1,11 @@
{
"name": "Multimodal Search",
"description": "A basic workflow containing the ingest pipeline, search pipeline, and index configurations for performing multimodal search",
"version": {
"template": "1.0.0",
"compatibility": [
"2.17.0",
"3.0.0"
]
},
"ui_metadata": {
"type": "Multimodal search"
}
}
"name": "Multimodal Search",
"description": "A basic workflow containing the ingest pipeline, search pipeline, and index configurations for performing multimodal search",
"version": {
"template": "1.0.0",
"compatibility": ["2.18.0", "3.0.0"]
},
"ui_metadata": {
"type": "Multimodal search"
}
}
23 changes: 10 additions & 13 deletions server/resources/templates/rag.json
Original file line number Diff line number Diff line change
@@ -1,14 +1,11 @@
{
"name": "Retrieval-Augmented Generation (RAG)",
"description": "A basic workflow containing the index and search pipeline configurations for performing basic retrieval-augmented generation (RAG)",
"version": {
"template": "1.0.0",
"compatibility": [
"2.17.0",
"3.0.0"
]
},
"ui_metadata": {
"type": "Retrieval-augmented generation"
}
}
"name": "Retrieval-Augmented Generation (RAG)",
"description": "A basic workflow containing the index and search pipeline configurations for performing basic retrieval-augmented generation (RAG)",
"version": {
"template": "1.0.0",
"compatibility": ["2.18.0", "3.0.0"]
},
"ui_metadata": {
"type": "Retrieval-augmented generation"
}
}
23 changes: 10 additions & 13 deletions server/resources/templates/semantic_search.json
Original file line number Diff line number Diff line change
@@ -1,14 +1,11 @@
{
"name": "Semantic Search",
"description": "A basic workflow containing the ingest pipeline, search pipeline, and index configurations for performing semantic search",
"version": {
"template": "1.0.0",
"compatibility": [
"2.17.0",
"3.0.0"
]
},
"ui_metadata": {
"type": "Semantic search"
}
}
"name": "Semantic Search",
"description": "A basic workflow containing the ingest pipeline, search pipeline, and index configurations for performing semantic search",
"version": {
"template": "1.0.0",
"compatibility": ["2.18.0", "3.0.0"]
},
"ui_metadata": {
"type": "Semantic search"
}
}
23 changes: 10 additions & 13 deletions server/resources/templates/sentiment_analysis.json
Original file line number Diff line number Diff line change
@@ -1,14 +1,11 @@
{
"name": "Sentiment Analysis",
"description": "A basic workflow containing the ingest pipeline, search pipeline, and index configurations for performing sentiment analysis",
"version": {
"template": "1.0.0",
"compatibility": [
"2.17.0",
"3.0.0"
]
},
"ui_metadata": {
"type": "Sentiment analysis"
}
}
"name": "Sentiment Analysis",
"description": "A basic workflow containing the ingest pipeline, search pipeline, and index configurations for performing sentiment analysis",
"version": {
"template": "1.0.0",
"compatibility": ["2.18.0", "3.0.0"]
},
"ui_metadata": {
"type": "Sentiment analysis"
}
}
2 changes: 1 addition & 1 deletion test/utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ function generateWorkflow({ id, name, type }: WorkflowInput): Workflow {
return {
id,
name,
version: { template: '1.0.0', compatibility: ['2.17.0', '3.0.0'] },
version: { template: '1.0.0', compatibility: ['2.18.0', '3.0.0'] },
ui_metadata: getConfig(type),
};
}
Expand Down

0 comments on commit d991f19

Please sign in to comment.