@@ -481,7 +481,7 @@ public class ModelInterfaceUtils {
481
481
+ " \" required\" : [\" inference_results\" ]\n "
482
482
+ "}" ;
483
483
484
- private static final String COHERE_EMBED_MULTILINGUAL_V3_RAW_INTERFACE_OUTPUT = "{\n "
484
+ private static final String COHERE_EMBEDDING_V3_RAW_INTERFACE_OUTPUT = "{\n "
485
485
+ " \" type\" : \" object\" ,\n "
486
486
+ " \" properties\" : {\n "
487
487
+ " \" inference_results\" : {\n "
@@ -539,94 +539,6 @@ public class ModelInterfaceUtils {
539
539
+ " \" required\" : [\" inference_results\" ]\n "
540
540
+ "}" ;
541
541
542
- private static final String COHERE_EMBED_ENGLISH_V3_RAW_INTERFACE_OUTPUT = "{\n "
543
- + " \" type\" : \" object\" ,\n "
544
- + " \" properties\" : {\n "
545
- + " \" inference_results\" : {\n "
546
- + " \" type\" : \" array\" ,\n "
547
- + " \" items\" : {\n "
548
- + " \" type\" : \" object\" ,\n "
549
- + " \" properties\" : {\n "
550
- + " \" output\" : {\n "
551
- + " \" type\" : \" array\" ,\n "
552
- + " \" items\" : {\n "
553
- + " \" type\" : \" object\" ,\n "
554
- + " \" properties\" : {\n "
555
- + " \" name\" : {\n "
556
- + " \" type\" : \" string\" \n "
557
- + " },\n "
558
- + " \" dataAsMap\" : {\n "
559
- + " \" type\" : \" object\" ,\n "
560
- + " \" properties\" : {\n "
561
- + " \" id\" : {\n "
562
- + " \" type\" : \" string\" \n "
563
- + " },\n "
564
- + " \" results\" : {\n "
565
- + " \" type\" : \" array\" ,\n "
566
- + " \" items\" : {\n "
567
- + " \" type\" : \" object\" ,\n "
568
- + " \" properties\" : {\n "
569
- + " \" document\" : {\n "
570
- + " \" type\" : \" object\" ,\n "
571
- + " \" properties\" : {\n "
572
- + " \" text\" : {\n "
573
- + " \" type\" : \" string\" \n "
574
- + " }\n "
575
- + " },\n "
576
- + " \" required\" : [\" text\" ]\n "
577
- + " },\n "
578
- + " \" index\" : {\n "
579
- + " \" type\" : \" integer\" \n "
580
- + " },\n "
581
- + " \" relevance_score\" : {\n "
582
- + " \" type\" : \" number\" \n "
583
- + " }\n "
584
- + " },\n "
585
- + " \" required\" : [\" document\" , \" index\" , \" relevance_score\" ]\n "
586
- + " }\n "
587
- + " },\n "
588
- + " \" meta\" : {\n "
589
- + " \" type\" : \" object\" ,\n "
590
- + " \" properties\" : {\n "
591
- + " \" api_version\" : {\n "
592
- + " \" type\" : \" object\" ,\n "
593
- + " \" properties\" : {\n "
594
- + " \" version\" : {\n "
595
- + " \" type\" : \" string\" \n "
596
- + " }\n "
597
- + " },\n "
598
- + " \" required\" : [\" version\" ]\n "
599
- + " },\n "
600
- + " \" billed_units\" : {\n "
601
- + " \" type\" : \" object\" ,\n "
602
- + " \" properties\" : {\n "
603
- + " \" search_units\" : {\n "
604
- + " \" type\" : \" integer\" \n "
605
- + " }\n "
606
- + " },\n "
607
- + " \" required\" : [\" search_units\" ]\n "
608
- + " }\n "
609
- + " },\n "
610
- + " \" required\" : [\" api_version\" , \" billed_units\" ]\n "
611
- + " }\n "
612
- + " },\n "
613
- + " \" required\" : [\" id\" , \" results\" , \" meta\" ]\n "
614
- + " }\n "
615
- + " },\n "
616
- + " \" required\" : [\" name\" , \" dataAsMap\" ]\n "
617
- + " }\n "
618
- + " },\n "
619
- + " \" status_code\" : {\n "
620
- + " \" type\" : \" integer\" \n "
621
- + " }\n "
622
- + " },\n "
623
- + " \" required\" : [\" output\" , \" status_code\" ]\n "
624
- + " }\n "
625
- + " }\n "
626
- + " },\n "
627
- + " \" required\" : [\" inference_results\" ]\n "
628
- + "}" ;
629
-
630
542
private static final String AMAZON_COMPREHEND_DETECTDOMAINANTLANGUAGE_API_INTERFACE_OUTPUT = "{\n "
631
543
+ " \" type\" : \" object\" ,\n "
632
544
+ " \" properties\" : {\n "
@@ -827,13 +739,13 @@ public class ModelInterfaceUtils {
827
739
.of ("input" , GENERAL_EMBEDDING_MODEL_INTERFACE_INPUT , "output" , GENERAL_EMBEDDING_MODEL_INTERFACE_OUTPUT );
828
740
829
741
public static final Map <String , String > BEDROCK_COHERE_EMBED_ENGLISH_V3_RAW_MODEL_INTERFACE = Map
830
- .of ("input" , GENERAL_EMBEDDING_MODEL_INTERFACE_INPUT , "output" , COHERE_EMBED_ENGLISH_V3_RAW_INTERFACE_OUTPUT );
742
+ .of ("input" , GENERAL_EMBEDDING_MODEL_INTERFACE_INPUT , "output" , COHERE_EMBEDDING_V3_RAW_INTERFACE_OUTPUT );
831
743
832
744
public static final Map <String , String > BEDROCK_COHERE_EMBED_MULTILINGUAL_V3_MODEL_INTERFACE = Map
833
745
.of ("input" , GENERAL_EMBEDDING_MODEL_INTERFACE_INPUT , "output" , GENERAL_EMBEDDING_MODEL_INTERFACE_OUTPUT );
834
746
835
747
public static final Map <String , String > BEDROCK_COHERE_EMBED_MULTILINGUAL_V3_RAW_MODEL_INTERFACE = Map
836
- .of ("input" , GENERAL_EMBEDDING_MODEL_INTERFACE_INPUT , "output" , COHERE_EMBED_MULTILINGUAL_V3_RAW_INTERFACE_OUTPUT );
748
+ .of ("input" , GENERAL_EMBEDDING_MODEL_INTERFACE_INPUT , "output" , COHERE_EMBEDDING_V3_RAW_INTERFACE_OUTPUT );
837
749
838
750
public static final Map <String , String > BEDROCK_TITAN_EMBED_TEXT_V1_MODEL_INTERFACE = Map
839
751
.of ("input" , TITAN_TEXT_EMBEDDING_MODEL_INTERFACE_INPUT , "output" , GENERAL_EMBEDDING_MODEL_INTERFACE_OUTPUT );
0 commit comments