File tree 1 file changed +32
-9
lines changed
1 file changed +32
-9
lines changed Original file line number Diff line number Diff line change @@ -775,26 +775,49 @@ POST /_plugins/_ml/models/_register
775
775
"output": {
776
776
"type": "array",
777
777
"items": {
778
+ "type": "object",
778
779
"properties": {
779
780
"name": {
780
- "type": "string",
781
- "description": "This is a test description field"
781
+ "type": "string"
782
782
},
783
783
"dataAsMap": {
784
784
"type": "object",
785
- "description": "This is a test description field"
785
+ "properties": {
786
+ "choices": {
787
+ "type": "array",
788
+ "items": {
789
+ "type": "object",
790
+ "properties": {
791
+ "index": {
792
+ "type": "integer"
793
+ },
794
+ "message": {
795
+ "type": "object",
796
+ "properties": {
797
+ "role": {
798
+ "type": "string"
799
+ },
800
+ "content": {
801
+ "type": "string"
802
+ }
803
+ }
804
+ },
805
+ "finish_reason": {
806
+ "type": "string"
807
+ }
808
+ }
809
+ }
810
+ }
811
+ }
786
812
}
787
813
}
788
- },
789
- "description": "This is a test description field"
814
+ }
790
815
},
791
816
"status_code": {
792
- "type": "integer",
793
- "description": "This is a test description field"
817
+ "type": "integer"
794
818
}
795
819
}
796
- },
797
- "description": "This is a test description field"
820
+ }
798
821
}
799
822
}
800
823
}
You can’t perform that action at this time.
0 commit comments