Created
February 19, 2023 00:50
-
-
Save Zerg00s/5159a562123ec3082db5ddbe4b004f21 to your computer and use it in GitHub Desktop.
Open AI - Teams Chat Bot
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"type": "object", | |
"properties": { | |
"id": { | |
"type": "string" | |
}, | |
"object": { | |
"type": "string" | |
}, | |
"created": { | |
"type": "integer" | |
}, | |
"model": { | |
"type": "string" | |
}, | |
"choices": { | |
"type": "array", | |
"items": { | |
"type": "object", | |
"properties": { | |
"text": { | |
"type": "string" | |
}, | |
"index": { | |
"type": "integer" | |
}, | |
"logprobs": {}, | |
"finish_reason": { | |
"type": "string" | |
} | |
}, | |
"required": [ | |
"text", | |
"index", | |
"logprobs", | |
"finish_reason" | |
] | |
} | |
}, | |
"usage": { | |
"type": "object", | |
"properties": { | |
"prompt_tokens": { | |
"type": "integer" | |
}, | |
"completion_tokens": { | |
"type": "integer" | |
}, | |
"total_tokens": { | |
"type": "integer" | |
} | |
} | |
} | |
} | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"type": "object", | |
"properties": { | |
"@@odata.type": { | |
"type": "string" | |
}, | |
"etag": { | |
"type": "string" | |
}, | |
"messageType": { | |
"type": "string" | |
}, | |
"createdDateTime": { | |
"type": "string" | |
}, | |
"lastModifiedDateTime": { | |
"type": "string" | |
}, | |
"importance": { | |
"type": "string" | |
}, | |
"locale": { | |
"type": "string" | |
}, | |
"webUrl": { | |
"type": "string" | |
}, | |
"id": { | |
"type": "string" | |
}, | |
"from": { | |
"type": "object", | |
"properties": { | |
"user": { | |
"type": "object", | |
"properties": { | |
"id": { | |
"type": "string" | |
}, | |
"displayName": { | |
"type": "string" | |
}, | |
"userIdentityType": { | |
"type": "string" | |
}, | |
"tenantId": { | |
"type": "string" | |
} | |
} | |
} | |
} | |
}, | |
"body": { | |
"type": "object", | |
"properties": { | |
"contentType": { | |
"type": "string" | |
}, | |
"content": { | |
"type": "string" | |
} | |
} | |
}, | |
"channelIdentity": { | |
"type": "object", | |
"properties": { | |
"teamId": { | |
"type": "string" | |
}, | |
"channelId": { | |
"type": "string" | |
} | |
} | |
}, | |
"attachments": { | |
"type": "array" | |
}, | |
"mentions": { | |
"type": "array" | |
}, | |
"reactions": { | |
"type": "array" | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment