Skip to content

Commit

Permalink
Fix remote model with embedding input issue
Browse files Browse the repository at this point in the history
Signed-off-by: b4sjoo <[email protected]>
  • Loading branch information
b4sjoo committed Dec 18, 2024
1 parent 58903ba commit 3d54eb5
Showing 1 changed file with 3 additions and 12 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -52,10 +52,7 @@ public class ModelInterfaceUtils {
+ " \"texts\"\n"
+ " ]\n"
+ " }\n"
+ " },\n"
+ " \"required\": [\n"
+ " \"parameters\"\n"
+ " ]\n"
+ " }\n"
+ "}";

private static final String TITAN_TEXT_EMBEDDING_MODEL_INTERFACE_INPUT = "{\n"
Expand All @@ -72,10 +69,7 @@ public class ModelInterfaceUtils {
+ " \"inputText\"\n"
+ " ]\n"
+ " }\n"
+ " },\n"
+ " \"required\": [\n"
+ " \"parameters\"\n"
+ " ]\n"
+ " }\n"
+ "}";

private static final String TITAN_MULTI_MODAL_EMBEDDING_MODEL_INTERFACE_INPUT = "{\n"
Expand All @@ -92,10 +86,7 @@ public class ModelInterfaceUtils {
+ " }\n"
+ " }\n"
+ " }\n"
+ " },\n"
+ " \"required\": [\n"
+ " \"parameters\"\n"
+ " ]\n"
+ " }\n"
+ "}";

private static final String AMAZON_COMPREHEND_DETECTDOMAINANTLANGUAGE_API_INTERFACE_INPUT = "{\n"
Expand Down

0 comments on commit 3d54eb5

Please sign in to comment.