@@ -21,21 +21,79 @@ public enum DefaultUseCases {
21
21
/** defaults file and substitution ready template for OpenAI embedding model */
22
22
OPEN_AI_EMBEDDING_MODEL_DEPLOY (
23
23
"open_ai_embedding_model_deploy" ,
24
- "defaults/open-ai -embedding-defaults.json" ,
24
+ "defaults/openai -embedding-defaults.json" ,
25
25
"substitutionTemplates/deploy-remote-model-template.json"
26
26
),
27
- /** defaults file and substitution ready template for cohere embedding model */
27
+ /** defaults file and substitution ready template for Cohere embedding model */
28
28
COHERE_EMBEDDING_MODEL_DEPLOY (
29
29
"cohere-embedding_model_deploy" ,
30
30
"defaults/cohere-embedding-defaults.json" ,
31
31
"substitutionTemplates/deploy-remote-model-template-extra-params.json"
32
32
),
33
+ /** defaults file and substitution ready template for Bedrock Titan embedding model */
34
+ BEDROCK_TITAN_EMBEDDING_MODEL_DEPLOY (
35
+ "bedrock-titan-embedding_model_deploy" ,
36
+ "defaults/bedrock-titan-embedding-defaults.json" ,
37
+ "substitutionTemplates/deploy-remote-bedrock-model-template.json"
38
+ ),
39
+ /** defaults file and substitution ready template for Bedrock Titan multimodal embedding model */
40
+ BEDROCK_TITAN_MULTIMODAL_MODEL_DEPLOY (
41
+ "bedrock-titan-multimodal_model_deploy" ,
42
+ "defaults/bedrock-titan-multimodal-defaults.json" ,
43
+ "substitutionTemplates/deploy-remote-bedrock-model-template.json"
44
+ ),
45
+ /** defaults file and substitution ready template for Cohere chat model */
46
+ COHERE_CHAT_MODEL_DEPLOY (
47
+ "cohere-chat_model_deploy" ,
48
+ "defaults/cohere-chat-defaults.json" ,
49
+ "substitutionTemplates/deploy-remote-model-chat-template.json"
50
+ ),
51
+ /** defaults file and substitution ready template for OpenAI chat model */
52
+ OPENAI_CHAT_MODEL_DEPLOY (
53
+ "openai-chat_model_deploy" ,
54
+ "defaults/openai-chat-defaults.json" ,
55
+ "substitutionTemplates/deploy-remote-model-chat-template.json"
56
+ ),
33
57
/** defaults file and substitution ready template for local neural sparse model and ingest pipeline*/
34
- LOCAL_NEURAL_SPARSE_SEARCH (
35
- "local_neural_sparse_search" ,
36
- "defaults/local-sparse-search-defaults.json" ,
37
- "substitutionTemplates/neural-sparse-local-template.json"
38
- );
58
+ LOCAL_NEURAL_SPARSE_SEARCH_BI_ENCODER (
59
+ "local_neural_sparse_search_bi_encoder" ,
60
+ "defaults/local-sparse-search-biencoder-defaults.json" ,
61
+ "substitutionTemplates/neural-sparse-local-biencoder-template.json"
62
+ ),
63
+ /** defaults file and substitution ready template for semantic search, no model creation*/
64
+ SEMANTIC_SEARCH ("semantic_search" , "defaults/semantic-search-defaults.json" , "substitutionTemplates/semantic-search-template.json" ),
65
+ /** defaults file and substitution ready template for multimodal search, no model creation*/
66
+ MULTI_MODAL_SEARCH (
67
+ "multi_modal_search" ,
68
+ "defaults/multi-modal-search-defaults.json" ,
69
+ "substitutionTemplates/multi-modal-search-template.json"
70
+ ),
71
+ /** defaults file and substitution ready template for multimodal search, no model creation*/
72
+ MULTI_MODAL_SEARCH_WITH_BEDROCK_TITAN (
73
+ "multi_modal_search_with_bedrock_titan_multi_modal" ,
74
+ "defaults/multimodal-search-bedrock-titan-defaults.json" ,
75
+ "substitutionTemplates/multi-modal-search-with-bedrock-titan-template.json"
76
+ ),
77
+ /** defaults file and substitution ready template for semantic search with query enricher processor attached, no model creation*/
78
+ SEMANTIC_SEARCH_WITH_QUERY_ENRICHER (
79
+ "semantic_search_with_query_enricher" ,
80
+ "defaults/semantic-search-defaults.json" ,
81
+ "substitutionTemplates/semantic-search-with-query-enricher-template.json"
82
+ ),
83
+ /** defaults file and substitution ready template for semantic search with cohere embedding model*/
84
+ SEMANTIC_SEARCH_WITH_COHERE_EMBEDDING (
85
+ "semantic_search_with_cohere_embedding" ,
86
+ "defaults/cohere-embedding-semantic-search-defaults.json" ,
87
+ "substitutionTemplates/semantic-search-with-model-template.json"
88
+ ),
89
+ /** defaults file and substitution ready template for semantic search with query enricher processor attached and cohere embedding model*/
90
+ SEMANTIC_SEARCH_WITH_COHERE_EMBEDDING_AND_QUERY_ENRICHER (
91
+ "semantic_search_with_cohere_embedding_query_enricher" ,
92
+ "defaults/cohere-embedding-semantic-search-defaults.json" ,
93
+ "substitutionTemplates/semantic-search-with-model-and-query-enricher-template.json"
94
+ ),
95
+ /** defaults file and substitution ready template for hybrid search, no model creation*/
96
+ HYBRID_SEARCH ("hybrid_search" , "defaults/hybrid-search-defaults.json" , "substitutionTemplates/hybrid-search-template.json" );
39
97
40
98
private final String useCaseName ;
41
99
private final String defaultsFile ;
0 commit comments