Skip to content

Commit 72ec99a

Browse files
committed
added popover to display links to suggested models
Signed-off-by: saimedhi <saimedhi@amazon.com>
1 parent f899dca commit 72ec99a

File tree

1 file changed

+32
-9
lines changed

1 file changed

+32
-9
lines changed

documentation/models.md

+32-9
Original file line numberDiff line numberDiff line change
@@ -775,26 +775,49 @@ POST /_plugins/_ml/models/_register
775775
"output": {
776776
"type": "array",
777777
"items": {
778+
"type": "object",
778779
"properties": {
779780
"name": {
780-
"type": "string",
781-
"description": "This is a test description field"
781+
"type": "string"
782782
},
783783
"dataAsMap": {
784784
"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+
}
786812
}
787813
}
788-
},
789-
"description": "This is a test description field"
814+
}
790815
},
791816
"status_code": {
792-
"type": "integer",
793-
"description": "This is a test description field"
817+
"type": "integer"
794818
}
795819
}
796-
},
797-
"description": "This is a test description field"
820+
}
798821
}
799822
}
800823
}

0 commit comments

Comments
 (0)