Skip to content

Commit

Permalink
Fix cohere model input interface cannot validate cohere input issue (o…
Browse files Browse the repository at this point in the history
…pensearch-project#2847)

* Fix cohere model input interface cannot validate cohere input issue

Signed-off-by: b4sjoo <[email protected]>

* Clean out comments

Signed-off-by: b4sjoo <[email protected]>

---------

Signed-off-by: b4sjoo <[email protected]>
  • Loading branch information
b4sjoo authored Aug 27, 2024
1 parent 2a33c65 commit 88dad77
Showing 1 changed file with 1 addition and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -42,10 +42,7 @@ public class ModelInterfaceUtils {
+ " \"type\": \"object\",\n"
+ " \"properties\": {\n"
+ " \"texts\": {\n"
+ " \"type\": \"array\",\n"
+ " \"items\": {\n"
+ " \"type\": \"string\"\n"
+ " }\n"
+ " \"type\": \"string\"\n"
+ " }\n"
+ " },\n"
+ " \"required\": [\n"
Expand Down

0 comments on commit 88dad77

Please sign in to comment.